authorities
Creates, updates, deletes, gets or lists a authorities
resource.
Overview
Name | authorities |
Type | Resource |
Id | azure.verified_id.authorities |
Fields
- vw_authorities
- authorities
Name | Datatype | Description |
---|---|---|
authorityName | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Details of the VerifiedId Authority. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | authorityName, resourceGroupName, subscriptionId | Get a Authority |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List Authority resources by resource group |
list_by_subscription | SELECT | subscriptionId | List Authority resources by subscription ID |
create_or_update | INSERT | authorityName, resourceGroupName, subscriptionId | Create a Authority |
delete | DELETE | authorityName, resourceGroupName, subscriptionId | Delete a Authority |
update | UPDATE | authorityName, resourceGroupName, subscriptionId | Update a Authority |
SELECT
examples
List Authority resources by subscription ID
- vw_authorities
- authorities
SELECT
authorityName,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.verified_id.vw_authorities
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.verified_id.authorities
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new authorities
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.verified_id.authorities (
authorityName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ authorityName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a authorities
resource.
/*+ update */
UPDATE azure.verified_id.authorities
SET
tags = '{{ tags }}'
WHERE
authorityName = '{{ authorityName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified authorities
resource.
/*+ delete */
DELETE FROM azure.verified_id.authorities
WHERE authorityName = '{{ authorityName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';