Skip to main content

open_id_connect_providers

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

Overview

Nameopen_id_connect_providers
TypeResource
Idazure.api_management.open_id_connect_providers

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
client_idtextfield from the properties object
client_secrettextfield from the properties object
display_nametextfield from the properties object
metadata_endpointtextfield from the properties object
opidtextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
use_in_api_documentationtextfield from the properties object
use_in_test_consoletextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTopid, resourceGroupName, serviceName, subscriptionIdGets specific OpenID Connect Provider without secrets.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists of all the OpenId Connect Providers.
create_or_updateINSERTopid, resourceGroupName, serviceName, subscriptionIdCreates or updates the OpenID Connect Provider.
deleteDELETEIf-Match, opid, resourceGroupName, serviceName, subscriptionIdDeletes specific OpenID Connect Provider of the API Management service instance.
updateUPDATEIf-Match, opid, resourceGroupName, serviceName, subscriptionIdUpdates the specific OpenID Connect Provider.

SELECT examples

Lists of all the OpenId Connect Providers.

SELECT
description,
client_id,
client_secret,
display_name,
metadata_endpoint,
opid,
resourceGroupName,
serviceName,
subscriptionId,
use_in_api_documentation,
use_in_test_console
FROM azure.api_management.vw_open_id_connect_providers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a open_id_connect_providers resource.

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

DELETE example

Deletes the specified open_id_connect_providers resource.

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