@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
132 lines (131 loc) • 4.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage veecp batch edge machine
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.veecp.BatchEdgeMachine("foo", {
* clusterId: "ccvmb0c66t101fnob3dhg",
* nodePoolId: "pcvn3alfic26jjcjsa1r0",
* ttlHours: 1,
* });
* ```
*
* ## Import
*
* VeecpBatchEdgeMachine can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:veecp/batchEdgeMachine:BatchEdgeMachine default resource_id
* ```
*/
export declare class BatchEdgeMachine extends pulumi.CustomResource {
/**
* Get an existing BatchEdgeMachine 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?: BatchEdgeMachineState, opts?: pulumi.CustomResourceOptions): BatchEdgeMachine;
/**
* Returns true if the given object is an instance of BatchEdgeMachine. 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 BatchEdgeMachine;
/**
* The client token.
*/
readonly clientToken: pulumi.Output<string | undefined>;
/**
* The cluster id.
*/
readonly clusterId: pulumi.Output<string>;
/**
* Expiration date of the managed script, UTC time point, in seconds. If the expiration time is set, TTLHours will be ignored.
*/
readonly expirationDate: pulumi.Output<number>;
/**
* The name of the node.
*/
readonly name: pulumi.Output<string>;
/**
* The node pool id.
*/
readonly nodePoolId: pulumi.Output<string>;
/**
* Effective hours of the managed script are counted from the creation time.
*/
readonly ttlHours: pulumi.Output<number>;
/**
* Create a BatchEdgeMachine 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: BatchEdgeMachineArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering BatchEdgeMachine resources.
*/
export interface BatchEdgeMachineState {
/**
* The client token.
*/
clientToken?: pulumi.Input<string>;
/**
* The cluster id.
*/
clusterId?: pulumi.Input<string>;
/**
* Expiration date of the managed script, UTC time point, in seconds. If the expiration time is set, TTLHours will be ignored.
*/
expirationDate?: pulumi.Input<number>;
/**
* The name of the node.
*/
name?: pulumi.Input<string>;
/**
* The node pool id.
*/
nodePoolId?: pulumi.Input<string>;
/**
* Effective hours of the managed script are counted from the creation time.
*/
ttlHours?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a BatchEdgeMachine resource.
*/
export interface BatchEdgeMachineArgs {
/**
* The client token.
*/
clientToken?: pulumi.Input<string>;
/**
* The cluster id.
*/
clusterId: pulumi.Input<string>;
/**
* Expiration date of the managed script, UTC time point, in seconds. If the expiration time is set, TTLHours will be ignored.
*/
expirationDate?: pulumi.Input<number>;
/**
* The name of the node.
*/
name?: pulumi.Input<string>;
/**
* The node pool id.
*/
nodePoolId: pulumi.Input<string>;
/**
* Effective hours of the managed script are counted from the creation time.
*/
ttlHours: pulumi.Input<number>;
}