Skip to main content

azure_ad_only_authentications

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

Overview

Nameazure_ad_only_authentications
TypeResource
Idazure.synapse.azure_ad_only_authentications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectazureADOnlyAuthentication resource properties

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, azureADOnlyAuthenticationNameGets a Azure Active Directory only authentication property
listselectsubscriptionId, resourceGroupName, workspaceNameGets a list of Azure Active Directory only authentication property for a workspace
createinsertsubscriptionId, resourceGroupName, workspaceName, azureADOnlyAuthenticationNameCreate or Update a Azure Active Directory only authentication property for the workspaces

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
azureADOnlyAuthenticationNamestringname of the property
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Gets a Azure Active Directory only authentication property

SELECT
properties
FROM azure.synapse.azure_ad_only_authentications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND azureADOnlyAuthenticationName = '{{ azureADOnlyAuthenticationName }}' -- required
;

INSERT examples

Create or Update a Azure Active Directory only authentication property for the workspaces

INSERT INTO azure.synapse.azure_ad_only_authentications (
data__properties,
subscriptionId,
resourceGroupName,
workspaceName,
azureADOnlyAuthenticationName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ workspaceName }}',
'{{ azureADOnlyAuthenticationName }}'
RETURNING
properties
;