Skip to main content

trusted_id_providers

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

Overview

Nametrusted_id_providers
TypeResource
Idazure.data_lake_store.trusted_id_providers

Fields

The following fields are returned by SELECT queries:

Successfully retrieved details of the specified trusted identity provider.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
propertiesobjectThe trusted identity provider properties.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, trustedIdProviderNameGets the specified Data Lake Store trusted identity provider.
list_by_accountselectsubscriptionId, resourceGroupName, accountNameLists the Data Lake Store trusted identity providers within the specified Data Lake Store account.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, trustedIdProviderName, data__propertiesCreates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider
updateupdatesubscriptionId, resourceGroupName, accountName, trustedIdProviderNameUpdates the specified trusted identity provider.
deletedeletesubscriptionId, resourceGroupName, accountName, trustedIdProviderNameDeletes the specified trusted identity provider from the specified Data Lake Store account

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
accountNamestringThe name of the Data Lake Store account.
resourceGroupNamestringThe name of the Azure resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
trustedIdProviderNamestringThe name of the trusted identity provider to delete.

SELECT examples

Gets the specified Data Lake Store trusted identity provider.

SELECT
id,
name,
properties,
type
FROM azure.data_lake_store.trusted_id_providers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND trustedIdProviderName = '{{ trustedIdProviderName }}' -- required
;

INSERT examples

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider

INSERT INTO azure.data_lake_store.trusted_id_providers (
data__properties,
subscriptionId,
resourceGroupName,
accountName,
trustedIdProviderName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ trustedIdProviderName }}'
RETURNING
id,
name,
properties,
type
;

UPDATE examples

Updates the specified trusted identity provider.

UPDATE azure.data_lake_store.trusted_id_providers
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND trustedIdProviderName = '{{ trustedIdProviderName }}' --required
RETURNING
id,
name,
properties,
type;

DELETE examples

Deletes the specified trusted identity provider from the specified Data Lake Store account

DELETE FROM azure.data_lake_store.trusted_id_providers
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND trustedIdProviderName = '{{ trustedIdProviderName }}' --required
;