Delen via


IDatastoresOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode

Definitie

Een gegevensarchief maken of bijwerken in een privécloudcluster

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.Datastore>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string privateCloudName, string clusterName, string datastoreName, Microsoft.Azure.Management.Avs.Models.Datastore datastore, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Avs.Models.Datastore * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.Datastore>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, privateCloudName As String, clusterName As String, datastoreName As String, datastore As Datastore, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Datastore))

Parameters

resourceGroupName
String

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

privateCloudName
String

Naam van de privécloud

clusterName
String

Naam van het cluster in de privécloud

datastoreName
String

Naam van het gegevensarchief in het privécloudcluster

datastore
Datastore

Een gegevensarchief in een privécloudcluster

customHeaders
Dictionary<String,List<String>>

De headers die aan de aanvraag worden toegevoegd.

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Uitzonderingen

Gegenereerd toen de bewerking een ongeldige statuscode retourneerde

Gegenereerd wanneer het antwoord niet kan worden gedeserialiseerd

Gegenereerd wanneer een vereiste parameter null is

Van toepassing op