ResourceAnchorSummary

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

Bases: object

The properties that define a resource anchor.

Methods

__init__(**kwargs) Initializes a new ResourceAnchorSummary object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this ResourceAnchorSummary.
compartment_name Gets the compartment_name of this ResourceAnchorSummary.
csp_additional_properties Gets the csp_additional_properties of this ResourceAnchorSummary.
csp_resource_anchor_id Gets the csp_resource_anchor_id of this ResourceAnchorSummary.
csp_resource_anchor_name Gets the csp_resource_anchor_name of this ResourceAnchorSummary.
defined_tags [Required] Gets the defined_tags of this ResourceAnchorSummary.
display_name [Required] Gets the display_name of this ResourceAnchorSummary.
freeform_tags [Required] Gets the freeform_tags of this ResourceAnchorSummary.
id [Required] Gets the id of this ResourceAnchorSummary.
lifecycle_details Gets the lifecycle_details of this ResourceAnchorSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ResourceAnchorSummary.
linked_compartment_id Gets the linked_compartment_id of this ResourceAnchorSummary.
linked_compartment_name Gets the linked_compartment_name of this ResourceAnchorSummary.
partner_cloud_account_identifier Gets the partner_cloud_account_identifier of this ResourceAnchorSummary.
resource_anchor_uri Gets the resource_anchor_uri of this ResourceAnchorSummary.
subscription_id [Required] Gets the subscription_id of this ResourceAnchorSummary.
system_tags Gets the system_tags of this ResourceAnchorSummary.
time_created [Required] Gets the time_created of this ResourceAnchorSummary.
time_updated Gets the time_updated of this ResourceAnchorSummary.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ResourceAnchorSummary.
  • display_name (str) – The value to assign to the display_name property of this ResourceAnchorSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ResourceAnchorSummary.
  • compartment_name (str) – The value to assign to the compartment_name property of this ResourceAnchorSummary.
  • partner_cloud_account_identifier (str) – The value to assign to the partner_cloud_account_identifier property of this ResourceAnchorSummary.
  • csp_resource_anchor_id (str) – The value to assign to the csp_resource_anchor_id property of this ResourceAnchorSummary.
  • csp_resource_anchor_name (str) – The value to assign to the csp_resource_anchor_name property of this ResourceAnchorSummary.
  • csp_additional_properties (dict(str, str)) – The value to assign to the csp_additional_properties property of this ResourceAnchorSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ResourceAnchorSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ResourceAnchorSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ResourceAnchorSummary.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ResourceAnchorSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ResourceAnchorSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ResourceAnchorSummary.
  • subscription_id (str) – The value to assign to the subscription_id property of this ResourceAnchorSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ResourceAnchorSummary.
  • linked_compartment_id (str) – The value to assign to the linked_compartment_id property of this ResourceAnchorSummary.
  • linked_compartment_name (str) – The value to assign to the linked_compartment_name property of this ResourceAnchorSummary.
  • resource_anchor_uri (str) – The value to assign to the resource_anchor_uri property of this ResourceAnchorSummary.
compartment_id

[Required] Gets the compartment_id of this ResourceAnchorSummary. The OCID of the compartment.

Returns:The compartment_id of this ResourceAnchorSummary.
Return type:str
compartment_name

Gets the compartment_name of this ResourceAnchorSummary. The name assigned to the compartment during creation.

Returns:The compartment_name of this ResourceAnchorSummary.
Return type:str
csp_additional_properties

Gets the csp_additional_properties of this ResourceAnchorSummary. Cloud service provider-specific properties, such as AzureSubnetId for Azure.

Returns:The csp_additional_properties of this ResourceAnchorSummary.
Return type:dict(str, str)
csp_resource_anchor_id

Gets the csp_resource_anchor_id of this ResourceAnchorSummary. Resource anchor ID in the cloud service provider.

Returns:The csp_resource_anchor_id of this ResourceAnchorSummary.
Return type:str
csp_resource_anchor_name

Gets the csp_resource_anchor_name of this ResourceAnchorSummary. Resource anchor name in the cloud service provider.

Returns:The csp_resource_anchor_name of this ResourceAnchorSummary.
Return type:str
defined_tags

[Required] Gets the defined_tags of this ResourceAnchorSummary. 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 ResourceAnchorSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ResourceAnchorSummary. A user-friendly name. Does not have to be unique, and it’s changeable.

Returns:The display_name of this ResourceAnchorSummary.
Return type:str
freeform_tags

[Required] Gets the freeform_tags of this ResourceAnchorSummary. 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 ResourceAnchorSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ResourceAnchorSummary. The OCID of the resource anchor.

Returns:The id of this ResourceAnchorSummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this ResourceAnchorSummary. A message that describes the current state of the resource anchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.

Returns:The lifecycle_details of this ResourceAnchorSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ResourceAnchorSummary. The current state of the resource anchor.

Returns:The lifecycle_state of this ResourceAnchorSummary.
Return type:str
linked_compartment_id

Gets the linked_compartment_id of this ResourceAnchorSummary. The OCID of the optional OCI compartment that was created or linked with the resource anchor. This compartment is different from the compartment that contains the resource anchor.

Returns:The linked_compartment_id of this ResourceAnchorSummary.
Return type:str
linked_compartment_name

Gets the linked_compartment_name of this ResourceAnchorSummary. The name of the optional OCI compartment that was created or linked with the resource anchor. This compartment is different from the compartment that contains the resource anchor.

Returns:The linked_compartment_name of this ResourceAnchorSummary.
Return type:str
partner_cloud_account_identifier

Gets the partner_cloud_account_identifier of this ResourceAnchorSummary. Partner cloud account identifier of the cloud service provider.

Returns:The partner_cloud_account_identifier of this ResourceAnchorSummary.
Return type:str
resource_anchor_uri

Gets the resource_anchor_uri of this ResourceAnchorSummary. URI for the cloud service provider’s resource anchor.

Returns:The resource_anchor_uri of this ResourceAnchorSummary.
Return type:str
subscription_id

[Required] Gets the subscription_id of this ResourceAnchorSummary. Oracle Cloud Infrastructure Subscription Id

Returns:The subscription_id of this ResourceAnchorSummary.
Return type:str
system_tags

Gets the system_tags of this ResourceAnchorSummary. 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 ResourceAnchorSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this ResourceAnchorSummary. The date and time the resource anchor was created, in the format defined by RFC 3339.

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

Returns:The time_created of this ResourceAnchorSummary.
Return type:datetime
time_updated

Gets the time_updated of this ResourceAnchorSummary. The date and time the resource anchor was updated, in the format defined by RFC 3339.

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

Returns:The time_updated of this ResourceAnchorSummary.
Return type:datetime