MulticloudSubscriptionSummary¶
-
class
oci.multicloud.models.MulticloudSubscriptionSummary(**kwargs)¶ Bases:
objectMulticloud subscription object
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary. SERVICE_NAME_ORACLEDBATAWSA constant which can be used with the service_name property of a MulticloudSubscriptionSummary. SERVICE_NAME_ORACLEDBATAZUREA constant which can be used with the service_name property of a MulticloudSubscriptionSummary. SERVICE_NAME_ORACLEDBATGOOGLEA constant which can be used with the service_name property of a MulticloudSubscriptionSummary. active_commitmentGets the active_commitment of this MulticloudSubscriptionSummary. classic_subscription_id[Required] Gets the classic_subscription_id of this MulticloudSubscriptionSummary. csp_additional_propertiesGets the csp_additional_properties of this MulticloudSubscriptionSummary. defined_tagsGets the defined_tags of this MulticloudSubscriptionSummary. freeform_tagsGets the freeform_tags of this MulticloudSubscriptionSummary. lifecycle_stateGets the lifecycle_state of this MulticloudSubscriptionSummary. partner_cloud_account_identifier[Required] Gets the partner_cloud_account_identifier of this MulticloudSubscriptionSummary. payment_planGets the payment_plan of this MulticloudSubscriptionSummary. service_nameGets the service_name of this MulticloudSubscriptionSummary. subscription_idGets the subscription_id of this MulticloudSubscriptionSummary. system_tagsGets the system_tags of this MulticloudSubscriptionSummary. time_created[Required] Gets the time_created of this MulticloudSubscriptionSummary. time_end_dateGets the time_end_date of this MulticloudSubscriptionSummary. time_linked_dateGets the time_linked_date of this MulticloudSubscriptionSummary. time_updatedGets the time_updated of this MulticloudSubscriptionSummary. Methods
__init__(**kwargs)Initializes a new MulticloudSubscriptionSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary. This constant has a value of “INACTIVE”
-
SERVICE_NAME_ORACLEDBATAWS= 'ORACLEDBATAWS'¶ A constant which can be used with the service_name property of a MulticloudSubscriptionSummary. This constant has a value of “ORACLEDBATAWS”
-
SERVICE_NAME_ORACLEDBATAZURE= 'ORACLEDBATAZURE'¶ A constant which can be used with the service_name property of a MulticloudSubscriptionSummary. This constant has a value of “ORACLEDBATAZURE”
-
SERVICE_NAME_ORACLEDBATGOOGLE= 'ORACLEDBATGOOGLE'¶ A constant which can be used with the service_name property of a MulticloudSubscriptionSummary. This constant has a value of “ORACLEDBATGOOGLE”
-
__init__(**kwargs)¶ Initializes a new MulticloudSubscriptionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - classic_subscription_id (str) – The value to assign to the classic_subscription_id property of this MulticloudSubscriptionSummary.
- subscription_id (str) – The value to assign to the subscription_id property of this MulticloudSubscriptionSummary.
- partner_cloud_account_identifier (str) – The value to assign to the partner_cloud_account_identifier property of this MulticloudSubscriptionSummary.
- service_name (str) – The value to assign to the service_name property of this MulticloudSubscriptionSummary. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_linked_date (datetime) – The value to assign to the time_linked_date property of this MulticloudSubscriptionSummary.
- payment_plan (str) – The value to assign to the payment_plan property of this MulticloudSubscriptionSummary.
- active_commitment (str) – The value to assign to the active_commitment property of this MulticloudSubscriptionSummary.
- time_end_date (datetime) – The value to assign to the time_end_date property of this MulticloudSubscriptionSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MulticloudSubscriptionSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- csp_additional_properties (dict(str, str)) – The value to assign to the csp_additional_properties property of this MulticloudSubscriptionSummary.
- time_created (datetime) – The value to assign to the time_created property of this MulticloudSubscriptionSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this MulticloudSubscriptionSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MulticloudSubscriptionSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MulticloudSubscriptionSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MulticloudSubscriptionSummary.
-
active_commitment¶ Gets the active_commitment of this MulticloudSubscriptionSummary. Total value for the subscription.
Returns: The active_commitment of this MulticloudSubscriptionSummary. Return type: str
-
classic_subscription_id¶ [Required] Gets the classic_subscription_id of this MulticloudSubscriptionSummary. Subscription ID for OCI and Partner cloud in classic format.
Returns: The classic_subscription_id of this MulticloudSubscriptionSummary. Return type: str
-
csp_additional_properties¶ Gets the csp_additional_properties of this MulticloudSubscriptionSummary. CSP Specific Additional Properties, AzureSubnetId for Azure
Returns: The csp_additional_properties of this MulticloudSubscriptionSummary. Return type: dict(str, str)
Gets the defined_tags of this MulticloudSubscriptionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this MulticloudSubscriptionSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this MulticloudSubscriptionSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this MulticloudSubscriptionSummary. Return type: dict(str, str)
-
lifecycle_state¶ Gets the lifecycle_state of this MulticloudSubscriptionSummary. The current state of the subscription.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this MulticloudSubscriptionSummary. Return type: str
-
partner_cloud_account_identifier¶ [Required] Gets the partner_cloud_account_identifier of this MulticloudSubscriptionSummary. The partner cloud account ID.
Returns: The partner_cloud_account_identifier of this MulticloudSubscriptionSummary. Return type: str
-
payment_plan¶ Gets the payment_plan of this MulticloudSubscriptionSummary. Payment plan for the subscription.
Returns: The payment_plan of this MulticloudSubscriptionSummary. Return type: str
-
service_name¶ Gets the service_name of this MulticloudSubscriptionSummary. The serviceName that externalLocation map object belongs to.
Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The service_name of this MulticloudSubscriptionSummary. Return type: str
-
subscription_id¶ Gets the subscription_id of this MulticloudSubscriptionSummary. URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
Returns: The subscription_id of this MulticloudSubscriptionSummary. Return type: str
Gets the system_tags of this MulticloudSubscriptionSummary. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this MulticloudSubscriptionSummary. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this MulticloudSubscriptionSummary. The date and time the subscription was created, in the format defined by RFC 3339.
Returns: The time_created of this MulticloudSubscriptionSummary. Return type: datetime
-
time_end_date¶ Gets the time_end_date of this MulticloudSubscriptionSummary. The date and time for when the subscription is finishing, in the format defined by RFC 3339.
Returns: The time_end_date of this MulticloudSubscriptionSummary. Return type: datetime
-