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

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

azure.machinelearning.DatastoreDatalakeGen2

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

    Manages a Machine Learning Data Lake Gen2 DataStore.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var current = Azure.Core.GetClientConfig.Invoke();
    
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleInsights = new Azure.AppInsights.Insights("exampleInsights", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            ApplicationType = "web",
        });
    
        var exampleKeyVault = new Azure.KeyVault.KeyVault("exampleKeyVault", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
            SkuName = "premium",
        });
    
        var exampleAccount = new Azure.Storage.Account("exampleAccount", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            AccountTier = "Standard",
            AccountReplicationType = "GRS",
        });
    
        var exampleWorkspace = new Azure.MachineLearning.Workspace("exampleWorkspace", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            ApplicationInsightsId = exampleInsights.Id,
            KeyVaultId = exampleKeyVault.Id,
            StorageAccountId = exampleAccount.Id,
            Identity = new Azure.MachineLearning.Inputs.WorkspaceIdentityArgs
            {
                Type = "SystemAssigned",
            },
        });
    
        var exampleContainer = new Azure.Storage.Container("exampleContainer", new()
        {
            StorageAccountName = exampleAccount.Name,
            ContainerAccessType = "private",
        });
    
        var exampleDatastoreDatalakeGen2 = new Azure.MachineLearning.DatastoreDatalakeGen2("exampleDatastoreDatalakeGen2", new()
        {
            WorkspaceId = exampleWorkspace.Id,
            StorageContainerId = exampleContainer.ResourceManagerId,
        });
    
    });
    
    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
    		}
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			ApplicationType:   pulumi.String("web"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			TenantId:          *pulumi.String(current.TenantId),
    			SkuName:           pulumi.String("premium"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
    			Location:               exampleResourceGroup.Location,
    			ResourceGroupName:      exampleResourceGroup.Name,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("GRS"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
    			Location:              exampleResourceGroup.Location,
    			ResourceGroupName:     exampleResourceGroup.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, "exampleContainer", &storage.ContainerArgs{
    			StorageAccountName:  exampleAccount.Name,
    			ContainerAccessType: pulumi.String("private"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = machinelearning.NewDatastoreDatalakeGen2(ctx, "exampleDatastoreDatalakeGen2", &machinelearning.DatastoreDatalakeGen2Args{
    			WorkspaceId:        exampleWorkspace.ID(),
    			StorageContainerId: exampleContainer.ResourceManagerId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.DatastoreDatalakeGen2;
    import com.pulumi.azure.machinelearning.DatastoreDatalakeGen2Args;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .applicationType("web")
                .build());
    
            var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
                .skuName("premium")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .accountTier("Standard")
                .accountReplicationType("GRS")
                .build());
    
            var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .applicationInsightsId(exampleInsights.id())
                .keyVaultId(exampleKeyVault.id())
                .storageAccountId(exampleAccount.id())
                .identity(WorkspaceIdentityArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .build());
    
            var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()        
                .storageAccountName(exampleAccount.name())
                .containerAccessType("private")
                .build());
    
            var exampleDatastoreDatalakeGen2 = new DatastoreDatalakeGen2("exampleDatastoreDatalakeGen2", DatastoreDatalakeGen2Args.builder()        
                .workspaceId(exampleWorkspace.id())
                .storageContainerId(exampleContainer.resourceManagerId())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    current = azure.core.get_client_config()
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_insights = azure.appinsights.Insights("exampleInsights",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        application_type="web")
    example_key_vault = azure.keyvault.KeyVault("exampleKeyVault",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        tenant_id=current.tenant_id,
        sku_name="premium")
    example_account = azure.storage.Account("exampleAccount",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        account_tier="Standard",
        account_replication_type="GRS")
    example_workspace = azure.machinelearning.Workspace("exampleWorkspace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.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("exampleContainer",
        storage_account_name=example_account.name,
        container_access_type="private")
    example_datastore_datalake_gen2 = azure.machinelearning.DatastoreDatalakeGen2("exampleDatastoreDatalakeGen2",
        workspace_id=example_workspace.id,
        storage_container_id=example_container.resource_manager_id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const current = azure.core.getClientConfig({});
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleInsights = new azure.appinsights.Insights("exampleInsights", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        applicationType: "web",
    });
    const exampleKeyVault = new azure.keyvault.KeyVault("exampleKeyVault", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        tenantId: current.then(current => current.tenantId),
        skuName: "premium",
    });
    const exampleAccount = new azure.storage.Account("exampleAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        accountTier: "Standard",
        accountReplicationType: "GRS",
    });
    const exampleWorkspace = new azure.machinelearning.Workspace("exampleWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        applicationInsightsId: exampleInsights.id,
        keyVaultId: exampleKeyVault.id,
        storageAccountId: exampleAccount.id,
        identity: {
            type: "SystemAssigned",
        },
    });
    const exampleContainer = new azure.storage.Container("exampleContainer", {
        storageAccountName: exampleAccount.name,
        containerAccessType: "private",
    });
    const exampleDatastoreDatalakeGen2 = new azure.machinelearning.DatastoreDatalakeGen2("exampleDatastoreDatalakeGen2", {
        workspaceId: exampleWorkspace.id,
        storageContainerId: exampleContainer.resourceManagerId,
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleInsights:
        type: azure:appinsights:Insights
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          applicationType: web
      exampleKeyVault:
        type: azure:keyvault:KeyVault
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          tenantId: ${current.tenantId}
          skuName: premium
      exampleAccount:
        type: azure:storage:Account
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          accountTier: Standard
          accountReplicationType: GRS
      exampleWorkspace:
        type: azure:machinelearning:Workspace
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          applicationInsightsId: ${exampleInsights.id}
          keyVaultId: ${exampleKeyVault.id}
          storageAccountId: ${exampleAccount.id}
          identity:
            type: SystemAssigned
      exampleContainer:
        type: azure:storage:Container
        properties:
          storageAccountName: ${exampleAccount.name}
          containerAccessType: private
      exampleDatastoreDatalakeGen2:
        type: azure:machinelearning:DatastoreDatalakeGen2
        properties:
          workspaceId: ${exampleWorkspace.id}
          storageContainerId: ${exampleContainer.resourceManagerId}
    variables:
      current:
        fn::invoke:
          Function: azure:core:getClientConfig
          Arguments: {}
    

    Create DatastoreDatalakeGen2 Resource

    new DatastoreDatalakeGen2(name: string, args: DatastoreDatalakeGen2Args, opts?: CustomResourceOptions);
    @overload
    def DatastoreDatalakeGen2(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              authority_url: Optional[str] = None,
                              client_id: Optional[str] = None,
                              client_secret: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              service_data_identity: Optional[str] = None,
                              storage_container_id: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              tenant_id: Optional[str] = None,
                              workspace_id: Optional[str] = None)
    @overload
    def DatastoreDatalakeGen2(resource_name: str,
                              args: DatastoreDatalakeGen2Args,
                              opts: Optional[ResourceOptions] = None)
    func NewDatastoreDatalakeGen2(ctx *Context, name string, args DatastoreDatalakeGen2Args, opts ...ResourceOption) (*DatastoreDatalakeGen2, error)
    public DatastoreDatalakeGen2(string name, DatastoreDatalakeGen2Args args, CustomResourceOptions? opts = null)
    public DatastoreDatalakeGen2(String name, DatastoreDatalakeGen2Args args)
    public DatastoreDatalakeGen2(String name, DatastoreDatalakeGen2Args args, CustomResourceOptions options)
    
    type: azure:machinelearning:DatastoreDatalakeGen2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DatastoreDatalakeGen2Args
    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 DatastoreDatalakeGen2Args
    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 DatastoreDatalakeGen2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreDatalakeGen2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreDatalakeGen2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DatastoreDatalakeGen2 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 DatastoreDatalakeGen2 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.

    AuthorityUrl string

    An URL used for authentication.

    ClientId string

    The object ID of the Service Principal.

    ClientSecret string

    The secret of the Service Principal.

    Description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    Name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    ServiceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    TenantId string

    The ID of the Tenant which the Service Principal belongs to.

    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.

    AuthorityUrl string

    An URL used for authentication.

    ClientId string

    The object ID of the Service Principal.

    ClientSecret string

    The secret of the Service Principal.

    Description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    Name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    ServiceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    TenantId string

    The ID of the Tenant which the Service Principal belongs to.

    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.

    authorityUrl String

    An URL used for authentication.

    clientId String

    The object ID of the Service Principal.

    clientSecret String

    The secret of the Service Principal.

    description String

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    name String

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity String

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId String

    The ID of the Tenant which the Service Principal belongs to.

    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.

    authorityUrl string

    An URL used for authentication.

    clientId string

    The object ID of the Service Principal.

    clientSecret string

    The secret of the Service Principal.

    description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId string

    The ID of the Tenant which the Service Principal belongs to.

    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.

    authority_url str

    An URL used for authentication.

    client_id str

    The object ID of the Service Principal.

    client_secret str

    The secret of the Service Principal.

    description str

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    name str

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    service_data_identity str

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenant_id str

    The ID of the Tenant which the Service Principal belongs to.

    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.

    authorityUrl String

    An URL used for authentication.

    clientId String

    The object ID of the Service Principal.

    clientSecret String

    The secret of the Service Principal.

    description String

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    name String

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity String

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId String

    The ID of the Tenant which the Service Principal belongs to.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    IsDefault bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    Id string

    The provider-assigned unique ID for this managed resource.

    IsDefault bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    id String

    The provider-assigned unique ID for this managed resource.

    isDefault Boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    id string

    The provider-assigned unique ID for this managed resource.

    isDefault boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    id str

    The provider-assigned unique ID for this managed resource.

    is_default bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    id String

    The provider-assigned unique ID for this managed resource.

    isDefault Boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    Look up Existing DatastoreDatalakeGen2 Resource

    Get an existing DatastoreDatalakeGen2 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?: DatastoreDatalakeGen2State, opts?: CustomResourceOptions): DatastoreDatalakeGen2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authority_url: Optional[str] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            description: Optional[str] = None,
            is_default: Optional[bool] = None,
            name: Optional[str] = None,
            service_data_identity: Optional[str] = None,
            storage_container_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tenant_id: Optional[str] = None,
            workspace_id: Optional[str] = None) -> DatastoreDatalakeGen2
    func GetDatastoreDatalakeGen2(ctx *Context, name string, id IDInput, state *DatastoreDatalakeGen2State, opts ...ResourceOption) (*DatastoreDatalakeGen2, error)
    public static DatastoreDatalakeGen2 Get(string name, Input<string> id, DatastoreDatalakeGen2State? state, CustomResourceOptions? opts = null)
    public static DatastoreDatalakeGen2 get(String name, Output<String> id, DatastoreDatalakeGen2State 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:
    AuthorityUrl string

    An URL used for authentication.

    ClientId string

    The object ID of the Service Principal.

    ClientSecret string

    The secret of the Service Principal.

    Description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    IsDefault bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    Name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    ServiceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    TenantId string

    The ID of the Tenant which the Service Principal belongs to.

    WorkspaceId string

    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    AuthorityUrl string

    An URL used for authentication.

    ClientId string

    The object ID of the Service Principal.

    ClientSecret string

    The secret of the Service Principal.

    Description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    IsDefault bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    Name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    ServiceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    TenantId string

    The ID of the Tenant which the Service Principal belongs to.

    WorkspaceId string

    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    authorityUrl String

    An URL used for authentication.

    clientId String

    The object ID of the Service Principal.

    clientSecret String

    The secret of the Service Principal.

    description String

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    isDefault Boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    name String

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity String

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId String

    The ID of the Tenant which the Service Principal belongs to.

    workspaceId String

    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    authorityUrl string

    An URL used for authentication.

    clientId string

    The object ID of the Service Principal.

    clientSecret string

    The secret of the Service Principal.

    description string

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    isDefault boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    name string

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity string

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId string

    The ID of the Tenant which the Service Principal belongs to.

    workspaceId string

    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    authority_url str

    An URL used for authentication.

    client_id str

    The object ID of the Service Principal.

    client_secret str

    The secret of the Service Principal.

    description str

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    is_default bool

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    name str

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    service_data_identity str

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenant_id str

    The ID of the Tenant which the Service Principal belongs to.

    workspace_id str

    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.

    authorityUrl String

    An URL used for authentication.

    clientId String

    The object ID of the Service Principal.

    clientSecret String

    The secret of the Service Principal.

    description String

    Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

    isDefault Boolean

    Indicates whether this Machines Learning DataStore is the default for the Workspace.

    name String

    The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

    serviceDataIdentity String

    Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

    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.

    tenantId String

    The ID of the Tenant which the Service Principal belongs to.

    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/datastoreDatalakeGen2:DatastoreDatalakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1
    

    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.52.0 published on Monday, Oct 2, 2023 by Pulumi