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

com.pulumi.azure.machinelearning.kotlin.DatastoreBlobstorageArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.machinelearning.kotlin

import com.pulumi.azure.machinelearning.DatastoreBlobstorageArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Manages a Machine Learning Blob Storage DataStore.
 * ## Example Usage
 * ### With Azure Blob
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const current = azure.core.getClientConfig({});
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleInsights = new azure.appinsights.Insights("example", {
 *     name: "workspace-example-ai",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationType: "web",
 * });
 * const exampleKeyVault = new azure.keyvault.KeyVault("example", {
 *     name: "workspaceexamplekeyvault",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     tenantId: current.then(current => current.tenantId),
 *     skuName: "premium",
 * });
 * const exampleAccount = new azure.storage.Account("example", {
 *     name: "workspacestorageaccount",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     accountTier: "Standard",
 *     accountReplicationType: "GRS",
 * });
 * const exampleWorkspace = new azure.machinelearning.Workspace("example", {
 *     name: "example-workspace",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationInsightsId: exampleInsights.id,
 *     keyVaultId: exampleKeyVault.id,
 *     storageAccountId: exampleAccount.id,
 *     identity: {
 *         type: "SystemAssigned",
 *     },
 * });
 * const exampleContainer = new azure.storage.Container("example", {
 *     name: "example-container",
 *     storageAccountName: exampleAccount.name,
 *     containerAccessType: "private",
 * });
 * const exampleDatastoreBlobstorage = new azure.machinelearning.DatastoreBlobstorage("example", {
 *     name: "example-datastore",
 *     workspaceId: exampleWorkspace.id,
 *     storageContainerId: exampleContainer.resourceManagerId,
 *     accountKey: exampleAccount.primaryAccessKey,
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * current = azure.core.get_client_config()
 * example = azure.core.ResourceGroup("example",
 *     name="example-resources",
 *     location="West Europe")
 * example_insights = azure.appinsights.Insights("example",
 *     name="workspace-example-ai",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     application_type="web")
 * example_key_vault = azure.keyvault.KeyVault("example",
 *     name="workspaceexamplekeyvault",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     tenant_id=current.tenant_id,
 *     sku_name="premium")
 * example_account = azure.storage.Account("example",
 *     name="workspacestorageaccount",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     account_tier="Standard",
 *     account_replication_type="GRS")
 * example_workspace = azure.machinelearning.Workspace("example",
 *     name="example-workspace",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     application_insights_id=example_insights.id,
 *     key_vault_id=example_key_vault.id,
 *     storage_account_id=example_account.id,
 *     identity={
 *         "type": "SystemAssigned",
 *     })
 * example_container = azure.storage.Container("example",
 *     name="example-container",
 *     storage_account_name=example_account.name,
 *     container_access_type="private")
 * example_datastore_blobstorage = azure.machinelearning.DatastoreBlobstorage("example",
 *     name="example-datastore",
 *     workspace_id=example_workspace.id,
 *     storage_container_id=example_container.resource_manager_id,
 *     account_key=example_account.primary_access_key)
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var current = Azure.Core.GetClientConfig.Invoke();
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "example-resources",
 *         Location = "West Europe",
 *     });
 *     var exampleInsights = new Azure.AppInsights.Insights("example", new()
 *     {
 *         Name = "workspace-example-ai",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         ApplicationType = "web",
 *     });
 *     var exampleKeyVault = new Azure.KeyVault.KeyVault("example", new()
 *     {
 *         Name = "workspaceexamplekeyvault",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
 *         SkuName = "premium",
 *     });
 *     var exampleAccount = new Azure.Storage.Account("example", new()
 *     {
 *         Name = "workspacestorageaccount",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         AccountTier = "Standard",
 *         AccountReplicationType = "GRS",
 *     });
 *     var exampleWorkspace = new Azure.MachineLearning.Workspace("example", new()
 *     {
 *         Name = "example-workspace",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         ApplicationInsightsId = exampleInsights.Id,
 *         KeyVaultId = exampleKeyVault.Id,
 *         StorageAccountId = exampleAccount.Id,
 *         Identity = new Azure.MachineLearning.Inputs.WorkspaceIdentityArgs
 *         {
 *             Type = "SystemAssigned",
 *         },
 *     });
 *     var exampleContainer = new Azure.Storage.Container("example", new()
 *     {
 *         Name = "example-container",
 *         StorageAccountName = exampleAccount.Name,
 *         ContainerAccessType = "private",
 *     });
 *     var exampleDatastoreBlobstorage = new Azure.MachineLearning.DatastoreBlobstorage("example", new()
 *     {
 *         Name = "example-datastore",
 *         WorkspaceId = exampleWorkspace.Id,
 *         StorageContainerId = exampleContainer.ResourceManagerId,
 *         AccountKey = exampleAccount.PrimaryAccessKey,
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		current, err := core.GetClientConfig(ctx, nil, nil)
 * 		if err != nil {
 * 			return err
 * 		}
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("example-resources"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
 * 			Name:              pulumi.String("workspace-example-ai"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			ApplicationType:   pulumi.String("web"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
 * 			Name:              pulumi.String("workspaceexamplekeyvault"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			TenantId:          pulumi.String(current.TenantId),
 * 			SkuName:           pulumi.String("premium"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
 * 			Name:                   pulumi.String("workspacestorageaccount"),
 * 			Location:               example.Location,
 * 			ResourceGroupName:      example.Name,
 * 			AccountTier:            pulumi.String("Standard"),
 * 			AccountReplicationType: pulumi.String("GRS"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
 * 			Name:                  pulumi.String("example-workspace"),
 * 			Location:              example.Location,
 * 			ResourceGroupName:     example.Name,
 * 			ApplicationInsightsId: exampleInsights.ID(),
 * 			KeyVaultId:            exampleKeyVault.ID(),
 * 			StorageAccountId:      exampleAccount.ID(),
 * 			Identity: &machinelearning.WorkspaceIdentityArgs{
 * 				Type: pulumi.String("SystemAssigned"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
 * 			Name:                pulumi.String("example-container"),
 * 			StorageAccountName:  exampleAccount.Name,
 * 			ContainerAccessType: pulumi.String("private"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = machinelearning.NewDatastoreBlobstorage(ctx, "example", &machinelearning.DatastoreBlobstorageArgs{
 * 			Name:               pulumi.String("example-datastore"),
 * 			WorkspaceId:        exampleWorkspace.ID(),
 * 			StorageContainerId: exampleContainer.ResourceManagerId,
 * 			AccountKey:         exampleAccount.PrimaryAccessKey,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azure.core.CoreFunctions;
 * import com.pulumi.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.appinsights.Insights;
 * import com.pulumi.azure.appinsights.InsightsArgs;
 * import com.pulumi.azure.keyvault.KeyVault;
 * import com.pulumi.azure.keyvault.KeyVaultArgs;
 * import com.pulumi.azure.storage.Account;
 * import com.pulumi.azure.storage.AccountArgs;
 * import com.pulumi.azure.machinelearning.Workspace;
 * import com.pulumi.azure.machinelearning.WorkspaceArgs;
 * import com.pulumi.azure.machinelearning.inputs.WorkspaceIdentityArgs;
 * import com.pulumi.azure.storage.Container;
 * import com.pulumi.azure.storage.ContainerArgs;
 * import com.pulumi.azure.machinelearning.DatastoreBlobstorage;
 * import com.pulumi.azure.machinelearning.DatastoreBlobstorageArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         final var current = CoreFunctions.getClientConfig();
 *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("example-resources")
 *             .location("West Europe")
 *             .build());
 *         var exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()
 *             .name("workspace-example-ai")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .applicationType("web")
 *             .build());
 *         var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
 *             .name("workspaceexamplekeyvault")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
 *             .skuName("premium")
 *             .build());
 *         var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
 *             .name("workspacestorageaccount")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .accountTier("Standard")
 *             .accountReplicationType("GRS")
 *             .build());
 *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
 *             .name("example-workspace")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .applicationInsightsId(exampleInsights.id())
 *             .keyVaultId(exampleKeyVault.id())
 *             .storageAccountId(exampleAccount.id())
 *             .identity(WorkspaceIdentityArgs.builder()
 *                 .type("SystemAssigned")
 *                 .build())
 *             .build());
 *         var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
 *             .name("example-container")
 *             .storageAccountName(exampleAccount.name())
 *             .containerAccessType("private")
 *             .build());
 *         var exampleDatastoreBlobstorage = new DatastoreBlobstorage("exampleDatastoreBlobstorage", DatastoreBlobstorageArgs.builder()
 *             .name("example-datastore")
 *             .workspaceId(exampleWorkspace.id())
 *             .storageContainerId(exampleContainer.resourceManagerId())
 *             .accountKey(exampleAccount.primaryAccessKey())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: example-resources
 *       location: West Europe
 *   exampleInsights:
 *     type: azure:appinsights:Insights
 *     name: example
 *     properties:
 *       name: workspace-example-ai
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       applicationType: web
 *   exampleKeyVault:
 *     type: azure:keyvault:KeyVault
 *     name: example
 *     properties:
 *       name: workspaceexamplekeyvault
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       tenantId: ${current.tenantId}
 *       skuName: premium
 *   exampleAccount:
 *     type: azure:storage:Account
 *     name: example
 *     properties:
 *       name: workspacestorageaccount
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       accountTier: Standard
 *       accountReplicationType: GRS
 *   exampleWorkspace:
 *     type: azure:machinelearning:Workspace
 *     name: example
 *     properties:
 *       name: example-workspace
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       applicationInsightsId: ${exampleInsights.id}
 *       keyVaultId: ${exampleKeyVault.id}
 *       storageAccountId: ${exampleAccount.id}
 *       identity:
 *         type: SystemAssigned
 *   exampleContainer:
 *     type: azure:storage:Container
 *     name: example
 *     properties:
 *       name: example-container
 *       storageAccountName: ${exampleAccount.name}
 *       containerAccessType: private
 *   exampleDatastoreBlobstorage:
 *     type: azure:machinelearning:DatastoreBlobstorage
 *     name: example
 *     properties:
 *       name: example-datastore
 *       workspaceId: ${exampleWorkspace.id}
 *       storageContainerId: ${exampleContainer.resourceManagerId}
 *       accountKey: ${exampleAccount.primaryAccessKey}
 * variables:
 *   current:
 *     fn::invoke:
 *       Function: azure:core:getClientConfig
 *       Arguments: {}
 * ```
 * 
 * ## Import
 * Machine Learning DataStores can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:machinelearning/datastoreBlobstorage:DatastoreBlobstorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1
 * ```
 * @property accountKey The access key of the Storage Account. Conflicts with `shared_access_signature`.
 * @property description Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
 * @property isDefault Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
 * > **Note:** `is_default` can only be set to `true` on update.
 * @property name The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
 * @property serviceDataAuthIdentity Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
 * @property sharedAccessSignature The Shared Access Signature of the Storage Account. Conflicts with `account_key`.
 * > **Note:**  One of `account_key` or `shared_access_signature` must be specified.
 * @property storageContainerId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
 * @property tags A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
 * @property workspaceId The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
 */
public data class DatastoreBlobstorageArgs(
    public val accountKey: Output? = null,
    public val description: Output? = null,
    public val isDefault: Output? = null,
    public val name: Output? = null,
    public val serviceDataAuthIdentity: Output? = null,
    public val sharedAccessSignature: Output? = null,
    public val storageContainerId: Output? = null,
    public val tags: Output>? = null,
    public val workspaceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.machinelearning.DatastoreBlobstorageArgs =
        com.pulumi.azure.machinelearning.DatastoreBlobstorageArgs.builder()
            .accountKey(accountKey?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .isDefault(isDefault?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .serviceDataAuthIdentity(serviceDataAuthIdentity?.applyValue({ args0 -> args0 }))
            .sharedAccessSignature(sharedAccessSignature?.applyValue({ args0 -> args0 }))
            .storageContainerId(storageContainerId?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .workspaceId(workspaceId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatastoreBlobstorageArgs].
 */
@PulumiTagMarker
public class DatastoreBlobstorageArgsBuilder internal constructor() {
    private var accountKey: Output? = null

    private var description: Output? = null

    private var isDefault: Output? = null

    private var name: Output? = null

    private var serviceDataAuthIdentity: Output? = null

    private var sharedAccessSignature: Output? = null

    private var storageContainerId: Output? = null

    private var tags: Output>? = null

    private var workspaceId: Output? = null

    /**
     * @param value The access key of the Storage Account. Conflicts with `shared_access_signature`.
     */
    @JvmName("wnpofqqbxprvcndw")
    public suspend fun accountKey(`value`: Output) {
        this.accountKey = value
    }

    /**
     * @param value Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("jqtroaaqomrlxqmo")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
     * > **Note:** `is_default` can only be set to `true` on update.
     */
    @JvmName("billtcnrkeasdpfp")
    public suspend fun isDefault(`value`: Output) {
        this.isDefault = value
    }

    /**
     * @param value The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("mgxxponuvjfdaegg")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
     */
    @JvmName("sikhfmcvsexxnvml")
    public suspend fun serviceDataAuthIdentity(`value`: Output) {
        this.serviceDataAuthIdentity = value
    }

    /**
     * @param value The Shared Access Signature of the Storage Account. Conflicts with `account_key`.
     * > **Note:**  One of `account_key` or `shared_access_signature` must be specified.
     */
    @JvmName("xxoyqnojnttbvcbd")
    public suspend fun sharedAccessSignature(`value`: Output) {
        this.sharedAccessSignature = value
    }

    /**
     * @param value The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("bvwntxgqsbqyndyc")
    public suspend fun storageContainerId(`value`: Output) {
        this.storageContainerId = value
    }

    /**
     * @param value A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("coivrceomhkjnrdl")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("osytosvmpbptqgmj")
    public suspend fun workspaceId(`value`: Output) {
        this.workspaceId = value
    }

    /**
     * @param value The access key of the Storage Account. Conflicts with `shared_access_signature`.
     */
    @JvmName("fgnjcxvmcjfkdcwf")
    public suspend fun accountKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountKey = mapped
    }

    /**
     * @param value Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("xjrknecjnolsjqbi")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
     * > **Note:** `is_default` can only be set to `true` on update.
     */
    @JvmName("uwruhmyeqeexeeup")
    public suspend fun isDefault(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isDefault = mapped
    }

    /**
     * @param value The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("ngrfrljwanguifbg")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
     */
    @JvmName("yetjowudcnjojpfv")
    public suspend fun serviceDataAuthIdentity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceDataAuthIdentity = mapped
    }

    /**
     * @param value The Shared Access Signature of the Storage Account. Conflicts with `account_key`.
     * > **Note:**  One of `account_key` or `shared_access_signature` must be specified.
     */
    @JvmName("jlfjljhcdvfugfhl")
    public suspend fun sharedAccessSignature(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sharedAccessSignature = mapped
    }

    /**
     * @param value The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("vruqefbyavhoewqu")
    public suspend fun storageContainerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageContainerId = mapped
    }

    /**
     * @param value A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("sioegwljbdbdcwlm")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("yuovebvoqsqjbans")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
     */
    @JvmName("eghpcuxfmuyqkqjn")
    public suspend fun workspaceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workspaceId = mapped
    }

    internal fun build(): DatastoreBlobstorageArgs = DatastoreBlobstorageArgs(
        accountKey = accountKey,
        description = description,
        isDefault = isDefault,
        name = name,
        serviceDataAuthIdentity = serviceDataAuthIdentity,
        sharedAccessSignature = sharedAccessSignature,
        storageContainerId = storageContainerId,
        tags = tags,
        workspaceId = workspaceId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy