PrivateStoreOperationsExtensions.CreateApprovalRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- payload
- RequestApprovalResource
- cancellationToken
- CancellationToken
The cancellation token.