1. Packages
  2. Azure Classic
  3. API Docs
  4. machinelearning
  5. DatastoreBlobstorage

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.machinelearning.DatastoreBlobstorage

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Machine Learning Blob Storage DataStore.

    Example Usage

    With Azure Blob

    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,
    });
    
    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=azure.machinelearning.WorkspaceIdentityArgs(
            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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    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: {}
    

    Create DatastoreBlobstorage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatastoreBlobstorage(name: string, args: DatastoreBlobstorageArgs, opts?: CustomResourceOptions);
    @overload
    def DatastoreBlobstorage(resource_name: str,
                             args: DatastoreBlobstorageArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatastoreBlobstorage(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             storage_container_id: Optional[str] = None,
                             workspace_id: Optional[str] = None,
                             account_key: Optional[str] = None,
                             description: Optional[str] = None,
                             is_default: Optional[bool] = None,
                             name: Optional[str] = None,
                             service_data_auth_identity: Optional[str] = None,
                             shared_access_signature: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None)
    func NewDatastoreBlobstorage(ctx *Context, name string, args DatastoreBlobstorageArgs, opts ...ResourceOption) (*DatastoreBlobstorage, error)
    public DatastoreBlobstorage(string name, DatastoreBlobstorageArgs args, CustomResourceOptions? opts = null)
    public DatastoreBlobstorage(String name, DatastoreBlobstorageArgs args)
    public DatastoreBlobstorage(String name, DatastoreBlobstorageArgs args, CustomResourceOptions options)
    
    type: azure:machinelearning:DatastoreBlobstorage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DatastoreBlobstorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DatastoreBlobstorageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DatastoreBlobstorageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreBlobstorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreBlobstorageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var datastoreBlobstorageResource = new Azure.MachineLearning.DatastoreBlobstorage("datastoreBlobstorageResource", new()
    {
        StorageContainerId = "string",
        WorkspaceId = "string",
        AccountKey = "string",
        Description = "string",
        IsDefault = false,
        Name = "string",
        ServiceDataAuthIdentity = "string",
        SharedAccessSignature = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := machinelearning.NewDatastoreBlobstorage(ctx, "datastoreBlobstorageResource", &machinelearning.DatastoreBlobstorageArgs{
    	StorageContainerId:      pulumi.String("string"),
    	WorkspaceId:             pulumi.String("string"),
    	AccountKey:              pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	IsDefault:               pulumi.Bool(false),
    	Name:                    pulumi.String("string"),
    	ServiceDataAuthIdentity: pulumi.String("string"),
    	SharedAccessSignature:   pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var datastoreBlobstorageResource = new DatastoreBlobstorage("datastoreBlobstorageResource", DatastoreBlobstorageArgs.builder()        
        .storageContainerId("string")
        .workspaceId("string")
        .accountKey("string")
        .description("string")
        .isDefault(false)
        .name("string")
        .serviceDataAuthIdentity("string")
        .sharedAccessSignature("string")
        .tags(Map.of("string", "string"))
        .build());
    
    datastore_blobstorage_resource = azure.machinelearning.DatastoreBlobstorage("datastoreBlobstorageResource",
        storage_container_id="string",
        workspace_id="string",
        account_key="string",
        description="string",
        is_default=False,
        name="string",
        service_data_auth_identity="string",
        shared_access_signature="string",
        tags={
            "string": "string",
        })
    
    const datastoreBlobstorageResource = new azure.machinelearning.DatastoreBlobstorage("datastoreBlobstorageResource", {
        storageContainerId: "string",
        workspaceId: "string",
        accountKey: "string",
        description: "string",
        isDefault: false,
        name: "string",
        serviceDataAuthIdentity: "string",
        sharedAccessSignature: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:machinelearning:DatastoreBlobstorage
    properties:
        accountKey: string
        description: string
        isDefault: false
        name: string
        serviceDataAuthIdentity: string
        sharedAccessSignature: string
        storageContainerId: string
        tags:
            string: string
        workspaceId: string
    

    DatastoreBlobstorage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DatastoreBlobstorage resource accepts the following input properties:

    StorageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    WorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    AccountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    Description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    IsDefault bool

    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.

    Name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    ServiceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    SharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    StorageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    WorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    AccountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    Description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    IsDefault bool

    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.

    Name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    ServiceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    SharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    Tags map[string]string
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    storageContainerId String
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey String
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description String
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault Boolean

    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.

    name String
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity String
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature String

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    tags Map<String,String>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    storageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault boolean

    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.

    name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    storage_container_id str
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    workspace_id str
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    account_key str
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description str
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    is_default bool

    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.

    name str
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    service_data_auth_identity str
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    shared_access_signature str

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    storageContainerId String
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey String
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description String
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault Boolean

    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.

    name String
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity String
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature String

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    tags Map<String>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DatastoreBlobstorage resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DatastoreBlobstorage Resource

    Get an existing DatastoreBlobstorage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DatastoreBlobstorageState, opts?: CustomResourceOptions): DatastoreBlobstorage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_key: Optional[str] = None,
            description: Optional[str] = None,
            is_default: Optional[bool] = None,
            name: Optional[str] = None,
            service_data_auth_identity: Optional[str] = None,
            shared_access_signature: Optional[str] = None,
            storage_container_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            workspace_id: Optional[str] = None) -> DatastoreBlobstorage
    func GetDatastoreBlobstorage(ctx *Context, name string, id IDInput, state *DatastoreBlobstorageState, opts ...ResourceOption) (*DatastoreBlobstorage, error)
    public static DatastoreBlobstorage Get(string name, Input<string> id, DatastoreBlobstorageState? state, CustomResourceOptions? opts = null)
    public static DatastoreBlobstorage get(String name, Output<String> id, DatastoreBlobstorageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    Description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    IsDefault bool

    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.

    Name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    ServiceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    SharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    StorageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    WorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    AccountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    Description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    IsDefault bool

    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.

    Name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    ServiceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    SharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    StorageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    WorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey String
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description String
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault Boolean

    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.

    name String
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity String
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature String

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    storageContainerId String
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey string
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description string
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault boolean

    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.

    name string
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity string
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature string

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    storageContainerId string
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    account_key str
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description str
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    is_default bool

    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.

    name str
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    service_data_auth_identity str
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    shared_access_signature str

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    storage_container_id str
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    workspace_id str
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
    accountKey String
    The access key of the Storage Account. Conflicts with shared_access_signature.
    description String
    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
    isDefault Boolean

    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.

    name String
    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    serviceDataAuthIdentity String
    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.
    sharedAccessSignature String

    The Shared Access Signature of the Storage Account. Conflicts with account_key.

    Note: One of account_key or shared_access_signature must be specified.

    storageContainerId String
    The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
    workspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    Import

    Machine Learning DataStores can be imported using the resource id, e.g.

    $ pulumi import azure:machinelearning/datastoreBlobstorage:DatastoreBlobstorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi