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 Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service. * * Lists all capacity requests. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCapacityRequests = oci.capacitymanagement.getOccCapacityRequests({ * compartmentId: compartmentId, * displayName: occCapacityRequestDisplayName, * id: occCapacityRequestId, * namespace: occCapacityRequestNamespace, * occAvailabilityCatalogId: testOccAvailabilityCatalog.id, * requestType: occCapacityRequestRequestType, * }); * ``` */ export declare function getOccCapacityRequests(args: GetOccCapacityRequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOccCapacityRequests. */ export interface GetOccCapacityRequestsArgs { /** * The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes. */ compartmentId: string; /** * A filter to return only the resources that match the entire display name. The match is not case sensitive. */ displayName?: string; filters?: inputs.CapacityManagement.GetOccCapacityRequestsFilter[]; /** * A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission. */ id?: string; /** * The namespace by which we would filter the list. */ namespace?: string; /** * A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created. */ occAvailabilityCatalogId?: string; /** * A filter to return only the resources that match the request type. The match is not case sensitive. */ requestType?: string; } /** * A collection of values returned by getOccCapacityRequests. */ export interface GetOccCapacityRequestsResult { /** * The OCID of the tenancy from which the request was made. */ readonly compartmentId: string; /** * The display name of the capacity request. */ readonly displayName?: string; readonly filters?: outputs.CapacityManagement.GetOccCapacityRequestsFilter[]; /** * The OCID of the capacity request. */ readonly id?: string; /** * The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on. */ readonly namespace?: string; /** * The OCID of the availability catalog against which the capacity request was placed. */ readonly occAvailabilityCatalogId?: string; /** * The list of occ_capacity_request_collection. */ readonly occCapacityRequestCollections: outputs.CapacityManagement.GetOccCapacityRequestsOccCapacityRequestCollection[]; /** * Type of Capacity Request(New or Transfer) */ readonly requestType?: string; } /** * This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service. * * Lists all capacity requests. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCapacityRequests = oci.capacitymanagement.getOccCapacityRequests({ * compartmentId: compartmentId, * displayName: occCapacityRequestDisplayName, * id: occCapacityRequestId, * namespace: occCapacityRequestNamespace, * occAvailabilityCatalogId: testOccAvailabilityCatalog.id, * requestType: occCapacityRequestRequestType, * }); * ``` */ export declare function getOccCapacityRequestsOutput(args: GetOccCapacityRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOccCapacityRequests. */ export interface GetOccCapacityRequestsOutputArgs { /** * The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes. */ compartmentId: pulumi.Input; /** * A filter to return only the resources that match the entire display name. The match is not case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission. */ id?: pulumi.Input; /** * The namespace by which we would filter the list. */ namespace?: pulumi.Input; /** * A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created. */ occAvailabilityCatalogId?: pulumi.Input; /** * A filter to return only the resources that match the request type. The match is not case sensitive. */ requestType?: pulumi.Input; } //# sourceMappingURL=getOccCapacityRequests.d.ts.map