Share via


Contact Class

Definition

Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois directories as per ICANN requirements.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContactTypeConverter))]
public class Contact : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContact
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContactTypeConverter))>]
type Contact = class
    interface IContact
    interface IJsonSerializable
Public Class Contact
Implements IContact
Inheritance
Contact
Attributes
Implements

Constructors

Contact()

Creates an new Contact instance.

Properties

AddressMailingAddress1

First line of an Address.

AddressMailingAddress2

The second line of the Address. Optional.

AddressMailingCity

The city for the address.

AddressMailingCountry

The country for the address.

AddressMailingPostalCode

The postal code for the address.

AddressMailingState

The state or province for the address.

Email

Email address.

Fax

Fax number.

JobTitle

Job title.

NameFirst

First name.

NameLast

Last name.

NameMiddle

Middle name.

Organization

Organization contact belongs to.

Phone

Phone number.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Contact.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Contact.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContact.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Contact into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to