Microsoft.Compute diskAccesses 2022-03-02

Bicep resource definition

The diskAccesses resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Compute/diskAccesses resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Compute/diskAccesses@2022-03-02' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {}
  tags: {
    {customized property}: 'string'
  }
}

Property values

DiskAccessProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string
type The type of the extended location. 'EdgeZone'

Microsoft.Compute/diskAccesses

Name Description Value
extendedLocation The extended location where the disk access will be created. Extended location cannot be changed. ExtendedLocation
location Resource location string (required)
name The resource name string (required)
properties DiskAccessProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

ResourceTags

Name Description Value

ARM template resource definition

The diskAccesses resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Compute/diskAccesses resource, add the following JSON to your template.

{
  "type": "Microsoft.Compute/diskAccesses",
  "apiVersion": "2022-03-02",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

DiskAccessProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string
type The type of the extended location. 'EdgeZone'

Microsoft.Compute/diskAccesses

Name Description Value
apiVersion The api version '2022-03-02'
extendedLocation The extended location where the disk access will be created. Extended location cannot be changed. ExtendedLocation
location Resource location string (required)
name The resource name string (required)
properties DiskAccessProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Compute/diskAccesses'

ResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The diskAccesses 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.Compute/diskAccesses resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Compute/diskAccesses@2022-03-02"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
    }
  })
}

Property values

DiskAccessProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string
type The type of the extended location. 'EdgeZone'

Microsoft.Compute/diskAccesses

Name Description Value
extendedLocation The extended location where the disk access will be created. Extended location cannot be changed. ExtendedLocation
location Resource location string (required)
name The resource name string (required)
properties DiskAccessProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Compute/diskAccesses@2022-03-02"

ResourceTags

Name Description Value