Compartir a través de


DeploymentManagerExtensions.GetServiceTopologyResourceAsync Método

Definición

Obtiene la topología de servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}
  • IdServiceTopologies_Get de operaciones
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

Instancia ResourceGroupResource en la que se ejecutará el método.

serviceTopologyName
String

Nombre de la topología del servicio .

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

serviceTopologyName es una cadena vacía y se esperaba que no estuviera vacía.

serviceTopologyName es null.

Se aplica a