ResourceInventory

class oci.wlms.models.ResourceInventory(**kwargs)

Bases: object

The inventory of WebLogic domains and managed instances in the selected compartment.

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.

Methods

__init__(**kwargs) Initializes a new ResourceInventory object with values from keyword arguments.

Attributes

managed_instance_count [Required] Gets the managed_instance_count of this ResourceInventory.
managed_instance_with_patch_readiness_error_count Gets the managed_instance_with_patch_readiness_error_count of this ResourceInventory.
managed_instance_with_patch_readiness_warning_count Gets the managed_instance_with_patch_readiness_warning_count of this ResourceInventory.
wls_domain_count [Required] Gets the wls_domain_count of this ResourceInventory.
wls_domain_not_in_latest_patch_count Gets the wls_domain_not_in_latest_patch_count of this ResourceInventory.
wls_domain_with_patch_readiness_error_count Gets the wls_domain_with_patch_readiness_error_count of this ResourceInventory.
wls_domain_with_patch_readiness_warning_count Gets the wls_domain_with_patch_readiness_warning_count of this ResourceInventory.
__init__(**kwargs)

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

Parameters:
  • wls_domain_count (int) – The value to assign to the wls_domain_count property of this ResourceInventory.
  • wls_domain_not_in_latest_patch_count (int) – The value to assign to the wls_domain_not_in_latest_patch_count property of this ResourceInventory.
  • wls_domain_with_patch_readiness_warning_count (int) – The value to assign to the wls_domain_with_patch_readiness_warning_count property of this ResourceInventory.
  • wls_domain_with_patch_readiness_error_count (int) – The value to assign to the wls_domain_with_patch_readiness_error_count property of this ResourceInventory.
  • managed_instance_count (int) – The value to assign to the managed_instance_count property of this ResourceInventory.
  • managed_instance_with_patch_readiness_warning_count (int) – The value to assign to the managed_instance_with_patch_readiness_warning_count property of this ResourceInventory.
  • managed_instance_with_patch_readiness_error_count (int) – The value to assign to the managed_instance_with_patch_readiness_error_count property of this ResourceInventory.
managed_instance_count

[Required] Gets the managed_instance_count of this ResourceInventory. The number of managed instances in the selected compartment.

Returns:The managed_instance_count of this ResourceInventory.
Return type:int
managed_instance_with_patch_readiness_error_count

Gets the managed_instance_with_patch_readiness_error_count of this ResourceInventory. The number of managed instance that have WebLogic domains with errors in the patch readiness check.

Returns:The managed_instance_with_patch_readiness_error_count of this ResourceInventory.
Return type:int
managed_instance_with_patch_readiness_warning_count

Gets the managed_instance_with_patch_readiness_warning_count of this ResourceInventory. The number of managed instance that have WebLogic domains with warnings in the patch readiness check.

Returns:The managed_instance_with_patch_readiness_warning_count of this ResourceInventory.
Return type:int
wls_domain_count

[Required] Gets the wls_domain_count of this ResourceInventory. The number of WebLogic domains discovered in the selected compartment.

Returns:The wls_domain_count of this ResourceInventory.
Return type:int
wls_domain_not_in_latest_patch_count

Gets the wls_domain_not_in_latest_patch_count of this ResourceInventory. The number of WebLogic domains that are not in the latest patch.

Returns:The wls_domain_not_in_latest_patch_count of this ResourceInventory.
Return type:int
wls_domain_with_patch_readiness_error_count

Gets the wls_domain_with_patch_readiness_error_count of this ResourceInventory. The number of WebLogic domains that have errors in the patch readiness check.

Returns:The wls_domain_with_patch_readiness_error_count of this ResourceInventory.
Return type:int
wls_domain_with_patch_readiness_warning_count

Gets the wls_domain_with_patch_readiness_warning_count of this ResourceInventory. The number of WebLogic domains that have warnings in the patch readiness check.

Returns:The wls_domain_with_patch_readiness_warning_count of this ResourceInventory.
Return type:int