ContainerAppManagedCertificateCollection.GetAsync Method

Definition

Get the specified Managed Certificate.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}.
  • Operation Id. : ManagedCertificates_Get.
  • Default Api Version. : 2025-10-02-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource>> GetAsync(string managedCertificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource>>
Public Overridable Function GetAsync (managedCertificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedCertificateResource))

Parameters

managedCertificateName
String

Name of the Managed Certificate.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedCertificateName is null.

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

Applies to