Click or drag to resize
DnsDomainConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the DnsDomainConfiguration class with the specified values.

Namespace: net.openstack.Providers.Rackspace.Objects.Dns
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public DnsDomainConfiguration(
	string name,
	Nullable<TimeSpan> timeToLive,
	string emailAddress,
	string comment,
	IEnumerable<DnsDomainRecordConfiguration> records,
	IEnumerable<DnsSubdomainConfiguration> subdomains
)

Parameters

name
Type: SystemString
The fully-qualified domain name.
timeToLive
Type: SystemNullableTimeSpan
The time-to-live for the domain.
emailAddress
Type: SystemString
The email address associated with the domain.
comment
Type: SystemString
An optional comment associated with the domain.
records
Type: System.Collections.GenericIEnumerableDnsDomainRecordConfiguration
A collection of DnsDomainRecordConfiguration objects describing the initial DNS records to associate with the domain.
subdomains
Type: System.Collections.GenericIEnumerableDnsSubdomainConfiguration
A collection of DnsSubdomainConfiguration objects containing the initial subdomains to create with the domain.
Exceptions
ExceptionCondition
ArgumentNullException If name is .

-or-

If emailAddress is .

-or-

If records is .

-or-

If subdomains is .

ArgumentException If name is empty.

-or-

If records contains any values.

-or-

If subdomains contains any values.

ArgumentOutOfRangeExceptionIf timeToLive is negative or Zero.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also