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:

OK -- Get the private endpoint connection properties successfully.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectResource properties.
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
getselectresourceGroupName, storageSyncServiceName, subscriptionId, privateEndpointConnectionNameGets the specified private endpoint connection associated with the storage sync service.
list_by_storage_sync_serviceselectsubscriptionId, resourceGroupName, storageSyncServiceNameGet a PrivateEndpointConnection List.
createinsertresourceGroupName, storageSyncServiceName, subscriptionId, privateEndpointConnectionNameUpdate the state of specified private endpoint connection associated with the storage sync service.
deletedeleteresourceGroupName, storageSyncServiceName, subscriptionId, privateEndpointConnectionNameDeletes 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
privateEndpointConnectionNamestringThe name of the private endpoint connection associated with the Azure resource.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
storageSyncServiceNamestringThe name of the storage sync service name within the specified resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

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

SELECT
id,
name,
properties,
systemData,
type
FROM azure.storage_sync.private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND storageSyncServiceName = '{{ storageSyncServiceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- 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 (
data__properties,
resourceGroupName,
storageSyncServiceName,
subscriptionId,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ storageSyncServiceName }}',
'{{ subscriptionId }}',
'{{ privateEndpointConnectionName }}'
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 resourceGroupName = '{{ resourceGroupName }}' --required
AND storageSyncServiceName = '{{ storageSyncServiceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' --required
;