UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

141 lines (140 loc) 5.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of vke support addons * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vke.getSupportAddons({ * categories: ["Monitor"], * name: "metrics-server", * }); * ``` */ export declare function getSupportAddons(args?: GetSupportAddonsArgs, opts?: pulumi.InvokeOptions): Promise<GetSupportAddonsResult>; /** * A collection of arguments for invoking getSupportAddons. */ export interface GetSupportAddonsArgs { /** * The categories of addons, the value is `Storage` or `Network` or `Monitor` or `Scheduler` or `Dns` or `Security` or `Gpu` or `Image`. */ categories?: string[]; /** * The deploy model, the value is `Managed` or `Unmanaged`. */ deployModes?: string[]; /** * The deploy node types, the value is `Node` or `VirtualNode`. Only effected when deployMode is `Unmanaged`. */ deployNodeTypes?: string[]; /** * A list of Kubernetes Versions. */ kubernetesVersions?: string[]; /** * The name of the addon. */ name?: string; /** * The necessaries of addons, the value is `Required` or `Recommended` or `OnDemand`. */ necessaries?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The container network model, the value is `Flannel` or `VpcCniShared`. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. */ podNetworkModes?: string[]; } /** * A collection of values returned by getSupportAddons. */ export interface GetSupportAddonsResult { /** * The collection of addons query. */ readonly addons: outputs.vke.GetSupportAddonsAddon[]; readonly categories?: string[]; readonly deployModes?: string[]; /** * The deploy node types. */ readonly deployNodeTypes?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly kubernetesVersions?: string[]; /** * The name of addon. */ readonly name?: string; readonly necessaries?: string[]; readonly outputFile?: string; /** * The network modes of pod. */ readonly podNetworkModes?: string[]; /** * The total count of addons query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of vke support addons * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vke.getSupportAddons({ * categories: ["Monitor"], * name: "metrics-server", * }); * ``` */ export declare function getSupportAddonsOutput(args?: GetSupportAddonsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSupportAddonsResult>; /** * A collection of arguments for invoking getSupportAddons. */ export interface GetSupportAddonsOutputArgs { /** * The categories of addons, the value is `Storage` or `Network` or `Monitor` or `Scheduler` or `Dns` or `Security` or `Gpu` or `Image`. */ categories?: pulumi.Input<pulumi.Input<string>[]>; /** * The deploy model, the value is `Managed` or `Unmanaged`. */ deployModes?: pulumi.Input<pulumi.Input<string>[]>; /** * The deploy node types, the value is `Node` or `VirtualNode`. Only effected when deployMode is `Unmanaged`. */ deployNodeTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of Kubernetes Versions. */ kubernetesVersions?: pulumi.Input<pulumi.Input<string>[]>; /** * The name of the addon. */ name?: pulumi.Input<string>; /** * The necessaries of addons, the value is `Required` or `Recommended` or `OnDemand`. */ necessaries?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The container network model, the value is `Flannel` or `VpcCniShared`. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. */ podNetworkModes?: pulumi.Input<pulumi.Input<string>[]>; }