Share via


CnameRecord Class

Definition

A CNAME record.

[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.CnameRecordTypeConverter))]
public class CnameRecord : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ICnameRecord
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.CnameRecordTypeConverter))>]
type CnameRecord = class
    interface ICnameRecord
    interface IJsonSerializable
Public Class CnameRecord
Implements ICnameRecord
Inheritance
CnameRecord
Attributes
Implements

Constructors

CnameRecord()

Creates an new CnameRecord instance.

Properties

Cname

The canonical name for this CNAME record.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CnameRecord.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CnameRecord.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ICnameRecord.

FromJsonString(String)

Creates a new instance of CnameRecord, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CnameRecord into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to