共用方式為


PrivateStoreCollectionInfoCollection.CreateOrUpdateAsync Method

Definition

Create or update private store collection

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}
  • Operation Id: PrivateStoreCollection_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, Guid collectionId, Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData info, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Guid * Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Guid * Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, collectionId As Guid, info As PrivateStoreCollectionInfoData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of PrivateStoreCollectionInfoResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

collectionId
Guid

The collection ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

info is null.

Applies to