accounts
Creates, updates, deletes, gets or lists a accounts
resource.
Overview
Name | accounts |
Type | Resource |
Id | azure.engagement_fabric.accounts |
Fields
Name | Datatype | Description |
---|---|---|
location | string | The location of the resource |
sku | object | The EngagementFabric SKU |
tags | object | The tags of the resource |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, resourceGroupName, subscriptionId | |
list | SELECT | subscriptionId | |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | |
create_or_update | INSERT | accountName, resourceGroupName, subscriptionId, data__location, data__sku | |
delete | DELETE | accountName, resourceGroupName, subscriptionId | |
update | UPDATE | accountName, resourceGroupName, subscriptionId | |
regenerate_key | EXEC | accountName, resourceGroupName, subscriptionId, data__name, data__rank |
SELECT
examples
SELECT
location,
sku,
tags
FROM azure.engagement_fabric.accounts
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.engagement_fabric.accounts (
accountName,
resourceGroupName,
subscriptionId,
data__location,
data__sku,
location,
tags,
sku
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__sku }}',
'{{ location }}',
'{{ tags }}',
'{{ sku }}'
;
- name: your_resource_model_name
props:
- name: location
value: string
- name: tags
value: object
- name: sku
value:
- name: name
value: string
- name: tier
value: string
UPDATE
example
Updates a accounts
resource.
/*+ update */
UPDATE azure.engagement_fabric.accounts
SET
tags = '{{ tags }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified accounts
resource.
/*+ delete */
DELETE FROM azure.engagement_fabric.accounts
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';