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
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
azureADOnlyAuthenticationbooleanAzure Active Directory only Authentication enabled.
creationDatestring (date-time)property configuration date.
statestringproperty configuration state. Known values are: "Consistent", "InConsistent", and "Updating".
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, workspace_name, azure_ad_only_authentication_name, subscription_idGet Azure Active Directory only authentication property. Gets a Azure Active Directory only authentication property.
listselectresource_group_name, workspace_name, subscription_idGets a list of Azure Active Directory only authentication property. Gets a list of Azure Active Directory only authentication property for a workspace.
createinsertresource_group_name, workspace_name, azure_ad_only_authentication_name, subscription_idCreate or Update Azure Active Directory only authentication property. Create 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
azure_ad_only_authentication_namestringname of the property. "default" Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Get Azure Active Directory only authentication property. Gets a Azure Active Directory only authentication property.

SELECT
id,
name,
azureADOnlyAuthentication,
creationDate,
state,
type
FROM azure.synapse.azure_ad_only_authentications
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND azure_ad_only_authentication_name = '{{ azure_ad_only_authentication_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

INSERT INTO azure.synapse.azure_ad_only_authentications (
properties,
resource_group_name,
workspace_name,
azure_ad_only_authentication_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ workspace_name }}',
'{{ azure_ad_only_authentication_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
type
;