MulticloudSubscriptionSummary

class oci.multicloud.models.MulticloudSubscriptionSummary(**kwargs)

Bases: object

A Multicloud subscription.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a MulticloudSubscriptionSummary.

SERVICE_NAME_ORACLEDBATAWS

A constant which can be used with the service_name property of a MulticloudSubscriptionSummary.

SERVICE_NAME_ORACLEDBATAZURE

A constant which can be used with the service_name property of a MulticloudSubscriptionSummary.

SERVICE_NAME_ORACLEDBATGOOGLE

A constant which can be used with the service_name property of a MulticloudSubscriptionSummary.

active_commitment

Gets the active_commitment of this MulticloudSubscriptionSummary.

classic_subscription_id

[Required] Gets the classic_subscription_id of this MulticloudSubscriptionSummary.

csp_additional_properties

Gets the csp_additional_properties of this MulticloudSubscriptionSummary.

defined_tags

Gets the defined_tags of this MulticloudSubscriptionSummary.

freeform_tags

Gets the freeform_tags of this MulticloudSubscriptionSummary.

lifecycle_state

Gets the lifecycle_state of this MulticloudSubscriptionSummary.

partner_cloud_account_identifier

[Required] Gets the partner_cloud_account_identifier of this MulticloudSubscriptionSummary.

partner_cloud_tenant_identifier

Gets the partner_cloud_tenant_identifier of this MulticloudSubscriptionSummary.

payment_plan

Gets the payment_plan of this MulticloudSubscriptionSummary.

service_name

Gets the service_name of this MulticloudSubscriptionSummary.

subscription_id

Gets the subscription_id of this MulticloudSubscriptionSummary.

system_tags

Gets the system_tags of this MulticloudSubscriptionSummary.

time_created

[Required] Gets the time_created of this MulticloudSubscriptionSummary.

time_end_date

Gets the time_end_date of this MulticloudSubscriptionSummary.

time_linked_date

Gets the time_linked_date of this MulticloudSubscriptionSummary.

time_updated

Gets 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.

  • partner_cloud_tenant_identifier (str) – The value to assign to the partner_cloud_tenant_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.

property active_commitment

Gets the active_commitment of this MulticloudSubscriptionSummary. Total value for the subscription.

Returns

The active_commitment of this MulticloudSubscriptionSummary.

Return type

str

property 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

property csp_additional_properties

Gets the csp_additional_properties of this MulticloudSubscriptionSummary. Properties specific to the cloud service provider. For example, AzureSubnetId for Azure.

Returns

The csp_additional_properties of this MulticloudSubscriptionSummary.

Return type

dict(str, str)

property defined_tags

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))

property freeform_tags

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)

property 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

property 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

property partner_cloud_tenant_identifier

Gets the partner_cloud_tenant_identifier of this MulticloudSubscriptionSummary. The partner cloud tenant ID.

Returns

The partner_cloud_tenant_identifier of this MulticloudSubscriptionSummary.

Return type

str

property payment_plan

Gets the payment_plan of this MulticloudSubscriptionSummary. Payment plan for the subscription.

Returns

The payment_plan of this MulticloudSubscriptionSummary.

Return type

str

property service_name

Gets the service_name of this MulticloudSubscriptionSummary. The cloud service provider.

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

property subscription_id

Gets the subscription_id of this MulticloudSubscriptionSummary. URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?region=us-ashburn-1.

Returns

The subscription_id of this MulticloudSubscriptionSummary.

Return type

str

property system_tags

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))

property time_created

[Required] Gets the time_created of this MulticloudSubscriptionSummary. The date and time that the subscription was created, in the format defined by RFC 3339.

Returns

The time_created of this MulticloudSubscriptionSummary.

Return type

datetime

property time_end_date

Gets the time_end_date of this MulticloudSubscriptionSummary. The end date and time for the subscription, in the format defined by RFC 3339.

Returns

The time_end_date of this MulticloudSubscriptionSummary.

Return type

datetime

property time_linked_date

Gets the time_linked_date of this MulticloudSubscriptionSummary. The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.

Returns

The time_linked_date of this MulticloudSubscriptionSummary.

Return type

datetime

property time_updated

Gets the time_updated of this MulticloudSubscriptionSummary. The date and time that the subscription was updated, in the format defined by RFC 3339.

Returns

The time_updated of this MulticloudSubscriptionSummary.

Return type

datetime