MigrationReplacement¶
- class oci.dns.models.MigrationReplacement(**kwargs)¶
Bases:
objectA 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:
[Required] Gets the rdata of this MigrationReplacement.
[Required] Gets the rtype of this MigrationReplacement.
Gets the substitute_rtype of this MigrationReplacement.
[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.
- property 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
- property rtype¶
[Required] Gets the rtype of this MigrationReplacement. The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs.
- Returns
The rtype of this MigrationReplacement.
- Return type
str
- property 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
- property 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