ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface PrivateDnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>
| Modifier and Type | Method and Description |
|---|---|
PrivateDnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT> |
withRecord(String target,
int port,
int priority,
int weight)
Specifies a service record for a service.
|
PrivateDnsRecordSet.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 preferenceCopyright © 2020 Microsoft Corporation. All rights reserved.