private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections resource.
Overview
| Name | private_endpoint_connections |
| Type | Resource |
| Id | azure_extras.video_analyzer.private_endpoint_connections |
Fields
The following fields are returned by SELECT queries:
- get
- list
| 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. |
privateEndpoint | object | The Private Endpoint resource. Variables are only populated by the server, and will be ignored when sending a request. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Possible values include: "Succeeded", "Creating", "Deleting", "Failed". |
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". |
| 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. |
privateEndpoint | object | The Private Endpoint resource. Variables are only populated by the server, and will be ignored when sending a request. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Possible values include: "Succeeded", "Creating", "Deleting", "Failed". |
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 | name, account_name, resource_group_name, subscription_id | Get private endpoint connection. Get private endpoint connection under video analyzer account. | |
list | select | account_name, resource_group_name, subscription_id | Get all private endpoint connections. Get all private endpoint connections under video analyzer account. | |
create_or_update | insert | name, account_name, resource_group_name, subscription_id | Update private endpoint connection. Update private endpoint connection state under video analyzer account. | |
create_or_update | replace | name, account_name, resource_group_name, subscription_id | Update private endpoint connection. Update private endpoint connection state under video analyzer account. | |
delete | delete | name, account_name, resource_group_name, subscription_id | Delete private endpoint connection. Delete private endpoint connection under video analyzer 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 |
|---|---|---|
account_name | string | The Video Analyzer account name. |
name | string | Private endpoint connection name. |
resource_group_name | string | The name of the resource group. The name is case insensitive. |
subscription_id | string |
SELECT examples
- get
- list
Get private endpoint connection. Get private endpoint connection under video analyzer account.
SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure_extras.video_analyzer.private_endpoint_connections
WHERE name = '{{ name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get all private endpoint connections. Get all private endpoint connections under video analyzer account.
SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure_extras.video_analyzer.private_endpoint_connections
WHERE account_name = '{{ account_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Update private endpoint connection. Update private endpoint connection state under video analyzer account.
INSERT INTO azure_extras.video_analyzer.private_endpoint_connections (
properties,
name,
account_name,
resource_group_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ name }}',
'{{ account_name }}',
'{{ resource_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: private_endpoint_connections
props:
- name: name
value: "{{ name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the private_endpoint_connections resource.
- name: properties
value:
privateEndpoint:
id: "{{ id }}"
privateLinkServiceConnectionState:
status: "{{ status }}"
description: "{{ description }}"
actionsRequired: "{{ actionsRequired }}"
REPLACE examples
- create_or_update
Update private endpoint connection. Update private endpoint connection state under video analyzer account.
REPLACE azure_extras.video_analyzer.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
name = '{{ name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE examples
- delete
Delete private endpoint connection. Delete private endpoint connection under video analyzer account.
DELETE FROM azure_extras.video_analyzer.private_endpoint_connections
WHERE name = '{{ name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;