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

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
locationtextThe geo-location where the resource lives
namespaceNametextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

NameAccessible byRequired ParamsDescription
getSELECTnamespaceName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets a description for the specified Private Endpoint Connection.
listSELECTnamespaceName, resourceGroupName, subscriptionIdGets the available PrivateEndpointConnections within a namespace.
create_or_updateINSERTnamespaceName, privateEndpointConnectionName, resourceGroupName, subscriptionIdCreates or updates PrivateEndpointConnections of service namespace.
deleteDELETEnamespaceName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes an existing Private Endpoint Connection.

SELECT examples

Gets the available PrivateEndpointConnections within a namespace.

SELECT
id,
name,
location,
namespaceName,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.service_bus.vw_private_endpoint_connections
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new private_endpoint_connections resource.

/*+ create */
INSERT INTO azure.service_bus.private_endpoint_connections (
namespaceName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ namespaceName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.service_bus.private_endpoint_connections
WHERE namespaceName = '{{ namespaceName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';