import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service. * * Get details about the capacity request. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCapacityRequest = oci.capacitymanagement.getOccCapacityRequest({ * occCapacityRequestId: testOccCapacityRequestOciCapacityManagementOccCapacityRequest.id, * }); * ``` */ export declare function getOccCapacityRequest(args: GetOccCapacityRequestArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOccCapacityRequest. */ export interface GetOccCapacityRequestArgs { /** * The OCID of the capacity request. */ occCapacityRequestId: string; } /** * A collection of values returned by getOccCapacityRequest. */ export interface GetOccCapacityRequestResult { /** * The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests. */ readonly availabilityDomain: string; /** * The OCID of the tenancy from which the request was made. */ readonly compartmentId: string; /** * The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled. */ readonly dateExpectedCapacityHandover: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Meaningful text about the capacity request. */ readonly description: string; /** * A list of resources requested as part of this request */ readonly details: outputs.CapacityManagement.GetOccCapacityRequestDetail[]; /** * The display name of the capacity request. */ readonly displayName: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the capacity request. */ readonly id: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State. */ readonly lifecycleDetails: 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; readonly occCapacityRequestId: string; /** * The OCID of the customer group to which this customer belongs to. */ readonly occCustomerGroupId: string; readonly patchOperations: outputs.CapacityManagement.GetOccCapacityRequestPatchOperation[]; /** * The name of the region for which the capacity request was made. */ readonly region: string; /** * The different states the capacity request goes through. */ readonly requestState: string; /** * Type of Capacity Request(New or Transfer) */ readonly requestType: string; /** * The current lifecycle state of the resource. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time when the capacity request was created. */ readonly timeCreated: string; /** * The time when the capacity request was updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service. * * Get details about the capacity request. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCapacityRequest = oci.capacitymanagement.getOccCapacityRequest({ * occCapacityRequestId: testOccCapacityRequestOciCapacityManagementOccCapacityRequest.id, * }); * ``` */ export declare function getOccCapacityRequestOutput(args: GetOccCapacityRequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOccCapacityRequest. */ export interface GetOccCapacityRequestOutputArgs { /** * The OCID of the capacity request. */ occCapacityRequestId: pulumi.Input; } //# sourceMappingURL=getOccCapacityRequest.d.ts.map