Show / Hide Table of Contents

Class ClassicSubscription

Subscription information for the compartmentId. Only root compartments are allowed.

Inheritance
object
Subscription
ClassicSubscription
Inherited Members
Subscription.Id
Subscription.CompartmentId
Subscription.ServiceName
Subscription.TimeCreated
Subscription.TimeUpdated
Subscription.FreeformTags
Subscription.DefinedTags
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class ClassicSubscription : Subscription

Properties

ClassicSubscriptionId

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

Classic subscription ID.

Remarks

Required

CloudAmountCurrency

Declaration
[JsonProperty(PropertyName = "cloudAmountCurrency")]
public string CloudAmountCurrency { get; set; }
Property Value
Type Description
string

The currency code for the customer associated with the subscription.

CsiNumber

Declaration
[JsonProperty(PropertyName = "csiNumber")]
public string CsiNumber { get; set; }
Property Value
Type Description
string

Customer service identifier for the customer associated with the subscription.

CustomerCountryCode

Declaration
[JsonProperty(PropertyName = "customerCountryCode")]
public string CustomerCountryCode { get; set; }
Property Value
Type Description
string

The country code for the customer associated with the subscription.

EndDate

Declaration
[JsonProperty(PropertyName = "endDate")]
public DateTime? EndDate { get; set; }
Property Value
Type Description
DateTime?

Subscription end time.

IsClassicSubscription

Declaration
[JsonProperty(PropertyName = "isClassicSubscription")]
public bool? IsClassicSubscription { get; set; }
Property Value
Type Description
bool?

Specifies whether or not the subscription is from classic systems.

IsGovernmentSubscription

Declaration
[JsonProperty(PropertyName = "isGovernmentSubscription")]
public bool? IsGovernmentSubscription { get; set; }
Property Value
Type Description
bool?

Specifies whether or not the subscription is a government subscription.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ClassicSubscriptionLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
ClassicSubscriptionLifecycleState?

Lifecycle state of the subscription.

Remarks

Required

PaymentModel

Declaration
[JsonProperty(PropertyName = "paymentModel")]
public string PaymentModel { get; set; }
Property Value
Type Description
string

The pay model of the subscription, such as 'Pay as you go' or 'Monthly'.

ProgramType

Declaration
[JsonProperty(PropertyName = "programType")]
public string ProgramType { get; set; }
Property Value
Type Description
string

Specifies any program that is associated with the subscription.

Promotion

Declaration
[JsonProperty(PropertyName = "promotion")]
public List<Promotion> Promotion { get; set; }
Property Value
Type Description
List<Promotion>

List of promotions related to the subscription.

PurchaseEntitlementId

Declaration
[JsonProperty(PropertyName = "purchaseEntitlementId")]
public string PurchaseEntitlementId { get; set; }
Property Value
Type Description
string

Purchase entitlement ID associated with the subscription.

RegionAssignment

Declaration
[JsonProperty(PropertyName = "regionAssignment")]
public string RegionAssignment { get; set; }
Property Value
Type Description
string

Region for the subscription.

RegionAssignments

Declaration
[JsonProperty(PropertyName = "regionAssignments")]
public List<string> RegionAssignments { get; set; }
Property Value
Type Description
List<string>

This list will contain up to 5 regions where the subscription has a physical presence

Skus

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

List of SKUs linked to this subscription.

StartDate

Declaration
[JsonProperty(PropertyName = "startDate")]
public DateTime? StartDate { get; set; }
Property Value
Type Description
DateTime?

Subscription start time.

SubscriptionTier

Declaration
[JsonProperty(PropertyName = "subscriptionTier")]
public string SubscriptionTier { get; set; }
Property Value
Type Description
string

Tier for the subscription, whether a free promotion subscription or a paid subscription.

In this article
Back to top