products
Creates, updates, deletes, gets or lists a products
resource.
Overview
Name | products |
Type | Resource |
Id | azure_stack.azure_bridge_admin.products |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource |
properties | object | Properties of the resource. |
tags | object | List of key value pairs. |
type | string | Type of resource. |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource |
properties | object | Properties of the resource. |
tags | object | List of key value pairs. |
type | string | Type of resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , activationName , productName | Return product name. | |
list | select | subscriptionId , resourceGroupName , activationName | Return product name. | |
download | exec | subscriptionId , resourceGroupName , activationName , productName | Downloads a product from azure marketplace. |
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 |
---|---|---|
activationName | string | Name of the activation. |
productName | string | Name of the product. |
resourceGroupName | string | The resource group the resource is located under. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
Return product name.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.azure_bridge_admin.products
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND activationName = '{{ activationName }}' -- required
AND productName = '{{ productName }}' -- required
;
Return product name.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.azure_bridge_admin.products
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND activationName = '{{ activationName }}' -- required
;
Lifecycle Methods
- download
Downloads a product from azure marketplace.
EXEC azure_stack.azure_bridge_admin.products.download
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@activationName='{{ activationName }}' --required,
@productName='{{ productName }}' --required
;