product_secrets
Creates, updates, deletes, gets or lists a product_secrets
resource.
Overview
Name | product_secrets |
Type | Resource |
Id | azure_stack.deployment_admin.product_secrets |
Fields
- vw_product_secrets
- product_secrets
Name | Datatype | Description |
---|---|---|
id | text | ID of the resource. |
name | text | Name of the resource. |
description | text | field from the properties object |
expires_after | text | field from the properties object |
location | text | Location of the resource. |
packageId | text | field from the properties object |
provisioning_state | text | field from the properties object |
secretName | text | field from the properties object |
secret_descriptor | text | field from the properties object |
secret_kind | text | field from the properties object |
secret_state | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Type of Resource. |
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource. |
properties | object | Properties of product secret. |
type | string | Type of Resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | packageId, secretName, subscriptionId | Returns the specific product secret. |
list | SELECT | packageId, subscriptionId | Returns an array of product secrets. |
set | EXEC | packageId, secretName, subscriptionId | Imports a product secret. |
validate | EXEC | packageId, secretName, subscriptionId | Validates a product secret. |
SELECT
examples
Returns an array of product secrets.
- vw_product_secrets
- product_secrets
SELECT
id,
name,
description,
expires_after,
location,
packageId,
provisioning_state,
secretName,
secret_descriptor,
secret_kind,
secret_state,
subscriptionId,
type
FROM azure_stack.deployment_admin.vw_product_secrets
WHERE packageId = '{{ packageId }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.deployment_admin.product_secrets
WHERE packageId = '{{ packageId }}'
AND subscriptionId = '{{ subscriptionId }}';