📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
monitoring
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/monitoring/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: summarize_metrics_data_details.cpython-39.pyc
a ���f�/ � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�SummarizeMetricsDataDetailsz� The request details for retrieving aggregated data. Use the query and optional properties to filter the returned results. c K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )aq Initializes a new SummarizeMetricsDataDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param namespace: The value to assign to the namespace property of this SummarizeMetricsDataDetails. :type namespace: str :param resource_group: The value to assign to the resource_group property of this SummarizeMetricsDataDetails. :type resource_group: str :param query: The value to assign to the query property of this SummarizeMetricsDataDetails. :type query: str :param start_time: The value to assign to the start_time property of this SummarizeMetricsDataDetails. :type start_time: datetime :param end_time: The value to assign to the end_time property of this SummarizeMetricsDataDetails. :type end_time: datetime :param resolution: The value to assign to the resolution property of this SummarizeMetricsDataDetails. :type resolution: str �strZdatetime)� namespace�resource_group�query� start_time�end_time� resolutionr Z resourceGroupr Z startTimeZendTimer N)Z swagger_typesZ attribute_map� _namespace�_resource_group�_query�_start_time� _end_time�_resolution)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/monitoring/models/summarize_metrics_data_details.py�__init__ s( � � z$SummarizeMetricsDataDetails.__init__c C s | j S )a< **[Required]** Gets the namespace of this SummarizeMetricsDataDetails. The source service or application to use when searching for metric data points to aggregate. Example: `oci_computeagent` :return: The namespace of this SummarizeMetricsDataDetails. :rtype: str �r �r r r r r J s z%SummarizeMetricsDataDetails.namespacec C s || _ dS )a5 Sets the namespace of this SummarizeMetricsDataDetails. The source service or application to use when searching for metric data points to aggregate. Example: `oci_computeagent` :param namespace: The namespace of this SummarizeMetricsDataDetails. :type: str Nr )r r r r r r X s c C s | j S )a{ Gets the resource_group of this SummarizeMetricsDataDetails. Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` :return: The resource_group of this SummarizeMetricsDataDetails. :rtype: str �r r r r r r f s z*SummarizeMetricsDataDetails.resource_groupc C s || _ dS )a� Sets the resource_group of this SummarizeMetricsDataDetails. Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` :param resource_group: The resource_group of this SummarizeMetricsDataDetails. :type: str Nr )r r r r r r u s c C s | j S )a� **[Required]** Gets the query of this SummarizeMetricsDataDetails. The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. Construct your query to avoid exceeding limits on returned data. See :class:`MetricData`. For details about Monitoring Query Language (MQL), see `Monitoring Query Language (MQL) Reference`__. For available dimensions, review the metric definition for the supported service. See `Supported Services`__. Example 1: `CpuUtilization[1m].sum()` Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices :return: The query of this SummarizeMetricsDataDetails. :rtype: str �r r r r r r � s z!SummarizeMetricsDataDetails.queryc C s || _ dS )a� Sets the query of this SummarizeMetricsDataDetails. The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. Construct your query to avoid exceeding limits on returned data. See :class:`MetricData`. For details about Monitoring Query Language (MQL), see `Monitoring Query Language (MQL) Reference`__. For available dimensions, review the metric definition for the supported service. See `Supported Services`__. Example 1: `CpuUtilization[1m].sum()` Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices :param query: The query of this SummarizeMetricsDataDetails. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the start_time of this SummarizeMetricsDataDetails. The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` :return: The start_time of this SummarizeMetricsDataDetails. :rtype: datetime �r r r r r r � s z&SummarizeMetricsDataDetails.start_timec C s || _ dS )a� Sets the start_time of this SummarizeMetricsDataDetails. The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` :param start_time: The start_time of this SummarizeMetricsDataDetails. :type: datetime Nr )r r r r r r � s c C s | j S )a� Gets the end_time of this SummarizeMetricsDataDetails. The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` :return: The end_time of this SummarizeMetricsDataDetails. :rtype: datetime �r r r r r r � s z$SummarizeMetricsDataDetails.end_timec C s || _ dS )a� Sets the end_time of this SummarizeMetricsDataDetails. The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` :param end_time: The end_time of this SummarizeMetricsDataDetails. :type: datetime Nr )r r r r r r � s c C s | j S )a� Gets the resolution of this SummarizeMetricsDataDetails. The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` :return: The resolution of this SummarizeMetricsDataDetails. :rtype: str �r r r r r r s z&SummarizeMetricsDataDetails.resolutionc C s || _ dS )a� Sets the resolution of this SummarizeMetricsDataDetails. The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` :param resolution: The resolution of this SummarizeMetricsDataDetails. :type: str Nr )r r r r r r s c C s t | �S �N)r r r r r �__repr__& s z$SummarizeMetricsDataDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__) s z"SummarizeMetricsDataDetails.__eq__c C s | |k S r r r# r r r �__ne__/ s z"SummarizeMetricsDataDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&