Return the DNS and DHCP deployment roles associated with the specified object. For DNS views and zones, getDeploymentRoles returns DNS deployment roles. For IP address space objects, such as IPv4 blocks and networks, IPv6 blocks and networks, DHCP classes, and MAC pools, getDeploymentRoles returns DNS and DHCP deployment roles.
API method: GET /v1/getDeploymentRoles
Output / Response: Returns an array of APIDeploymentRole objects representing the deployment roles associated with the specified object. The properties string contains the following elements:
- view—for DNS deployment roles set for IP address space objects.
- zoneTransServerInterface—the server interface for zone transfers for the deployment role types of secondary, stealth secondary, forwarder and stub.
- inherited—returns true or false to indicate whether the deployment role was inherited or not.