Sdílet prostřednictvím


SrvRecord Class

Definition

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)

Deserializes a PSObject into an instance of SrvRecord.

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)

Serializes this instance of SrvRecord into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to