CreateVmClusterNetworkDetails

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

Bases: object

Details for an VM cluster network.

Attributes:

CONSUMER_TYPE_CLUSTER

A constant which can be used with the consumer_type property of a CreateVmClusterNetworkDetails.

CONSUMER_TYPE_INSTANCE

A constant which can be used with the consumer_type property of a CreateVmClusterNetworkDetails.

compartment_id

[Required] Gets the compartment_id of this CreateVmClusterNetworkDetails.

consumer_type

Gets the consumer_type of this CreateVmClusterNetworkDetails.

defined_tags

Gets the defined_tags of this CreateVmClusterNetworkDetails.

display_name

[Required] Gets the display_name of this CreateVmClusterNetworkDetails.

dns_servers

Gets the dns_servers of this CreateVmClusterNetworkDetails.

freeform_tags

Gets the freeform_tags of this CreateVmClusterNetworkDetails.

infrastructure_id

[Required] Gets the infrastructure_id of this CreateVmClusterNetworkDetails.

listener_port

Gets the listener_port of this CreateVmClusterNetworkDetails.

listener_port_ssl

Gets the listener_port_ssl of this CreateVmClusterNetworkDetails.

node_count

Gets the node_count of this CreateVmClusterNetworkDetails.

ntp_servers

Gets the ntp_servers of this CreateVmClusterNetworkDetails.

scans

Gets the scans of this CreateVmClusterNetworkDetails.

vm_networks

[Required] Gets the vm_networks of this CreateVmClusterNetworkDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateVmClusterNetworkDetails object with values from keyword arguments.

CONSUMER_TYPE_CLUSTER = 'CLUSTER'

A constant which can be used with the consumer_type property of a CreateVmClusterNetworkDetails. This constant has a value of “CLUSTER”

CONSUMER_TYPE_INSTANCE = 'INSTANCE'

A constant which can be used with the consumer_type property of a CreateVmClusterNetworkDetails. This constant has a value of “INSTANCE”

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateVmClusterNetworkDetails.

  • infrastructure_id (str) – The value to assign to the infrastructure_id property of this CreateVmClusterNetworkDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateVmClusterNetworkDetails.

  • node_count (int) – The value to assign to the node_count property of this CreateVmClusterNetworkDetails.

  • scans (list[oci.datacc.models.ScanDetails]) – The value to assign to the scans property of this CreateVmClusterNetworkDetails.

  • listener_port (int) – The value to assign to the listener_port property of this CreateVmClusterNetworkDetails.

  • listener_port_ssl (int) – The value to assign to the listener_port_ssl property of this CreateVmClusterNetworkDetails.

  • dns_servers (list[str]) – The value to assign to the dns_servers property of this CreateVmClusterNetworkDetails.

  • ntp_servers (list[str]) – The value to assign to the ntp_servers property of this CreateVmClusterNetworkDetails.

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

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

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVmClusterNetworkDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVmClusterNetworkDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateVmClusterNetworkDetails. The OCID of the compartment containing the VM cluster network.

Returns

The compartment_id of this CreateVmClusterNetworkDetails.

Return type

str

property consumer_type

Gets the consumer_type of this CreateVmClusterNetworkDetails. Consumer type for the VM cluster network.

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

Returns

The consumer_type of this CreateVmClusterNetworkDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateVmClusterNetworkDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateVmClusterNetworkDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateVmClusterNetworkDetails. The user-friendly name for the VM cluster network. The name does not need to be unique.

Returns

The display_name of this CreateVmClusterNetworkDetails.

Return type

str

property dns_servers

Gets the dns_servers of this CreateVmClusterNetworkDetails. The list of DNS server IP addresses. Maximum of 3 allowed.

Returns

The dns_servers of this CreateVmClusterNetworkDetails.

Return type

list[str]

property freeform_tags

Gets the freeform_tags of this CreateVmClusterNetworkDetails. Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateVmClusterNetworkDetails.

Return type

dict(str, str)

property infrastructure_id

[Required] Gets the infrastructure_id of this CreateVmClusterNetworkDetails. The OCID of the Database Infrastructure.

Returns

The infrastructure_id of this CreateVmClusterNetworkDetails.

Return type

str

property listener_port

Gets the listener_port of this CreateVmClusterNetworkDetails. The listener TCP/IP port.

Returns

The listener_port of this CreateVmClusterNetworkDetails.

Return type

int

property listener_port_ssl

Gets the listener_port_ssl of this CreateVmClusterNetworkDetails. The listener TCP/IP SSL port. Default is 2484.

Returns

The listener_port_ssl of this CreateVmClusterNetworkDetails.

Return type

int

property node_count

Gets the node_count of this CreateVmClusterNetworkDetails. Count of virtual machines in this VM cluster.

Returns

The node_count of this CreateVmClusterNetworkDetails.

Return type

int

property ntp_servers

Gets the ntp_servers of this CreateVmClusterNetworkDetails. The list of NTP server IP addresses. Maximum of 3 allowed.

Returns

The ntp_servers of this CreateVmClusterNetworkDetails.

Return type

list[str]

property scans

Gets the scans of this CreateVmClusterNetworkDetails. The SCAN details.

Returns

The scans of this CreateVmClusterNetworkDetails.

Return type

list[oci.datacc.models.ScanDetails]

property vm_networks

[Required] Gets the vm_networks of this CreateVmClusterNetworkDetails. Details of the client and backup networks.

Returns

The vm_networks of this CreateVmClusterNetworkDetails.

Return type

list[oci.datacc.models.VmNetworkDetails]