Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.iot_hub.private_endpoint_connections

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdGet private endpoint connection properties
listSELECTresourceGroupName, resourceName, subscriptionIdList private endpoint connection properties
deleteDELETEprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdDelete private endpoint connection with the specified name
updateREPLACEprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId, data__propertiesUpdate the status of a private endpoint connection with the specified name

SELECT examples

List private endpoint connection properties

SELECT
id,
name,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
resourceGroupName,
resourceName,
subscriptionId,
type
FROM azure.iot_hub.vw_private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified private_endpoint_connections resource.

/*+ update */
REPLACE azure.iot_hub.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__properties = '{{ data__properties }}';

DELETE example

Deletes the specified private_endpoint_connections resource.

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