你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerAppManagedEnvironmentResource.GetContainerAppManagedCertificate 方法

定义

获取指定的托管证书。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}
  • 操作IdManagedCertificates_Get
public virtual Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource> GetContainerAppManagedCertificate (string managedCertificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppManagedCertificate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource>
override this.GetContainerAppManagedCertificate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedCertificateResource>
Public Overridable Function GetContainerAppManagedCertificate (managedCertificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppManagedCertificateResource)

参数

managedCertificateName
String

托管证书的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

managedCertificateName 是一个空字符串,预期为非空。

managedCertificateName 为 null。

适用于