import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Monitors in Oracle Cloud Infrastructure APM Availability Monitoring service (aka APM Synthetics Service). * * Returns a list of monitors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitors = oci.apmsynthetics.getMonitors({ * apmDomainId: testApmDomain.id, * displayName: monitorDisplayName, * isMaintenanceWindowActive: monitorIsMaintenanceWindowActive === "true", * isMaintenanceWindowSet: monitorIsMaintenanceWindowSet === "true", * monitorType: monitorMonitorType, * scriptId: testScript.id, * status: monitorStatus, * vantagePoint: monitorVantagePoint, * }); * ``` */ export declare function getMonitors(args: GetMonitorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMonitors. */ export interface GetMonitorsArgs { /** * The APM domain ID the request is intended for. */ apmDomainId: string; /** * A filter to return only the resources that match the entire display name. */ displayName?: string; filters?: inputs.ApmSynthetics.GetMonitorsFilter[]; /** * A filter to return the monitors whose maintenance window is currently active. */ isMaintenanceWindowActive?: boolean; /** * A filter to return the monitors whose maintenance window is set. */ isMaintenanceWindowSet?: boolean; /** * A filter to return only monitors that match the given monitor type. Supported values are SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. */ monitorType?: string; /** * A filter to return only monitors using scriptId. */ scriptId?: string; /** * A filter to return only monitors that match the status given. */ status?: string; /** * The name of the public or dedicated vantage point. */ vantagePoint?: string; } /** * A collection of values returned by getMonitors. */ export interface GetMonitorsResult { readonly apmDomainId: string; /** * Unique name that can be edited. The name should not contain any confidential information. */ readonly displayName?: string; readonly filters?: outputs.ApmSynthetics.GetMonitorsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isMaintenanceWindowActive?: boolean; readonly isMaintenanceWindowSet?: boolean; /** * The list of monitor_collection. */ readonly monitorCollections: outputs.ApmSynthetics.GetMonitorsMonitorCollection[]; /** * Type of monitor. */ readonly monitorType?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. */ readonly scriptId?: string; /** * Enables or disables the monitor. */ readonly status?: string; readonly vantagePoint?: string; } /** * This data source provides the list of Monitors in Oracle Cloud Infrastructure APM Availability Monitoring service (aka APM Synthetics Service). * * Returns a list of monitors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitors = oci.apmsynthetics.getMonitors({ * apmDomainId: testApmDomain.id, * displayName: monitorDisplayName, * isMaintenanceWindowActive: monitorIsMaintenanceWindowActive === "true", * isMaintenanceWindowSet: monitorIsMaintenanceWindowSet === "true", * monitorType: monitorMonitorType, * scriptId: testScript.id, * status: monitorStatus, * vantagePoint: monitorVantagePoint, * }); * ``` */ export declare function getMonitorsOutput(args: GetMonitorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMonitors. */ export interface GetMonitorsOutputArgs { /** * The APM domain ID the request is intended for. */ apmDomainId: pulumi.Input; /** * A filter to return only the resources that match the entire display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return the monitors whose maintenance window is currently active. */ isMaintenanceWindowActive?: pulumi.Input; /** * A filter to return the monitors whose maintenance window is set. */ isMaintenanceWindowSet?: pulumi.Input; /** * A filter to return only monitors that match the given monitor type. Supported values are SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. */ monitorType?: pulumi.Input; /** * A filter to return only monitors using scriptId. */ scriptId?: pulumi.Input; /** * A filter to return only monitors that match the status given. */ status?: pulumi.Input; /** * The name of the public or dedicated vantage point. */ vantagePoint?: pulumi.Input; } //# sourceMappingURL=getMonitors.d.ts.map