SubscriptionContract.State Property
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.
Gets or sets subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator,
- expired – the subscription reached its expiration date and was deactivated. Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled'
[Newtonsoft.Json.JsonProperty(PropertyName="properties.state")]
public Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState State { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.state")>]
member this.State : Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState with get, set
Public Property State As SubscriptionState
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
Azure SDK for .NET