Skip to main content

authorities

Creates, updates, deletes, gets or lists a authorities resource.

Overview

Nameauthorities
TypeResource
Idazure.verified_id.authorities

Fields

NameDatatypeDescription
authorityNametextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthorityName, resourceGroupName, subscriptionIdGet a Authority
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList Authority resources by resource group
list_by_subscriptionSELECTsubscriptionIdList Authority resources by subscription ID
create_or_updateINSERTauthorityName, resourceGroupName, subscriptionIdCreate a Authority
deleteDELETEauthorityName, resourceGroupName, subscriptionIdDelete a Authority
updateUPDATEauthorityName, resourceGroupName, subscriptionIdUpdate a Authority

SELECT examples

List Authority resources by subscription ID

SELECT
authorityName,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.verified_id.vw_authorities
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new authorities resource.

/*+ create */
INSERT INTO azure.verified_id.authorities (
authorityName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ authorityName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

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 }}';