Compartilhar via


PrivateStoreCollectionOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar a coleção de repositório particular

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)

Parâmetros

operations
IPrivateStoreCollectionOperations

O grupo de operações para esse método de extensão.

privateStoreId
String

A ID da loja – deve usar a ID do locatário

collectionId
String

A ID da coleção

payload
Collection
cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a