extension_metadata_v2
Creates, updates, deletes, gets or lists an extension_metadata_v2 resource.
Overview
| Name | extension_metadata_v2 |
| Type | Resource |
| Id | azure.hybrid_compute.extension_metadata_v2 |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
architecture | array | Architectures (x64, arms64, etc.) that this extension supports. |
extensionSignatureUri | string | Location of the signature files for the extension. |
extensionType | string | The type of the Extension being received. |
extensionUris | array | A list of locations where the extension packages can be found. |
operatingSystem | string | The operating system (Windows, Linux, etc.) this extension supports. |
publisher | string | The publisher of the Extension being received. |
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". |
version | string | The version of the Extension being received. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
architecture | array | Architectures (x64, arms64, etc.) that this extension supports. |
extensionSignatureUri | string | Location of the signature files for the extension. |
extensionType | string | The type of the Extension being received. |
extensionUris | array | A list of locations where the extension packages can be found. |
operatingSystem | string | The operating system (Windows, Linux, etc.) this extension supports. |
publisher | string | The publisher of the Extension being received. |
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". |
version | string | The version of the Extension being received. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, publisher, extension_type, version | Gets an Extension Metadata based on location, publisher, extensionType and version. | |
list | select | location, publisher, extension_type | Gets 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.
| Name | Datatype | Description |
|---|---|---|
extension_type | string | The extensionType of the Extension being received. Required. |
location | string | The location of the Extension being received. Required. |
publisher | string | The publisher of the Extension being received. Required. |
version | string | The version of the Extension being received. Required. |
SELECT examples
- get
- list
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
;
Gets all Extension versions based on location, publisher, extensionType.
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
;