Lingua

ContainerAppManagedEnvironmentResource.GetAsync Method

Definition

Overloads

Name Description
GetAsync(CancellationToken)

Get the properties of a Managed Environment used to host container apps.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}.
  • Operation Id. : ManagedEnvironments_Get.
  • Default Api Version. : 2026-07-01.
  • Resource. : ContainerAppManagedEnvironmentResource.
GetAsync(String, CancellationToken)

Gets the details of a private link resource supported by a managed environment.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateLinkResources/{privateLinkResourceName}.
  • Operation Id. : ManagedEnvironmentPrivateLinkResources_Get.
  • Default Api Version. : 2026-07-01.
  • Resource. : ContainerAppManagedEnvironmentResource.

GetAsync(CancellationToken)

Source:
ContainerAppManagedEnvironmentResource.cs
Source:
ContainerAppManagedEnvironmentResource.cs

Get the properties of a Managed Environment used to host container apps.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}.
  • Operation Id. : ManagedEnvironments_Get.
  • Default Api Version. : 2026-07-01.
  • Resource. : ContainerAppManagedEnvironmentResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedEnvironmentResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetAsync(String, CancellationToken)

Source:
ContainerAppManagedEnvironmentResource.cs

Gets the details of a private link resource supported by a managed environment.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateLinkResources/{privateLinkResourceName}.
  • Operation Id. : ManagedEnvironmentPrivateLinkResources_Get.
  • Default Api Version. : 2026-07-01.
  • Resource. : ContainerAppManagedEnvironmentResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppPrivateLink>> GetAsync(string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppPrivateLink>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppPrivateLink>>
Public Overridable Function GetAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppPrivateLink))

Parameters

privateLinkResourceName
String

The name of the private link associated with the Azure resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

privateLinkResourceName is null.

privateLinkResourceName is an empty string, and was expected to be non-empty.

Applies to