Partager via


IServiceTopologiesOperations.CreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Crée ou met à jour une topologie de service.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource>> CreateOrUpdateWithHttpMessagesAsync(Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource serviceTopologyInfo, string resourceGroupName, string serviceTopologyName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource>>
Public Function CreateOrUpdateWithHttpMessagesAsync (serviceTopologyInfo As ServiceTopologyResource, resourceGroupName As String, serviceTopologyName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ServiceTopologyResource))

Paramètres

serviceTopologyInfo
ServiceTopologyResource

L’objet de topologie source définit la ressource.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serviceTopologyName
String

Nom de la topologie de service .

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

Remarques

Crée de manière synchrone une topologie de service ou met à jour une topologie de service existante.

S’applique à