DatastoresOperationsExtensions.CreateOrUpdateAsync Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Tworzenie lub aktualizowanie magazynu danych w klastrze chmury prywatnej
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.Datastore> CreateOrUpdateAsync(this Microsoft.Azure.Management.Avs.IDatastoresOperations operations, string resourceGroupName, string privateCloudName, string clusterName, string datastoreName, Microsoft.Azure.Management.Avs.Models.Datastore datastore, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Avs.IDatastoresOperations * string * string * string * string * Microsoft.Azure.Management.Avs.Models.Datastore * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.Datastore>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDatastoresOperations, resourceGroupName As String, privateCloudName As String, clusterName As String, datastoreName As String, datastore As Datastore, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Datastore)
Parametry
- operations
- IDatastoresOperations
Grupa operacji dla tej metody rozszerzenia.
- resourceGroupName
- String
Nazwa grupy zasobów. W nazwie jest uwzględniana wielkość liter.
- privateCloudName
- String
Nazwa chmury prywatnej
- clusterName
- String
Nazwa klastra w chmurze prywatnej
- datastoreName
- String
Nazwa magazynu danych w klastrze chmury prywatnej
- datastore
- Datastore
Magazyn danych w klastrze chmury prywatnej
- cancellationToken
- CancellationToken
Token anulowania.
Zwraca
Dotyczy
Azure SDK for .NET