@pulumiverse/cpln
Version:
A Pulumi package for creating and managing Control Plane (cpln) resources.
111 lines (110 loc) • 3.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class Agent extends pulumi.CustomResource {
/**
* Get an existing Agent 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?: AgentState, opts?: pulumi.CustomResourceOptions): Agent;
/**
* Returns true if the given object is an instance of Agent. 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 Agent;
/**
* The ID, in GUID format, of the Agent.
*/
readonly cplnId: pulumi.Output<string>;
/**
* Description of the Agent.
*/
readonly description: pulumi.Output<string>;
/**
* Name of the Agent.
*/
readonly name: pulumi.Output<string>;
/**
* The wormhole protocol version reported by the agent. Valid values: `v1`, `v2`.
*/
readonly protocolVersion: pulumi.Output<string>;
/**
* Full link to this resource. Can be referenced by other resources.
*/
readonly selfLink: pulumi.Output<string>;
/**
* Key-value map of resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
}>;
/**
* The JSON output needed when creating an agent.
*/
readonly userData: pulumi.Output<string>;
/**
* Create a Agent 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?: AgentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Agent resources.
*/
export interface AgentState {
/**
* The ID, in GUID format, of the Agent.
*/
cplnId?: pulumi.Input<string>;
/**
* Description of the Agent.
*/
description?: pulumi.Input<string>;
/**
* Name of the Agent.
*/
name?: pulumi.Input<string>;
/**
* The wormhole protocol version reported by the agent. Valid values: `v1`, `v2`.
*/
protocolVersion?: pulumi.Input<string>;
/**
* Full link to this resource. Can be referenced by other resources.
*/
selfLink?: pulumi.Input<string>;
/**
* Key-value map of resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* The JSON output needed when creating an agent.
*/
userData?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Agent resource.
*/
export interface AgentArgs {
/**
* Description of the Agent.
*/
description?: pulumi.Input<string>;
/**
* Name of the Agent.
*/
name?: pulumi.Input<string>;
/**
* Key-value map of resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}