DatastoreFileshare

class DatastoreFileshare : KotlinCustomResource

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

Properties

Link copied to clipboard
val accountKey: Output<String>?

The access key of the Storage Account. Conflicts with shared_access_signature.

Link copied to clipboard
val description: Output<String>?

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isDefault: Output<Boolean>

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

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.

Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val workspaceId: Output<String>

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