All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.workloads.inputs.CreateAndMountFileShareConfigurationArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.workloads.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of the create infra flow. Please pre-create the resource group you intend to place the transport directory in. The storage account and fileshare will be auto-created by the ACSS and doesn’t need to pre-created.
 * 
 */
public final class CreateAndMountFileShareConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final CreateAndMountFileShareConfigurationArgs Empty = new CreateAndMountFileShareConfigurationArgs();

    /**
     * The type of file share config.
     * Expected value is 'CreateAndMount'.
     * 
     */
    @Import(name="configurationType", required=true)
    private Output configurationType;

    /**
     * @return The type of file share config.
     * Expected value is 'CreateAndMount'.
     * 
     */
    public Output configurationType() {
        return this.configurationType;
    }

    /**
     * The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
     * 
     */
    @Import(name="resourceGroup")
    private @Nullable Output resourceGroup;

    /**
     * @return The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
     * 
     */
    public Optional> resourceGroup() {
        return Optional.ofNullable(this.resourceGroup);
    }

    /**
     * The name of file share storage account name . A custom name is used in case of missing input.
     * 
     */
    @Import(name="storageAccountName")
    private @Nullable Output storageAccountName;

    /**
     * @return The name of file share storage account name . A custom name is used in case of missing input.
     * 
     */
    public Optional> storageAccountName() {
        return Optional.ofNullable(this.storageAccountName);
    }

    private CreateAndMountFileShareConfigurationArgs() {}

    private CreateAndMountFileShareConfigurationArgs(CreateAndMountFileShareConfigurationArgs $) {
        this.configurationType = $.configurationType;
        this.resourceGroup = $.resourceGroup;
        this.storageAccountName = $.storageAccountName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(CreateAndMountFileShareConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private CreateAndMountFileShareConfigurationArgs $;

        public Builder() {
            $ = new CreateAndMountFileShareConfigurationArgs();
        }

        public Builder(CreateAndMountFileShareConfigurationArgs defaults) {
            $ = new CreateAndMountFileShareConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param configurationType The type of file share config.
         * Expected value is 'CreateAndMount'.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(Output configurationType) {
            $.configurationType = configurationType;
            return this;
        }

        /**
         * @param configurationType The type of file share config.
         * Expected value is 'CreateAndMount'.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(String configurationType) {
            return configurationType(Output.of(configurationType));
        }

        /**
         * @param resourceGroup The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(@Nullable Output resourceGroup) {
            $.resourceGroup = resourceGroup;
            return this;
        }

        /**
         * @param resourceGroup The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(String resourceGroup) {
            return resourceGroup(Output.of(resourceGroup));
        }

        /**
         * @param storageAccountName The name of file share storage account name . A custom name is used in case of missing input.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountName(@Nullable Output storageAccountName) {
            $.storageAccountName = storageAccountName;
            return this;
        }

        /**
         * @param storageAccountName The name of file share storage account name . A custom name is used in case of missing input.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountName(String storageAccountName) {
            return storageAccountName(Output.of(storageAccountName));
        }

        public CreateAndMountFileShareConfigurationArgs build() {
            $.configurationType = Codegen.stringProp("configurationType").output().arg($.configurationType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy