UpdateDynamicSetDetails

class oci.os_management_hub.models.UpdateDynamicSetDetails(**kwargs)

Bases: object

Provides the information used to update a dynamic set.

Attributes:

MATCH_TYPE_ALL

A constant which can be used with the match_type property of a UpdateDynamicSetDetails.

MATCH_TYPE_ANY

A constant which can be used with the match_type property of a UpdateDynamicSetDetails.

defined_tags

Gets the defined_tags of this UpdateDynamicSetDetails.

description

Gets the description of this UpdateDynamicSetDetails.

display_name

Gets the display_name of this UpdateDynamicSetDetails.

freeform_tags

Gets the freeform_tags of this UpdateDynamicSetDetails.

match_type

Gets the match_type of this UpdateDynamicSetDetails.

matching_rule

Gets the matching_rule of this UpdateDynamicSetDetails.

target_compartments

Gets the target_compartments of this UpdateDynamicSetDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDynamicSetDetails object with values from keyword arguments.

MATCH_TYPE_ALL = 'ALL'

A constant which can be used with the match_type property of a UpdateDynamicSetDetails. This constant has a value of “ALL”

MATCH_TYPE_ANY = 'ANY'

A constant which can be used with the match_type property of a UpdateDynamicSetDetails. This constant has a value of “ANY”

__init__(**kwargs)

Initializes a new UpdateDynamicSetDetails 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 UpdateDynamicSetDetails.

  • description (str) – The value to assign to the description property of this UpdateDynamicSetDetails.

  • target_compartments (list[oci.os_management_hub.models.TargetCompartmentDetails]) – The value to assign to the target_compartments property of this UpdateDynamicSetDetails.

  • match_type (str) – The value to assign to the match_type property of this UpdateDynamicSetDetails. 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 UpdateDynamicSetDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDynamicSetDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDynamicSetDetails.

property defined_tags

Gets the defined_tags of this UpdateDynamicSetDetails. 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 UpdateDynamicSetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateDynamicSetDetails. User-specified description of the dynamic set. Avoid entering confidential information.

Returns

The description of this UpdateDynamicSetDetails.

Return type

str

property display_name

Gets the display_name of this UpdateDynamicSetDetails. User-friendly name for the dynamic set.

Returns

The display_name of this UpdateDynamicSetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateDynamicSetDetails. 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 UpdateDynamicSetDetails.

Return type

dict(str, str)

property match_type

Gets the match_type of this UpdateDynamicSetDetails. Include either any or all attributes.

Allowed values for this property are: “ANY”, “ALL”

Returns

The match_type of this UpdateDynamicSetDetails.

Return type

str

property matching_rule

Gets the matching_rule of this UpdateDynamicSetDetails.

Returns

The matching_rule of this UpdateDynamicSetDetails.

Return type

oci.os_management_hub.models.MatchingRule

property target_compartments

Gets the target_compartments of this UpdateDynamicSetDetails. The list of compartment details.

Returns

The target_compartments of this UpdateDynamicSetDetails.

Return type

list[oci.os_management_hub.models.TargetCompartmentDetails]