SrvRecord Class
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.
An SRV record.
[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.SrvRecordTypeConverter))]
public class SrvRecord : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ISrvRecord
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.SrvRecordTypeConverter))>]
type SrvRecord = class
interface ISrvRecord
interface IJsonSerializable
Public Class SrvRecord
Implements ISrvRecord
- Inheritance
-
SrvRecord
- Attributes
- Implements
Constructors
SrvRecord() |
Creates an new SrvRecord instance. |
Properties
Port |
The port value for this SRV record. |
Priority |
The priority value for this SRV record. |
Target |
The target domain name for this SRV record. |
Weight |
The weight value for this SRV record. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SrvRecord. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ISrvRecord. |
FromJsonString(String) |
Creates a new instance of SrvRecord, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |