ArmMarketplaceModelFactory.QueryApprovedPlansDetails Method

Definition

Initializes a new instance of QueryApprovedPlansDetails.

public static Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansDetails QueryApprovedPlansDetails (string planId = default, System.Collections.Generic.IEnumerable<string> subscriptionIds = default, bool? allSubscriptions = default);
static member QueryApprovedPlansDetails : string * seq<string> * Nullable<bool> -> Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansDetails
Public Shared Function QueryApprovedPlansDetails (Optional planId As String = Nothing, Optional subscriptionIds As IEnumerable(Of String) = Nothing, Optional allSubscriptions As Nullable(Of Boolean) = Nothing) As QueryApprovedPlansDetails

Parameters

planId
String

Plan id.

subscriptionIds
IEnumerable<String>

Approved subscription ids list. In case all subscriptions are approved for a plan, allSubscriptions flag is true and list is empty ( else flag is set to false). In case both subscriptions list is empty and allSubscriptions flag is false, the plan is not approved for any subscription.

allSubscriptions
Nullable<Boolean>

Indicates whether all subscriptions are approved for this plan.

Returns

A new QueryApprovedPlansDetails instance for mocking.

Applies to