InfoForNetworkGenDetails

class oci.database.models.InfoForNetworkGenDetails(**kwargs)

Bases: object

Parameters for generation of the client or backup network in a VM cluster network.

NETWORK_TYPE_BACKUP = 'BACKUP'

A constant which can be used with the network_type property of a InfoForNetworkGenDetails. This constant has a value of "BACKUP"

NETWORK_TYPE_CLIENT = 'CLIENT'

A constant which can be used with the network_type property of a InfoForNetworkGenDetails. This constant has a value of "CLIENT"

__init__(**kwargs)

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

Parameters:
  • network_type (str) -- The value to assign to the network_type property of this InfoForNetworkGenDetails. Allowed values for this property are: "CLIENT", "BACKUP"
  • vlan_id (str) -- The value to assign to the vlan_id property of this InfoForNetworkGenDetails.
  • cidr (str) -- The value to assign to the cidr property of this InfoForNetworkGenDetails.
  • gateway (str) -- The value to assign to the gateway property of this InfoForNetworkGenDetails.
  • netmask (str) -- The value to assign to the netmask property of this InfoForNetworkGenDetails.
  • domain (str) -- The value to assign to the domain property of this InfoForNetworkGenDetails.
  • prefix (str) -- The value to assign to the prefix property of this InfoForNetworkGenDetails.
cidr

[Required] Gets the cidr of this InfoForNetworkGenDetails. The cidr for the network.

Returns:The cidr of this InfoForNetworkGenDetails.
Return type:str
domain

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

Returns:The domain of this InfoForNetworkGenDetails.
Return type:str
gateway

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

Returns:The gateway of this InfoForNetworkGenDetails.
Return type:str
netmask

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

Returns:The netmask of this InfoForNetworkGenDetails.
Return type:str
network_type

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

Allowed values for this property are: "CLIENT", "BACKUP"

Returns:The network_type of this InfoForNetworkGenDetails.
Return type:str
prefix

[Required] Gets the prefix of this InfoForNetworkGenDetails. The network domain name.

Returns:The prefix of this InfoForNetworkGenDetails.
Return type:str
vlan_id

[Required] Gets the vlan_id of this InfoForNetworkGenDetails. The network VLAN ID.

Returns:The vlan_id of this InfoForNetworkGenDetails.
Return type:str