Class ActivateSubscriptionResult
Response model for the activation of a subscription. Includes the details of the activated subscription.
Inherited Members
Namespace: Oci.SelfService.Models
Assembly: OCI.DotNetSDK.Self.dll
Syntax
public class ActivateSubscriptionResult
Properties
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The subscription name. Must be unique within the compartment. This value can be updated. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| LifecycleDetailsEnum? | A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| LifecycleStateEnum? | The current state of the Subscription. |
SubscriptionId
Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unique identifier of the activated subscription. |
Remarks
Required
TimeEnd
Declaration
[JsonProperty(PropertyName = "timeEnd")]
public DateTime? TimeEnd { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The end date of the subscription. |
TimeStart
Declaration
[JsonProperty(PropertyName = "timeStart")]
public DateTime? TimeStart { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The start date of the subscription. |