private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.azure_active_directory.private_endpoint_connections |
Fields
- vw_private_endpoint_connections
- private_endpoint_connections
Name | Datatype | Description |
---|---|---|
policyName | text | field from the properties object |
privateEndpointConnectionName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_connection_tags | text | field from the properties object |
private_link_service_connection_state | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the private endpoint connection resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | policyName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Gets the specified private endpoint connection associated with the given policy. |
list_by_policy_name | SELECT | policyName, resourceGroupName, subscriptionId | Lists all Private Endpoint Connections for the given policy. |
create | INSERT | policyName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Creates specified private endpoint connection associated with the given policy. |
delete | DELETE | policyName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Deletes the specified private endpoint connection associated with the given policy. |
SELECT
examples
Lists all Private Endpoint Connections for the given policy.
- vw_private_endpoint_connections
- private_endpoint_connections
SELECT
policyName,
privateEndpointConnectionName,
private_endpoint,
private_link_connection_tags,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.azure_active_directory.vw_private_endpoint_connections
WHERE policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.azure_active_directory.private_endpoint_connections
WHERE policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_endpoint_connections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.azure_active_directory.private_endpoint_connections (
policyName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ policyName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: []
- name: privateLinkConnectionTags
value:
- name: tags
value: object
DELETE
example
Deletes the specified private_endpoint_connections
resource.
/*+ delete */
DELETE FROM azure.azure_active_directory.private_endpoint_connections
WHERE policyName = '{{ policyName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';