IWithSrvRecordEntry<ParentT>.WithRecord 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.Definition.IWithSrvRecordEntryOrAttachable<ParentT> WithRecord (string target, int port, int priority, int weight);
abstract member WithRecord : string * int * int * int -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.Definition.IWithSrvRecordEntryOrAttachable<'ParentT>
Public Function WithRecord (target As String, port As Integer, priority As Integer, weight As Integer) As IWithSrvRecordEntryOrAttachable(Of ParentT)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET