Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure_extras.media.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
privateEndpointobjectThe resource of private end point.
privateLinkServiceConnectionStateobjectA collection of information about the state of the connection between service consumer and provider.
provisioningStatestringThe provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed".
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
getselectresource_group_name, account_name, name, subscription_idGet private endpoint connection. Get the details of a private endpoint connection.
listselectresource_group_name, account_name, subscription_idList private endpoint connections. List all private endpoint connections.
create_or_updateinsertresource_group_name, account_name, name, subscription_idUpdate a private endpoint connection. Update an existing private endpoint connection.
create_or_updatereplaceresource_group_name, account_name, name, subscription_idUpdate a private endpoint connection. Update an existing private endpoint connection.
deletedeleteresource_group_name, account_name, name, subscription_idDelete a private endpoint connection. Deletes a private endpoint connection.

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
account_namestringThe Media Services account name. Required.
namestringRequired.
resource_group_namestringThe name of the resource group within the Azure subscription. Required.
subscription_idstring

SELECT examples

Get private endpoint connection. Get the details of a private endpoint connection.

SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
type
FROM azure_extras.media.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND name = '{{ name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Update a private endpoint connection. Update an existing private endpoint connection.

INSERT INTO azure_extras.media.private_endpoint_connections (
properties,
resource_group_name,
account_name,
name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
type
;

REPLACE examples

Update a private endpoint connection. Update an existing private endpoint connection.

REPLACE azure_extras.media.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND name = '{{ name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
type;

DELETE examples

Delete a private endpoint connection. Deletes a private endpoint connection.

DELETE FROM azure_extras.media.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND name = '{{ name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;