UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

143 lines (142 loc) 5.28 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage vmp integration task * ## Import * * VMP Integration Task can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:vmp/integrationTask:IntegrationTask default 60dde3ca-951c-4c05-8777-e5a7caa07ad6 * ``` */ export declare class IntegrationTask extends pulumi.CustomResource { /** * Get an existing IntegrationTask resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationTaskState, opts?: pulumi.CustomResourceOptions): IntegrationTask; /** * Returns true if the given object is an instance of IntegrationTask. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IntegrationTask; /** * The create time of the integration task. */ readonly createTime: pulumi.Output<string>; /** * The deployment environment. Valid values: `Vke` or `Managed`. */ readonly environment: pulumi.Output<string | undefined>; /** * The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores. */ readonly name: pulumi.Output<string>; /** * The parameters of the integration task. Must be a JSON-escaped string. */ readonly params: pulumi.Output<string | undefined>; /** * The status of the integration task. Valid values: `Creating`, `Updating`, `Active`, `Error`, `Deleting`. */ readonly status: pulumi.Output<string>; /** * The type of the integration task. For example, `CloudMonitor` indicates a cloud monitoring integration task. */ readonly type: pulumi.Output<string>; /** * The update time of the integration task. */ readonly updateTime: pulumi.Output<string>; /** * The ID of the VKE cluster. Required when Environment is `Vke`. */ readonly vkeClusterId: pulumi.Output<string | undefined>; /** * The workspace ID. Required when Environment is `Managed`. */ readonly workspaceId: pulumi.Output<string | undefined>; /** * Create a IntegrationTask resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IntegrationTaskArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntegrationTask resources. */ export interface IntegrationTaskState { /** * The create time of the integration task. */ createTime?: pulumi.Input<string>; /** * The deployment environment. Valid values: `Vke` or `Managed`. */ environment?: pulumi.Input<string>; /** * The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores. */ name?: pulumi.Input<string>; /** * The parameters of the integration task. Must be a JSON-escaped string. */ params?: pulumi.Input<string>; /** * The status of the integration task. Valid values: `Creating`, `Updating`, `Active`, `Error`, `Deleting`. */ status?: pulumi.Input<string>; /** * The type of the integration task. For example, `CloudMonitor` indicates a cloud monitoring integration task. */ type?: pulumi.Input<string>; /** * The update time of the integration task. */ updateTime?: pulumi.Input<string>; /** * The ID of the VKE cluster. Required when Environment is `Vke`. */ vkeClusterId?: pulumi.Input<string>; /** * The workspace ID. Required when Environment is `Managed`. */ workspaceId?: pulumi.Input<string>; } /** * The set of arguments for constructing a IntegrationTask resource. */ export interface IntegrationTaskArgs { /** * The deployment environment. Valid values: `Vke` or `Managed`. */ environment?: pulumi.Input<string>; /** * The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores. */ name?: pulumi.Input<string>; /** * The parameters of the integration task. Must be a JSON-escaped string. */ params?: pulumi.Input<string>; /** * The type of the integration task. For example, `CloudMonitor` indicates a cloud monitoring integration task. */ type: pulumi.Input<string>; /** * The ID of the VKE cluster. Required when Environment is `Vke`. */ vkeClusterId?: pulumi.Input<string>; /** * The workspace ID. Required when Environment is `Managed`. */ workspaceId?: pulumi.Input<string>; }