Skip to main content

vm_skus

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

Overview

Namevm_skus
TypeResource
Idazure.hybrid_aks.vm_skus

Fields

The following fields are returned by SELECT queries:

Lists the supported VM skus 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 VM skus for the specified custom location
listselectcustomLocationResourceUriLists the supported VM skus for the specified custom location
putreplacecustomLocationResourceUriPuts the default VM skus resource type (one time operation, before listing the VM skus)
deletedeletecustomLocationResourceUriDeletes the default VM skus 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 VM skus for the specified custom location

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

REPLACE examples

Puts the default VM skus resource type (one time operation, before listing the VM skus)

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

DELETE examples

Deletes the default VM skus resource type

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