Skip to main content

products_products

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

Overview

Nameproducts_products
TypeResource
Idazure_stack.azure_stack.products_products

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the resource.
namestringName of the resource.
etagstringThe entity tag used for optimistic concurrency when modifying the resource.
propertiesobjectProperties of the product resource.
typestringType of Resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroup, registrationName, productNameReturns a list of products.
getselectsubscriptionId, resourceGroup, registrationName, productNameReturns the specified 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 a list of products.

SELECT
id,
name,
etag,
properties,
type
FROM azure_stack.azure_stack.products_products
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroup = '{{ resourceGroup }}' -- required
AND registrationName = '{{ registrationName }}' -- required
AND productName = '{{ productName }}' -- required
;