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

ContainerAppRevisionResource.GetContainerAppReplica 方法

定义

获取容器应用修订的副本 (replica) 。 请求路径:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisions/{revisionName}/replicas/{replicaName} 操作 ID:ContainerAppsRevisionReplicas_GetReplica

public virtual Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppReplicaResource> GetContainerAppReplica (string replicaName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppReplica : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppReplicaResource>
override this.GetContainerAppReplica : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppReplicaResource>
Public Overridable Function GetContainerAppReplica (replicaName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppReplicaResource)

参数

replicaName
String

容器应用修订副本的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

replicaName 为 null。

适用于