Partager via


DeploymentManagerExtensions.GetServiceTopologyResourceAsync Méthode

Définition

Obtient la topologie de service.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}
  • IdServiceTopologies_Get d’opération
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))

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

serviceTopologyName
String

Nom de la topologie de service .

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

serviceTopologyName est une chaîne vide et devait être non vide.

serviceTopologyName a la valeur null.

S’applique à