private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections resource.
Overview
| Name | private_endpoint_connections |
| Type | Resource |
| Id | azure.security.private_endpoint_connections |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
groupIds | array | The group ids for the private endpoint resource. |
privateEndpoint | object | The private endpoint resource. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". (Succeeded, Creating, Deleting, Failed) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
groupIds | array | The group ids for the private endpoint resource. |
privateEndpoint | object | The private endpoint resource. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". (Succeeded, Creating, Deleting, Failed) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, private_link_name, private_endpoint_connection_name, subscription_id | Gets the specified private endpoint connection associated with the private link. Returns the connection details, status, and configuration for a specific private endpoint. | |
list | select | resource_group_name, private_link_name, subscription_id | Gets all private endpoint connections for a private link. Returns the list of private endpoints that are connected or in the process of connecting to this private link. | |
create_or_update | insert | resource_group_name, private_link_name, private_endpoint_connection_name, subscription_id | Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections. | |
create_or_update | replace | resource_group_name, private_link_name, private_endpoint_connection_name, subscription_id | Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections. | |
delete | delete | resource_group_name, private_link_name, private_endpoint_connection_name, subscription_id | Deletes the specified private endpoint connection associated with the private link. This operation will disconnect the private endpoint and remove the connection configuration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
private_endpoint_connection_name | string | The name of the private endpoint connection associated with the Azure resource. Required. |
private_link_name | string | The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list
Gets the specified private endpoint connection associated with the private link. Returns the connection details, status, and configuration for a specific private endpoint.
SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.security.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND private_link_name = '{{ private_link_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets all private endpoint connections for a private link. Returns the list of private endpoints that are connected or in the process of connecting to this private link.
SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.security.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND private_link_name = '{{ private_link_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections.
INSERT INTO azure.security.private_endpoint_connections (
properties,
resource_group_name,
private_link_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ private_link_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: private_endpoint_connections
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: private_link_name
value: "{{ private_link_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: private_endpoint_connection_name
value: "{{ private_endpoint_connection_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the private_endpoint_connections resource.
- name: properties
description: |
Resource properties.
value:
groupIds:
- "{{ groupIds }}"
privateEndpoint:
id: "{{ id }}"
privateLinkServiceConnectionState:
status: "{{ status }}"
description: "{{ description }}"
actionsRequired: "{{ actionsRequired }}"
provisioningState: "{{ provisioningState }}"
REPLACE examples
- create_or_update
Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections.
REPLACE azure.security.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND private_link_name = '{{ private_link_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE examples
- delete
Deletes the specified private endpoint connection associated with the private link. This operation will disconnect the private endpoint and remove the connection configuration.
DELETE FROM azure.security.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND private_link_name = '{{ private_link_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;