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

com.pulumi.azure.cognitive.inputs.AccountStorageArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.cognitive.inputs;

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


public final class AccountStorageArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountStorageArgs Empty = new AccountStorageArgs();

    /**
     * The client ID of the managed identity associated with the storage resource.
     * 
     * > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
     * 
     */
    @Import(name="identityClientId")
    private @Nullable Output identityClientId;

    /**
     * @return The client ID of the managed identity associated with the storage resource.
     * 
     * > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
     * 
     */
    public Optional> identityClientId() {
        return Optional.ofNullable(this.identityClientId);
    }

    /**
     * Full resource id of a Microsoft.Storage resource.
     * 
     */
    @Import(name="storageAccountId", required=true)
    private Output storageAccountId;

    /**
     * @return Full resource id of a Microsoft.Storage resource.
     * 
     */
    public Output storageAccountId() {
        return this.storageAccountId;
    }

    private AccountStorageArgs() {}

    private AccountStorageArgs(AccountStorageArgs $) {
        this.identityClientId = $.identityClientId;
        this.storageAccountId = $.storageAccountId;
    }

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

    public static final class Builder {
        private AccountStorageArgs $;

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

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

        /**
         * @param identityClientId The client ID of the managed identity associated with the storage resource.
         * 
         * > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
         * 
         * @return builder
         * 
         */
        public Builder identityClientId(@Nullable Output identityClientId) {
            $.identityClientId = identityClientId;
            return this;
        }

        /**
         * @param identityClientId The client ID of the managed identity associated with the storage resource.
         * 
         * > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
         * 
         * @return builder
         * 
         */
        public Builder identityClientId(String identityClientId) {
            return identityClientId(Output.of(identityClientId));
        }

        /**
         * @param storageAccountId Full resource id of a Microsoft.Storage resource.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(Output storageAccountId) {
            $.storageAccountId = storageAccountId;
            return this;
        }

        /**
         * @param storageAccountId Full resource id of a Microsoft.Storage resource.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(String storageAccountId) {
            return storageAccountId(Output.of(storageAccountId));
        }

        public AccountStorageArgs build() {
            if ($.storageAccountId == null) {
                throw new MissingRequiredPropertyException("AccountStorageArgs", "storageAccountId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy