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 Resources in Oracle Cloud Infrastructure Usage Proxy service. * * Returns the resource details for a service * > **Important**: Calls to this API will only succeed against the endpoint in the home region. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResources = oci.usageproxy.getResources({ * compartmentId: compartmentId, * serviceName: testService.name, * entitlementId: testEntitlement.id, * }); * ``` */ export declare function getResources(args: GetResourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResources. */ export interface GetResourcesArgs { /** * The OCID of the root compartment. */ compartmentId: string; /** * Subscription or entitlement Id. */ entitlementId?: string; filters?: inputs.UsageProxy.GetResourcesFilter[]; /** * Service Name. */ serviceName: string; } /** * A collection of values returned by getResources. */ export interface GetResourcesResult { readonly compartmentId: string; readonly entitlementId?: string; readonly filters?: outputs.UsageProxy.GetResourcesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of resources_collection. */ readonly resourcesCollections: outputs.UsageProxy.GetResourcesResourcesCollection[]; readonly serviceName: string; } /** * This data source provides the list of Resources in Oracle Cloud Infrastructure Usage Proxy service. * * Returns the resource details for a service * > **Important**: Calls to this API will only succeed against the endpoint in the home region. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResources = oci.usageproxy.getResources({ * compartmentId: compartmentId, * serviceName: testService.name, * entitlementId: testEntitlement.id, * }); * ``` */ export declare function getResourcesOutput(args: GetResourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResources. */ export interface GetResourcesOutputArgs { /** * The OCID of the root compartment. */ compartmentId: pulumi.Input; /** * Subscription or entitlement Id. */ entitlementId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Service Name. */ serviceName: pulumi.Input; } //# sourceMappingURL=getResources.d.ts.map