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 kubernetesVersions resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* 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.HybridContainerService/kubernetesVersions resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.HybridContainerService/kubernetesVersions@2023-11-15-preview' = {
scope: resourceSymbolicName or scope
extendedLocation: {
name: 'string'
type: 'string'
}
name: 'default'
}
Property Values
Microsoft.HybridContainerService/kubernetesVersions
| Name | Description | Value |
|---|---|---|
| extendedLocation | Extended Location definition | ExtendedLocation |
| name | The resource name | 'default' (required) |
| 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. |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | 'CustomLocation' |
ARM template resource definition
The kubernetesVersions resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.HybridContainerService/kubernetesVersions resource, add the following JSON to your template.
{
"type": "Microsoft.HybridContainerService/kubernetesVersions",
"apiVersion": "2023-11-15-preview",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
}
}
Property Values
Microsoft.HybridContainerService/kubernetesVersions
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2023-11-15-preview' |
| extendedLocation | Extended Location definition | ExtendedLocation |
| name | The resource name | 'default' (required) |
| type | The resource type | 'Microsoft.HybridContainerService/kubernetesVersions' |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | 'CustomLocation' |
Terraform (AzAPI provider) resource definition
The kubernetesVersions resource type can be deployed with operations that target:
- Tenant* Management groups* Subscription* Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HybridContainerService/kubernetesVersions resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.HybridContainerService/kubernetesVersions@2023-11-15-preview"
name = "string"
parent_id = "string"
body = {
extendedLocation = {
name = "string"
type = "string"
}
}
}
Property Values
Microsoft.HybridContainerService/kubernetesVersions
| Name | Description | Value |
|---|---|---|
| extendedLocation | Extended Location definition | ExtendedLocation |
| name | The resource name | 'default' (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| type | The resource type | "Microsoft.HybridContainerService/kubernetesVersions@2023-11-15-preview" |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | 'CustomLocation' |