SteeringPolicyAttachmentSummary¶
- class oci.dns.models.SteeringPolicyAttachmentSummary(**kwargs)¶
Bases:
objectAn attachment between a steering policy and a domain.
Attributes:
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary.
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary.
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary.
[Required] Gets the compartment_id of this SteeringPolicyAttachmentSummary.
[Required] Gets the display_name of this SteeringPolicyAttachmentSummary.
[Required] Gets the domain_name of this SteeringPolicyAttachmentSummary.
[Required] Gets the id of this SteeringPolicyAttachmentSummary.
[Required] Gets the lifecycle_state of this SteeringPolicyAttachmentSummary.
[Required] Gets the rtypes of this SteeringPolicyAttachmentSummary.
[Required] Gets the steering_policy_id of this SteeringPolicyAttachmentSummary.
[Required] Gets the time_created of this SteeringPolicyAttachmentSummary.
[Required] Gets the zone_id of this SteeringPolicyAttachmentSummary.
Methods:
__init__(**kwargs)Initializes a new SteeringPolicyAttachmentSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a SteeringPolicyAttachmentSummary. This constant has a value of “DELETING”
- __init__(**kwargs)¶
Initializes a new SteeringPolicyAttachmentSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
steering_policy_id (str) – The value to assign to the steering_policy_id property of this SteeringPolicyAttachmentSummary.
zone_id (str) – The value to assign to the zone_id property of this SteeringPolicyAttachmentSummary.
domain_name (str) – The value to assign to the domain_name property of this SteeringPolicyAttachmentSummary.
display_name (str) – The value to assign to the display_name property of this SteeringPolicyAttachmentSummary.
rtypes (list[str]) – The value to assign to the rtypes property of this SteeringPolicyAttachmentSummary.
compartment_id (str) – The value to assign to the compartment_id property of this SteeringPolicyAttachmentSummary.
_self (str) – The value to assign to the _self property of this SteeringPolicyAttachmentSummary.
id (str) – The value to assign to the id property of this SteeringPolicyAttachmentSummary.
time_created (datetime) – The value to assign to the time_created property of this SteeringPolicyAttachmentSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this SteeringPolicyAttachmentSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property compartment_id¶
[Required] Gets the compartment_id of this SteeringPolicyAttachmentSummary. The OCID of the compartment containing the steering policy attachment.
- Returns
The compartment_id of this SteeringPolicyAttachmentSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this SteeringPolicyAttachmentSummary. A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- Returns
The display_name of this SteeringPolicyAttachmentSummary.
- Return type
str
- property domain_name¶
[Required] Gets the domain_name of this SteeringPolicyAttachmentSummary. The attached domain within the attached zone.
- Returns
The domain_name of this SteeringPolicyAttachmentSummary.
- Return type
str
- property id¶
[Required] Gets the id of this SteeringPolicyAttachmentSummary. The OCID of the resource.
- Returns
The id of this SteeringPolicyAttachmentSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this SteeringPolicyAttachmentSummary. The current state of the resource.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this SteeringPolicyAttachmentSummary.
- Return type
str
- property rtypes¶
[Required] Gets the rtypes of this SteeringPolicyAttachmentSummary. The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- Returns
The rtypes of this SteeringPolicyAttachmentSummary.
- Return type
list[str]
- property steering_policy_id¶
[Required] Gets the steering_policy_id of this SteeringPolicyAttachmentSummary. The OCID of the attached steering policy.
- Returns
The steering_policy_id of this SteeringPolicyAttachmentSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this SteeringPolicyAttachmentSummary. The date and time the resource was created, expressed in RFC 3339 timestamp format.
Example: 2016-07-22T17:23:59:60Z
- Returns
The time_created of this SteeringPolicyAttachmentSummary.
- Return type
datetime
- property zone_id¶
[Required] Gets the zone_id of this SteeringPolicyAttachmentSummary. The OCID of the attached zone. Must be a public zone.
- Returns
The zone_id of this SteeringPolicyAttachmentSummary.
- Return type
str