Share via


ISubscription Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.SubscriptionTypeConverter))]
public interface ISubscription : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.SubscriptionTypeConverter))>]
type ISubscription = interface
    interface IJsonSerializable
Public Interface ISubscription
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to