products_details
Creates, updates, deletes, gets or lists a products_details resource.
Overview
| Name | products_details |
| Type | Resource |
| Id | azure_stack.azure_stack.products_details |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
galleryPackageBlobSasUri | string | The URI to the .azpkg file that provides information required for showing product in the gallery. |
productKind | string | Specifies the kind of the product (virtualMachine or virtualMachineExtension). |
properties | object | Specifies additional properties describing the product. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroup, registrationName, productName | Returns 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.
| Name | Datatype | Description |
|---|---|---|
productName | string | Name of the product. |
registrationName | string | Name of the Azure Stack registration. |
resourceGroup | string | Name of the resource group. |
subscriptionId | string | Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- list
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
;