ResourceAnchorSummary¶
-
class
oci.multicloud.models.ResourceAnchorSummary(**kwargs)¶ Bases:
objectSummary information about a ResourceAnchor.
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_nameGets the compartment_name of this ResourceAnchorSummary. csp_additional_propertiesGets the csp_additional_properties of this ResourceAnchorSummary. csp_resource_anchor_idGets the csp_resource_anchor_id of this ResourceAnchorSummary. csp_resource_anchor_nameGets 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_detailsGets the lifecycle_details of this ResourceAnchorSummary. lifecycle_state[Required] Gets the lifecycle_state of this ResourceAnchorSummary. linked_compartment_idGets the linked_compartment_id of this ResourceAnchorSummary. linked_compartment_nameGets the linked_compartment_name of this ResourceAnchorSummary. partner_cloud_account_identifierGets the partner_cloud_account_identifier of this ResourceAnchorSummary. subscription_id[Required] Gets the subscription_id of this ResourceAnchorSummary. system_tagsGets the system_tags of this ResourceAnchorSummary. time_created[Required] Gets the time_created of this ResourceAnchorSummary. time_updatedGets 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.
-
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. CSP Specific Additional Properties, 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
[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
[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 ResourceAnchor.
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 ResourceAnchor 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 ResourceAnchor.
Returns: The lifecycle_state of this ResourceAnchorSummary. Return type: str
-
linked_compartment_id¶ Gets the linked_compartment_id of this ResourceAnchorSummary. Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
Returns: The linked_compartment_id of this ResourceAnchorSummary. Return type: str
-
linked_compartment_name¶ Gets the linked_compartment_name of this ResourceAnchorSummary. The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
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
-
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
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))
-