VmClusterNetwork

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

Bases: object

Details of the VM cluster network on Database Infrastructure.

Attributes:

CONSUMER_TYPE_CLUSTER

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

CONSUMER_TYPE_INSTANCE

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

LIFECYCLE_STATE_ALLOCATED

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_REQUIRES_VALIDATION

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_VALIDATED

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_VALIDATING

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

LIFECYCLE_STATE_VALIDATION_FAILED

A constant which can be used with the lifecycle_state property of a VmClusterNetwork.

associated_resource_id

Gets the associated_resource_id of this VmClusterNetwork.

base_vm_cluster_id

Gets the base_vm_cluster_id of this VmClusterNetwork.

compartment_id

[Required] Gets the compartment_id of this VmClusterNetwork.

consumer_type

Gets the consumer_type of this VmClusterNetwork.

defined_tags

Gets the defined_tags of this VmClusterNetwork.

display_name

[Required] Gets the display_name of this VmClusterNetwork.

dns_servers

Gets the dns_servers of this VmClusterNetwork.

freeform_tags

Gets the freeform_tags of this VmClusterNetwork.

id

[Required] Gets the id of this VmClusterNetwork.

infrastructure_id

[Required] Gets the infrastructure_id of this VmClusterNetwork.

is_scan_enabled

Gets the is_scan_enabled of this VmClusterNetwork.

lifecycle_details

Gets the lifecycle_details of this VmClusterNetwork.

lifecycle_state

Gets the lifecycle_state of this VmClusterNetwork.

listener_port

Gets the listener_port of this VmClusterNetwork.

listener_port_ssl

Gets the listener_port_ssl of this VmClusterNetwork.

node_count

Gets the node_count of this VmClusterNetwork.

ntp_servers

Gets the ntp_servers of this VmClusterNetwork.

scans

[Required] Gets the scans of this VmClusterNetwork.

system_tags

Gets the system_tags of this VmClusterNetwork.

time_created

Gets the time_created of this VmClusterNetwork.

time_updated

Gets the time_updated of this VmClusterNetwork.

vm_networks

[Required] Gets the vm_networks of this VmClusterNetwork.

Methods:

__init__(**kwargs)

Initializes a new VmClusterNetwork object with values from keyword arguments.

CONSUMER_TYPE_CLUSTER = 'CLUSTER'

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

CONSUMER_TYPE_INSTANCE = 'INSTANCE'

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

LIFECYCLE_STATE_ALLOCATED = 'ALLOCATED'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “ALLOCATED”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “DELETING”

LIFECYCLE_STATE_REQUIRES_VALIDATION = 'REQUIRES_VALIDATION'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “REQUIRES_VALIDATION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “UPDATING”

LIFECYCLE_STATE_VALIDATED = 'VALIDATED'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “VALIDATED”

LIFECYCLE_STATE_VALIDATING = 'VALIDATING'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “VALIDATING”

LIFECYCLE_STATE_VALIDATION_FAILED = 'VALIDATION_FAILED'

A constant which can be used with the lifecycle_state property of a VmClusterNetwork. This constant has a value of “VALIDATION_FAILED”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this VmClusterNetwork.

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

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

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

  • base_vm_cluster_id (str) – The value to assign to the base_vm_cluster_id property of this VmClusterNetwork.

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

  • is_scan_enabled (bool) – The value to assign to the is_scan_enabled property of this VmClusterNetwork.

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

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

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

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this VmClusterNetwork. Allowed values for this property are: “CREATING”, “REQUIRES_VALIDATION”, “VALIDATING”, “VALIDATED”, “VALIDATION_FAILED”, “UPDATING”, “ALLOCATED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this VmClusterNetwork.

  • time_updated (datetime) – The value to assign to the time_updated property of this VmClusterNetwork.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this VmClusterNetwork.

  • associated_resource_id (str) – The value to assign to the associated_resource_id property of this VmClusterNetwork.

  • consumer_type (str) – The value to assign to the consumer_type property of this VmClusterNetwork. 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 VmClusterNetwork.

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

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

property associated_resource_id

Gets the associated_resource_id of this VmClusterNetwork. The OCID of the associated resource.

Returns

The associated_resource_id of this VmClusterNetwork.

Return type

str

property base_vm_cluster_id

Gets the base_vm_cluster_id of this VmClusterNetwork. The OCID of the associated VM cluster.

Returns

The base_vm_cluster_id of this VmClusterNetwork.

Return type

str

property compartment_id

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

Returns

The compartment_id of this VmClusterNetwork.

Return type

str

property consumer_type

Gets the consumer_type of this VmClusterNetwork. 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 VmClusterNetwork.

Return type

str

property defined_tags

Gets the defined_tags of this VmClusterNetwork. 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 VmClusterNetwork.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this VmClusterNetwork.

Return type

str

property dns_servers

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

Returns

The dns_servers of this VmClusterNetwork.

Return type

list[str]

property freeform_tags

Gets the freeform_tags of this VmClusterNetwork. 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 VmClusterNetwork.

Return type

dict(str, str)

property id

[Required] Gets the id of this VmClusterNetwork. The OCID of the VM cluster network.

Returns

The id of this VmClusterNetwork.

Return type

str

property infrastructure_id

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

Returns

The infrastructure_id of this VmClusterNetwork.

Return type

str

property is_scan_enabled

Gets the is_scan_enabled of this VmClusterNetwork. Indicates whether Single Client Access Name (SCAN) is enabled on the VM cluster.

Returns

The is_scan_enabled of this VmClusterNetwork.

Return type

bool

property lifecycle_details

Gets the lifecycle_details of this VmClusterNetwork. Lifecycle state details of the VM cluster network.

Returns

The lifecycle_details of this VmClusterNetwork.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this VmClusterNetwork. The current state of the virtual machine cluster network.

Allowed values for this property are: “CREATING”, “REQUIRES_VALIDATION”, “VALIDATING”, “VALIDATED”, “VALIDATION_FAILED”, “UPDATING”, “ALLOCATED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this VmClusterNetwork.

Return type

str

property listener_port

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

Returns

The listener_port of this VmClusterNetwork.

Return type

int

property listener_port_ssl

Gets the listener_port_ssl of this VmClusterNetwork. The listener TCP/IP SSL port.

Returns

The listener_port_ssl of this VmClusterNetwork.

Return type

int

property node_count

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

Returns

The node_count of this VmClusterNetwork.

Return type

int

property ntp_servers

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

Returns

The ntp_servers of this VmClusterNetwork.

Return type

list[str]

property scans

[Required] Gets the scans of this VmClusterNetwork. The SCAN details.

Returns

The scans of this VmClusterNetwork.

Return type

list[oci.datacc.models.ScanDetails]

property system_tags

Gets the system_tags of this VmClusterNetwork. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

Returns

The system_tags of this VmClusterNetwork.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this VmClusterNetwork. The time that the VM cluster network was created. An RFC3339 formatted datetime string.

Returns

The time_created of this VmClusterNetwork.

Return type

datetime

property time_updated

Gets the time_updated of this VmClusterNetwork. The time that the VM cluster network was last updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this VmClusterNetwork.

Return type

datetime

property vm_networks

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

Returns

The vm_networks of this VmClusterNetwork.

Return type

list[oci.datacc.models.VmNetworkDetails]