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:
- Resource groups - See resource group deployment commands
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@2023-01-02' = {
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 | |
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:
- Resource groups - See resource group deployment commands
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": "2023-01-02",
"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 | '2023-01-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' |
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:
- 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@2023-01-02"
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) |
properties | DiskAccessProperties | |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Compute/diskAccesses@2023-01-02" |
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 |
---|