Partilhar via


DeploymentManagerExtensions.GetServiceTopologyResourceAsync Método

Definição

Obtém a topologia de serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}
  • Operação IdServiceTopologies_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceTopologyResource>> GetServiceTopologyResourceAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string serviceTopologyName, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceTopologyResourceAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceTopologyResource>>
<Extension()>
Public Function GetServiceTopologyResourceAsync (resourceGroupResource As ResourceGroupResource, serviceTopologyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceTopologyResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

serviceTopologyName
String

O nome da topologia de serviço .

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

serviceTopologyName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

serviceTopologyName é nulo.

Aplica-se a