active_directory_connectors
Creates, updates, deletes, gets or lists a active_directory_connectors
resource.
Overview
Name | active_directory_connectors |
Type | Resource |
Id | azure.azure_arc_data.active_directory_connectors |
Fields
- vw_active_directory_connectors
- active_directory_connectors
Name | Datatype | Description |
---|---|---|
activeDirectoryConnectorName | text | field from the properties object |
dataControllerName | text | field from the properties object |
domain_service_account_login_information | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
spec | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of an Active Directory connector resource |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | activeDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionId | Retrieves an Active Directory connector resource |
list | SELECT | dataControllerName, resourceGroupName, subscriptionId | |
create | INSERT | activeDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionId, data__properties | Creates or replaces an Active Directory connector resource. |
delete | DELETE | activeDirectoryConnectorName, dataControllerName, resourceGroupName, subscriptionId | Deletes an Active Directory connector resource |
SELECT
examples
- vw_active_directory_connectors
- active_directory_connectors
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 }}';
SELECT
properties
FROM azure.azure_arc_data.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: domainServiceAccountLoginInformation
value:
- name: username
value: string
- name: password
value: string
- name: provisioningState
value: string
- name: spec
value:
- name: activeDirectory
value:
- name: realm
value: string
- name: netbiosDomainName
value: string
- name: serviceAccountProvisioning
value: string
- name: ouDistinguishedName
value: string
- name: domainControllers
value:
- name: primaryDomainController
value:
- name: hostname
value: string
- name: secondaryDomainControllers
value: []
- name: dns
value:
- name: domainName
value: string
- name: nameserverIPAddresses
value:
- string
- name: replicas
value: integer
- name: preferK8sDnsForPtrLookups
value: boolean
- name: status
value:
- name: lastUpdateTime
value: string
- name: observedGeneration
value: integer
- name: state
value: string
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 }}';