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 Shapes in Oracle Cloud Infrastructure Core service. * * Lists the shapes that can be used to launch an instance within the specified compartment. You can * filter the list by compatibility with a specific image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testShapes = oci.core.getShapes({ * compartmentId: compartmentId, * availabilityDomain: shapeAvailabilityDomain, * imageId: testImage.id, * shape: shapeShape, * }); * ``` */ export declare function getShapes(args: GetShapesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getShapes. */ export interface GetShapesArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Core.GetShapesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. */ imageId?: string; /** * Shape name. */ shape?: string; } /** * A collection of values returned by getShapes. */ export interface GetShapesResult { readonly availabilityDomain?: string; readonly compartmentId: string; readonly filters?: outputs.Core.GetShapesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly imageId?: string; readonly shape?: string; /** * The list of shapes. */ readonly shapes: outputs.Core.GetShapesShape[]; } /** * This data source provides the list of Shapes in Oracle Cloud Infrastructure Core service. * * Lists the shapes that can be used to launch an instance within the specified compartment. You can * filter the list by compatibility with a specific image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testShapes = oci.core.getShapes({ * compartmentId: compartmentId, * availabilityDomain: shapeAvailabilityDomain, * imageId: testImage.id, * shape: shapeShape, * }); * ``` */ export declare function getShapesOutput(args: GetShapesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getShapes. */ export interface GetShapesOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. */ imageId?: pulumi.Input; /** * Shape name. */ shape?: pulumi.Input; } //# sourceMappingURL=getShapes.d.ts.map