Skip to main content

identity_providers

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

Overview

Nameidentity_providers
TypeResource
Idazure.api_management.identity_providers

Fields

NameDatatypeDescription
allowed_tenantstextfield from the properties object
authoritytextfield from the properties object
client_idtextfield from the properties object
client_librarytextfield from the properties object
client_secrettextfield from the properties object
identityProviderNametextfield from the properties object
password_reset_policy_nametextfield from the properties object
profile_editing_policy_nametextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
signin_policy_nametextfield from the properties object
signin_tenanttextfield from the properties object
signup_policy_nametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTidentityProviderName, resourceGroupName, serviceName, subscriptionIdGets the configuration details of the identity Provider configured in specified service instance.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists a collection of Identity Provider configured in the specified service instance.
create_or_updateINSERTidentityProviderName, resourceGroupName, serviceName, subscriptionIdCreates or Updates the IdentityProvider configuration.
deleteDELETEIf-Match, identityProviderName, resourceGroupName, serviceName, subscriptionIdDeletes the specified identity provider configuration.
updateUPDATEIf-Match, identityProviderName, resourceGroupName, serviceName, subscriptionIdUpdates an existing IdentityProvider configuration.

SELECT examples

Lists a collection of Identity Provider configured in the specified service instance.

SELECT
allowed_tenants,
authority,
client_id,
client_library,
client_secret,
identityProviderName,
password_reset_policy_name,
profile_editing_policy_name,
resourceGroupName,
serviceName,
signin_policy_name,
signin_tenant,
signup_policy_name,
subscriptionId,
type
FROM azure.api_management.vw_identity_providers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a identity_providers resource.

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

DELETE example

Deletes the specified identity_providers resource.

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