Skip to main content

managed_instance_azure_ad_only_authentications

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

Overview

Namemanaged_instance_azure_ad_only_authentications
TypeResource
Idazure.sql.managed_instance_azure_ad_only_authentications

Fields

NameDatatypeDescription
authenticationNametextfield from the properties object
azure_ad_only_authenticationtextfield from the properties object
managedInstanceNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthenticationName, managedInstanceName, resourceGroupName, subscriptionIdGets a specific Azure Active Directory only authentication property.
create_or_updateINSERTauthenticationName, managedInstanceName, resourceGroupName, subscriptionIdSets Server Active Directory only authentication property or updates an existing server Active Directory only authentication property.
deleteDELETEauthenticationName, managedInstanceName, resourceGroupName, subscriptionIdDeletes an existing server Active Directory only authentication property.

SELECT examples

Gets a specific Azure Active Directory only authentication property.

SELECT
authenticationName,
azure_ad_only_authentication,
managedInstanceName,
resourceGroupName,
subscriptionId
FROM azure.sql.vw_managed_instance_azure_ad_only_authentications
WHERE authenticationName = '{{ authenticationName }}'
AND managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.sql.managed_instance_azure_ad_only_authentications (
authenticationName,
managedInstanceName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ authenticationName }}',
'{{ managedInstanceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified managed_instance_azure_ad_only_authentications resource.

/*+ delete */
DELETE FROM azure.sql.managed_instance_azure_ad_only_authentications
WHERE authenticationName = '{{ authenticationName }}'
AND managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';