共用方式為


PrivateStoreOperationsExtensions.CreateApprovalRequestAsync Method

Definition

Create approval request

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.RequestApprovalResource> CreateApprovalRequestAsync (this Microsoft.Azure.Management.Marketplace.IPrivateStoreOperations operations, string privateStoreId, string requestApprovalId, Microsoft.Azure.Management.Marketplace.Models.RequestApprovalResource payload = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateApprovalRequestAsync : Microsoft.Azure.Management.Marketplace.IPrivateStoreOperations * string * string * Microsoft.Azure.Management.Marketplace.Models.RequestApprovalResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.RequestApprovalResource>
<Extension()>
Public Function CreateApprovalRequestAsync (operations As IPrivateStoreOperations, privateStoreId As String, requestApprovalId As String, Optional payload As RequestApprovalResource = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RequestApprovalResource)

Parameters

operations
IPrivateStoreOperations

The operations group for this extension method.

privateStoreId
String

The store ID - must use the tenant ID

requestApprovalId
String

The request approval ID to get create or update

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to