Class ClassicAssignedSubscription
Assigned subscription information.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class ClassicAssignedSubscription : AssignedSubscription
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
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 legacy. |
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
OrderIds
Declaration
[JsonProperty(PropertyName = "orderIds")]
public List<string> OrderIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of subscription order OCIDs that contributed to this subscription. |
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. |
Skus
Declaration
[JsonProperty(PropertyName = "skus")]
public List<SubscriptionSku> Skus { get; set; }
Property Value
Type | Description |
---|---|
List<SubscriptionSku> | List of SKUs linked to the 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. |