ContainerAppManagedEnvironmentResource.GetContainerAppPrivateEndpointConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a private endpoint connection for a given managed environment.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}
- Operation Id: ManagedEnvironmentPrivateEndpointConnections_Get
- Default Api Version: 2025-07-01
- Resource: ContainerAppPrivateEndpointConnectionResource
public virtual Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppPrivateEndpointConnectionResource> GetContainerAppPrivateEndpointConnection(string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppPrivateEndpointConnectionResource>
override this.GetContainerAppPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppPrivateEndpointConnectionResource>
Public Overridable Function GetContainerAppPrivateEndpointConnection (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppPrivateEndpointConnectionResource)
Parameters
- privateEndpointConnectionName
- String
The name of the private endpoint connection associated with the Azure resource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
privateEndpointConnectionName is null.
privateEndpointConnectionName is an empty string, and was expected to be non-empty.