activations
Creates, updates, deletes, gets or lists a activations
resource.
Overview
Name | activations |
Type | Resource |
Id | azure_stack.azure_bridge_admin.activations |
Fields
- vw_activations
- activations
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
activationName | text | field from the properties object |
azure_registration_resource_identifier | text | field from the properties object |
display_name | text | field from the properties object |
expiration | text | field from the properties object |
location | text | Location of the resource |
marketplace_syndication_enabled | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key value pairs. |
type | text | Type of resource. |
usage_reporting_enabled | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource |
properties | object | Holds properties related to activation. |
tags | object | List of key value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | activationName, resourceGroupName, subscriptionId | Returns activation name. |
list | SELECT | resourceGroupName, subscriptionId | Returns the list of activations. |
create_or_update | INSERT | activationName, resourceGroupName, subscriptionId | Create a new activation. |
delete | DELETE | activationName, resourceGroupName, subscriptionId | Delete an activation. |
SELECT
examples
Returns the list of activations.
- vw_activations
- activations
SELECT
id,
name,
activationName,
azure_registration_resource_identifier,
display_name,
expiration,
location,
marketplace_syndication_enabled,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
type,
usage_reporting_enabled
FROM azure_stack.azure_bridge_admin.vw_activations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.azure_bridge_admin.activations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new activations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_stack.azure_bridge_admin.activations (
activationName,
resourceGroupName,
subscriptionId,
displayName,
azureRegistrationResourceIdentifier,
provisioningState,
expiration,
marketplaceSyndicationEnabled,
usageReportingEnabled
)
SELECT
'{{ activationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ displayName }}',
'{{ azureRegistrationResourceIdentifier }}',
'{{ provisioningState }}',
'{{ expiration }}',
{{ marketplaceSyndicationEnabled }},
{{ usageReportingEnabled }}
;
- name: your_resource_model_name
props:
- name: displayName
value: string
- name: azureRegistrationResourceIdentifier
value: string
- name: provisioningState
value: []
- name: expiration
value: string
- name: marketplaceSyndicationEnabled
value: boolean
- name: usageReportingEnabled
value: boolean
DELETE
example
Deletes the specified activations
resource.
/*+ delete */
DELETE FROM azure_stack.azure_bridge_admin.activations
WHERE activationName = '{{ activationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';