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@2020-06-30' = {
location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Compute/diskAccesses
Name | Description | Value |
---|---|---|
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 |
---|
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": "2020-06-30",
"name": "string",
"location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Compute/diskAccesses
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-06-30' |
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 |
---|
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@2020-06-30"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
}
}
}
Property Values
Microsoft.Compute/diskAccesses
Name | Description | Value |
---|---|---|
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@2020-06-30" |
DiskAccessProperties
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|