MultiCloudMetadata

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

Bases: object

Multicloud metadata information including base multicloud compartments information.

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

[Required] Gets the compartment_id of this MultiCloudMetadata. MultiCloud base compartment OCID associated with subscriptionId.

Returns:The compartment_id of this MultiCloudMetadata.
Return type:str
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))
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)
subscription_id

[Required] Gets the subscription_id of this MultiCloudMetadata. Oracle Cloud Infrastructure subscriptionId.

Returns:The subscription_id of this MultiCloudMetadata.
Return type:str
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))
time_created

[Required] Gets the time_created of this MultiCloudMetadata. The date and time the multicloud 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