Skip to main content

kubernetes_versions

Creates, updates, deletes, gets or lists a kubernetes_versions resource.

Overview

Namekubernetes_versions
TypeResource
Idazure.hybrid_container_service.kubernetes_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
extendedLocationobjectExtended location pointing to the underlying infrastructure.
provisioningStatestringProvisioning state of the resource. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Deleting", "Updating", "Upgrading", and "Accepted".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
valuesarrayList of supported Kubernetes versions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcustom_location_resource_uriLists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location.
delete_kubernetes_versionsdeletecustom_location_resource_uriDeletes the default kubernetes version resource type. Delete the default kubernetes versions resource type.
get_kubernetes_versionsexeccustom_location_resource_uriLists the supported kubernetes versions. Lists the supported kubernetes versions for the specified custom location.
put_kubernetes_versionsexeccustom_location_resource_uriPuts 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.

NameDatatypeDescription
custom_location_resource_uristringThe fully qualified Azure Resource Manager identifier of the custom location resource. Required.

SELECT examples

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

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

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
;