public static interface DnsRecordSet.UpdateStages.WithSrvRecordEntry
| Modifier and Type | Method and Description |
|---|---|
DnsRecordSet.UpdateSrvRecordSet |
withoutRecord(String target,
int port,
int priority,
int weight)
Removes a service record for a service.
|
DnsRecordSet.UpdateSrvRecordSet |
withRecord(String target,
int port,
int priority,
int weight)
Specifies a service record for a service.
|
DnsRecordSet.UpdateSrvRecordSet 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 preferenceDnsRecordSet.UpdateSrvRecordSet withoutRecord(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 hostweight - the relative weight (preference) of the records/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/