Dela via


MarketplaceAdminApprovalRequestCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string adminRequestApprovalId, string publisherId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (adminRequestApprovalId As String, publisherId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

adminRequestApprovalId
String

The admin request approval ID to get create or update.

publisherId
String

The publisher id of this offer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

adminRequestApprovalId is an empty string, and was expected to be non-empty.

adminRequestApprovalId or publisherId is null.

Applies to