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