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

com.pulumi.azurenative.hybridcontainerservice.inputs.CloudProviderProfileInfraStorageProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.hybridcontainerservice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * InfraStorageProfile - List of infra storage profiles for the provisioned cluster
 * 
 */
public final class CloudProviderProfileInfraStorageProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final CloudProviderProfileInfraStorageProfileArgs Empty = new CloudProviderProfileInfraStorageProfileArgs();

    /**
     * Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}
     * 
     */
    @Import(name="storageSpaceIds")
    private @Nullable Output> storageSpaceIds;

    /**
     * @return Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}
     * 
     */
    public Optional>> storageSpaceIds() {
        return Optional.ofNullable(this.storageSpaceIds);
    }

    private CloudProviderProfileInfraStorageProfileArgs() {}

    private CloudProviderProfileInfraStorageProfileArgs(CloudProviderProfileInfraStorageProfileArgs $) {
        this.storageSpaceIds = $.storageSpaceIds;
    }

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

    public static final class Builder {
        private CloudProviderProfileInfraStorageProfileArgs $;

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

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

        /**
         * @param storageSpaceIds Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}
         * 
         * @return builder
         * 
         */
        public Builder storageSpaceIds(@Nullable Output> storageSpaceIds) {
            $.storageSpaceIds = storageSpaceIds;
            return this;
        }

        /**
         * @param storageSpaceIds Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}
         * 
         * @return builder
         * 
         */
        public Builder storageSpaceIds(List storageSpaceIds) {
            return storageSpaceIds(Output.of(storageSpaceIds));
        }

        /**
         * @param storageSpaceIds Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}
         * 
         * @return builder
         * 
         */
        public Builder storageSpaceIds(String... storageSpaceIds) {
            return storageSpaceIds(List.of(storageSpaceIds));
        }

        public CloudProviderProfileInfraStorageProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy