PrivateStoreCollectionInfoCollection.CreateOrUpdateAsync Method

Definition

Create or update private store collection

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}.
  • Operation Id. : Collections_CreateOrUpdate.
  • Default Api Version. : 2025-01-01.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Guid collectionId, Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData data, 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, data 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