Adds a DNS deployment role to a specified object.
Output / Response
Returns the object ID for the new DNS server role object.
API call:
long addDNSDeploymentRole( long entityId, long
serverInterfaceId, String type, String
properties )
Parameter | Description |
---|---|
entityId | The object ID for the object to which the deployment role is to be added. |
serverInterfaceId | The object ID of the server interface to which the role is to be added. |
type | The type of DNS role to be added. The type must be one of those listed in DNS Deployment Role Type. |
properties | Adds object properties, including the View associated with this DNS deployment role and user-defined fields. |