Skip to main content

deid_private_endpoint_connections

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

Overview

Namedeid_private_endpoint_connections
TypeResource
Idazure_extras.health_data_services.deid_private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
groupIdsarrayThe group ids for the private endpoint resource.
privateEndpointobjectThe private endpoint resource.
privateLinkServiceConnectionStateobjectA collection of information about the state of the connection between service consumer and provider. Required.
provisioningStatestringThe provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". (Succeeded, Creating, Deleting, Failed)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, deid_service_name, private_endpoint_connection_name, subscription_idGet a specific private connection.
list_by_deid_serviceselectresource_group_name, deid_service_name, subscription_idList private endpoint connections on the given resource.
createinsertresource_group_name, deid_service_name, private_endpoint_connection_name, subscription_idCreate a Private endpoint connection.
deletedeleteresource_group_name, deid_service_name, private_endpoint_connection_name, subscription_idDelete the private endpoint connection.

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.

NameDatatypeDescription
deid_service_namestringThe name of the deid service. Required.
private_endpoint_connection_namestringThe name of the private endpoint connection associated with the Azure resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a specific private connection.

SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure_extras.health_data_services.deid_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND deid_service_name = '{{ deid_service_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create a Private endpoint connection.

INSERT INTO azure_extras.health_data_services.deid_private_endpoint_connections (
properties,
resource_group_name,
deid_service_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ deid_service_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Delete the private endpoint connection.

DELETE FROM azure_extras.health_data_services.deid_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND deid_service_name = '{{ deid_service_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;