Skip to main content

active_directory_connectors

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

Overview

Nameactive_directory_connectors
TypeResource
Idazure.azure_arc_data.active_directory_connectors

Fields

NameDatatypeDescription
activeDirectoryConnectorNametextfield from the properties object
dataControllerNametextfield from the properties object
domain_service_account_login_informationtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
spectextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTactiveDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionIdRetrieves an Active Directory connector resource
listSELECTdataControllerName, resourceGroupName, subscriptionId
createINSERTactiveDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionId, data__propertiesCreates or replaces an Active Directory connector resource.
deleteDELETEactiveDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionIdDeletes an Active Directory connector resource

SELECT examples

SELECT
activeDirectoryConnectorName,
dataControllerName,
domain_service_account_login_information,
provisioning_state,
resourceGroupName,
spec,
status,
subscriptionId
FROM azure.azure_arc_data.vw_active_directory_connectors
WHERE dataControllerName = '{{ dataControllerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.azure_arc_data.active_directory_connectors (
activeDirectoryConnectorName,
dataControllerName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ activeDirectoryConnectorName }}',
'{{ dataControllerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified active_directory_connectors resource.

/*+ delete */
DELETE FROM azure.azure_arc_data.active_directory_connectors
WHERE activeDirectoryConnectorName = '{{ activeDirectoryConnectorName }}'
AND dataControllerName = '{{ dataControllerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';