MarketplaceAdminApprovalRequestCollection.Exists 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 Azure.Response<bool> Exists (string adminRequestApprovalId, string publisherId, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (adminRequestApprovalId As String, publisherId As String, Optional cancellationToken As CancellationToken = Nothing) As 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