Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.automation.private_endpoint_connections

Fields

NameDatatypeDescription
automationAccountNametextfield from the properties object
group_idstextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTautomationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets a private endpoint connection.
list_by_automation_accountSELECTautomationAccountName, resourceGroupName, subscriptionIdList all private endpoint connections on a Automation account.
create_or_updateINSERTautomationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdApprove or reject a private endpoint connection with a given name.
deleteDELETEautomationAccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes a private endpoint connection with a given name.

SELECT examples

List all private endpoint connections on a Automation account.

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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure.automation.private_endpoint_connections (
automationAccountName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ automationAccountName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';