PortInformation

class oci.key_management.models.PortInformation(**kwargs)

Bases: object

The details of the port.

Attributes

PORT_TYPE_CLIENTUTILITY A constant which can be used with the port_type property of a PortInformation.
PORT_TYPE_MANAGEMENTUTILITY A constant which can be used with the port_type property of a PortInformation.
port_number [Required] Gets the port_number of this PortInformation.
port_type [Required] Gets the port_type of this PortInformation.

Methods

__init__(**kwargs) Initializes a new PortInformation object with values from keyword arguments.
PORT_TYPE_CLIENTUTILITY = 'CLIENTUTILITY'

A constant which can be used with the port_type property of a PortInformation. This constant has a value of “CLIENTUTILITY”

PORT_TYPE_MANAGEMENTUTILITY = 'MANAGEMENTUTILITY'

A constant which can be used with the port_type property of a PortInformation. This constant has a value of “MANAGEMENTUTILITY”

__init__(**kwargs)

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

Parameters:
  • port_number (int) – The value to assign to the port_number property of this PortInformation.
  • port_type (str) – The value to assign to the port_type property of this PortInformation. Allowed values for this property are: “CLIENTUTILITY”, “MANAGEMENTUTILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
port_number

[Required] Gets the port_number of this PortInformation. The port number of the cavium server.

Returns:The port_number of this PortInformation.
Return type:int
port_type

[Required] Gets the port_type of this PortInformation. Port type associated for the port number.

Allowed values for this property are: “CLIENTUTILITY”, “MANAGEMENTUTILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The port_type of this PortInformation.
Return type:str