iot_dps_resource_private_endpoint_connections
Creates, updates, deletes, gets or lists a iot_dps_resource_private_endpoint_connections
resource.
Overview
Name | iot_dps_resource_private_endpoint_connections |
Type | Resource |
Id | azure.iot_hub_device_provisioning.iot_dps_resource_private_endpoint_connections |
Fields
- vw_iot_dps_resource_private_endpoint_connections
- iot_dps_resource_private_endpoint_connections
Name | Datatype | Description |
---|---|---|
id | text | The resource identifier. |
name | text | The resource name. |
privateEndpointConnectionName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_service_connection_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The resource type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource identifier. |
name | string | The resource name. |
properties | object | The properties of a private endpoint connection |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId | Get private endpoint connection properties |
list | SELECT | resourceGroupName, resourceName, subscriptionId | List private endpoint connection properties |
create_or_update | INSERT | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId, data__properties | Create or update the status of a private endpoint connection with the specified name |
delete | DELETE | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId | Delete private endpoint connection with the specified name |
SELECT
examples
List private endpoint connection properties
- vw_iot_dps_resource_private_endpoint_connections
- iot_dps_resource_private_endpoint_connections
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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.iot_hub_device_provisioning.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';