Share via


Domain Class

Definition

Information about a domain.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Domain : Microsoft.Azure.Management.WebSites.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Domain = class
    inherit Resource
Public Class Domain
Inherits Resource
Inheritance
Domain
Attributes

Constructors

Domain()

Initializes a new instance of the Domain class.

Domain(String, Contact, Contact, Contact, Contact, DomainPurchaseConsent, String, String, String, String, IDictionary<String,String>, Nullable<DomainStatus>, Nullable<ProvisioningState>, IList<String>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, IList<HostName>, IList<String>, Nullable<DnsType>, String, Nullable<DnsType>, String)

Initializes a new instance of the Domain class.

Properties

AuthCode
AutoRenew

Gets or sets &lt;code&gt;true&lt;/code&gt; if the domain should be automatically renewed; otherwise, &lt;code&gt;false&lt;/code&gt;.

Consent

Gets or sets legal agreement consent.

ContactAdmin

Gets or sets administrative contact.

ContactBilling

Gets or sets billing contact.

ContactRegistrant

Gets or sets registrant contact.

ContactTech

Gets or sets technical contact.

CreatedTime

Gets domain creation timestamp.

DnsType

Gets or sets current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'

DnsZoneId

Gets or sets azure DNS Zone to use

DomainNotRenewableReasons

Gets reasons why domain is not renewable.

ExpirationTime

Gets domain expiration timestamp.

Id

Gets resource Id.

(Inherited from Resource)
Kind

Gets or sets kind of resource.

(Inherited from Resource)
LastRenewedTime

Gets timestamp when the domain was renewed last time.

Location

Gets or sets resource Location.

(Inherited from Resource)
ManagedHostNames

Gets all hostnames derived from the domain and assigned to Azure resources.

Name

Gets resource Name.

(Inherited from Resource)
NameServers

Gets name servers.

Privacy

Gets or sets &lt;code&gt;true&lt;/code&gt; if domain privacy is enabled for this domain; otherwise, &lt;code&gt;false&lt;/code&gt;.

ProvisioningState

Gets domain provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'

ReadyForDnsRecordManagement

Gets &lt;code&gt;true&lt;/code&gt; if Azure can assign this domain to App Service apps; otherwise, &lt;code&gt;false&lt;/code&gt;. This value will be &lt;code&gt;true&lt;/code&gt; if domain registration status is active and it is hosted on name servers Azure has programmatic access to.

RegistrationStatus

Gets domain registration status. Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'

Tags

Gets or sets resource tags.

(Inherited from Resource)
TargetDnsType

Gets or sets target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'

Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to