OsCommandUpdateQueryProperties¶
-
class
oci.stack_monitoring.models.OsCommandUpdateQueryProperties(**kwargs)¶ Bases:
oci.stack_monitoring.models.metric_extension_update_query_properties.MetricExtensionUpdateQueryPropertiesQuery Properties applicable to OS_COMMAND type of collection method
Attributes
COLLECTION_METHOD_HTTPstr(object=’’) -> str COLLECTION_METHOD_JMXstr(object=’’) -> str COLLECTION_METHOD_OS_COMMANDstr(object=’’) -> str COLLECTION_METHOD_SQLstr(object=’’) -> str argumentsGets the arguments of this OsCommandUpdateQueryProperties. collection_method[Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties. commandGets the command of this OsCommandUpdateQueryProperties. delimiterGets the delimiter of this OsCommandUpdateQueryProperties. script_detailsGets the script_details of this OsCommandUpdateQueryProperties. starts_withGets the starts_with of this OsCommandUpdateQueryProperties. Methods
__init__(**kwargs)Initializes a new OsCommandUpdateQueryProperties 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. -
COLLECTION_METHOD_HTTP= 'HTTP'¶
-
COLLECTION_METHOD_JMX= 'JMX'¶
-
COLLECTION_METHOD_OS_COMMAND= 'OS_COMMAND'¶
-
COLLECTION_METHOD_SQL= 'SQL'¶
-
__init__(**kwargs)¶ Initializes a new OsCommandUpdateQueryProperties object with values from keyword arguments. The default value of the
collection_methodattribute of this class isOS_COMMANDand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - collection_method (str) – The value to assign to the collection_method property of this OsCommandUpdateQueryProperties. Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”, “HTTP”
- command (str) – The value to assign to the command property of this OsCommandUpdateQueryProperties.
- delimiter (str) – The value to assign to the delimiter property of this OsCommandUpdateQueryProperties.
- script_details (oci.stack_monitoring.models.ScriptFileDetails) – The value to assign to the script_details property of this OsCommandUpdateQueryProperties.
- arguments (str) – The value to assign to the arguments property of this OsCommandUpdateQueryProperties.
- starts_with (str) – The value to assign to the starts_with property of this OsCommandUpdateQueryProperties.
-
arguments¶ Gets the arguments of this OsCommandUpdateQueryProperties. Arguments required by either command or script
Returns: The arguments of this OsCommandUpdateQueryProperties. Return type: str
-
collection_method¶ [Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties. Type of possible collection methods.
Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”, “HTTP”
Returns: The collection_method of this MetricExtensionUpdateQueryProperties. Return type: str
-
command¶ Gets the command of this OsCommandUpdateQueryProperties. OS command to execute without arguments
Returns: The command of this OsCommandUpdateQueryProperties. Return type: str
-
delimiter¶ Gets the delimiter of this OsCommandUpdateQueryProperties. Character used to delimit multiple metric values in single line of output
Returns: The delimiter of this OsCommandUpdateQueryProperties. 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.
-
script_details¶ Gets the script_details of this OsCommandUpdateQueryProperties.
Returns: The script_details of this OsCommandUpdateQueryProperties. Return type: oci.stack_monitoring.models.ScriptFileDetails
-
starts_with¶ Gets the starts_with of this OsCommandUpdateQueryProperties. String prefix used to identify metric output of the OS Command
Returns: The starts_with of this OsCommandUpdateQueryProperties. Return type: str
-