AdhocQueryRegionalDetails

class oci.cloud_guard.models.AdhocQueryRegionalDetails(**kwargs)

Bases: object

Instance level status for each region.

Attributes

REGIONAL_STATUS_COMPLETED A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_CREATED A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_CREATING A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_EXPIRED A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_FAILED A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_IN_PROGRESS A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
REGIONAL_STATUS_PARTIALLY_COMPLETED A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails.
expected_count Gets the expected_count of this AdhocQueryRegionalDetails.
expired_count Gets the expired_count of this AdhocQueryRegionalDetails.
failed_count Gets the failed_count of this AdhocQueryRegionalDetails.
region [Required] Gets the region of this AdhocQueryRegionalDetails.
regional_error Gets the regional_error of this AdhocQueryRegionalDetails.
regional_status Gets the regional_status of this AdhocQueryRegionalDetails.
succeeded_count Gets the succeeded_count of this AdhocQueryRegionalDetails.

Methods

__init__(**kwargs) Initializes a new AdhocQueryRegionalDetails object with values from keyword arguments.
REGIONAL_STATUS_COMPLETED = 'COMPLETED'

A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails. This constant has a value of “COMPLETED”

REGIONAL_STATUS_CREATED = 'CREATED'

A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails. This constant has a value of “CREATED”

REGIONAL_STATUS_CREATING = 'CREATING'

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

REGIONAL_STATUS_EXPIRED = 'EXPIRED'

A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails. This constant has a value of “EXPIRED”

REGIONAL_STATUS_FAILED = 'FAILED'

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

REGIONAL_STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails. This constant has a value of “IN_PROGRESS”

REGIONAL_STATUS_PARTIALLY_COMPLETED = 'PARTIALLY_COMPLETED'

A constant which can be used with the regional_status property of a AdhocQueryRegionalDetails. This constant has a value of “PARTIALLY_COMPLETED”

__init__(**kwargs)

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

Parameters:
  • region (str) – The value to assign to the region property of this AdhocQueryRegionalDetails.
  • regional_status (str) – The value to assign to the regional_status property of this AdhocQueryRegionalDetails. Allowed values for this property are: “CREATING”, “CREATED”, “IN_PROGRESS”, “PARTIALLY_COMPLETED”, “EXPIRED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • regional_error (str) – The value to assign to the regional_error property of this AdhocQueryRegionalDetails.
  • expected_count (str) – The value to assign to the expected_count property of this AdhocQueryRegionalDetails.
  • failed_count (str) – The value to assign to the failed_count property of this AdhocQueryRegionalDetails.
  • succeeded_count (str) – The value to assign to the succeeded_count property of this AdhocQueryRegionalDetails.
  • expired_count (str) – The value to assign to the expired_count property of this AdhocQueryRegionalDetails.
expected_count

Gets the expected_count of this AdhocQueryRegionalDetails. Expected number of instances on which query should run

Returns:The expected_count of this AdhocQueryRegionalDetails.
Return type:str
expired_count

Gets the expired_count of this AdhocQueryRegionalDetails. Number of instances on which query expired

Returns:The expired_count of this AdhocQueryRegionalDetails.
Return type:str
failed_count

Gets the failed_count of this AdhocQueryRegionalDetails. Number of instances on which query failed

Returns:The failed_count of this AdhocQueryRegionalDetails.
Return type:str
region

[Required] Gets the region of this AdhocQueryRegionalDetails. Region name

Returns:The region of this AdhocQueryRegionalDetails.
Return type:str
regional_error

Gets the regional_error of this AdhocQueryRegionalDetails. error message to show if adhoc query fails in a region

Returns:The regional_error of this AdhocQueryRegionalDetails.
Return type:str
regional_status

Gets the regional_status of this AdhocQueryRegionalDetails. adhoc query status of the region

Allowed values for this property are: “CREATING”, “CREATED”, “IN_PROGRESS”, “PARTIALLY_COMPLETED”, “EXPIRED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The regional_status of this AdhocQueryRegionalDetails.
Return type:str
succeeded_count

Gets the succeeded_count of this AdhocQueryRegionalDetails. Number of instances on which query succeeded

Returns:The succeeded_count of this AdhocQueryRegionalDetails.
Return type:str