Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.monitor.private_endpoint_connections

Fields

NameDatatypeDescription
idtextAzure resource Id
nametextAzure resource name
group_idstextfield from the properties object
locationtextResource location
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
scopeNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextGets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.
typetextAzure resource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateEndpointConnectionName, resourceGroupName, scopeName, subscriptionIdGets a private endpoint connection.
list_by_private_link_scopeSELECTresourceGroupName, scopeName, subscriptionIdGets all private endpoint connections on a private link scope.
create_or_updateINSERTprivateEndpointConnectionName, resourceGroupName, scopeName, subscriptionIdApprove or reject a private endpoint connection with a given name.
deleteDELETEprivateEndpointConnectionName, resourceGroupName, scopeName, subscriptionIdDeletes a private endpoint connection with a given name.

SELECT examples

Gets all private endpoint connections on a private link scope.

SELECT
id,
name,
group_ids,
location,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
scopeName,
subscriptionId,
system_data,
tags,
type
FROM azure.monitor.vw_private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
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.monitor.private_endpoint_connections (
privateEndpointConnectionName,
resourceGroupName,
scopeName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ scopeName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.monitor.private_endpoint_connections
WHERE privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
AND subscriptionId = '{{ subscriptionId }}';