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_hub.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.
locationstringThe geo-location where the resource lives.
privateEndpointobjectThe Private Endpoint resource for this Connection.
privateLinkServiceConnectionStateobjectDetails about the state of the connection.
provisioningStatestringProvisioning state of the Private Endpoint Connection. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", and "Failed".
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
getselectresource_group_name, namespace_name, private_endpoint_connection_name, subscription_idGets a description for the specified Private Endpoint Connection name. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx
listselectresource_group_name, namespace_name, subscription_idGets the available PrivateEndpointConnections within a namespace. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx
create_or_updateinsertresource_group_name, namespace_name, private_endpoint_connection_name, subscription_idCreates or updates PrivateEndpointConnections of service namespace. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx
create_or_updatereplaceresource_group_name, namespace_name, private_endpoint_connection_name, subscription_idCreates or updates PrivateEndpointConnections of service namespace. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx
deletedeleteresource_group_name, namespace_name, private_endpoint_connection_name, subscription_idDeletes a Private Endpoint Connection. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639389.aspx

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
namespace_namestringThe Namespace name. Required.
private_endpoint_connection_namestringThe PrivateEndpointConnection name. Required.
resource_group_namestringName of the resource group within the azure subscription. Required.
subscription_idstring

SELECT examples

Gets a description for the specified Private Endpoint Connection name. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx

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

INSERT examples

Creates or updates PrivateEndpointConnections of service namespace. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx

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

REPLACE examples

Creates or updates PrivateEndpointConnections of service namespace. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx

REPLACE azure.event_hub.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND namespace_name = '{{ namespace_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
type;

DELETE examples

Deletes a Private Endpoint Connection. .. seealso:: - https://msdn.microsoft.com/en-us/library/azure/mt639389.aspx

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