azure.machinelearning.DatastoreBlobstorage
Manages a Machine Learning Blob Storage DataStore.
Create DatastoreBlobstorage Resource
new DatastoreBlobstorage(name: string, args: DatastoreBlobstorageArgs, opts?: CustomResourceOptions);
@overload
def DatastoreBlobstorage(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_key: Optional[str] = None,
description: Optional[str] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
service_data_auth_identity: Optional[str] = None,
shared_access_signature: Optional[str] = None,
storage_container_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
workspace_id: Optional[str] = None)
@overload
def DatastoreBlobstorage(resource_name: str,
args: DatastoreBlobstorageArgs,
opts: Optional[ResourceOptions] = None)
func NewDatastoreBlobstorage(ctx *Context, name string, args DatastoreBlobstorageArgs, opts ...ResourceOption) (*DatastoreBlobstorage, error)
public DatastoreBlobstorage(string name, DatastoreBlobstorageArgs args, CustomResourceOptions? opts = null)
public DatastoreBlobstorage(String name, DatastoreBlobstorageArgs args)
public DatastoreBlobstorage(String name, DatastoreBlobstorageArgs args, CustomResourceOptions options)
type: azure:machinelearning:DatastoreBlobstorage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatastoreBlobstorageArgs
- 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 DatastoreBlobstorageArgs
- 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 DatastoreBlobstorageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatastoreBlobstorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatastoreBlobstorageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DatastoreBlobstorage 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 DatastoreBlobstorage resource accepts the following input properties:
- Storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- Workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- Account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- Description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- Is
Default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- Name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- Service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- 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.
- Storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- Workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- Account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- Description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- Is
Default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- Name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- Service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- 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.
- storage
Container StringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- workspace
Id String The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key String The access key of the Storage Account. Conflicts with
shared_access_signature
.- description String
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default Boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name String
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data StringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- String
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- 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.
- storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- {[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.
- storage_
container_ strid 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.
- account_
key str The access key of the Storage Account. Conflicts with
shared_access_signature
.- description str
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is_
default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name str
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service_
data_ strauth_ identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- str
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- 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.
- storage
Container StringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- workspace
Id String The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key String The access key of the Storage Account. Conflicts with
shared_access_signature
.- description String
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default Boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name String
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data StringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- String
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatastoreBlobstorage resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing DatastoreBlobstorage Resource
Get an existing DatastoreBlobstorage 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?: DatastoreBlobstorageState, opts?: CustomResourceOptions): DatastoreBlobstorage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_key: Optional[str] = None,
description: Optional[str] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
service_data_auth_identity: Optional[str] = None,
shared_access_signature: Optional[str] = None,
storage_container_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
workspace_id: Optional[str] = None) -> DatastoreBlobstorage
func GetDatastoreBlobstorage(ctx *Context, name string, id IDInput, state *DatastoreBlobstorageState, opts ...ResourceOption) (*DatastoreBlobstorage, error)
public static DatastoreBlobstorage Get(string name, Input<string> id, DatastoreBlobstorageState? state, CustomResourceOptions? opts = null)
public static DatastoreBlobstorage get(String name, Output<String> id, DatastoreBlobstorageState 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.
- Account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- Description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- Is
Default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- Name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- Service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- Storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- 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.
- Workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- Account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- Description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- Is
Default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- Name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- Service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- Storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- 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.
- Workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key String The access key of the Storage Account. Conflicts with
shared_access_signature
.- description String
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default Boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name String
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data StringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- String
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- storage
Container StringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- 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.
- workspace
Id String The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key string The access key of the Storage Account. Conflicts with
shared_access_signature
.- description string
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name string
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data stringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- string
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- storage
Container stringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- {[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.
- workspace
Id string The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account_
key str The access key of the Storage Account. Conflicts with
shared_access_signature
.- description str
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is_
default bool Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name str
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service_
data_ strauth_ identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- str
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- storage_
container_ strid The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- 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.
- workspace_
id str The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
- account
Key String The access key of the Storage Account. Conflicts with
shared_access_signature
.- description String
Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
- is
Default Boolean Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to
false
.- name String
The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
- service
Data StringAuth Identity Specifies which identity to use when retrieving data from the specified source. Defaults to
None
. Possible values areNone
,WorkspaceSystemAssignedIdentity
andWorkspaceUserAssignedIdentity
.- String
The Shared Access Signature of the Storage Account. Conflicts with
account_key
.- storage
Container StringId The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
- 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.
- workspace
Id 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/datastoreBlobstorage:DatastoreBlobstorage 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.