Skip to main content

trusted_id_providers

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

Overview

Nametrusted_id_providers
TypeResource
Idazure.datalake_store.trusted_id_providers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
idProviderstringThe URL of this trusted identity provider.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, trusted_id_provider_name, subscription_idGets the specified Data Lake Store trusted identity provider.
list_by_accountselectresource_group_name, account_name, subscription_idLists the Data Lake Store trusted identity providers within the specified Data Lake Store account.
create_or_updateinsertresource_group_name, account_name, trusted_id_provider_name, subscription_id, 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.
updateupdateresource_group_name, account_name, trusted_id_provider_name, subscription_idUpdates the specified trusted identity provider.
create_or_updatereplaceresource_group_name, account_name, trusted_id_provider_name, subscription_id, 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.
deletedeleteresource_group_name, account_name, trusted_id_provider_name, subscription_idDeletes 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
account_namestringThe name of the Data Lake Store account. Required.
resource_group_namestringThe name of the Azure resource group. Required.
subscription_idstring
trusted_id_provider_namestringThe name of the trusted identity provider to delete. Required.

SELECT examples

Gets the specified Data Lake Store trusted identity provider.

SELECT
id,
name,
idProvider,
type
FROM azure.datalake_store.trusted_id_providers
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND trusted_id_provider_name = '{{ trusted_id_provider_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- 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.datalake_store.trusted_id_providers (
properties,
resource_group_name,
account_name,
trusted_id_provider_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ trusted_id_provider_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
type
;

UPDATE examples

Updates the specified trusted identity provider.

UPDATE azure.datalake_store.trusted_id_providers
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND trusted_id_provider_name = '{{ trusted_id_provider_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
type;

REPLACE 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.

REPLACE azure.datalake_store.trusted_id_providers
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND trusted_id_provider_name = '{{ trusted_id_provider_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
properties,
type;

DELETE examples

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

DELETE FROM azure.datalake_store.trusted_id_providers
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND trusted_id_provider_name = '{{ trusted_id_provider_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;