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 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@2021-08-01' = {
scope: resourceSymbolicName or scope
extendedLocation: {
name: 'string'
type: 'string'
}
___location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
Property Values
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 | |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
DiskAccessProperties
Name | Description | Value |
---|
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended ___location. | string |
type | The type of the extended ___location. | 'EdgeZone' |
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": "2021-08-01",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"___location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Compute/diskAccesses
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-08-01' |
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' |
DiskAccessProperties
Name | Description | Value |
---|
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended ___location. | string |
type | The type of the extended ___location. | 'EdgeZone' |
ResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) 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 Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Compute/diskAccesses@2021-08-01"
name = "string"
parent_id = "string"
___location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
}
}
}
Property Values
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) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | DiskAccessProperties | |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Compute/diskAccesses@2021-08-01" |
DiskAccessProperties
Name | Description | Value |
---|
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended ___location. | string |
type | The type of the extended ___location. | 'EdgeZone' |
ResourceTags
Name | Description | Value |
---|