ClassicAssignedSubscriptionSummary¶
-
class
oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary(**kwargs)¶ Bases:
oci.tenant_manager_control_plane.models.assigned_subscription_summary.AssignedSubscriptionSummarySummary of assigned subscription information.
Attributes
ENTITY_VERSION_V1str(object=’’) -> str ENTITY_VERSION_V2str(object=’’) -> str LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. MANAGED_BY_APPSMANAGERA constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. MANAGED_BY_FUSIONAPPSA constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. MANAGED_BY_MYSERVICESA constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. MANAGED_BY_SERVICEMANAGERPROXYA constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. classic_subscription_id[Required] Gets the classic_subscription_id of this ClassicAssignedSubscriptionSummary. compartment_id[Required] Gets the compartment_id of this AssignedSubscriptionSummary. csi_numberGets the csi_number of this ClassicAssignedSubscriptionSummary. defined_tags[Required] Gets the defined_tags of this AssignedSubscriptionSummary. end_dateGets the end_date of this ClassicAssignedSubscriptionSummary. entity_version[Required] Gets the entity_version of this AssignedSubscriptionSummary. freeform_tags[Required] Gets the freeform_tags of this AssignedSubscriptionSummary. id[Required] Gets the id of this AssignedSubscriptionSummary. is_classic_subscriptionGets the is_classic_subscription of this ClassicAssignedSubscriptionSummary. lifecycle_state[Required] Gets the lifecycle_state of this ClassicAssignedSubscriptionSummary. managed_byGets the managed_by of this ClassicAssignedSubscriptionSummary. region_assignmentGets the region_assignment of this ClassicAssignedSubscriptionSummary. service_name[Required] Gets the service_name of this AssignedSubscriptionSummary. start_dateGets the start_date of this ClassicAssignedSubscriptionSummary. system_tagsGets the system_tags of this AssignedSubscriptionSummary. time_created[Required] Gets the time_created of this AssignedSubscriptionSummary. time_updated[Required] Gets the time_updated of this AssignedSubscriptionSummary. Methods
__init__(**kwargs)Initializes a new ClassicAssignedSubscriptionSummary object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
ENTITY_VERSION_V1= 'V1'¶
-
ENTITY_VERSION_V2= 'V2'¶
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. This constant has a value of “UPDATING”
-
MANAGED_BY_APPSMANAGER= 'APPSMANAGER'¶ A constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. This constant has a value of “APPSMANAGER”
-
MANAGED_BY_FUSIONAPPS= 'FUSIONAPPS'¶ A constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. This constant has a value of “FUSIONAPPS”
-
MANAGED_BY_MYSERVICES= 'MYSERVICES'¶ A constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. This constant has a value of “MYSERVICES”
-
MANAGED_BY_SERVICEMANAGERPROXY= 'SERVICEMANAGERPROXY'¶ A constant which can be used with the managed_by property of a ClassicAssignedSubscriptionSummary. This constant has a value of “SERVICEMANAGERPROXY”
-
__init__(**kwargs)¶ Initializes a new ClassicAssignedSubscriptionSummary object with values from keyword arguments. The default value of the
entity_versionattribute of this class isV1and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - entity_version (str) – The value to assign to the entity_version property of this ClassicAssignedSubscriptionSummary. Allowed values for this property are: “V1”, “V2”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- id (str) – The value to assign to the id property of this ClassicAssignedSubscriptionSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ClassicAssignedSubscriptionSummary.
- service_name (str) – The value to assign to the service_name property of this ClassicAssignedSubscriptionSummary.
- time_created (datetime) – The value to assign to the time_created property of this ClassicAssignedSubscriptionSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ClassicAssignedSubscriptionSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ClassicAssignedSubscriptionSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ClassicAssignedSubscriptionSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ClassicAssignedSubscriptionSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ClassicAssignedSubscriptionSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- classic_subscription_id (str) – The value to assign to the classic_subscription_id property of this ClassicAssignedSubscriptionSummary.
- is_classic_subscription (bool) – The value to assign to the is_classic_subscription property of this ClassicAssignedSubscriptionSummary.
- region_assignment (str) – The value to assign to the region_assignment property of this ClassicAssignedSubscriptionSummary.
- start_date (datetime) – The value to assign to the start_date property of this ClassicAssignedSubscriptionSummary.
- end_date (datetime) – The value to assign to the end_date property of this ClassicAssignedSubscriptionSummary.
- csi_number (str) – The value to assign to the csi_number property of this ClassicAssignedSubscriptionSummary.
- managed_by (str) – The value to assign to the managed_by property of this ClassicAssignedSubscriptionSummary. Allowed values for this property are: “APPSMANAGER”, “SERVICEMANAGERPROXY”, “FUSIONAPPS”, “MYSERVICES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
classic_subscription_id¶ [Required] Gets the classic_subscription_id of this ClassicAssignedSubscriptionSummary. Subscription ID.
Returns: The classic_subscription_id of this ClassicAssignedSubscriptionSummary. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this AssignedSubscriptionSummary. The Oracle ID (OCID) of the owning compartment. Always a tenancy OCID.
Returns: The compartment_id of this AssignedSubscriptionSummary. Return type: str
-
csi_number¶ Gets the csi_number of this ClassicAssignedSubscriptionSummary. Customer service identifier for the customer associated with the subscription.
Returns: The csi_number of this ClassicAssignedSubscriptionSummary. Return type: str
[Required] Gets the defined_tags of this AssignedSubscriptionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this AssignedSubscriptionSummary. Return type: dict(str, dict(str, object))
-
end_date¶ Gets the end_date of this ClassicAssignedSubscriptionSummary. Subscription end time.
Returns: The end_date of this ClassicAssignedSubscriptionSummary. Return type: datetime
-
entity_version¶ [Required] Gets the entity_version of this AssignedSubscriptionSummary. The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).
Allowed values for this property are: “V1”, “V2”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The entity_version of this AssignedSubscriptionSummary. Return type: str
[Required] Gets the freeform_tags of this AssignedSubscriptionSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this AssignedSubscriptionSummary. Return type: dict(str, str)
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
id¶ [Required] Gets the id of this AssignedSubscriptionSummary. The Oracle ID (OCID) of the subscription.
Returns: The id of this AssignedSubscriptionSummary. Return type: str
-
is_classic_subscription¶ Gets the is_classic_subscription of this ClassicAssignedSubscriptionSummary. Specifies whether or not the subscription is legacy.
Returns: The is_classic_subscription of this ClassicAssignedSubscriptionSummary. Return type: bool
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ClassicAssignedSubscriptionSummary. Lifecycle state of the subscription.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ClassicAssignedSubscriptionSummary. Return type: str
-
managed_by¶ Gets the managed_by of this ClassicAssignedSubscriptionSummary. Service or component which is used to provision and manage the subscription.
Allowed values for this property are: “APPSMANAGER”, “SERVICEMANAGERPROXY”, “FUSIONAPPS”, “MYSERVICES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The managed_by of this ClassicAssignedSubscriptionSummary. Return type: str
-
region_assignment¶ Gets the region_assignment of this ClassicAssignedSubscriptionSummary. Region for the subscription.
Returns: The region_assignment of this ClassicAssignedSubscriptionSummary. Return type: str
-
service_name¶ [Required] Gets the service_name of this AssignedSubscriptionSummary. The type of subscription, such as ‘UCM’, ‘SAAS’, ‘ERP’, ‘CRM’.
Returns: The service_name of this AssignedSubscriptionSummary. Return type: str
-
start_date¶ Gets the start_date of this ClassicAssignedSubscriptionSummary. Subscription start time.
Returns: The start_date of this ClassicAssignedSubscriptionSummary. Return type: datetime
Gets the system_tags of this AssignedSubscriptionSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this AssignedSubscriptionSummary. Return type: dict(str, dict(str, object))
-