UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

72 lines (71 loc) 2.72 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage vmp integration task enable * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * // Create a VMP integration task enable * const _default = new volcengine.vmp.IntegrationTaskEnable("default", {taskIds: [ * "3c55cdd4-f240-4fc8-a43b-ca83ad44807a", * "a09fdaf5-ce90-4f34-8ab3-4decd5aef8e1", * ]}); * ``` * * ## Import * * VMP Integration Task Enable can be imported using the task ids, e.g. * * ```sh * $ pulumi import volcengine:vmp/integrationTaskEnable:IntegrationTaskEnable default task-id1,task-id2 * ``` */ export declare class IntegrationTaskEnable extends pulumi.CustomResource { /** * Get an existing IntegrationTaskEnable 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?: IntegrationTaskEnableState, opts?: pulumi.CustomResourceOptions): IntegrationTaskEnable; /** * Returns true if the given object is an instance of IntegrationTaskEnable. 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 IntegrationTaskEnable; /** * A list of integration task IDs to enable. */ readonly taskIds: pulumi.Output<string[]>; /** * Create a IntegrationTaskEnable 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: IntegrationTaskEnableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntegrationTaskEnable resources. */ export interface IntegrationTaskEnableState { /** * A list of integration task IDs to enable. */ taskIds?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a IntegrationTaskEnable resource. */ export interface IntegrationTaskEnableArgs { /** * A list of integration task IDs to enable. */ taskIds: pulumi.Input<pulumi.Input<string>[]>; }