Changes
(
zone
)
Changes are bundled additions / deletions of DNS resource records.
Changes are owned by a xref_ManagedZone instance.
Properties
additions
Resource record sets to be added to the zone.
deletions
Resource record sets to be deleted from the zone.
sequence of ResourceRecordSet
.
delete_record_set
.name
Name of the change set.
str or NoneType
path
URL path for change set APIs.
str
started
Time when the change set was started.
datetime.datetime
or NoneType
status
Status of the change set.
str or NoneType
Methods
add_record_set
add_record_set
(
record_set
)
Append a record set to the 'additions' for the change set.
`ValueError
record_set
is not of the required type.create
create
(
client
=
None
)
API call: create the change set via a POST request.
client
Client
(Optional) the client to use. If not passed, falls back to the client
stored on the current zone.
delete_record_set
delete_record_set
(
record_set
)
Append a record set to the 'deletions' for the change set.
`ValueError
record_set
is not of the required type.exists
exists
(
client
=
None
)
API call: test for the existence of the change set via a GET request.
client
Client
(Optional) the client to use. If not passed, falls back to the client
stored on the current zone.
bool
from_api_repr
from_api_repr
(
resource
,
zone
)
Factory: construct a change set given its API representation
resource
dict
change set representation returned from the API.
zone
reload
reload
(
client
=
None
)
API call: refresh zone properties via a GET request.
client
Client
(Optional) the client to use. If not passed, falls back to the client
stored on the current zone.