MigrationReplacement

class oci.dns.models.MigrationReplacement(**kwargs)

Bases: object

A record to add to a zone in replacement of contents that cannot be migrated.

Methods

__init__(**kwargs) Initializes a new MigrationReplacement object with values from keyword arguments.

Attributes

rdata [Required] Gets the rdata of this MigrationReplacement.
rtype [Required] Gets the rtype of this MigrationReplacement.
substitute_rtype Gets the substitute_rtype of this MigrationReplacement.
ttl [Required] Gets the ttl of this MigrationReplacement.
__init__(**kwargs)

Initializes a new MigrationReplacement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • rtype (str) – The value to assign to the rtype property of this MigrationReplacement.
  • substitute_rtype (str) – The value to assign to the substitute_rtype property of this MigrationReplacement.
  • ttl (int) – The value to assign to the ttl property of this MigrationReplacement.
  • rdata (str) – The value to assign to the rdata property of this MigrationReplacement.
rdata

[Required] Gets the rdata of this MigrationReplacement. The record data of the replacement record, as whitespace-delimited tokens in type-specific presentation format.

Returns:The rdata of this MigrationReplacement.
Return type:str
rtype

[Required] Gets the rtype of this MigrationReplacement. The canonical name for the type of the replacement record, such as A or CNAME.

Returns:The rtype of this MigrationReplacement.
Return type:str
substitute_rtype

Gets the substitute_rtype of this MigrationReplacement. The canonical name for a substitute type of the replacement record to be used if the specified rtype is not allowed at the domain. The specified ttl and rdata will still apply with the substitute type.

Returns:The substitute_rtype of this MigrationReplacement.
Return type:str
ttl

[Required] Gets the ttl of this MigrationReplacement. The Time To Live of the replacement record, in seconds.

Returns:The ttl of this MigrationReplacement.
Return type:int