ArmMarketplaceModelFactory.QueryApprovedPlansDetails 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.
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.
Returns
A new QueryApprovedPlansDetails instance for mocking.