Share via


PrivateStoreOperationsExtensions.CollectionsToSubscriptionsMappingAsync Method

Definition

For a given subscriptions list, the API will return a map of collections and the related subscriptions from the supplied list.

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

Parameters

operations
IPrivateStoreOperations

The operations group for this extension method.

privateStoreId
String

The store ID - must use the tenant ID

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to