ZoneTransferServer¶
- class oci.dns.models.ZoneTransferServer(**kwargs)¶
Bases:
objectAn OCI nameserver that transfers zone data with external nameservers.
Methods:
__init__(**kwargs)Initializes a new ZoneTransferServer object with values from keyword arguments.
Attributes:
[Required] Gets the address of this ZoneTransferServer.
Gets the is_transfer_destination of this ZoneTransferServer.
Gets the is_transfer_source of this ZoneTransferServer.
Gets the port of this ZoneTransferServer.
- __init__(**kwargs)¶
Initializes a new ZoneTransferServer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
address (str) – The value to assign to the address property of this ZoneTransferServer.
port (int) – The value to assign to the port property of this ZoneTransferServer.
is_transfer_source (bool) – The value to assign to the is_transfer_source property of this ZoneTransferServer.
is_transfer_destination (bool) – The value to assign to the is_transfer_destination property of this ZoneTransferServer.
- property address¶
[Required] Gets the address of this ZoneTransferServer. The server’s IP address (IPv4 or IPv6).
- Returns
The address of this ZoneTransferServer.
- Return type
str
- property is_transfer_destination¶
Gets the is_transfer_destination of this ZoneTransferServer. A Boolean flag indicating whether or not the server is a zone data transfer destination.
- Returns
The is_transfer_destination of this ZoneTransferServer.
- Return type
bool
- property is_transfer_source¶
Gets the is_transfer_source of this ZoneTransferServer. A Boolean flag indicating whether or not the server is a zone data transfer source.
- Returns
The is_transfer_source of this ZoneTransferServer.
- Return type
bool
- property port¶
Gets the port of this ZoneTransferServer. The server’s port.
- Returns
The port of this ZoneTransferServer.
- Return type
int