MultiCloudMetadata

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

Bases: object

The Multicloud metadata for the indicated subscription. Multicloud metadata for a subscription includes the Multicloud base compartment (top-level OCI compartment). For more information, see Getting Details for Multicloud Metadata.

Methods:

__init__(**kwargs)

Initializes a new MultiCloudMetadata object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this MultiCloudMetadata.

defined_tags

[Required] Gets the defined_tags of this MultiCloudMetadata.

freeform_tags

[Required] Gets the freeform_tags of this MultiCloudMetadata.

subscription_id

[Required] Gets the subscription_id of this MultiCloudMetadata.

system_tags

Gets the system_tags of this MultiCloudMetadata.

time_created

[Required] Gets the time_created of this MultiCloudMetadata.

__init__(**kwargs)

Initializes a new MultiCloudMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this MultiCloudMetadata.

  • subscription_id (str) – The value to assign to the subscription_id property of this MultiCloudMetadata.

  • time_created (datetime) – The value to assign to the time_created property of this MultiCloudMetadata.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MultiCloudMetadata.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MultiCloudMetadata.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MultiCloudMetadata.

property compartment_id

[Required] Gets the compartment_id of this MultiCloudMetadata. The OCID of the Multicloud base compartment associated with the indicated subscription (subscriptionId).

Returns

The compartment_id of this MultiCloudMetadata.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this MultiCloudMetadata. 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 MultiCloudMetadata.

Return type

dict(str, dict(str, object))

property freeform_tags

[Required] Gets the freeform_tags of this MultiCloudMetadata. 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 MultiCloudMetadata.

Return type

dict(str, str)

property subscription_id

[Required] Gets the subscription_id of this MultiCloudMetadata. The OCID of the OCI subscription.

Returns

The subscription_id of this MultiCloudMetadata.

Return type

str

property system_tags

Gets the system_tags of this MultiCloudMetadata. 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 MultiCloudMetadata.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this MultiCloudMetadata. The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.

Example: 2016-08-25T21:10:29.600Z

Returns

The time_created of this MultiCloudMetadata.

Return type

datetime