Skip to main content

delegation_settings

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

Overview

Namedelegation_settings
TypeResource
Idazure.api_management.delegation_settings

Fields

NameDatatypeDescription
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
subscriptionstextfield from the properties object
urltextfield from the properties object
user_registrationtextfield from the properties object
validation_keytextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serviceName, subscriptionIdGet Delegation Settings for the Portal.
create_or_updateINSERTresourceGroupName, serviceName, subscriptionIdCreate or Update Delegation settings.
updateUPDATEIf-Match, resourceGroupName, serviceName, subscriptionIdUpdate Delegation settings.

SELECT examples

Get Delegation Settings for the Portal.

SELECT
resourceGroupName,
serviceName,
subscriptionId,
subscriptions,
url,
user_registration,
validation_key
FROM azure.api_management.vw_delegation_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.api_management.delegation_settings (
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a delegation_settings resource.

/*+ update */
UPDATE azure.api_management.delegation_settings
SET
properties = '{{ properties }}'
WHERE
If-Match = '{{ If-Match }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';