Returns 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.
Note: This API method supports read-only API sessions. For more information on read-only API sessions and a list of API methods that support read-only API session, refer to Read-only Legacy v1 API sessions.
Type: integer (int64)
The object ID for a DNS view, DNS zone, IPv4 block or network, IPv6 block or network, DHCP class, or MAC pool.
Type: Array of APIDeploymentRole
Returns an array of APIDeploymentRole objects representing the deployment roles associated with the specified object.