Click or drag to resize
DnsDomainRecordConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the DnsDomainRecordConfiguration 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 DnsDomainRecordConfiguration(
	DnsRecordType type,
	string name,
	string data,
	Nullable<TimeSpan> timeToLive,
	string comment,
	Nullable<int> priority
)

Parameters

type
Type: net.openstack.Providers.Rackspace.Objects.DnsDnsRecordType
The DNS record type.
name
Type: SystemString
The DNS record name.
data
Type: SystemString
The data to associate with the DNS record.
timeToLive
Type: SystemNullableTimeSpan
The time-to-live for the DNS record. If not specified, a provider-specific default value will be used.
comment
Type: SystemString
An optional comment to associate with the DNS record.
priority
Type: SystemNullableInt32
The priority of the DNS record. This is only specified for Mx and Srv records.
Exceptions
ExceptionCondition
ArgumentNullException If type is .

-or-

If name is .

-or-

If data is .

ArgumentException If name is empty.

-or-

If data is empty.

-or-

If priority is specified and type is notMx or Srv.

-or-

If priority is not specified and type is Mx or Srv.

ArgumentOutOfRangeException If timeToLive is negative.

-or-

If priority is less than 0.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

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