products_products
Creates, updates, deletes, gets or lists a products_products
resource.
Overview
Name | products_products |
Type | Resource |
Id | azure_stack.azure_stack.products_products |
Fields
The following fields are returned by SELECT
queries:
- list
- get
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
etag | string | The entity tag used for optimistic concurrency when modifying the resource. |
properties | object | Properties of the product resource. |
type | string | Type of Resource. |
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
etag | string | The entity tag used for optimistic concurrency when modifying the resource. |
properties | object | Properties of the product resource. |
type | string | Type of Resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroup , registrationName , productName | Returns a list of products. | |
get | select | subscriptionId , resourceGroup , registrationName , productName | Returns 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.
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
- get
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
;
Returns the specified product.
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
;