UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

145 lines (144 loc) 5.2 kB
import * as pulumi from "@pulumi/pulumi"; /** * The provider type for the linode package. By default, resources use package-wide configuration * settings, however an explicit `Provider` instance may be created and passed during resource * construction to achieve fine-grained programmatic control over provider settings. See the * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. */ export declare class Provider extends pulumi.ProviderResource { /** * Returns true if the given object is an instance of Provider. 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 Provider; /** * The path to a Linode API CA file to trust. */ readonly apiCaPath: pulumi.Output<string | undefined>; /** * The version of Linode API. */ readonly apiVersion: pulumi.Output<string | undefined>; /** * The path to the Linode config file to use. (default `~/.config/linode`) */ readonly configPath: pulumi.Output<string | undefined>; /** * The Linode config profile to use. (default `default`) */ readonly configProfile: pulumi.Output<string | undefined>; /** * The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object. */ readonly objAccessKey: pulumi.Output<string | undefined>; /** * The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object. */ readonly objSecretKey: pulumi.Output<string | undefined>; /** * The token that allows you access to your Linode account */ readonly token: pulumi.Output<string | undefined>; /** * An HTTP User-Agent Prefix to prepend in API requests. */ readonly uaPrefix: pulumi.Output<string | undefined>; /** * The HTTP(S) API address of the Linode API to use. */ readonly url: pulumi.Output<string | undefined>; /** * Create a Provider 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?: ProviderArgs, opts?: pulumi.ResourceOptions); } /** * The set of arguments for constructing a Provider resource. */ export interface ProviderArgs { /** * The path to a Linode API CA file to trust. */ apiCaPath?: pulumi.Input<string>; /** * The version of Linode API. */ apiVersion?: pulumi.Input<string>; /** * The path to the Linode config file to use. (default `~/.config/linode`) */ configPath?: pulumi.Input<string>; /** * The Linode config profile to use. (default `default`) */ configProfile?: pulumi.Input<string>; /** * Disable the internal caching system that backs certain Linode API requests. */ disableInternalCache?: pulumi.Input<boolean>; /** * The rate in milliseconds to poll for events. */ eventPollMs?: pulumi.Input<number>; /** * The rate in milliseconds to poll for LKE events. */ lkeEventPollMs?: pulumi.Input<number>; /** * The rate in milliseconds to poll for an LKE node to be ready. */ lkeNodeReadyPollMs?: pulumi.Input<number>; /** * Maximum delay in milliseconds before retrying a request. */ maxRetryDelayMs?: pulumi.Input<number>; /** * Minimum delay in milliseconds before retrying a request. */ minRetryDelayMs?: pulumi.Input<number>; /** * The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object. */ objAccessKey?: pulumi.Input<string>; /** * If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted. */ objBucketForceDelete?: pulumi.Input<boolean>; /** * The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object. */ objSecretKey?: pulumi.Input<string>; /** * If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and * linodeObjectSorageBucket resource. */ objUseTempKeys?: pulumi.Input<boolean>; /** * If true, Linode Instances will not be rebooted on config and interface changes. */ skipImplicitReboots?: pulumi.Input<boolean>; /** * Skip waiting for a linode.Instance resource to finish deleting. */ skipInstanceDeletePoll?: pulumi.Input<boolean>; /** * Skip waiting for a linode.Instance resource to be running. */ skipInstanceReadyPoll?: pulumi.Input<boolean>; /** * The token that allows you access to your Linode account */ token?: pulumi.Input<string>; /** * An HTTP User-Agent Prefix to prepend in API requests. */ uaPrefix?: pulumi.Input<string>; /** * The HTTP(S) API address of the Linode API to use. */ url?: pulumi.Input<string>; }