Did you figure this out? The only way I could see to set the DNS for an on-demand network was to edit the Network Resource after it has been deployed. However this cannot be achieved via the Service Broker by the person who deployed it. Seems it can only be done by an administrator from Cloud Assembly
You can set the following in the network properties.
properties:
dnsServers: "xx.xx.xx.xx,yy.yy.yy.yy"
That option works.
How did you find that option, it's not documented any where on the cloud template editor.
Is there documentation somewhere that lists out all of the options for VRA cloud templates?
Yes, It seems to be still no documented...(and vRA8.4 is not too)
Below is not work correctly property.
referential: vRealize Automation 8.1 Resource Type Schema - VMware API Explorer - VMware {code}
⇒Cloud.NSX.Network - dns
And use the dns property, It's return error with following messages.
error :
Cannot deserialize instance of `String` out of START_ARRAY token at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.vmware.admiral.compute.network.ComputeNetworkDescriptionService$ComputeNetworkDescription["dns"])
So I confirmed DNS Servers section in GUI network pane with Chrome development tools.
> Cloud Assembly - Infrastructure - Network - Detail
DNS Servers section in GUI has id "dnsServers", so I tried few times to set DNS with dnsServers property.