Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Provider

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 for more information.

Create a Provider Resource

new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             api_version: Optional[str] = None,
             event_poll_ms: Optional[int] = None,
             lke_event_poll_ms: Optional[int] = None,
             lke_node_ready_poll_ms: Optional[int] = None,
             max_retry_delay_ms: Optional[int] = None,
             min_retry_delay_ms: Optional[int] = None,
             skip_instance_delete_poll: Optional[bool] = None,
             skip_instance_ready_poll: Optional[bool] = None,
             token: Optional[str] = None,
             ua_prefix: Optional[str] = None,
             url: Optional[str] = None)
@overload
def Provider(resource_name: str,
             args: ProviderArgs,
             opts: Optional[ResourceOptions] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Provider Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Provider resource accepts the following input properties:

Token string
The token that allows you access to your Linode account
ApiVersion string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_API_VERSION
EventPollMs int
The rate in milliseconds to poll for events.
LkeEventPollMs int
The rate in milliseconds to poll for LKE events.
LkeNodeReadyPollMs int
The rate in milliseconds to poll for an LKE node to be ready.
MaxRetryDelayMs int
Maximum delay in milliseconds before retrying a request.
MinRetryDelayMs int
Minimum delay in milliseconds before retrying a request.
SkipInstanceDeletePoll bool
Skip waiting for a linode_instance resource to finish deleting.
SkipInstanceReadyPoll bool
Skip waiting for a linode_instance resource to be running.
UaPrefix string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_UA_PREFIX
Url string
The HTTP(S) API address of the Linode API to use. It can also be sourced from the following environment variable: LINODE_URL
Token string
The token that allows you access to your Linode account
ApiVersion string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_API_VERSION
EventPollMs int
The rate in milliseconds to poll for events.
LkeEventPollMs int
The rate in milliseconds to poll for LKE events.
LkeNodeReadyPollMs int
The rate in milliseconds to poll for an LKE node to be ready.
MaxRetryDelayMs int
Maximum delay in milliseconds before retrying a request.
MinRetryDelayMs int
Minimum delay in milliseconds before retrying a request.
SkipInstanceDeletePoll bool
Skip waiting for a linode_instance resource to finish deleting.
SkipInstanceReadyPoll bool
Skip waiting for a linode_instance resource to be running.
UaPrefix string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_UA_PREFIX
Url string
The HTTP(S) API address of the Linode API to use. It can also be sourced from the following environment variable: LINODE_URL
token string
The token that allows you access to your Linode account
apiVersion string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_API_VERSION
eventPollMs number
The rate in milliseconds to poll for events.
lkeEventPollMs number
The rate in milliseconds to poll for LKE events.
lkeNodeReadyPollMs number
The rate in milliseconds to poll for an LKE node to be ready.
maxRetryDelayMs number
Maximum delay in milliseconds before retrying a request.
minRetryDelayMs number
Minimum delay in milliseconds before retrying a request.
skipInstanceDeletePoll boolean
Skip waiting for a linode_instance resource to finish deleting.
skipInstanceReadyPoll boolean
Skip waiting for a linode_instance resource to be running.
uaPrefix string
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_UA_PREFIX
url string
The HTTP(S) API address of the Linode API to use. It can also be sourced from the following environment variable: LINODE_URL
token str
The token that allows you access to your Linode account
api_version str
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_API_VERSION
event_poll_ms int
The rate in milliseconds to poll for events.
lke_event_poll_ms int
The rate in milliseconds to poll for LKE events.
lke_node_ready_poll_ms int
The rate in milliseconds to poll for an LKE node to be ready.
max_retry_delay_ms int
Maximum delay in milliseconds before retrying a request.
min_retry_delay_ms int
Minimum delay in milliseconds before retrying a request.
skip_instance_delete_poll bool
Skip waiting for a linode_instance resource to finish deleting.
skip_instance_ready_poll bool
Skip waiting for a linode_instance resource to be running.
ua_prefix str
An HTTP User-Agent Prefix to prepend in API requests. It can also be sourced from the following environment variable: LINODE_UA_PREFIX
url str
The HTTP(S) API address of the Linode API to use. It can also be sourced from the following environment variable: LINODE_URL

Outputs

All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Package Details

Repository
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes
This Pulumi package is based on the linode Terraform Provider.