Skip to main content

kubernetes_versions

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

Overview

Namekubernetes_versions
TypeResource
Idazure.hybrid_aks.kubernetes_versions

Fields

The following fields are returned by SELECT queries:

Lists the supported kubernetes versions for the specified custom location

NameDatatypeDescription
extendedLocationobjectExtended location pointing to the underlying infrastructure
propertiesobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcustomLocationResourceUriLists the supported kubernetes versions for the specified custom location
listselectcustomLocationResourceUriLists the supported kubernetes versions for the specified custom location
putreplacecustomLocationResourceUriPuts the default kubernetes version resource type (one time operation, before listing the kubernetes versions)
deletedeletecustomLocationResourceUriDelete the default kubernetes versions resource type

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
customLocationResourceUristringThe fully qualified Azure Resource Manager identifier of the custom location resource.

SELECT examples

Lists the supported kubernetes versions for the specified custom location

SELECT
extendedLocation,
properties
FROM azure.hybrid_aks.kubernetes_versions
WHERE customLocationResourceUri = '{{ customLocationResourceUri }}' -- required
;

REPLACE examples

Puts the default kubernetes version resource type (one time operation, before listing the kubernetes versions)

REPLACE azure.hybrid_aks.kubernetes_versions
SET
data__extendedLocation = '{{ extendedLocation }}'
WHERE
customLocationResourceUri = '{{ customLocationResourceUri }}' --required
RETURNING
extendedLocation,
properties;

DELETE examples

Delete the default kubernetes versions resource type

DELETE FROM azure.hybrid_aks.kubernetes_versions
WHERE customLocationResourceUri = '{{ customLocationResourceUri }}' --required
;