import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Cluster Option resource in Oracle Cloud Infrastructure Container Engine service. * * Get options available for clusters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterOption = oci.containerengine.getClusterOption({ * clusterOptionId: testClusterOptionOciContainerengineClusterOption.id, * compartmentId: compartmentId, * shouldListAllPatchVersions: clusterOptionShouldListAllPatchVersions === "true", * }); * ``` */ export declare function getClusterOption(args: GetClusterOptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterOption. */ export interface GetClusterOptionArgs { /** * The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. */ clusterOptionId: string; /** * The OCID of the compartment. */ compartmentId?: string; /** * Option to show all kubernetes patch versions */ shouldListAllPatchVersions?: boolean; } /** * A collection of values returned by getClusterOption. */ export interface GetClusterOptionResult { readonly clusterOptionId: string; /** * Available CNIs and network options for existing and new node pools of the cluster */ readonly clusterPodNetworkOptions: outputs.ContainerEngine.GetClusterOptionClusterPodNetworkOption[]; readonly compartmentId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Available Kubernetes versions. */ readonly kubernetesVersions: string[]; readonly shouldListAllPatchVersions?: boolean; } /** * This data source provides details about a specific Cluster Option resource in Oracle Cloud Infrastructure Container Engine service. * * Get options available for clusters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterOption = oci.containerengine.getClusterOption({ * clusterOptionId: testClusterOptionOciContainerengineClusterOption.id, * compartmentId: compartmentId, * shouldListAllPatchVersions: clusterOptionShouldListAllPatchVersions === "true", * }); * ``` */ export declare function getClusterOptionOutput(args: GetClusterOptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterOption. */ export interface GetClusterOptionOutputArgs { /** * The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. */ clusterOptionId: pulumi.Input; /** * The OCID of the compartment. */ compartmentId?: pulumi.Input; /** * Option to show all kubernetes patch versions */ shouldListAllPatchVersions?: pulumi.Input; } //# sourceMappingURL=getClusterOption.d.ts.map