DiscoveredExternalAsm

class oci.database_management.models.DiscoveredExternalAsm(**kwargs)

Bases: DiscoveredExternalDbSystemComponent

The details of an ASM discovered in an external DB system discovery run.

Attributes:

COMPONENT_TYPE_ASM

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_ASM_INSTANCE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_CLUSTER

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_CLUSTER_INSTANCE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_DATABASE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_DATABASE_HOME

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_DATABASE_INSTANCE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_DATABASE_NODE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_DBSYSTEM

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_LISTENER

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

COMPONENT_TYPE_PLUGGABLE_DATABASE

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent.

STATUS_EXISTING

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent.

STATUS_MARKED_FOR_DELETION

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent.

STATUS_NEW

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent.

STATUS_UNKNOWN

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent.

asm_instances

Gets the asm_instances of this DiscoveredExternalAsm.

associated_components

Gets the associated_components of this DiscoveredExternalDbSystemComponent.

component_id

[Required] Gets the component_id of this DiscoveredExternalDbSystemComponent.

component_name

[Required] Gets the component_name of this DiscoveredExternalDbSystemComponent.

component_type

[Required] Gets the component_type of this DiscoveredExternalDbSystemComponent.

connector

Gets the connector of this DiscoveredExternalAsm.

display_name

[Required] Gets the display_name of this DiscoveredExternalDbSystemComponent.

grid_home

Gets the grid_home of this DiscoveredExternalAsm.

is_flex_enabled

Gets the is_flex_enabled of this DiscoveredExternalAsm.

is_selected_for_monitoring

Gets the is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent.

resource_id

Gets the resource_id of this DiscoveredExternalDbSystemComponent.

status

Gets the status of this DiscoveredExternalDbSystemComponent.

version

Gets the version of this DiscoveredExternalAsm.

Methods:

__init__(**kwargs)

Initializes a new DiscoveredExternalAsm object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

COMPONENT_TYPE_ASM = 'ASM'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “ASM”

COMPONENT_TYPE_ASM_INSTANCE = 'ASM_INSTANCE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “ASM_INSTANCE”

COMPONENT_TYPE_CLUSTER = 'CLUSTER'

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

COMPONENT_TYPE_CLUSTER_INSTANCE = 'CLUSTER_INSTANCE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “CLUSTER_INSTANCE”

COMPONENT_TYPE_DATABASE = 'DATABASE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “DATABASE”

COMPONENT_TYPE_DATABASE_HOME = 'DATABASE_HOME'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “DATABASE_HOME”

COMPONENT_TYPE_DATABASE_INSTANCE = 'DATABASE_INSTANCE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “DATABASE_INSTANCE”

COMPONENT_TYPE_DATABASE_NODE = 'DATABASE_NODE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “DATABASE_NODE”

COMPONENT_TYPE_DBSYSTEM = 'DBSYSTEM'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “DBSYSTEM”

COMPONENT_TYPE_LISTENER = 'LISTENER'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “LISTENER”

COMPONENT_TYPE_PLUGGABLE_DATABASE = 'PLUGGABLE_DATABASE'

A constant which can be used with the component_type property of a DiscoveredExternalDbSystemComponent. This constant has a value of “PLUGGABLE_DATABASE”

STATUS_EXISTING = 'EXISTING'

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent. This constant has a value of “EXISTING”

STATUS_MARKED_FOR_DELETION = 'MARKED_FOR_DELETION'

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent. This constant has a value of “MARKED_FOR_DELETION”

STATUS_NEW = 'NEW'

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent. This constant has a value of “NEW”

STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the status property of a DiscoveredExternalDbSystemComponent. This constant has a value of “UNKNOWN”

__init__(**kwargs)

