import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Management Agent Data Source resource in Oracle Cloud Infrastructure Management Agent service. * * Get Datasource details for given Id and given Management Agent. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgentDataSource = oci.managementagent.getManagementAgentDataSource({ * dataSourceKey: managementAgentDataSourceDataSourceKey, * managementAgentId: testManagementAgent.id, * }); * ``` */ export declare function getManagementAgentDataSource(args: GetManagementAgentDataSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagementAgentDataSource. */ export interface GetManagementAgentDataSourceArgs { /** * Data source type and name identifier. */ dataSourceKey: string; /** * Unique Management Agent identifier */ managementAgentId: string; } /** * A collection of values returned by getManagementAgentDataSource. */ export interface GetManagementAgentDataSourceResult { /** * 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: string; /** * Compartment owning this DataSource. */ readonly compartmentId: string; /** * Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint. */ readonly connectionTimeout: number; readonly dataSourceKey: string; readonly id: string; /** * If the Kubernetes cluster type is Daemon set then this will be set to true. */ readonly isDaemonSet: boolean; readonly managementAgentId: string; /** * The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint. */ readonly metricDimensions: outputs.ManagementAgent.GetManagementAgentDataSourceMetricDimension[]; /** * Unique name of the DataSource. */ readonly name: string; /** * The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded. */ readonly namespace: string; /** * The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property). */ readonly proxyUrl: string; /** * Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB). */ readonly readDataLimit: number; readonly readDataLimitInKilobytes: number; /** * Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint. */ readonly readTimeout: number; /** * Oracle Cloud Infrastructure monitoring resource group to assign the metric to. */ readonly resourceGroup: string; /** * Number in minutes. The scraping occurs at the specified interval. */ readonly scheduleMins: number; /** * State of the DataSource. */ readonly state: string; /** * The time the DataSource was created. An RFC3339 formatted datetime string */ readonly timeCreated: string; /** * The time the DataSource data was last received. An RFC3339 formatted datetime string */ readonly timeUpdated: string; /** * The type of the DataSource. */ readonly type: string; /** * The url through which the Prometheus Exporter publishes its metrics. (http only) */ readonly url: string; } /** * This data source provides details about a specific Management Agent Data Source resource in Oracle Cloud Infrastructure Management Agent service. * * Get Datasource details for given Id and given Management Agent. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgentDataSource = oci.managementagent.getManagementAgentDataSource({ * dataSourceKey: managementAgentDataSourceDataSourceKey, * managementAgentId: testManagementAgent.id, * }); * ``` */ export declare function getManagementAgentDataSourceOutput(args: GetManagementAgentDataSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagementAgentDataSource. */ export interface GetManagementAgentDataSourceOutputArgs { /** * Data source type and name identifier. */ dataSourceKey: pulumi.Input; /** * Unique Management Agent identifier */ managementAgentId: pulumi.Input; } //# sourceMappingURL=getManagementAgentDataSource.d.ts.map