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 Monitored Resources in Oracle Cloud Infrastructure Stack Monitoring service. * * Returns a list of monitored resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoredResources = oci.stackmonitoring.getMonitoredResources({ * compartmentId: compartmentId, * name: monitoredResourceName, * status: monitoredResourceStatus, * workRequestId: testWorkRequest.id, * }); * ``` */ export declare function getMonitoredResources(args: GetMonitoredResourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMonitoredResources. */ export interface GetMonitoredResourcesArgs { /** * The ID of the compartment in which data is listed. */ compartmentId: string; filters?: inputs.StackMonitoring.GetMonitoredResourcesFilter[]; /** * A filter to return resources that match exact resource name. */ name?: string; /** * A filter to return only resources with matching lifecycleState. */ status?: string; /** * A filter to return resources which were impacted as part of this work request identifier. */ workRequestId?: string; } /** * A collection of values returned by getMonitoredResources. */ export interface GetMonitoredResourcesResult { /** * Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly compartmentId: string; readonly filters?: outputs.StackMonitoring.GetMonitoredResourcesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of monitored_resource_collection. */ readonly monitoredResourceCollections: outputs.StackMonitoring.GetMonitoredResourcesMonitoredResourceCollection[]; /** * Property Name. */ readonly name?: string; readonly status?: string; readonly workRequestId?: string; } /** * This data source provides the list of Monitored Resources in Oracle Cloud Infrastructure Stack Monitoring service. * * Returns a list of monitored resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoredResources = oci.stackmonitoring.getMonitoredResources({ * compartmentId: compartmentId, * name: monitoredResourceName, * status: monitoredResourceStatus, * workRequestId: testWorkRequest.id, * }); * ``` */ export declare function getMonitoredResourcesOutput(args: GetMonitoredResourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMonitoredResources. */ export interface GetMonitoredResourcesOutputArgs { /** * The ID of the compartment in which data is listed. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return resources that match exact resource name. */ name?: pulumi.Input; /** * A filter to return only resources with matching lifecycleState. */ status?: pulumi.Input; /** * A filter to return resources which were impacted as part of this work request identifier. */ workRequestId?: pulumi.Input; } //# sourceMappingURL=getMonitoredResources.d.ts.map