Datastore Fileshare Args
Manages a Machine Learning File Share DataStore.
Example Usage
With Azure File Share
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
exampleShare:
type: azure:storage:Share
name: example
properties:
name: example
storageAccountName: ${exampleAccount.name}
quota: 1
exampleDatastoreFileshare:
type: azure:machinelearning:DatastoreFileshare
name: example
properties:
name: example-datastore
workspaceId: ${exampleWorkspace.id}
storageFilesahareId: ${test.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.
$ pulumi import azure:machinelearning/datastoreFileshare:DatastoreFileshare example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1
Constructors
Properties
The access key of the Storage Account. Conflicts with shared_access_signature
.
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
Specifies which identity to use when retrieving data from the specified source. Defaults to None
. Possible values are None
, WorkspaceSystemAssignedIdentity
and WorkspaceUserAssignedIdentity
.
The Shared Access Signature of the Storage Account. Conflicts with account_key
.
The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.
The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.