UpdateResolverDetails

class oci.dns.models.UpdateResolverDetails(**kwargs)

Bases: object

The body for updating an existing resolver.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods:

__init__(**kwargs)

Initializes a new UpdateResolverDetails object with values from keyword arguments.

Attributes:

attached_views

Gets the attached_views of this UpdateResolverDetails.

defined_tags

Gets the defined_tags of this UpdateResolverDetails.

display_name

Gets the display_name of this UpdateResolverDetails.

freeform_tags

Gets the freeform_tags of this UpdateResolverDetails.

rules

Gets the rules of this UpdateResolverDetails.

__init__(**kwargs)

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

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

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

  • attached_views (list[oci.dns.models.AttachedViewDetails]) – The value to assign to the attached_views property of this UpdateResolverDetails.

  • rules (list[oci.dns.models.ResolverRuleDetails]) – The value to assign to the rules property of this UpdateResolverDetails.

property attached_views

Gets the attached_views of this UpdateResolverDetails. The attached views. Views are evaluated in order.

Returns

The attached_views of this UpdateResolverDetails.

Return type

list[oci.dns.models.AttachedViewDetails]

property defined_tags

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

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this UpdateResolverDetails. The display name of the resolver.

Returns

The display_name of this UpdateResolverDetails.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property rules

Gets the rules of this UpdateResolverDetails. Rules for the resolver. Rules are evaluated in order, and only the first matching rule will have its action applied.

Returns

The rules of this UpdateResolverDetails.

Return type

list[oci.dns.models.ResolverRuleDetails]