Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions libcloud/dns/drivers/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,17 +273,20 @@ def ex_bulk_record_changes(self, zone, records):
:type zone: :class:`Zone`

:param records: Dictionary of additions list or deletions list, or both
of resourceRecordSets. For example:
{'additions': [{'rrdatas': ['127.0.0.1'],
'kind': 'dns#resourceRecordSet',
'type': 'A',
'name': 'www.example.com.',
'ttl': '300'}],
'deletions': [{'rrdatas': ['127.0.0.1'],
'kind': 'dns#resourceRecordSet',
'type': 'A',
'name': 'www2.example.com.',
'ttl': '300'}]}
of resourceRecordSets. For example:

.. code-block:: python

{'additions': [{'rrdatas': ['127.0.0.1'],
'kind': 'dns#resourceRecordSet',
'type': 'A',
'name': 'www.example.com.',
'ttl': '300'}],
'deletions': [{'rrdatas': ['127.0.0.1'],
'kind': 'dns#resourceRecordSet',
'type': 'A',
'name': 'www2.example.com.',
'ttl': '300'}]}
:type records: ``dict``

:return: A dictionary of Record additions and deletions.
Expand Down