Aracılığıyla paylaş


PrivateStoreCollectionInfoCollection.CreateOrUpdate Method

Definition

Create or update private store collection

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