Skip to main content

managed_environment_private_endpoint_connections

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

Overview

Namemanaged_environment_private_endpoint_connections
TypeResource
Idazure.app_containers.managed_environment_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.
groupIdsarrayThe group ids for the private endpoint resource.
privateEndpointobjectThe resource of private end point.
privateLinkServiceConnectionStateobjectA collection of information about the state of the connection between service consumer and provider. Required.
provisioningStatestringThe provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Failed", "Canceled", "Waiting", "Updating", "Deleting", and "Pending". (Succeeded, Failed, Canceled, Waiting, Updating, Deleting, Pending)
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
getselectresource_group_name, environment_name, private_endpoint_connection_name, subscription_idGet a private endpoint connection for a given managed environment. Get a private endpoint connection for a given managed environment.
listselectresource_group_name, environment_name, subscription_idList private endpoint connections for a given managed environment. List private endpoint connections for a given managed environment.
create_or_updateinsertresource_group_name, environment_name, private_endpoint_connection_name, subscription_idUpdate the state of a private endpoint connection for a given managed environment. Update the state of a private endpoint connection for a given managed environment.
create_or_updatereplaceresource_group_name, environment_name, private_endpoint_connection_name, subscription_idUpdate the state of a private endpoint connection for a given managed environment. Update the state of a private endpoint connection for a given managed environment.
deletedeleteresource_group_name, environment_name, private_endpoint_connection_name, subscription_idDelete a private endpoint connection for a given managed environment. Delete a private endpoint connection for a given managed environment.

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
environment_namestringName of the managed environment. Required.
private_endpoint_connection_namestringName of the Private Endpoint Connection. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a private endpoint connection for a given managed environment. Get a private endpoint connection for a given managed environment.

SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.app_containers.managed_environment_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND environment_name = '{{ environment_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Update the state of a private endpoint connection for a given managed environment. Update the state of a private endpoint connection for a given managed environment.

INSERT INTO azure.app_containers.managed_environment_private_endpoint_connections (
properties,
resource_group_name,
environment_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ environment_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Update the state of a private endpoint connection for a given managed environment. Update the state of a private endpoint connection for a given managed environment.

REPLACE azure.app_containers.managed_environment_private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND environment_name = '{{ environment_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete a private endpoint connection for a given managed environment. Delete a private endpoint connection for a given managed environment.

DELETE FROM azure.app_containers.managed_environment_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND environment_name = '{{ environment_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;