Changes are used to make an atomic change to the
ResourceRecordSets
. The additions and deletions all take effect at the same time. When making changes, you can delete and add the
SOA
resource record to update the serial number for the zone to ensure that if multiple
Changes
are submitted that they happen in the intended order and do not conflict.
For a list of methods for this resource, see the end of this page.
Resource representations
An atomic update to a collection of
ResourceRecordSets
.
{ "kind": "dns#change", "additions": [ resourceRecordSets Resource ], "deletions": [ resourceRecordSets Resource ], "startTime": string, "id": string, "status": string }
Property name | Value | Description | Notes |
---|---|---|---|
additions[]
|
list
|
The list of
ResourceRecordSets
to add in this
Change
.
|
|
deletions[]
|
list
|
The list of
ResourceRecordSets
to remove in this
Change
. The entries in this list must match existing data exactly.
|
|
id
|
string
|
[Output only] Unique identifier for the resource, which is defined by the server. | |
kind
|
string
|
[Output only]
Identifies what kind of resource this is. Value: the fixed string
"dns#change"
.
|
|
startTime
|
string
|
[Output only] The time that this operation was started by the server. This is in RFC3339 text format. | |
status
|
string
|
[Output only]
Status of the operation.
Acceptable values are:
|
Methods
The following are valid
Changes
methods:
- create
-
Atomically updates the
ResourceRecordSet
collection. This method can include both additions and deletions. If you need to update a resource record, you send the deletion and addition of the record in the same request. As a best practice to prevent collisions with other changes, you should increment the serial number of yourSOA
record with each request to this method by sending a deletion and addition of theSOA
record with your other changes. - get
-
Fetches the representation of an existing
Change
. You can monitor the status of changes by using this method and checking the status field in the response. - list
-
Enumerates the list of
Changes
to aResourceRecordSet
collection. The status of the changes can be determined by examining thestatus
field. This method allows you to see a historical record of all changes made to the resource record sets for the managed zone. For more information, see Monitoring changes .