Microsoft.Compute diskAccesses 2024-03-02
- Article
-
-
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.
To create a Microsoft.Compute/diskAccesses resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Compute/diskAccesses@2024-03-02' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
Property values
DiskAccessProperties
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 |
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.
To create a Microsoft.Compute/diskAccesses resource, add the following JSON to your template.
{
"type": "Microsoft.Compute/diskAccesses",
"apiVersion": "2024-03-02",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
Property values
DiskAccessProperties
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 |
'2024-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' |
The diskAccesses resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Compute/diskAccesses resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Compute/diskAccesses@2024-03-02"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
extendedLocation = {
name = "string"
type = "string"
}
properties = {
}
})
}
Property values
DiskAccessProperties
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@2024-03-02" |