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

The following fields are returned by SELECT queries:

Delegation settings.

NameDatatypeDescription
propertiesobjectDelegation settings contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, serviceName, subscriptionIdGet Delegation Settings for the Portal.
create_or_updateinsertresourceGroupName, serviceName, subscriptionIdIf-MatchCreate or Update Delegation settings.
updateupdateresourceGroupName, serviceName, If-Match, subscriptionIdUpdate Delegation settings.

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.

NameDatatypeDescription
If-MatchstringETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
If-MatchstringETag of the Entity. Not required when creating an entity, but required when updating an entity.

SELECT examples

Get Delegation Settings for the Portal.

SELECT
properties
FROM azure.api_management.delegation_settings
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Create or Update Delegation settings.

INSERT INTO azure.api_management.delegation_settings (
data__properties,
resourceGroupName,
serviceName,
subscriptionId,
If-Match
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ If-Match }}'
RETURNING
properties
;

UPDATE examples

Update Delegation settings.

UPDATE azure.api_management.delegation_settings
SET
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND If-Match = '{{ If-Match }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required;