Microsoft.DataShare accounts
The accounts resource type can be deployed to: Resource groups.
To learn about resource group deployments, see Bicep or ARM template.
For a list of changed properties in each API version, see change log.
Template format
To create a Microsoft.DataShare/accounts resource, add the following Bicep or JSON to your template.
resource symbolicname 'Microsoft.DataShare/accounts@2021-08-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
identity: {
type: 'SystemAssigned'
}
properties: {}
}
Property values
accounts
| Name | Description | Value |
|---|---|---|
| type | The resource type For Bicep, set this value in the resource declaration. |
'Microsoft.DataShare/accounts' |
| apiVersion | The resource api version For Bicep, set this value in the resource declaration. |
'2021-08-01' |
| name | The resource name | string (required) |
| location | Location of the azure resource. | string |
| tags | Tags on the azure resource. | Dictionary of tag names and values. See Tags in templates |
| identity | Identity Info on the Account | Identity (required) |
| properties | Properties on the account | AccountProperties |
Identity
| Name | Description | Value |
|---|---|---|
| type | Identity Type | 'SystemAssigned' |
AccountProperties
This object doesn't contain any properties to set during deployment. All properties are ReadOnly.
Quickstart templates
The following quickstart templates deploy this resource type.
| Template | Description |
|---|---|
| Create a data share account |
This template creates a data share account |
| Create a data share |
This template creates a data share |
| Create a data share from a storage account |
This template creates a data share from a storage account |