Show / Hide Table of Contents

Class CloudSubscription

Subscription information for compartment ID. Only root compartments are allowed.

Inheritance
object
Subscription
CloudSubscription
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 CloudSubscription : Subscription

Properties

CurrencyCode

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

Currency code. For example USD, MXN.

Remarks

Required

LifecycleState

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

Lifecycle state of the subscription.

Remarks

Required

SubscriptionNumber

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

Unique Oracle Cloud Subscriptions identifier that is immutable on creation.

Remarks

Required

In this article
Back to top