Partager via


PrivateStoreCollectionOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créer ou mettre à jour une collection de magasins privés

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.Collection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOperations operations, string privateStoreId, string collectionId, Microsoft.Azure.Management.Marketplace.Models.Collection payload = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOperations * string * string * Microsoft.Azure.Management.Marketplace.Models.Collection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.Collection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateStoreCollectionOperations, privateStoreId As String, collectionId As String, Optional payload As Collection = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Collection)

Paramètres

operations
IPrivateStoreCollectionOperations

Groupe d’opérations pour cette méthode d’extension.

privateStoreId
String

ID de magasin : doit utiliser l’ID de locataire

collectionId
String

ID de collection

payload
Collection
cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à