Skip to main content

products_details

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

Overview

Nameproducts_details
TypeResource
Idazure_stack.azure_stack.products_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
galleryPackageBlobSasUristringThe URI to the .azpkg file that provides information required for showing product in the gallery.
productKindstringSpecifies the kind of the product (virtualMachine or virtualMachineExtension).
propertiesobjectSpecifies additional properties describing the product.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroup, registrationName, productNameReturns the extended properties of a product.

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
productNamestringName of the product.
registrationNamestringName of the Azure Stack registration.
resourceGroupstringName of the resource group.
subscriptionIdstringSubscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Returns the extended properties of a product.

SELECT
galleryPackageBlobSasUri,
productKind,
properties
FROM azure_stack.azure_stack.products_details
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroup = '{{ resourceGroup }}' -- required
AND registrationName = '{{ registrationName }}' -- required
AND productName = '{{ productName }}' -- required
;