private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.device_update.private_endpoint_connections |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_account
The request was successful; the request was well-formed and received properly.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Resource properties. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
The request was successful; the request was well-formed and received properly.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Resource properties. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , accountName , privateEndpointConnectionName | Get the specified private endpoint connection associated with the device update account. | |
list_by_account | select | subscriptionId , resourceGroupName , accountName | List all private endpoint connections in a device update account. | |
create_or_update | insert | subscriptionId , resourceGroupName , accountName , privateEndpointConnectionName , data__properties | Update the state of specified private endpoint connection associated with the device update account. | |
delete | delete | subscriptionId , resourceGroupName , accountName , privateEndpointConnectionName | Deletes 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.
Name | Datatype | Description |
---|---|---|
accountName | string | Account name. |
privateEndpointConnectionName | string | The name of the private endpoint connection associated with the Azure resource |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_account
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
;
List all private endpoint connections in a 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
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: private_endpoint_connections
props:
- name: subscriptionId
value: string
description: Required parameter for the private_endpoint_connections resource.
- name: resourceGroupName
value: string
description: Required parameter for the private_endpoint_connections resource.
- name: accountName
value: string
description: Required parameter for the private_endpoint_connections resource.
- name: privateEndpointConnectionName
value: string
description: Required parameter for the private_endpoint_connections resource.
- name: properties
value: object
description: |
Resource properties.
DELETE
examples
- delete
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
;