Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.event_hubs.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

Private Endpoint Connection successfully returned.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
locationstringThe geo-location where the resource lives
propertiesobjectProperties of the PrivateEndpointConnection.
systemDataobjectThe system meta data relating to this resource.
typestringThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

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 name.
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 namespace. This operation also removes all associated resources under the namespace.

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
resourceGroupNamestringName of the resource group within the azure subscription.
subscriptionIdstringSubscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets a description for the specified Private Endpoint Connection name.

SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.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.event_hubs.private_endpoint_connections (
data__properties,
subscriptionId,
resourceGroupName,
namespaceName,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ namespaceName }}',
'{{ privateEndpointConnectionName }}'
RETURNING
id,
name,
location,
properties,
systemData,
type
;

DELETE examples

Deletes an existing namespace. This operation also removes all associated resources under the namespace.

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