ResourceInfo

class oci.dblm.models.ResourceInfo(**kwargs)

Bases: object

The Resource Info.

Methods:

__init__(**kwargs)

Initializes a new ResourceInfo object with values from keyword arguments.

Attributes:

agent_id

Gets the agent_id of this ResourceInfo.

connector_id

[Required] Gets the connector_id of this ResourceInfo.

db_platform_type

[Required] Gets the db_platform_type of this ResourceInfo.

db_version

[Required] Gets the db_version of this ResourceInfo.

deployment_type

[Required] Gets the deployment_type of this ResourceInfo.

host_info

[Required] Gets the host_info of this ResourceInfo.

is_cluster_db

Gets the is_cluster_db of this ResourceInfo.

license_type

[Required] Gets the license_type of this ResourceInfo.

resource_compartment_id

[Required] Gets the resource_compartment_id of this ResourceInfo.

resource_id

[Required] Gets the resource_id of this ResourceInfo.

resource_name

[Required] Gets the resource_name of this ResourceInfo.

resource_type

[Required] Gets the resource_type of this ResourceInfo.

__init__(**kwargs)

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

Parameters
  • resource_compartment_id (str) – The value to assign to the resource_compartment_id property of this ResourceInfo.

  • resource_name (str) – The value to assign to the resource_name property of this ResourceInfo.

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

  • resource_type (str) – The value to assign to the resource_type property of this ResourceInfo.

  • deployment_type (str) – The value to assign to the deployment_type property of this ResourceInfo.

  • connector_id (str) – The value to assign to the connector_id property of this ResourceInfo.

  • is_cluster_db (bool) – The value to assign to the is_cluster_db property of this ResourceInfo.

  • host_info (list[oci.dblm.models.HostInfo]) – The value to assign to the host_info property of this ResourceInfo.

  • db_version (str) – The value to assign to the db_version property of this ResourceInfo.

  • db_platform_type (str) – The value to assign to the db_platform_type property of this ResourceInfo.

  • license_type (str) – The value to assign to the license_type property of this ResourceInfo.

  • agent_id (str) – The value to assign to the agent_id property of this ResourceInfo.

property agent_id

Gets the agent_id of this ResourceInfo. The agent Id of the agent managing the resource.

Returns

The agent_id of this ResourceInfo.

Return type

str

property connector_id

[Required] Gets the connector_id of this ResourceInfo. The connector Id of the resource.

Returns

The connector_id of this ResourceInfo.

Return type

str

property db_platform_type

[Required] Gets the db_platform_type of this ResourceInfo. The platform type of the resource.

Returns

The db_platform_type of this ResourceInfo.

Return type

str

property db_version

[Required] Gets the db_version of this ResourceInfo. The version of the resource.

Returns

The db_version of this ResourceInfo.

Return type

str

property deployment_type

[Required] Gets the deployment_type of this ResourceInfo. The deployment type of the resource.

Returns

The deployment_type of this ResourceInfo.

Return type

str

property host_info

[Required] Gets the host_info of this ResourceInfo. host info objects

Returns

The host_info of this ResourceInfo.

Return type

list[oci.dblm.models.HostInfo]

property is_cluster_db

Gets the is_cluster_db of this ResourceInfo. True if it is a cluster db.

Returns

The is_cluster_db of this ResourceInfo.

Return type

bool

property license_type

[Required] Gets the license_type of this ResourceInfo. The License Type of the resource.

Returns

The license_type of this ResourceInfo.

Return type

str

property resource_compartment_id

[Required] Gets the resource_compartment_id of this ResourceInfo. The compartmentId of the resource.

Returns

The resource_compartment_id of this ResourceInfo.

Return type

str

property resource_id

[Required] Gets the resource_id of this ResourceInfo. The Id of the resource.

Returns

The resource_id of this ResourceInfo.

Return type

str

property resource_name

[Required] Gets the resource_name of this ResourceInfo. The name of the resource.

Returns

The resource_name of this ResourceInfo.

Return type

str

property resource_type

[Required] Gets the resource_type of this ResourceInfo. The type of the resource.

Returns

The resource_type of this ResourceInfo.

Return type

str