Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.service_bus.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

Description of Private Endpoint Connection returned successfully.

NameDatatypeDescription
propertiesobjectProperties of the PrivateEndpointConnection.
systemDataobjectThe system meta data relating to this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, namespaceName, privateEndpointConnectionName, subscriptionIdGets a description for the specified Private Endpoint Connection.
listselectresourceGroupName, namespaceName, subscriptionIdGets the available PrivateEndpointConnections within a namespace.
create_or_updateinsertsubscriptionId, resourceGroupName, namespaceName, privateEndpointConnectionNameCreates or updates PrivateEndpointConnections of service namespace.
deletedeleteresourceGroupName, namespaceName, subscriptionId, privateEndpointConnectionNameDeletes an existing 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
namespaceNamestringThe namespace name
privateEndpointConnectionNamestringThe PrivateEndpointConnection name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets a description for the specified Private Endpoint Connection.

SELECT
properties,
systemData
FROM azure.service_bus.private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates PrivateEndpointConnections of service namespace.

INSERT INTO azure.service_bus.private_endpoint_connections (
data__properties,
subscriptionId,
resourceGroupName,
namespaceName,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ namespaceName }}',
'{{ privateEndpointConnectionName }}'
RETURNING
properties,
systemData
;

DELETE examples

Deletes an existing Private Endpoint Connection.

DELETE FROM azure.service_bus.private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND namespaceName = '{{ namespaceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' --required
;