Microsoft.Compute locations/diagnostics 2024-03-01-preview
Bicep resource definition
The locations/diagnostics resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/locations/diagnostics resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Compute/locations/diagnostics@2024-03-01-preview' = {
name: 'string'
// For remaining properties, see microsoft.compute/locations/diagnostics objects
}
microsoft.compute/locations/diagnostics objects
Set the name property to specify the type of object.
For diskInspection, use:
{
name: 'diskInspection'
}
For spotPlacementRecommender, use:
{
name: 'spotPlacementRecommender'
}
Property values
microsoft.compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | Set to 'diskInspection' for type Microsoft.Compute/locations/diagnostics. Set to 'spotPlacementRecommender' for type Microsoft.Compute/locations/diagnostics. | 'diskInspection' 'spotPlacementRecommender' (required) |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | The resource name | 'diskInspection' (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: locations |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | The resource name | 'spotPlacementRecommender' (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: locations |
ARM template resource definition
The locations/diagnostics resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/locations/diagnostics resource, add the following JSON to your template.
{
"name": "string"
// For remaining properties, see microsoft.compute/locations/diagnostics objects
}
microsoft.compute/locations/diagnostics objects
Set the name property to specify the type of object.
For diskInspection, use:
{
"name": "diskInspection"
}
For spotPlacementRecommender, use:
{
"name": "spotPlacementRecommender"
}
Property values
microsoft.compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | Set to 'diskInspection' for type Microsoft.Compute/locations/diagnostics. Set to 'spotPlacementRecommender' for type Microsoft.Compute/locations/diagnostics. | 'diskInspection' 'spotPlacementRecommender' (required) |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-03-01-preview' |
name | The resource name | 'diskInspection' (required) |
type | The resource type | 'Microsoft.Compute/locations/diagnostics' |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-03-01-preview' |
name | The resource name | 'spotPlacementRecommender' (required) |
type | The resource type | 'Microsoft.Compute/locations/diagnostics' |
Terraform (AzAPI provider) resource definition
The locations/diagnostics resource type can be deployed with operations that target:
- Subscription
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/locations/diagnostics resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
name = "string"
// For remaining properties, see microsoft.compute/locations/diagnostics objects
}
microsoft.compute/locations/diagnostics objects
Set the name property to specify the type of object.
For diskInspection, use:
{
name = "diskInspection"
}
For spotPlacementRecommender, use:
{
name = "spotPlacementRecommender"
}
Property values
microsoft.compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | Set to 'diskInspection' for type Microsoft.Compute/locations/diagnostics. Set to 'spotPlacementRecommender' for type Microsoft.Compute/locations/diagnostics. | 'diskInspection' 'spotPlacementRecommender' (required) |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | The resource name | 'diskInspection' (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: locations |
type | The resource type | "Microsoft.Compute/locations/diagnostics@2024-03-01-preview" |
Microsoft.Compute/locations/diagnostics
Name | Description | Value |
---|---|---|
name | The resource name | 'spotPlacementRecommender' (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: locations |
type | The resource type | "Microsoft.Compute/locations/diagnostics@2024-03-01-preview" |