// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.workloads.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * File Share configuration details, populated with information on storage configuration mounted on the VIS. The
 * createAndMount option is selected in case of missing input.
 */
@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.PROPERTY,
    property = "configurationType",
    defaultImpl = FileShareConfiguration.class)
@JsonTypeName("FileShareConfiguration")
@JsonSubTypes({
    @JsonSubTypes.Type(name = "Skip", value = SkipFileShareConfiguration.class),
    @JsonSubTypes.Type(name = "CreateAndMount", value = CreateAndMountFileShareConfiguration.class),
    @JsonSubTypes.Type(name = "Mount", value = MountFileShareConfiguration.class)
})
@Immutable
public class FileShareConfiguration {
    /** Creates an instance of FileShareConfiguration class. */
    public FileShareConfiguration() {
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
