IWithSrvRecordEntry.WithRecord(String, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a service record for a service.
public Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.UpdateSrvRecordSet.IUpdateSrvRecordSet WithRecord (string target, int port, int priority, int weight);
abstract member WithRecord : string * int * int * int -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.UpdateSrvRecordSet.IUpdateSrvRecordSet
Public Function WithRecord (target As String, port As Integer, priority As Integer, weight As Integer) As IUpdateSrvRecordSet
Parameters
- target
- String
The canonical name of the target host running the service.
- port
- Int32
The port on which the service is bounded.
- priority
- Int32
The priority of the target host, lower the value higher the priority.
- weight
- Int32
The relative weight (preference) of the records with the same priority, higher the value more the preference.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET