ArmMarketplaceModelFactory.MarketplaceSubscription 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 MarketplaceSubscription.
public static Azure.ResourceManager.Marketplace.Models.MarketplaceSubscription MarketplaceSubscription (string id = default, string subscriptionId = default, string displayName = default, Azure.ResourceManager.Marketplace.Models.MarketplaceSubscriptionState? state = default);
static member MarketplaceSubscription : string * string * string * Nullable<Azure.ResourceManager.Marketplace.Models.MarketplaceSubscriptionState> -> Azure.ResourceManager.Marketplace.Models.MarketplaceSubscription
Public Shared Function MarketplaceSubscription (Optional id As String = Nothing, Optional subscriptionId As String = Nothing, Optional displayName As String = Nothing, Optional state As Nullable(Of MarketplaceSubscriptionState) = Nothing) As MarketplaceSubscription
Parameters
- id
- String
The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
- subscriptionId
- String
The subscription ID.
- displayName
- String
The subscription display name.
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
Returns
A new MarketplaceSubscription instance for mocking.