Domain Constructors

Definition

Overloads

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.

Domain()

Initializes a new instance of the Domain class.

public Domain ();
Public Sub New ()

Applies to

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.

public Domain (string location, Microsoft.Azure.Management.WebSites.Models.Contact contactAdmin, Microsoft.Azure.Management.WebSites.Models.Contact contactBilling, Microsoft.Azure.Management.WebSites.Models.Contact contactRegistrant, Microsoft.Azure.Management.WebSites.Models.Contact contactTech, Microsoft.Azure.Management.WebSites.Models.DomainPurchaseConsent consent, string id = default, string name = default, string kind = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.WebSites.Models.DomainStatus? registrationStatus = default, Microsoft.Azure.Management.WebSites.Models.ProvisioningState? provisioningState = default, System.Collections.Generic.IList<string> nameServers = default, bool? privacy = default, DateTime? createdTime = default, DateTime? expirationTime = default, DateTime? lastRenewedTime = default, bool? autoRenew = default, bool? readyForDnsRecordManagement = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.HostName> managedHostNames = default, System.Collections.Generic.IList<string> domainNotRenewableReasons = default, Microsoft.Azure.Management.WebSites.Models.DnsType? dnsType = default, string dnsZoneId = default, Microsoft.Azure.Management.WebSites.Models.DnsType? targetDnsType = default, string authCode = default);
new Microsoft.Azure.Management.WebSites.Models.Domain : string * Microsoft.Azure.Management.WebSites.Models.Contact * Microsoft.Azure.Management.WebSites.Models.Contact * Microsoft.Azure.Management.WebSites.Models.Contact * Microsoft.Azure.Management.WebSites.Models.Contact * Microsoft.Azure.Management.WebSites.Models.DomainPurchaseConsent * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Microsoft.Azure.Management.WebSites.Models.DomainStatus> * Nullable<Microsoft.Azure.Management.WebSites.Models.ProvisioningState> * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.HostName> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.WebSites.Models.DnsType> * string * Nullable<Microsoft.Azure.Management.WebSites.Models.DnsType> * string -> Microsoft.Azure.Management.WebSites.Models.Domain
Public Sub New (location As String, contactAdmin As Contact, contactBilling As Contact, contactRegistrant As Contact, contactTech As Contact, consent As DomainPurchaseConsent, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional registrationStatus As Nullable(Of DomainStatus) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional nameServers As IList(Of String) = Nothing, Optional privacy As Nullable(Of Boolean) = Nothing, Optional createdTime As Nullable(Of DateTime) = Nothing, Optional expirationTime As Nullable(Of DateTime) = Nothing, Optional lastRenewedTime As Nullable(Of DateTime) = Nothing, Optional autoRenew As Nullable(Of Boolean) = Nothing, Optional readyForDnsRecordManagement As Nullable(Of Boolean) = Nothing, Optional managedHostNames As IList(Of HostName) = Nothing, Optional domainNotRenewableReasons As IList(Of String) = Nothing, Optional dnsType As Nullable(Of DnsType) = Nothing, Optional dnsZoneId As String = Nothing, Optional targetDnsType As Nullable(Of DnsType) = Nothing, Optional authCode As String = Nothing)

Parameters

location
String

Resource Location.

contactAdmin
Contact

Administrative contact.

contactBilling
Contact

Billing contact.

contactRegistrant
Contact

Registrant contact.

contactTech
Contact

Technical contact.

consent
DomainPurchaseConsent

Legal agreement consent.

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

registrationStatus
Nullable<DomainStatus>

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'

provisioningState
Nullable<ProvisioningState>

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

nameServers
IList<String>

Name servers.

privacy
Nullable<Boolean>

<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.

createdTime
Nullable<DateTime>

Domain creation timestamp.

expirationTime
Nullable<DateTime>

Domain expiration timestamp.

lastRenewedTime
Nullable<DateTime>

Timestamp when the domain was renewed last time.

autoRenew
Nullable<Boolean>

<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.

readyForDnsRecordManagement
Nullable<Boolean>

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

managedHostNames
IList<HostName>

All hostnames derived from the domain and assigned to Azure resources.

domainNotRenewableReasons
IList<String>

Reasons why domain is not renewable.

dnsType
Nullable<DnsType>

Current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'

dnsZoneId
String

Azure DNS Zone to use

targetDnsType
Nullable<DnsType>

Target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'

authCode
String

Applies to