Skip to main content

iot_dps_resource_private_endpoint_connections

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

Overview

Nameiot_dps_resource_private_endpoint_connections
TypeResource
Idazure.iot_hub_device_provisioning.iot_dps_resource_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
system_datatextfield 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
create_or_updateINSERTprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId, data__propertiesCreate or update the status of a private endpoint connection with the specified name
deleteDELETEprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdDelete 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,
system_data,
type
FROM azure.iot_hub_device_provisioning.vw_iot_dps_resource_private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.iot_hub_device_provisioning.iot_dps_resource_private_endpoint_connections (
privateEndpointConnectionName,
resourceGroupName,
resourceName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified iot_dps_resource_private_endpoint_connections resource.

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