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.container_apps.managed_environment_private_endpoint_connections

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
environmentNametextfield from the properties object
group_idstextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTenvironmentName, privateEndpointConnectionName, resourceGroupName, subscriptionId
listSELECTenvironmentName, resourceGroupName, subscriptionId
create_or_updateINSERTenvironmentName, privateEndpointConnectionName, resourceGroupName, subscriptionId
deleteDELETEenvironmentName, privateEndpointConnectionName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
environmentName,
group_ids,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.container_apps.vw_managed_environment_private_endpoint_connections
WHERE environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new managed_environment_private_endpoint_connections resource.

/*+ create */
INSERT INTO azure.container_apps.managed_environment_private_endpoint_connections (
environmentName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ environmentName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified managed_environment_private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.container_apps.managed_environment_private_endpoint_connections
WHERE environmentName = '{{ environmentName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';