MultiCloudMetadataSummary¶
- class oci.multicloud.models.MultiCloudMetadataSummary(**kwargs)¶
Bases:
objectThe 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 MultiCloudMetadataSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this MultiCloudMetadataSummary.
[Required] Gets the defined_tags of this MultiCloudMetadataSummary.
[Required] Gets the freeform_tags of this MultiCloudMetadataSummary.
[Required] Gets the subscription_id of this MultiCloudMetadataSummary.
Gets the system_tags of this MultiCloudMetadataSummary.
[Required] Gets the time_created of this MultiCloudMetadataSummary.
- __init__(**kwargs)¶
Initializes a new MultiCloudMetadataSummary 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 MultiCloudMetadataSummary.
time_created (datetime) – The value to assign to the time_created property of this MultiCloudMetadataSummary.
subscription_id (str) – The value to assign to the subscription_id property of this MultiCloudMetadataSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MultiCloudMetadataSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MultiCloudMetadataSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MultiCloudMetadataSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this MultiCloudMetadataSummary. The OCID of the Multicloud base compartment associated with the indicated subscription (subscriptionId).
- Returns
The compartment_id of this MultiCloudMetadataSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this MultiCloudMetadataSummary. 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 MultiCloudMetadataSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
[Required] Gets the freeform_tags of this MultiCloudMetadataSummary. 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 MultiCloudMetadataSummary.
- Return type
dict(str, str)
- property subscription_id¶
[Required] Gets the subscription_id of this MultiCloudMetadataSummary. The OCID of the OCI subscription.
- Returns
The subscription_id of this MultiCloudMetadataSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this MultiCloudMetadataSummary. 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 MultiCloudMetadataSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this MultiCloudMetadataSummary. 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 MultiCloudMetadataSummary.
- Return type
datetime