Microsoft.DataShare accounts 2018-11-01-preview

Bicep resource definition

The accounts resource type can be deployed to:

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@2018-11-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    type: 'SystemAssigned'
  }
  properties: {}
}

Property values

accounts

Name Description Value
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

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

ARM template resource definition

The accounts resource type can be deployed to:

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": "2018-11-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "type": "SystemAssigned"
  },
  "properties": {}
}

Property values

accounts

Name Description Value
type The resource type 'Microsoft.DataShare/accounts'
apiVersion The resource api version '2018-11-01-preview'
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

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

Terraform (AzAPI provider) resource definition

The accounts resource type can be deployed to:

  • 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@2018-11-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "SystemAssigned"
  }
  body = jsonencode({
    properties = {}
  })
}

Property values

accounts

Name Description Value
type The resource type "Microsoft.DataShare/accounts@2018-11-01-preview"
name The resource name string (required)
location Location of the azure resource. string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Tags on the azure resource. Dictionary of tag names and values.
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.