Microsoft.DataShare accounts template reference

Template format

To create a Microsoft.DataShare/accounts resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DataShare/accounts",
  "apiVersion": "2019-11-01",
  "location": "string",
  "tags": {},
  "identity": {
    "type": "SystemAssigned"
  },
  "properties": {},
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DataShare/accounts object

Name Type Required Value
name string Yes The name of the share account.
type enum Yes Microsoft.DataShare/accounts
apiVersion enum Yes 2019-11-01
location string No Location of the azure resource.
tags object No Tags on the azure resource.
identity object Yes Identity Info on the Account - Identity object
properties object Yes Properties on the account - AccountProperties object
resources array No shareSubscriptions shares

Identity object

Name Type Required Value
type enum No Identity Type. - SystemAssigned

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a data share account

Deploy to Azure
This template creates a data share account
Create a data share

Deploy to Azure
This template creates a data share
Create a data share from a storage account

Deploy to Azure
This template creates a data share from a storage account