import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Management Agent Data Source resource in Oracle Cloud Infrastructure Management Agent service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/management-agent/latest/ManagementAgentDataSource
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/management_agent
 *
 * Datasource creation request to given Management Agent.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagementAgentDataSource = new oci.managementagent.ManagementAgentDataSource("test_management_agent_data_source", {
 *     compartmentId: compartmentId,
 *     managementAgentId: testManagementAgent.id,
 *     name: managementAgentDataSourceName,
 *     type: managementAgentDataSourceType,
 *     url: managementAgentDataSourceUrl,
 *     allowMetrics: managementAgentDataSourceAllowMetrics,
 *     connectionTimeout: Number(managementAgentDataSourceConnectionTimeout),
 *     metricDimensions: [{
 *         name: managementAgentDataSourceMetricDimensionsName,
 *         value: managementAgentDataSourceMetricDimensionsValue,
 *     }],
 *     namespace: managementAgentDataSourceNamespace,
 *     proxyUrl: managementAgentDataSourceProxyUrl,
 *     readDataLimitInKilobytes: Number(managementAgentDataSourceReadDataLimitInKilobytes),
 *     readTimeout: Number(managementAgentDataSourceReadTimeout),
 *     resourceGroup: managementAgentDataSourceResourceGroup,
 *     scheduleMins: Number(managementAgentDataSourceScheduleMins),
 * });
 * ```
 *
 * ## Import
 *
 * ManagementAgentDataSources can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:ManagementAgent/managementAgentDataSource:ManagementAgentDataSource test_management_agent_data_source "managementAgents/{managementAgentId}/dataSources/{key}"
 * ```
 */
export declare class ManagementAgentDataSource extends pulumi.CustomResource {
    /**
     * Get an existing ManagementAgentDataSource resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ManagementAgentDataSourceState, opts?: pulumi.CustomResourceOptions): ManagementAgentDataSource;
    /**
     * Returns true if the given object is an instance of ManagementAgentDataSource.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ManagementAgentDataSource;
    /**
     * (Updatable) Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
     */
    readonly allowMetrics: pulumi.Output<string>;
    /**
     * Compartment owning this DataSource.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
     */
    readonly connectionTimeout: pulumi.Output<number>;
    readonly dataSourceKey: pulumi.Output<string>;
    /**
     * If the Kubernetes cluster type is Daemon set then this will be set to true.
     */
    readonly isDaemonSet: pulumi.Output<boolean>;
    /**
     * Unique Management Agent identifier
     */
    readonly managementAgentId: pulumi.Output<string>;
    /**
     * (Updatable) The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
     */
    readonly metricDimensions: pulumi.Output<outputs.ManagementAgent.ManagementAgentDataSourceMetricDimension[]>;
    /**
     * Unique name of the DataSource.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
     */
    readonly namespace: pulumi.Output<string>;
    /**
     * (Updatable) The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
     */
    readonly proxyUrl: pulumi.Output<string>;
    /**
     * Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
     */
    readonly readDataLimit: pulumi.Output<number>;
    /**
     * (Updatable) Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
     */
    readonly readDataLimitInKilobytes: pulumi.Output<number>;
    /**
     * (Updatable) Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
     */
    readonly readTimeout: pulumi.Output<number>;
    /**
     * (Updatable) Oracle Cloud Infrastructure monitoring resource group to assign the metric to.
     */
    readonly resourceGroup: pulumi.Output<string>;
    /**
     * (Updatable) Number in minutes. The scraping occurs at the specified interval.
     */
    readonly scheduleMins: pulumi.Output<number>;
    /**
     * State of the DataSource.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The time the DataSource was created. An RFC3339 formatted datetime string
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the DataSource data was last received. An RFC3339 formatted datetime string
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) The type of the DataSource. Support types: PROMETHEUS_EMITTER
     */
    readonly type: pulumi.Output<string>;
    /**
     * (Updatable) The url through which the Prometheus Exporter publishes its metrics. (http only)
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly url: pulumi.Output<string>;
    /**
     * Create a ManagementAgentDataSource resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ManagementAgentDataSourceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ManagementAgentDataSource resources.
 */
export interface ManagementAgentDataSourceState {
    /**
     * (Updatable) Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
     */
    allowMetrics?: pulumi.Input<string | undefined>;
    /**
     * Compartment owning this DataSource.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
     */
    connectionTimeout?: pulumi.Input<number | undefined>;
    dataSourceKey?: pulumi.Input<string | undefined>;
    /**
     * If the Kubernetes cluster type is Daemon set then this will be set to true.
     */
    isDaemonSet?: pulumi.Input<boolean | undefined>;
    /**
     * Unique Management Agent identifier
     */
    managementAgentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
     */
    metricDimensions?: pulumi.Input<pulumi.Input<inputs.ManagementAgent.ManagementAgentDataSourceMetricDimension>[] | undefined>;
    /**
     * Unique name of the DataSource.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
     */
    proxyUrl?: pulumi.Input<string | undefined>;
    /**
     * Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
     */
    readDataLimit?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
     */
    readDataLimitInKilobytes?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
     */
    readTimeout?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Oracle Cloud Infrastructure monitoring resource group to assign the metric to.
     */
    resourceGroup?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Number in minutes. The scraping occurs at the specified interval.
     */
    scheduleMins?: pulumi.Input<number | undefined>;
    /**
     * State of the DataSource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The time the DataSource was created. An RFC3339 formatted datetime string
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the DataSource data was last received. An RFC3339 formatted datetime string
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The type of the DataSource. Support types: PROMETHEUS_EMITTER
     */
    type?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The url through which the Prometheus Exporter publishes its metrics. (http only)
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    url?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ManagementAgentDataSource resource.
 */
export interface ManagementAgentDataSourceArgs {
    /**
     * (Updatable) Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
     */
    allowMetrics?: pulumi.Input<string | undefined>;
    /**
     * Compartment owning this DataSource.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
     */
    connectionTimeout?: pulumi.Input<number | undefined>;
    /**
     * Unique Management Agent identifier
     */
    managementAgentId: pulumi.Input<string>;
    /**
     * (Updatable) The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
     */
    metricDimensions?: pulumi.Input<pulumi.Input<inputs.ManagementAgent.ManagementAgentDataSourceMetricDimension>[] | undefined>;
    /**
     * Unique name of the DataSource.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
     */
    proxyUrl?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
     */
    readDataLimitInKilobytes?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
     */
    readTimeout?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Oracle Cloud Infrastructure monitoring resource group to assign the metric to.
     */
    resourceGroup?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Number in minutes. The scraping occurs at the specified interval.
     */
    scheduleMins?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The type of the DataSource. Support types: PROMETHEUS_EMITTER
     */
    type: pulumi.Input<string>;
    /**
     * (Updatable) The url through which the Prometheus Exporter publishes its metrics. (http only)
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    url: pulumi.Input<string>;
}
//# sourceMappingURL=managementAgentDataSource.d.ts.map