DatastoreFileshareArgs

data class DatastoreFileshareArgs(val accountKey: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val serviceDataIdentity: Output<String>? = null, val sharedAccessSignature: Output<String>? = null, val storageFileshareId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workspaceId: Output<String>? = null) : ConvertibleToJava<DatastoreFileshareArgs>

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

Link copied to clipboard
constructor(accountKey: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, serviceDataIdentity: Output<String>? = null, sharedAccessSignature: Output<String>? = null, storageFileshareId: Output<String>? = null, tags: Output<Map<String, String>>? = null, workspaceId: Output<String>? = null)

Properties

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

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

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

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

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val serviceDataIdentity: Output<String>? = null

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
val sharedAccessSignature: Output<String>? = null

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

Link copied to clipboard
val storageFileshareId: Output<String>? = null

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>>? = null

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 workspaceId: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DatastoreFileshareArgs