Endpoint

class oci.file_storage.models.Endpoint(**kwargs)

Bases: object

Combination of DNS server name and port.

Methods

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

Attributes

hostname [Required] Gets the hostname of this Endpoint.
port [Required] Gets the port of this Endpoint.
__init__(**kwargs)

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

Parameters:
  • hostname (str) – The value to assign to the hostname property of this Endpoint.
  • port (int) – The value to assign to the port property of this Endpoint.
hostname

[Required] Gets the hostname of this Endpoint. Name of the DNS server.

Returns:The hostname of this Endpoint.
Return type:str
port

[Required] Gets the port of this Endpoint. Port of the DNS server.

Returns:The port of this Endpoint.
Return type:int