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

Parameters

record
Type: net.openstack.Providers.Rackspace.Objects.DnsDnsRecord
The DNS record to update.
name
Type: SystemString
The DNS record name.
data (Optional)
Type: SystemString
The data to associate with the DNS record. If this value is , the existing value for the record is not changed.
timeToLive (Optional)
Type: SystemNullableTimeSpan
The time-to-live for the DNS record. If this value is , the existing value for the record is not changed.
comment (Optional)
Type: SystemString
An optional comment to associate with the DNS record. If this value is , the existing value for the record is not changed.
priority (Optional)
Type: SystemNullableInt32
The priority of the DNS record. This is only specified for Mx and Srv records. If this value is , the existing value for the record is not changed.
Exceptions
ExceptionCondition
ArgumentNullException If record is .

-or-

If name is .

ArgumentException If name is empty.

-or-

If data is empty.

-or-

If priority is specified and the type of record is notMx 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