Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.device_update.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectResource properties.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, privateEndpointConnectionNameGet the specified private endpoint connection associated with the device update account.
list_by_accountselectsubscriptionId, resourceGroupName, accountNameList all private endpoint connections in a device update account.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, privateEndpointConnectionName, data__propertiesUpdate the state of specified private endpoint connection associated with the device update account.
deletedeletesubscriptionId, resourceGroupName, accountName, privateEndpointConnectionNameDeletes the specified private endpoint connection associated with the device update account.

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
accountNamestringAccount name.
privateEndpointConnectionNamestringThe name of the private endpoint connection associated with the Azure resource
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the specified private endpoint connection associated with the device update account.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.device_update.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
;

INSERT examples

Update the state of specified private endpoint connection associated with the device update account.

INSERT INTO azure.device_update.private_endpoint_connections (
data__properties,
subscriptionId,
resourceGroupName,
accountName,
privateEndpointConnectionName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ privateEndpointConnectionName }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the specified private endpoint connection associated with the device update account.

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