Show / Hide Table of Contents

Class Subscription

Subscription information for compartmentId. Only root compartments are allowed.

Inheritance
object
Subscription
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FusionappsService.Models
Assembly: OCI.DotNetSDK.Fusionapps.dll
Syntax
public class Subscription

Properties

ClassicSubscriptionId

Declaration
[Required(ErrorMessage = "ClassicSubscriptionId is required.")]
[JsonProperty(PropertyName = "classicSubscriptionId")]
public string ClassicSubscriptionId { get; set; }
Property Value
Type Description
string

Subscription id.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

OCID of the subscription details for particular root compartment or tenancy.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type Description
Subscription.LifecycleDetailsEnum?

Subscription resource intermediate states.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Subscription.LifecycleStateEnum?

Lifecycle state of the subscription.

ServiceName

Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type Description
string

The type of subscription, such as 'CLOUDCM'/'SAAS'/'CRM', etc.

Remarks

Required

Skus

Declaration
[Required(ErrorMessage = "Skus is required.")]
[JsonProperty(PropertyName = "skus")]
public List<SubscriptionSku> Skus { get; set; }
Property Value
Type Description
List<SubscriptionSku>

Stock keeping unit.

Remarks

Required

In this article
Back to top