Partager via


PrivateStoreOfferResource.Delete Méthode

Définition

Surcharges

Delete(WaitUntil, CancellationToken)

Supprime une offre de la collection donnée de magasin privé.

  • Chemin/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • IdPrivateStoreCollectionOffer_Delete d’opération
Delete(Nullable<PrivateStoreOperation>, CancellationToken)

Supprimer l’offre du magasin privé. Il s’agit d’une solution de contournement.

  • Chemin/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • IdPrivateStoreCollectionOffer_Post d’opération

Delete(WaitUntil, CancellationToken)

Supprime une offre de la collection donnée de magasin privé.

  • Chemin/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • IdPrivateStoreCollectionOffer_Delete d’opération
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à

Delete(Nullable<PrivateStoreOperation>, CancellationToken)

Supprimer l’offre du magasin privé. Il s’agit d’une solution de contournement.

  • Chemin/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • IdPrivateStoreCollectionOffer_Post d’opération
public virtual Azure.Response Delete (Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation? payload = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Nullable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation> * System.Threading.CancellationToken -> Azure.Response
override this.Delete : Nullable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation> * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Delete (Optional payload As Nullable(Of PrivateStoreOperation) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Paramètres

payload
Nullable<PrivateStoreOperation>

PrivateStoreOperation à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à