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 Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service. * * List Occ Handover Resource blocks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccHandoverResourceBlocks = oci.capacitymanagement.getOccHandoverResourceBlocks({ * compartmentId: compartmentId, * handoverDateGreaterThanOrEqualTo: occHandoverResourceBlockHandoverDateGreaterThanOrEqualTo, * handoverDateLessThanOrEqualTo: occHandoverResourceBlockHandoverDateLessThanOrEqualTo, * handoverResourceName: testResource.name, * namespace: occHandoverResourceBlockNamespace, * occHandoverResourceBlockId: testOccHandoverResourceBlock.id, * }); * ``` */ export declare function getOccHandoverResourceBlocks(args?: GetOccHandoverResourceBlocksArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOccHandoverResourceBlocks. */ export interface GetOccHandoverResourceBlocksArgs { /** * The OCID of the compartment or tenancy in which resources are to be listed. */ compartmentId?: string; filters?: inputs.CapacityManagement.GetOccHandoverResourceBlocksFilter[]; /** * This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate. */ handoverDateGreaterThanOrEqualTo?: string; /** * This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate. */ handoverDateLessThanOrEqualTo?: string; /** * A filter to return only the list of resources that match the name provided in this filter. */ handoverResourceName?: string; /** * The namespace by which we would filter the list. */ namespace?: string; /** * This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here. */ occHandoverResourceBlockId?: string; } /** * A collection of values returned by getOccHandoverResourceBlocks. */ export interface GetOccHandoverResourceBlocksResult { /** * The OCID of the compartment where the resource block's are placed. */ readonly compartmentId?: string; readonly filters?: outputs.CapacityManagement.GetOccHandoverResourceBlocksFilter[]; readonly handoverDateGreaterThanOrEqualTo?: string; readonly handoverDateLessThanOrEqualTo?: string; /** * The name of the resource handed over by oracle. For instance for compute namespace this will be the name of the bare metal hardware resource. */ readonly handoverResourceName?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the Oracle Cloud Infrastructure service in consideration. For example Compute, Exadata and so on. */ readonly namespace?: string; /** * The list of occ_handover_resource_block_collection. */ readonly occHandoverResourceBlockCollections: outputs.CapacityManagement.GetOccHandoverResourceBlocksOccHandoverResourceBlockCollection[]; readonly occHandoverResourceBlockId?: string; } /** * This data source provides the list of Occ Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service. * * List Occ Handover Resource blocks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccHandoverResourceBlocks = oci.capacitymanagement.getOccHandoverResourceBlocks({ * compartmentId: compartmentId, * handoverDateGreaterThanOrEqualTo: occHandoverResourceBlockHandoverDateGreaterThanOrEqualTo, * handoverDateLessThanOrEqualTo: occHandoverResourceBlockHandoverDateLessThanOrEqualTo, * handoverResourceName: testResource.name, * namespace: occHandoverResourceBlockNamespace, * occHandoverResourceBlockId: testOccHandoverResourceBlock.id, * }); * ``` */ export declare function getOccHandoverResourceBlocksOutput(args?: GetOccHandoverResourceBlocksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOccHandoverResourceBlocks. */ export interface GetOccHandoverResourceBlocksOutputArgs { /** * The OCID of the compartment or tenancy in which resources are to be listed. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate. */ handoverDateGreaterThanOrEqualTo?: pulumi.Input; /** * This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate. */ handoverDateLessThanOrEqualTo?: pulumi.Input; /** * A filter to return only the list of resources that match the name provided in this filter. */ handoverResourceName?: pulumi.Input; /** * The namespace by which we would filter the list. */ namespace?: pulumi.Input; /** * This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here. */ occHandoverResourceBlockId?: pulumi.Input; } //# sourceMappingURL=getOccHandoverResourceBlocks.d.ts.map