PreviewManagedInstancesDetails¶
- class oci.os_management_hub.models.PreviewManagedInstancesDetails(**kwargs)¶
Bases:
objectPreviewManagedInstancesDetails.
Attributes:
A constant which can be used with the match_type property of a PreviewManagedInstancesDetails.
A constant which can be used with the match_type property of a PreviewManagedInstancesDetails.
Gets the defined_tags of this PreviewManagedInstancesDetails.
Gets the freeform_tags of this PreviewManagedInstancesDetails.
[Required] Gets the match_type of this PreviewManagedInstancesDetails.
[Required] Gets the matching_rule of this PreviewManagedInstancesDetails.
[Required] Gets the target_compartments of this PreviewManagedInstancesDetails.
Methods:
__init__(**kwargs)Initializes a new PreviewManagedInstancesDetails object with values from keyword arguments.
- MATCH_TYPE_ALL = 'ALL'¶
A constant which can be used with the match_type property of a PreviewManagedInstancesDetails. This constant has a value of “ALL”
- MATCH_TYPE_ANY = 'ANY'¶
A constant which can be used with the match_type property of a PreviewManagedInstancesDetails. This constant has a value of “ANY”
- __init__(**kwargs)¶
Initializes a new PreviewManagedInstancesDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
target_compartments (list[oci.os_management_hub.models.TargetCompartmentDetails]) – The value to assign to the target_compartments property of this PreviewManagedInstancesDetails.
match_type (str) – The value to assign to the match_type property of this PreviewManagedInstancesDetails. Allowed values for this property are: “ANY”, “ALL”
matching_rule (oci.os_management_hub.models.MatchingRule) – The value to assign to the matching_rule property of this PreviewManagedInstancesDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PreviewManagedInstancesDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PreviewManagedInstancesDetails.
- property defined_tags¶
Gets the defined_tags of this PreviewManagedInstancesDetails. 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 PreviewManagedInstancesDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this PreviewManagedInstancesDetails. 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 PreviewManagedInstancesDetails.
- Return type
dict(str, str)
- property match_type¶
[Required] Gets the match_type of this PreviewManagedInstancesDetails. Include either any or all attributes.
Allowed values for this property are: “ANY”, “ALL”
- Returns
The match_type of this PreviewManagedInstancesDetails.
- Return type
str
- property matching_rule¶
[Required] Gets the matching_rule of this PreviewManagedInstancesDetails.
- Returns
The matching_rule of this PreviewManagedInstancesDetails.
- Return type
- property target_compartments¶
[Required] Gets the target_compartments of this PreviewManagedInstancesDetails. The list of compartment details.
- Returns
The target_compartments of this PreviewManagedInstancesDetails.
- Return type