Subscription¶
- class oci.fusion_apps.models.Subscription(**kwargs)¶
Bases:
objectSubscription information for compartmentId. Only root compartments are allowed.
Attributes:
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_details property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
A constant which can be used with the lifecycle_state property of a Subscription.
[Required] Gets the classic_subscription_id of this Subscription.
[Required] Gets the id of this Subscription.
Gets the lifecycle_details of this Subscription.
Gets the lifecycle_state of this Subscription.
[Required] Gets the service_name of this Subscription.
[Required] Gets the skus of this Subscription.
Methods:
__init__(**kwargs)Initializes a new Subscription object with values from keyword arguments.
- LIFECYCLE_DETAILS_ACCESS_DISABLED = 'ACCESS_DISABLED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “ACCESS_DISABLED”
- LIFECYCLE_DETAILS_ACTIVATED = 'ACTIVATED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “ACTIVATED”
- LIFECYCLE_DETAILS_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “ACTIVE”
- LIFECYCLE_DETAILS_ARCHIVED = 'ARCHIVED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “ARCHIVED”
- LIFECYCLE_DETAILS_BEGIN_SOFT_TERMINATION = 'BEGIN_SOFT_TERMINATION'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “BEGIN_SOFT_TERMINATION”
- LIFECYCLE_DETAILS_BEGIN_TERMINATION = 'BEGIN_TERMINATION'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “BEGIN_TERMINATION”
- LIFECYCLE_DETAILS_BEGIN_TERMINATION_PASSIVE = 'BEGIN_TERMINATION_PASSIVE'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “BEGIN_TERMINATION_PASSIVE”
- LIFECYCLE_DETAILS_CANCELED = 'CANCELED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “CANCELED”
- LIFECYCLE_DETAILS_CANCELLED = 'CANCELLED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “CANCELLED”
- LIFECYCLE_DETAILS_DEPROVISIONED = 'DEPROVISIONED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “DEPROVISIONED”
- LIFECYCLE_DETAILS_DISABLED = 'DISABLED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “DISABLED”
- LIFECYCLE_DETAILS_EXPIRED = 'EXPIRED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “EXPIRED”
- LIFECYCLE_DETAILS_INITIALIZED = 'INITIALIZED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “INITIALIZED”
- LIFECYCLE_DETAILS_LOCKED = 'LOCKED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “LOCKED”
- LIFECYCLE_DETAILS_MIGRATED = 'MIGRATED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “MIGRATED”
- LIFECYCLE_DETAILS_NON_RECOVERABLE = 'NON_RECOVERABLE'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “NON_RECOVERABLE”
- LIFECYCLE_DETAILS_PAID_PURGED = 'PAID_PURGED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PAID_PURGED”
- LIFECYCLE_DETAILS_PENDING_CANCELATION = 'PENDING_CANCELATION'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PENDING_CANCELATION”
- LIFECYCLE_DETAILS_PENDING_DEPROVISIONING = 'PENDING_DEPROVISIONING'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PENDING_DEPROVISIONING”
- LIFECYCLE_DETAILS_PENDING_REGISTRATION = 'PENDING_REGISTRATION'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PENDING_REGISTRATION”
- LIFECYCLE_DETAILS_PROVISIONED = 'PROVISIONED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PROVISIONED”
- LIFECYCLE_DETAILS_PURGED = 'PURGED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “PURGED”
- LIFECYCLE_DETAILS_REGISTERED = 'REGISTERED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “REGISTERED”
- LIFECYCLE_DETAILS_RELOCATING = 'RELOCATING'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “RELOCATING”
- LIFECYCLE_DETAILS_SOFT_TERMINATED = 'SOFT_TERMINATED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “SOFT_TERMINATED”
- LIFECYCLE_DETAILS_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_details property of a Subscription. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “NEEDS_ATTENTION”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a Subscription. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new Subscription object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Subscription.
classic_subscription_id (str) – The value to assign to the classic_subscription_id property of this Subscription.
service_name (str) – The value to assign to the service_name property of this Subscription.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this Subscription. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this Subscription. Allowed values for this property are: “ACTIVE”, “PURGED”, “CANCELED”, “PAID_PURGED”, “INITIALIZED”, “SOFT_TERMINATED”, “DISABLED”, “BEGIN_TERMINATION”, “MIGRATED”, “PENDING_CANCELATION”, “ARCHIVED”, “NON_RECOVERABLE”, “BEGIN_SOFT_TERMINATION”, “ACTIVATED”, “ACCESS_DISABLED”, “PENDING_REGISTRATION”, “TERMINATED”, “RELOCATING”, “DEPROVISIONED”, “PROVISIONED”, “BEGIN_TERMINATION_PASSIVE”, “LOCKED”, “PENDING_DEPROVISIONING”, “REGISTERED”, “CANCELLED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
skus (list[oci.fusion_apps.models.SubscriptionSku]) – The value to assign to the skus property of this Subscription.
- property classic_subscription_id¶
[Required] Gets the classic_subscription_id of this Subscription. Subscription id.
- Returns
The classic_subscription_id of this Subscription.
- Return type
str
- property id¶
[Required] Gets the id of this Subscription. OCID of the subscription details for particular root compartment or tenancy.
- Returns
The id of this Subscription.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this Subscription. Subscription resource intermediate states.
Allowed values for this property are: “ACTIVE”, “PURGED”, “CANCELED”, “PAID_PURGED”, “INITIALIZED”, “SOFT_TERMINATED”, “DISABLED”, “BEGIN_TERMINATION”, “MIGRATED”, “PENDING_CANCELATION”, “ARCHIVED”, “NON_RECOVERABLE”, “BEGIN_SOFT_TERMINATION”, “ACTIVATED”, “ACCESS_DISABLED”, “PENDING_REGISTRATION”, “TERMINATED”, “RELOCATING”, “DEPROVISIONED”, “PROVISIONED”, “BEGIN_TERMINATION_PASSIVE”, “LOCKED”, “PENDING_DEPROVISIONING”, “REGISTERED”, “CANCELLED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_details of this Subscription.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this Subscription. Lifecycle state of the subscription.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Subscription.
- Return type
str
- property service_name¶
[Required] Gets the service_name of this Subscription. The type of subscription, such as ‘CLOUDCM’/’SAAS’/’CRM’, etc.
- Returns
The service_name of this Subscription.
- Return type
str
- property skus¶
[Required] Gets the skus of this Subscription. Stock keeping unit.
- Returns
The skus of this Subscription.
- Return type