HttpUpdateQueryProperties

class oci.stack_monitoring.models.HttpUpdateQueryProperties(**kwargs)

Bases: oci.stack_monitoring.models.metric_extension_update_query_properties.MetricExtensionUpdateQueryProperties

Query properties applicable to HTTP type of collection method

Attributes

COLLECTION_METHOD_HTTP str(object=’’) -> str
COLLECTION_METHOD_JMX str(object=’’) -> str
COLLECTION_METHOD_OS_COMMAND str(object=’’) -> str
COLLECTION_METHOD_SQL str(object=’’) -> str
PROTOCOL_TYPE_HTTP A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties.
PROTOCOL_TYPE_HTTPS A constant which can be used with the protocol_type property of a HttpUpdateQueryProperties.
RESPONSE_CONTENT_TYPE_APPLICATION_JSON A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
RESPONSE_CONTENT_TYPE_APPLICATION_XML A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
RESPONSE_CONTENT_TYPE_TEXT_HTML A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
RESPONSE_CONTENT_TYPE_TEXT_PLAIN A constant which can be used with the response_content_type property of a HttpUpdateQueryProperties.
collection_method [Required] Gets the collection_method of this MetricExtensionUpdateQueryProperties.
protocol_type Gets the protocol_type of this HttpUpdateQueryProperties.
response_content_type Gets the response_content_type of this HttpUpdateQueryProperties.
script_details Gets the script_details of this HttpUpdateQueryProperties.
url 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'
COLLECTION_METHOD_JMX = 'JMX'
COLLECTION_METHOD_OS_COMMAND = 'OS_COMMAND'
COLLECTION_METHOD_SQL = '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_method attribute of this class is HTTP and 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.
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.

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
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
script_details

Gets the script_details of this HttpUpdateQueryProperties.

Returns:The script_details of this HttpUpdateQueryProperties.
Return type:oci.stack_monitoring.models.UpdateHttpScriptFileDetails
url

Gets the url of this HttpUpdateQueryProperties. Http(s) end point URL

Returns:The url of this HttpUpdateQueryProperties.
Return type:str