kubernetes_versions
Creates, updates, deletes, gets or lists a kubernetes_versions resource.
Overview
| Name | kubernetes_versions |
| Type | Resource |
| Id | azure.hybrid_container_service.kubernetes_versions |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". |
name | string | The name of the resource. |
extendedLocation | object | Extended location pointing to the underlying infrastructure. |
provisioningState | string | Provisioning state of the resource. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Deleting", "Updating", "Upgrading", and "Accepted". |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
values | array | List of supported Kubernetes versions. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | custom_location_resource_uri | Lists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location. | |
delete_kubernetes_versions | delete | custom_location_resource_uri | Deletes the default kubernetes version resource type. Delete the default kubernetes versions resource type. | |
get_kubernetes_versions | exec | custom_location_resource_uri | Lists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location. | |
put_kubernetes_versions | exec | custom_location_resource_uri | Puts the default kubernetes version resource type (one time operation, before listing the kubernetes versions). Puts the default kubernetes version resource type (one time operation, before listing the kubernetes versions). |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
custom_location_resource_uri | string | The fully qualified Azure Resource Manager identifier of the custom location resource. Required. |
SELECT examples
- list
Lists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location.
SELECT
id,
name,
extendedLocation,
provisioningState,
systemData,
type,
values
FROM azure.hybrid_container_service.kubernetes_versions
WHERE custom_location_resource_uri = '{{ custom_location_resource_uri }}' -- required
;
DELETE examples
- delete_kubernetes_versions
Deletes the default kubernetes version resource type. Delete the default kubernetes versions resource type.
DELETE FROM azure.hybrid_container_service.kubernetes_versions
WHERE custom_location_resource_uri = '{{ custom_location_resource_uri }}' --required
;
Lifecycle Methods
- get_kubernetes_versions
- put_kubernetes_versions
Lists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location.
EXEC azure.hybrid_container_service.kubernetes_versions.get_kubernetes_versions
@custom_location_resource_uri='{{ custom_location_resource_uri }}' --required
;
Puts the default kubernetes version resource type (one time operation, before listing the kubernetes versions). Puts the default kubernetes version resource type (one time operation, before listing the kubernetes versions).
EXEC azure.hybrid_container_service.kubernetes_versions.put_kubernetes_versions
@custom_location_resource_uri='{{ custom_location_resource_uri }}' --required
@@json=
'{
"extendedLocation": "{{ extendedLocation }}"
}'
;