![]() The DNS record index number for this DNS record. |
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
![]() ![]() | index | M | uint32 | The unique index of this local name service record data entry. | |
![]() | type | O | enumeration | a | Local name service record data type. |
![]() | priority | O | uint16 | 0 | Local name service record data priority. |
![]() | ipAddress | M | ip-address | Local name service record data IP Address. | |
![]() | state | O | enumeration | enabled | The administrative state of this local name service record data. A disabled record will be skipped in queries. |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name}/data={index} |
RESTCONF API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name} --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name}/data={index} |