ApplicationVip

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

Bases: object

Details of an application virtual IP (VIP) address.

Attributes:

LIFECYCLE_STATE_AVAILABLE

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_PROVISIONING

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

LIFECYCLE_STATE_TERMINATED

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

LIFECYCLE_STATE_TERMINATING

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

cloud_vm_cluster_id

[Required] Gets the cloud_vm_cluster_id of this ApplicationVip.

compartment_id

Gets the compartment_id of this ApplicationVip.

defined_tags

Gets the defined_tags of this ApplicationVip.

freeform_tags

Gets the freeform_tags of this ApplicationVip.

hostname_label

[Required] Gets the hostname_label of this ApplicationVip.

id

[Required] Gets the id of this ApplicationVip.

ip_address

Gets the ip_address of this ApplicationVip.

ipv6_address

Gets the ipv6_address of this ApplicationVip.

lifecycle_details

Gets the lifecycle_details of this ApplicationVip.

lifecycle_state

[Required] Gets the lifecycle_state of this ApplicationVip.

subnet_id

Gets the subnet_id of this ApplicationVip.

time_assigned

[Required] Gets the time_assigned of this ApplicationVip.

Methods:

__init__(**kwargs)

Initializes a new ApplicationVip object with values from keyword arguments.

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

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

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

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

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

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

__init__(**kwargs)

Initializes a new ApplicationVip 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 ApplicationVip.

  • cloud_vm_cluster_id (str) – The value to assign to the cloud_vm_cluster_id property of this ApplicationVip.

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

  • subnet_id (str) – The value to assign to the subnet_id property of this ApplicationVip.

  • ip_address (str) – The value to assign to the ip_address property of this ApplicationVip.

  • ipv6_address (str) – The value to assign to the ipv6_address property of this ApplicationVip.

  • hostname_label (str) – The value to assign to the hostname_label property of this ApplicationVip.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ApplicationVip. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

  • time_assigned (datetime) – The value to assign to the time_assigned property of this ApplicationVip.

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

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

property cloud_vm_cluster_id

[Required] Gets the cloud_vm_cluster_id of this ApplicationVip. The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.

Returns

The cloud_vm_cluster_id of this ApplicationVip.

Return type

str

property compartment_id

Gets the compartment_id of this ApplicationVip. The OCID of the compartment.

Returns

The compartment_id of this ApplicationVip.

Return type

str

property defined_tags

Gets the defined_tags of this ApplicationVip. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The defined_tags of this ApplicationVip.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this ApplicationVip. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns

The freeform_tags of this ApplicationVip.

Return type

dict(str, str)

property hostname_label

[Required] Gets the hostname_label of this ApplicationVip. The hostname of the application virtual IP (VIP) address.

Returns

The hostname_label of this ApplicationVip.

Return type

str

property id

[Required] Gets the id of this ApplicationVip. The OCID of the application virtual IP (VIP) address.

Returns

The id of this ApplicationVip.

Return type

str

property ip_address

Gets the ip_address of this ApplicationVip. The application virtual IP (VIP) IPv4 address.

Returns

The ip_address of this ApplicationVip.

Return type

str

property ipv6_address

Gets the ipv6_address of this ApplicationVip. The application virtual IP (VIP) IPv6 address.

Returns

The ipv6_address of this ApplicationVip.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this ApplicationVip. Additional information about the current lifecycle state of the application virtual IP (VIP) address.

Returns

The lifecycle_details of this ApplicationVip.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this ApplicationVip. The current lifecycle state of the application virtual IP (VIP) address.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this ApplicationVip.

Return type

str

property subnet_id

Gets the subnet_id of this ApplicationVip. The OCID of the subnet associated with the application virtual IP (VIP) address.

Returns

The subnet_id of this ApplicationVip.

Return type

str

property time_assigned

[Required] Gets the time_assigned of this ApplicationVip. The date and time when the create operation for the application virtual IP (VIP) address completed.

Returns

The time_assigned of this ApplicationVip.

Return type

datetime