import * as pulumi from "@pulumi/pulumi"; /** * Manages a Machine Learning Data Lake Gen2 DataStore. * * ## Example Usage * * ```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 exampleDatastoreDatalakeGen2 = new azure.machinelearning.DatastoreDatalakeGen2("example", { * name: "example-datastore", * workspaceId: exampleWorkspace.id, * storageContainerId: exampleContainer.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.MachineLearningServices` - 2025-06-01 * * ## Import * * Machine Learning DataStores can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:machinelearning/datastoreDatalakeGen2:DatastoreDatalakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1 * ``` */ export declare class DatastoreDatalakeGen2 extends pulumi.CustomResource { /** * Get an existing DatastoreDatalakeGen2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DatastoreDatalakeGen2State, opts?: pulumi.CustomResourceOptions): DatastoreDatalakeGen2; /** * Returns true if the given object is an instance of DatastoreDatalakeGen2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DatastoreDatalakeGen2; /** * An URL used for authentication. */ readonly authorityUrl: pulumi.Output; /** * The object ID of the Service Principal. */ readonly clientId: pulumi.Output; /** * The secret of the Service Principal. */ readonly clientSecret: pulumi.Output; /** * Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created. */ readonly description: pulumi.Output; /** * Indicates whether this Machines Learning DataStore is the default for the Workspace. */ readonly isDefault: pulumi.Output; /** * The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ readonly name: pulumi.Output; /** * Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`. */ readonly serviceDataIdentity: pulumi.Output; /** * The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created. */ readonly storageContainerId: pulumi.Output; /** * A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The ID of the Tenant which the Service Principal belongs to. */ readonly tenantId: pulumi.Output; /** * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created. */ readonly workspaceId: pulumi.Output; /** * Create a DatastoreDatalakeGen2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatastoreDatalakeGen2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatastoreDatalakeGen2 resources. */ export interface DatastoreDatalakeGen2State { /** * An URL used for authentication. */ authorityUrl?: pulumi.Input; /** * The object ID of the Service Principal. */ clientId?: pulumi.Input; /** * The secret of the Service Principal. */ clientSecret?: pulumi.Input; /** * Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created. */ description?: pulumi.Input; /** * Indicates whether this Machines Learning DataStore is the default for the Workspace. */ isDefault?: pulumi.Input; /** * The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ name?: pulumi.Input; /** * Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`. */ serviceDataIdentity?: pulumi.Input; /** * The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created. */ storageContainerId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of the Tenant which the Service Principal belongs to. */ tenantId?: pulumi.Input; /** * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a DatastoreDatalakeGen2 resource. */ export interface DatastoreDatalakeGen2Args { /** * An URL used for authentication. */ authorityUrl?: pulumi.Input; /** * The object ID of the Service Principal. */ clientId?: pulumi.Input; /** * The secret of the Service Principal. */ clientSecret?: pulumi.Input; /** * Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created. */ description?: pulumi.Input; /** * The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ name?: pulumi.Input; /** * Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`. */ serviceDataIdentity?: pulumi.Input; /** * The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created. */ storageContainerId: pulumi.Input; /** * A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of the Tenant which the Service Principal belongs to. */ tenantId?: pulumi.Input; /** * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created. */ workspaceId: pulumi.Input; }