ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>
| Modifier and Type | Method and Description |
|---|---|
DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT> |
withRecord(String target,
int port,
int priority,
int weight)
Specifies a service record for a service.
|
DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT> withRecord(String target, int port, int priority, int weight)
target - the canonical name of the target host running the serviceport - the port on which the service is boundedpriority - the priority of the target host, lower the value higher the priorityweight - the relative weight (preference) of the records with the same priority, higher the value
more the preferenceVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.