FleetDiagnosisSummary¶
-
class
oci.jms.models.FleetDiagnosisSummary(**kwargs)¶ Bases:
objectDiagnosis of a resource needed by the fleet.
Attributes
RESOURCE_STATE_ACTIVEA constant which can be used with the resource_state property of a FleetDiagnosisSummary. RESOURCE_STATE_INACTIVEA constant which can be used with the resource_state property of a FleetDiagnosisSummary. RESOURCE_STATE_NOT_FOUNDA constant which can be used with the resource_state property of a FleetDiagnosisSummary. RESOURCE_STATE_OTHERA constant which can be used with the resource_state property of a FleetDiagnosisSummary. RESOURCE_TYPE_ANALYSIS_OSS_BUCKETA constant which can be used with the resource_type property of a FleetDiagnosisSummary. RESOURCE_TYPE_CRYPTO_SUMMARIZED_LOGA constant which can be used with the resource_type property of a FleetDiagnosisSummary. RESOURCE_TYPE_INVENTORY_LOGA constant which can be used with the resource_type property of a FleetDiagnosisSummary. RESOURCE_TYPE_OPERATION_LOGA constant which can be used with the resource_type property of a FleetDiagnosisSummary. resource_diagnosisGets the resource_diagnosis of this FleetDiagnosisSummary. resource_idGets the resource_id of this FleetDiagnosisSummary. resource_stateGets the resource_state of this FleetDiagnosisSummary. resource_type[Required] Gets the resource_type of this FleetDiagnosisSummary. Methods
__init__(**kwargs)Initializes a new FleetDiagnosisSummary object with values from keyword arguments. -
RESOURCE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the resource_state property of a FleetDiagnosisSummary. This constant has a value of “ACTIVE”
-
RESOURCE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the resource_state property of a FleetDiagnosisSummary. This constant has a value of “INACTIVE”
-
RESOURCE_STATE_NOT_FOUND= 'NOT_FOUND'¶ A constant which can be used with the resource_state property of a FleetDiagnosisSummary. This constant has a value of “NOT_FOUND”
-
RESOURCE_STATE_OTHER= 'OTHER'¶ A constant which can be used with the resource_state property of a FleetDiagnosisSummary. This constant has a value of “OTHER”
-
RESOURCE_TYPE_ANALYSIS_OSS_BUCKET= 'ANALYSIS_OSS_BUCKET'¶ A constant which can be used with the resource_type property of a FleetDiagnosisSummary. This constant has a value of “ANALYSIS_OSS_BUCKET”
-
RESOURCE_TYPE_CRYPTO_SUMMARIZED_LOG= 'CRYPTO_SUMMARIZED_LOG'¶ A constant which can be used with the resource_type property of a FleetDiagnosisSummary. This constant has a value of “CRYPTO_SUMMARIZED_LOG”
-
RESOURCE_TYPE_INVENTORY_LOG= 'INVENTORY_LOG'¶ A constant which can be used with the resource_type property of a FleetDiagnosisSummary. This constant has a value of “INVENTORY_LOG”
-
RESOURCE_TYPE_OPERATION_LOG= 'OPERATION_LOG'¶ A constant which can be used with the resource_type property of a FleetDiagnosisSummary. This constant has a value of “OPERATION_LOG”
-
__init__(**kwargs)¶ Initializes a new FleetDiagnosisSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - resource_type (str) – The value to assign to the resource_type property of this FleetDiagnosisSummary. Allowed values for this property are: “INVENTORY_LOG”, “OPERATION_LOG”, “CRYPTO_SUMMARIZED_LOG”, “ANALYSIS_OSS_BUCKET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_id (str) – The value to assign to the resource_id property of this FleetDiagnosisSummary.
- resource_state (str) – The value to assign to the resource_state property of this FleetDiagnosisSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “NOT_FOUND”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_diagnosis (str) – The value to assign to the resource_diagnosis property of this FleetDiagnosisSummary.
-
resource_diagnosis¶ Gets the resource_diagnosis of this FleetDiagnosisSummary. The diagnosis message.
Returns: The resource_diagnosis of this FleetDiagnosisSummary. Return type: str
-
resource_id¶ Gets the resource_id of this FleetDiagnosisSummary. The OCID of the external resouce needed by the fleet.
Returns: The resource_id of this FleetDiagnosisSummary. Return type: str
-
resource_state¶ Gets the resource_state of this FleetDiagnosisSummary. The state of the resource. The resource state is ACTIVE when it works properly for the fleet. In case it would cause an issue for the fleet function, the state is INACTIVE. When JMS can’t locate the resource, the state is NOT_FOUND. OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the resource. Check the resourceDiagnosis for details.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, “NOT_FOUND”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_state of this FleetDiagnosisSummary. Return type: str
-
resource_type¶ [Required] Gets the resource_type of this FleetDiagnosisSummary. The type of the resource needed by the fleet. This is the role of a resource in the fleet. Use the OCID to determine the actual OCI resource type such as log group or log.
Allowed values for this property are: “INVENTORY_LOG”, “OPERATION_LOG”, “CRYPTO_SUMMARIZED_LOG”, “ANALYSIS_OSS_BUCKET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this FleetDiagnosisSummary. Return type: str
-