private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.automation.private_endpoint_connections |
Fields
- vw_private_endpoint_connections
- private_endpoint_connections
Name | Datatype | Description |
---|---|---|
automationAccountName | text | field from the properties object |
group_ids | text | field from the properties object |
privateEndpointConnectionName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_service_connection_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 a private endpoint connection. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | automationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Gets a private endpoint connection. |
list_by_automation_account | SELECT | automationAccountName, resourceGroupName, subscriptionId | List all private endpoint connections on a Automation account. |
create_or_update | INSERT | automationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Approve or reject a private endpoint connection with a given name. |
delete | DELETE | automationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Deletes a private endpoint connection with a given name. |
SELECT
examples
List all private endpoint connections on a Automation account.
- vw_private_endpoint_connections
- private_endpoint_connections
SELECT
automationAccountName,
group_ids,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
resourceGroupName,
subscriptionId
FROM azure.automation.vw_private_endpoint_connections
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.automation.private_endpoint_connections
WHERE automationAccountName = '{{ automationAccountName }}'
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.automation.private_endpoint_connections (
automationAccountName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ automationAccountName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: groupIds
value: []
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
DELETE
example
Deletes the specified private_endpoint_connections
resource.
/*+ delete */
DELETE FROM azure.automation.private_endpoint_connections
WHERE automationAccountName = '{{ automationAccountName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';