Skip to main content

extension_metadata_v2

Creates, updates, deletes, gets or lists an extension_metadata_v2 resource.

Overview

Nameextension_metadata_v2
TypeResource
Idazure.hybrid_compute.extension_metadata_v2

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
architecturearrayArchitectures (x64, arms64, etc.) that this extension supports.
extensionSignatureUristringLocation of the signature files for the extension.
extensionTypestringThe type of the Extension being received.
extensionUrisarrayA list of locations where the extension packages can be found.
operatingSystemstringThe operating system (Windows, Linux, etc.) this extension supports.
publisherstringThe publisher of the Extension being received.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringThe version of the Extension being received.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, publisher, extension_type, versionGets an Extension Metadata based on location, publisher, extensionType and version.
listselectlocation, publisher, extension_typeGets all Extension versions based on location, publisher, extensionType.

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
extension_typestringThe extensionType of the Extension being received. Required.
locationstringThe location of the Extension being received. Required.
publisherstringThe publisher of the Extension being received. Required.
versionstringThe version of the Extension being received. Required.

SELECT examples

Gets an Extension Metadata based on location, publisher, extensionType and version.

SELECT
id,
name,
architecture,
extensionSignatureUri,
extensionType,
extensionUris,
operatingSystem,
publisher,
systemData,
type,
version
FROM azure.hybrid_compute.extension_metadata_v2
WHERE location = '{{ location }}' -- required
AND publisher = '{{ publisher }}' -- required
AND extension_type = '{{ extension_type }}' -- required
AND version = '{{ version }}' -- required
;