VmNetworkDetails

class oci.datacc.models.VmNetworkDetails(**kwargs)

Bases: object

Details of the client or backup networks in an VM cluster.

Attributes:

NETWORK_TYPE_BACKUP

A constant which can be used with the network_type property of a VmNetworkDetails.

NETWORK_TYPE_CLIENT

A constant which can be used with the network_type property of a VmNetworkDetails.

domain_name

[Required] Gets the domain_name of this VmNetworkDetails.

gateway

[Required] Gets the gateway of this VmNetworkDetails.

netmask

[Required] Gets the netmask of this VmNetworkDetails.

network_type

[Required] Gets the network_type of this VmNetworkDetails.

nodes

[Required] Gets the nodes of this VmNetworkDetails.

prefix

Gets the prefix of this VmNetworkDetails.

vlan_id

Gets the vlan_id of this VmNetworkDetails.

Methods:

__init__(**kwargs)

Initializes a new VmNetworkDetails object with values from keyword arguments.

NETWORK_TYPE_BACKUP = 'BACKUP'

A constant which can be used with the network_type property of a VmNetworkDetails. This constant has a value of “BACKUP”

NETWORK_TYPE_CLIENT = 'CLIENT'

A constant which can be used with the network_type property of a VmNetworkDetails. This constant has a value of “CLIENT”

__init__(**kwargs)

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

Parameters
  • vlan_id (str) – The value to assign to the vlan_id property of this VmNetworkDetails.

  • network_type (str) – The value to assign to the network_type property of this VmNetworkDetails. Allowed values for this property are: “CLIENT”, “BACKUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • netmask (str) – The value to assign to the netmask property of this VmNetworkDetails.

  • gateway (str) – The value to assign to the gateway property of this VmNetworkDetails.

  • domain_name (str) – The value to assign to the domain_name property of this VmNetworkDetails.

  • prefix (str) – The value to assign to the prefix property of this VmNetworkDetails.

  • nodes (list[oci.datacc.models.NodeDetails]) – The value to assign to the nodes property of this VmNetworkDetails.

property domain_name

[Required] Gets the domain_name of this VmNetworkDetails. The network domain name.

Returns

The domain_name of this VmNetworkDetails.

Return type

str

property gateway

[Required] Gets the gateway of this VmNetworkDetails. The network gateway.

Returns

The gateway of this VmNetworkDetails.

Return type

str

property netmask

[Required] Gets the netmask of this VmNetworkDetails. The network netmask.

Returns

The netmask of this VmNetworkDetails.

Return type

str

property network_type

[Required] Gets the network_type of this VmNetworkDetails. The network type.

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

Returns

The network_type of this VmNetworkDetails.

Return type

str

property nodes

[Required] Gets the nodes of this VmNetworkDetails. The list of node details.

Returns

The nodes of this VmNetworkDetails.

Return type

list[oci.datacc.models.NodeDetails]

property prefix

Gets the prefix of this VmNetworkDetails. The network domain name prefix.

Returns

The prefix of this VmNetworkDetails.

Return type

str

property vlan_id

Gets the vlan_id of this VmNetworkDetails. The network VLAN ID.

Returns

The vlan_id of this VmNetworkDetails.

Return type

str