Skip to main content

open_id_connect_providers

Creates, updates, deletes, gets or lists an open_id_connect_providers resource.

Overview

Nameopen_id_connect_providers
TypeResource
Idazure.api_management.open_id_connect_providers

Fields

The following fields are returned by SELECT queries:

The response body contains the specified OpenId Connect Provider entity without secrets.

NameDatatypeDescription
propertiesobjectOpenId Connect Provider contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, serviceName, opid, subscriptionIdGets specific OpenID Connect Provider without secrets.
list_by_serviceselectresourceGroupName, serviceName, subscriptionId$filter, $top, $skipLists of all the OpenId Connect Providers.
create_or_updateinsertresourceGroupName, serviceName, opid, subscriptionIdIf-MatchCreates or updates the OpenID Connect Provider.
updateupdateresourceGroupName, serviceName, opid, If-Match, subscriptionIdUpdates the specific OpenID Connect Provider.
deletedeleteresourceGroupName, serviceName, opid, If-Match, subscriptionIdDeletes specific OpenID Connect Provider of the API Management service instance.

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.
opidstringIdentifier of the OpenID Connect Provider.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
$filterstring| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>
$skipinteger (int32)Number of records to skip.
$topinteger (int32)Number of records to return.
If-MatchstringETag of the Entity. Not required when creating an entity, but required when updating an entity.

SELECT examples

Gets specific OpenID Connect Provider without secrets.

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

INSERT examples

Creates or updates the OpenID Connect Provider.

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

UPDATE examples

Updates the specific OpenID Connect Provider.

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

DELETE examples

Deletes specific OpenID Connect Provider of the API Management service instance.

DELETE FROM azure.api_management.open_id_connect_providers
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND opid = '{{ opid }}' --required
AND If-Match = '{{ If-Match }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;