📂 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.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: metric_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� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �MetricDataDetailszc A metric object containing raw metric data points to be posted to the Monitoring service. c K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new MetricDataDetails 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 MetricDataDetails. :type namespace: str :param resource_group: The value to assign to the resource_group property of this MetricDataDetails. :type resource_group: str :param compartment_id: The value to assign to the compartment_id property of this MetricDataDetails. :type compartment_id: str :param name: The value to assign to the name property of this MetricDataDetails. :type name: str :param dimensions: The value to assign to the dimensions property of this MetricDataDetails. :type dimensions: dict(str, str) :param metadata: The value to assign to the metadata property of this MetricDataDetails. :type metadata: dict(str, str) :param datapoints: The value to assign to the datapoints property of this MetricDataDetails. :type datapoints: list[oci.monitoring.models.Datapoint] �strzdict(str, str)zlist[Datapoint])� namespace�resource_group�compartment_id�name� dimensions�metadata� datapointsr Z resourceGroupZ compartmentIdr r r r N) Z swagger_typesZ attribute_map� _namespace�_resource_group�_compartment_id�_name�_dimensions� _metadata�_datapoints)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/monitoring/models/metric_data_details.py�__init__ s. #�� zMetricDataDetails.__init__c C s | j S )a **[Required]** Gets the namespace of this MetricDataDetails. The source service or application emitting the metric. A valid namespace value starts with an alphabetical character and includes only alphanumeric characters and underscores. Custom metrics can't use the following reserved prefixes: `oci_` and `oracle_` Avoid entering confidential information. Example: `my_namespace` :return: The namespace of this MetricDataDetails. :rtype: str �r �r r r r r P s zMetricDataDetails.namespacec C s || _ dS )a� Sets the namespace of this MetricDataDetails. The source service or application emitting the metric. A valid namespace value starts with an alphabetical character and includes only alphanumeric characters and underscores. Custom metrics can't use the following reserved prefixes: `oci_` and `oracle_` Avoid entering confidential information. Example: `my_namespace` :param namespace: The namespace of this MetricDataDetails. :type: str Nr )r r r r r r a s c C s | j S )a] Gets the resource_group of this MetricDataDetails. Resource group to assign to the metric. A resource group is a custom string that you can match when retrieving custom metrics. 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 ($). Avoid entering confidential information. Example: `frontend-fleet` :return: The resource_group of this MetricDataDetails. :rtype: str �r r r r r r r s z MetricDataDetails.resource_groupc C s || _ dS )aj Sets the resource_group of this MetricDataDetails. Resource group to assign to the metric. A resource group is a custom string that you can match when retrieving custom metrics. 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 ($). Avoid entering confidential information. Example: `frontend-fleet` :param resource_group: The resource_group of this MetricDataDetails. :type: str Nr )r r r r r r � s c C s | j S )a< **[Required]** Gets the compartment_id of this MetricDataDetails. The `OCID`__ of the compartment to use for metrics. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this MetricDataDetails. :rtype: str �r r r r r r � s z MetricDataDetails.compartment_idc C s || _ dS )a: Sets the compartment_id of this MetricDataDetails. The `OCID`__ of the compartment to use for metrics. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this MetricDataDetails. :type: str Nr )r r r r r r � s c C s | j S )a� **[Required]** Gets the name of this MetricDataDetails. The name of the metric. A valid name value starts with an alphabetical character and includes only alphanumeric characters, dots, underscores, hyphens, and dollar signs. Avoid entering confidential information. Example: `my_app.success_rate` :return: The name of this MetricDataDetails. :rtype: str �r r r r r r � s zMetricDataDetails.namec C s || _ dS )a� Sets the name of this MetricDataDetails. The name of the metric. A valid name value starts with an alphabetical character and includes only alphanumeric characters, dots, underscores, hyphens, and dollar signs. Avoid entering confidential information. Example: `my_app.success_rate` :param name: The name of this MetricDataDetails. :type: str Nr )r r r r r r � s c C s | j S )a� **[Required]** Gets the dimensions of this MetricDataDetails. Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. A valid dimension key includes only printable ASCII, excluding spaces. The character limit for a dimension key is 256. A valid dimension value includes only Unicode characters. The character limit for a dimension value is 512. Empty strings are not allowed for keys or values. Avoid entering confidential information. Example: `{"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"}` :return: The dimensions of this MetricDataDetails. :rtype: dict(str, str) �r r r r r r � s zMetricDataDetails.dimensionsc C s || _ dS )a� Sets the dimensions of this MetricDataDetails. Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. A valid dimension key includes only printable ASCII, excluding spaces. The character limit for a dimension key is 256. A valid dimension value includes only Unicode characters. The character limit for a dimension value is 512. Empty strings are not allowed for keys or values. Avoid entering confidential information. Example: `{"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"}` :param dimensions: The dimensions of this MetricDataDetails. :type: dict(str, str) Nr )r r r r r r � s c C s | j S )a� Gets the metadata of this MetricDataDetails. Properties describing metrics. These are not part of the unique fields identifying the metric. Each metadata item takes the form of a key-value pair. The character limit for a metadata key is 256. The character limit for a metadata value is 256. Example: `"unit": "bytes"` :return: The metadata of this MetricDataDetails. :rtype: dict(str, str) �r r r r r r � s zMetricDataDetails.metadatac C s || _ dS )a� Sets the metadata of this MetricDataDetails. Properties describing metrics. These are not part of the unique fields identifying the metric. Each metadata item takes the form of a key-value pair. The character limit for a metadata key is 256. The character limit for a metadata value is 256. Example: `"unit": "bytes"` :param metadata: The metadata of this MetricDataDetails. :type: dict(str, str) Nr! )r r r r r r s c C s | j S )a� **[Required]** Gets the datapoints of this MetricDataDetails. A list of metric values with timestamps. At least one data point is required per call. For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future). :return: The datapoints of this MetricDataDetails. :rtype: list[oci.monitoring.models.Datapoint] �r r r r r r s zMetricDataDetails.datapointsc C s || _ dS )a� Sets the datapoints of this MetricDataDetails. A list of metric values with timestamps. At least one data point is required per call. For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future). :param datapoints: The datapoints of this MetricDataDetails. :type: list[oci.monitoring.models.Datapoint] Nr"