Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataShare/accounts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DataShare/accounts@2020-09-01' = {
identity: {
type: 'string'
}
location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.DataShare/accounts
Name | Description | Value |
---|---|---|
identity | Identity Info on the Account | Identity (required) |
location | Location of the azure resource. | string |
name | The resource name | string (required) |
properties | Properties on the account | AccountProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
AccountProperties
Name | Description | Value |
---|
DefaultDtoTags
Name | Description | Value |
---|
Identity
Name | Description | Value |
---|---|---|
type | Identity Type | 'SystemAssigned' |
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Create a data share | This template creates a data share |
Create a data share account | This template creates a data share account |
Create a data share from a storage account | This template creates a data share from a storage account |
ARM template resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataShare/accounts resource, add the following JSON to your template.
{
"type": "Microsoft.DataShare/accounts",
"apiVersion": "2020-09-01",
"name": "string",
"identity": {
"type": "string"
},
"location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.DataShare/accounts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-09-01' |
identity | Identity Info on the Account | Identity (required) |
location | Location of the azure resource. | string |
name | The resource name | string (required) |
properties | Properties on the account | AccountProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.DataShare/accounts' |
AccountProperties
Name | Description | Value |
---|
DefaultDtoTags
Name | Description | Value |
---|
Identity
Name | Description | Value |
---|---|---|
type | Identity Type | 'SystemAssigned' |
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Create a data share |
This template creates a data share |
Create a data share account |
This template creates a data share account |
Create a data share from a storage account |
This template creates a data share from a storage account |
Terraform (AzAPI provider) resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataShare/accounts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataShare/accounts@2020-09-01"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
}
}
}
Property Values
Microsoft.DataShare/accounts
Name | Description | Value |
---|---|---|
identity | Identity Info on the Account | Identity (required) |
location | Location of the azure resource. | string |
name | The resource name | string (required) |
properties | Properties on the account | AccountProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.DataShare/accounts@2020-09-01" |
AccountProperties
Name | Description | Value |
---|
DefaultDtoTags
Name | Description | Value |
---|
Identity
Name | Description | Value |
---|---|---|
type | Identity Type | 'SystemAssigned' |