accounts
Creates, updates, deletes, gets or lists an accounts
resource.
Overview
Name | accounts |
Type | Resource |
Id | azure.engagement_fabric.accounts |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
Name | Datatype | Description |
---|---|---|
location | string | The location of the resource |
sku | object | The SKU of the resource |
tags | object | The tags of the resource |
Name | Datatype | Description |
---|---|---|
location | string | The location of the resource |
sku | object | The SKU of the resource |
tags | object | The tags of the resource |
Name | Datatype | Description |
---|---|---|
location | string | The location of the resource |
sku | object | The SKU of the resource |
tags | object | The tags of the resource |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , accountName | ||
list_by_resource_group | select | subscriptionId , resourceGroupName | ||
list | select | subscriptionId | ||
create_or_update | insert | subscriptionId , resourceGroupName , accountName , data__location , data__sku | ||
update | update | subscriptionId , resourceGroupName , accountName | ||
delete | delete | subscriptionId , resourceGroupName , accountName | ||
regenerate_key | exec | subscriptionId , resourceGroupName , accountName , name , rank |
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 |
---|---|---|
accountName | string | Account Name |
resourceGroupName | string | Resource Group Name |
subscriptionId | string | Subscription ID |
SELECT
examples
- get
- list_by_resource_group
- list
OK
SELECT
location,
sku,
tags
FROM azure.engagement_fabric.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;
OK
SELECT
location,
sku,
tags
FROM azure.engagement_fabric.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
OK
SELECT
location,
sku,
tags
FROM azure.engagement_fabric.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
No description available.
INSERT INTO azure.engagement_fabric.accounts (
data__location,
data__tags,
data__sku,
subscriptionId,
resourceGroupName,
accountName
)
SELECT
'{{ location }}' /* required */,
'{{ tags }}',
'{{ sku }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}'
RETURNING
location,
sku,
tags
;
# Description fields are for documentation purposes
- name: accounts
props:
- name: subscriptionId
value: string
description: Required parameter for the accounts resource.
- name: resourceGroupName
value: string
description: Required parameter for the accounts resource.
- name: accountName
value: string
description: Required parameter for the accounts resource.
- name: location
value: string
description: |
The location of the resource
- name: tags
value: object
description: |
The tags of the resource
- name: sku
value: object
description: |
The SKU of the resource
UPDATE
examples
- update
No description available.
UPDATE azure.engagement_fabric.accounts
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
RETURNING
location,
sku,
tags;
DELETE
examples
- delete
No description available.
DELETE FROM azure.engagement_fabric.accounts
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
;
Lifecycle Methods
- regenerate_key
OK
EXEC azure.engagement_fabric.accounts.regenerate_key
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required
@@json=
'{
"name": "{{ name }}",
"rank": "{{ rank }}"
}'
;