HttpUpdateQueryProperties¶
- class oci.stack_monitoring.models.HttpUpdateQueryProperties(**kwargs)¶
Bases:
MetricExtensionUpdateQueryPropertiesQuery properties applicable to HTTP type of collection method
Attributes:
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties.
A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties.
A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties.
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
[Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties.
Gets the protocol_type of this HttpUpdateQueryProperties.
Gets the response_content_type of this HttpUpdateQueryProperties.
Gets the script_details of this HttpUpdateQueryProperties.
Gets the url of this HttpUpdateQueryProperties.
Methods:
__init__(**kwargs)Initializes a new HttpUpdateQueryProperties 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'¶
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “HTTP”
- COLLECTION_METHOD_JMX = 'JMX'¶
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “JMX”
- COLLECTION_METHOD_OS_COMMAND = 'OS_COMMAND'¶
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “OS_COMMAND”
- COLLECTION_METHOD_SQL = 'SQL'¶
A constant which can be used with the collection_method property of a MetricExtensionUpdateQueryProperties. This constant has a value of “SQL”
- PROTOCOL_TYPE_HTTP = 'HTTP'¶
A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties. This constant has a value of “HTTP”
- PROTOCOL_TYPE_HTTPS = 'HTTPS'¶
A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties. This constant has a value of “HTTPS”
- RESPONSE_CONTENT_TYPE_APPLICATION_JSON = 'APPLICATION_JSON'¶
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties. This constant has a value of “APPLICATION_JSON”
- RESPONSE_CONTENT_TYPE_APPLICATION_XML = 'APPLICATION_XML'¶
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties. This constant has a value of “APPLICATION_XML”
- RESPONSE_CONTENT_TYPE_TEXT_HTML = 'TEXT_HTML'¶
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties. This constant has a value of “TEXT_HTML”
- RESPONSE_CONTENT_TYPE_TEXT_PLAIN = 'TEXT_PLAIN'¶
A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties. This constant has a value of “TEXT_PLAIN”
- __init__(**kwargs)¶
Initializes a new HttpUpdateQueryProperties object with values from keyword arguments. The default value of the
collection_methodattribute of this class isHTTPand 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 HttpUpdateQueryProperties. Allowed values for this property are: “OS_COMMAND”, “SQL”, “JMX”, “HTTP”
url (str) – The value to assign to the url property of this HttpUpdateQueryProperties.
response_content_type (str) – The value to assign to the response_content_type property of this HttpUpdateQueryProperties. Allowed values for this property are: “TEXT_PLAIN”, “TEXT_HTML”, “APPLICATION_JSON”, “APPLICATION_XML”
protocol_type (str) – The value to assign to the protocol_type property of this HttpUpdateQueryProperties. Allowed values for this property are: “HTTP”, “HTTPS”
script_details (oci.stack_monitoring.models.UpdateHttpScriptFileDetails) – The value to assign to the script_details property of this HttpUpdateQueryProperties.
- property 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
- 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.
- property protocol_type¶
Gets the protocol_type of this HttpUpdateQueryProperties. Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
Allowed values for this property are: “HTTP”, “HTTPS”
- Returns
The protocol_type of this HttpUpdateQueryProperties.
- Return type
str
- property response_content_type¶
Gets the response_content_type of this HttpUpdateQueryProperties. Type of content response given by the http(s) URL
Allowed values for this property are: “TEXT_PLAIN”, “TEXT_HTML”, “APPLICATION_JSON”, “APPLICATION_XML”
- Returns
The response_content_type of this HttpUpdateQueryProperties.
- Return type
str
- property script_details¶
Gets the script_details of this HttpUpdateQueryProperties.
- Returns
The script_details of this HttpUpdateQueryProperties.
- Return type
- property url¶
Gets the url of this HttpUpdateQueryProperties. Http(s) end point URL
- Returns
The url of this HttpUpdateQueryProperties.
- Return type
str