Initializes a new DiscoveredExternalAsm object with values from keyword arguments. The default value of the component_type attribute of this class is ASM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • component_id (str) – The value to assign to the component_id property of this DiscoveredExternalAsm.

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

  • component_name (str) – The value to assign to the component_name property of this DiscoveredExternalAsm.

  • component_type (str) – The value to assign to the component_type property of this DiscoveredExternalAsm. Allowed values for this property are: “ASM”, “ASM_INSTANCE”, “CLUSTER”, “CLUSTER_INSTANCE”, “DATABASE”, “DATABASE_INSTANCE”, “DATABASE_HOME”, “DATABASE_NODE”, “DBSYSTEM”, “LISTENER”, “PLUGGABLE_DATABASE”

  • resource_id (str) – The value to assign to the resource_id property of this DiscoveredExternalAsm.

  • is_selected_for_monitoring (bool) – The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalAsm.

  • status (str) – The value to assign to the status property of this DiscoveredExternalAsm. Allowed values for this property are: “NEW”, “EXISTING”, “MARKED_FOR_DELETION”, “UNKNOWN”

  • associated_components (list[oci.database_management.models.AssociatedComponent]) – The value to assign to the associated_components property of this DiscoveredExternalAsm.

  • grid_home (str) – The value to assign to the grid_home property of this DiscoveredExternalAsm.

  • is_flex_enabled (bool) – The value to assign to the is_flex_enabled property of this DiscoveredExternalAsm.

  • version (str) – The value to assign to the version property of this DiscoveredExternalAsm.

  • asm_instances (list[oci.database_management.models.DiscoveredExternalAsmInstance]) – The value to assign to the asm_instances property of this DiscoveredExternalAsm.

  • connector (oci.database_management.models.ExternalDbSystemDiscoveryConnector) – The value to assign to the connector property of this DiscoveredExternalAsm.

property asm_instances

Gets the asm_instances of this DiscoveredExternalAsm.

Returns

The asm_instances of this DiscoveredExternalAsm.

Return type

list[oci.database_management.models.DiscoveredExternalAsmInstance]

property associated_components

Gets the associated_components of this DiscoveredExternalDbSystemComponent. The list of associated components.

Returns

The associated_components of this DiscoveredExternalDbSystemComponent.

Return type

list[oci.database_management.models.AssociatedComponent]

property component_id

[Required] Gets the component_id of this DiscoveredExternalDbSystemComponent. The identifier of the discovered DB system component.

Returns

The component_id of this DiscoveredExternalDbSystemComponent.

Return type

str

property component_name

[Required] Gets the component_name of this DiscoveredExternalDbSystemComponent. The name of the discovered DB system component.

Returns

The component_name of this DiscoveredExternalDbSystemComponent.

Return type

str

property component_type

[Required] Gets the component_type of this DiscoveredExternalDbSystemComponent. The external DB system component type.

Allowed values for this property are: “ASM”, “ASM_INSTANCE”, “CLUSTER”, “CLUSTER_INSTANCE”, “DATABASE”, “DATABASE_INSTANCE”, “DATABASE_HOME”, “DATABASE_NODE”, “DBSYSTEM”, “LISTENER”, “PLUGGABLE_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The component_type of this DiscoveredExternalDbSystemComponent.

Return type

str

property connector

Gets the connector of this DiscoveredExternalAsm.

Returns

The connector of this DiscoveredExternalAsm.

Return type

oci.database_management.models.ExternalDbSystemDiscoveryConnector

property display_name

[Required] Gets the display_name of this DiscoveredExternalDbSystemComponent. The user-friendly name for the discovered DB system component. The name does not have to be unique.

Returns

The display_name of this DiscoveredExternalDbSystemComponent.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property grid_home

Gets the grid_home of this DiscoveredExternalAsm. The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.

Returns

The grid_home of this DiscoveredExternalAsm.

Return type

str

property is_flex_enabled

Gets the is_flex_enabled of this DiscoveredExternalAsm. Indicates whether Oracle Flex ASM is enabled or not.

Returns

The is_flex_enabled of this DiscoveredExternalAsm.

Return type

bool

property is_selected_for_monitoring

Gets the is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent. Indicates whether the DB system component should be provisioned as an OCI resource or not.

Returns

The is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent.

Return type

bool

property resource_id

Gets the resource_id of this DiscoveredExternalDbSystemComponent. The OCID of the existing OCI resource matching the discovered DB system component.

Returns

The resource_id of this DiscoveredExternalDbSystemComponent.

Return type

str

property status

Gets the status of this DiscoveredExternalDbSystemComponent. The state of the discovered DB system component.

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

Returns

The status of this DiscoveredExternalDbSystemComponent.

Return type

str

property version

Gets the version of this DiscoveredExternalAsm. The ASM version.

Returns

The version of this DiscoveredExternalAsm.

Return type

str