Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.storage_sync.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}.
namestringThe name of the resource.
privateEndpointobjectThe resource of private end point.
privateLinkServiceConnectionStateobjectA collection of information about the state of the connection between service consumer and provider.
provisioningStatestringThe provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "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, storage_sync_service_name, private_endpoint_connection_name, subscription_idGets the specified private endpoint connection associated with the storage sync service.
list_by_storage_sync_serviceselectresource_group_name, storage_sync_service_name, subscription_idGet a PrivateEndpointConnection List.
createinsertresource_group_name, storage_sync_service_name, private_endpoint_connection_name, subscription_idUpdate the state of specified private endpoint connection associated with the storage sync service.
deletedeleteresource_group_name, storage_sync_service_name, private_endpoint_connection_name, subscription_idDeletes the specified private endpoint connection associated with the storage sync service.

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
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.
storage_sync_service_namestringThe name of the storage sync service name within the specified resource group. Required.
subscription_idstring

SELECT examples

Gets the specified private endpoint connection associated with the storage sync service.

SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.storage_sync.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND storage_sync_service_name = '{{ storage_sync_service_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Update the state of specified private endpoint connection associated with the storage sync service.

INSERT INTO azure.storage_sync.private_endpoint_connections (
properties,
resource_group_name,
storage_sync_service_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ storage_sync_service_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the specified private endpoint connection associated with the storage sync service.

DELETE FROM azure.storage_sync.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND storage_sync_service_name = '{{ storage_sync_service_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;