Subscription Class
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.
Subscription information.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.SubscriptionTypeConverter))]
public class Subscription : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.ISubscription
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.SubscriptionTypeConverter))>]
type Subscription = class
interface ISubscription
interface IJsonSerializable
Public Class Subscription
Implements ISubscription
- Inheritance
-
Subscription
- Attributes
- Implements
Constructors
Subscription() |
Creates an new Subscription instance. |
Properties
DisplayName |
The subscription display name. |
Id |
The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000. |
State |
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. |
SubscriptionId |
The subscription ID. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Subscription. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of Subscription. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.ISubscription. |
FromJsonString(String) |
Creates a new instance of Subscription, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of Subscription into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |