Partager via


ServiceTopologyResourceCollection.GetAsync(String, CancellationToken) 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceTopologyResource>> GetAsync (string serviceTopologyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceTopologyResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceTopologyResource>>
Public Overridable Function GetAsync (serviceTopologyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceTopologyResource))

Paramètres

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 à