Files
823c4e840d375209cba17a7f80f80fc89e3c6ce7
nova /api-ref /source /os-floating-ip-dns.inc

201 lines
4.2 KiB
PHP
Raw Normal View History

.. needs:example_verification
.. needs:body_verification
Floating IP DNS records (os-floating-ip-dns) (DEPRECATED)
==========================================================
.. warning::
deprecated. These will fail with a 404 starting from microversion 2.36.
Manages DNS records associated with floating IP addresses. The API
dispatches requests to a DNS driver that is selected at startup.
List Dns Domains
================
Lists registered DNS domains published by the DNS drivers.
Normal response codes: 200
Response
Create Or Update Dns Domain
===========================
Creates or updates a DNS domain.
Normal response codes: 200
forbidden(403), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
**Example Create Or Update Dns Domain: JSON request**
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json
:language: javascript
Response
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json
:language: javascript
Delete Dns Domain
=================
Deletes a DNS domain and all associated host entries.
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response
================
Normal response codes: 200
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response
Find Unique Dns Entry
=====================
Finds a unique DNS entry for a domain and name.
Normal response codes: 200
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
- name: name
Response
==========================
Request
.. rest_parameters:: parameters.yaml
- domain: domain
- name: name
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json
:language: javascript
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json
:language: javascript
Delete Dns Entry
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response