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 preference/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/