linode.Provider
Explore with Pulumi AI
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 Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_ca_path: Optional[str] = None,
api_version: Optional[str] = None,
config_path: Optional[str] = None,
config_profile: Optional[str] = None,
disable_internal_cache: Optional[bool] = 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,
obj_access_key: Optional[str] = None,
obj_bucket_force_delete: Optional[bool] = None,
obj_secret_key: Optional[str] = None,
obj_use_temp_keys: Optional[bool] = None,
skip_implicit_reboots: Optional[bool] = 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)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:linode
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Api
Ca stringPath - The path to a Linode API CA file to trust.
- Api
Version string - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- Config
Path string - The path to the Linode config file to use. (default
~/.config/linode
) - Config
Profile string - The Linode config profile to use. (default
default
) - Disable
Internal boolCache - Disable the internal caching system that backs certain Linode API requests.
- Event
Poll intMs - The rate in milliseconds to poll for events.
- Lke
Event intPoll Ms - The rate in milliseconds to poll for LKE events.
- Lke
Node intReady Poll Ms - The rate in milliseconds to poll for an LKE node to be ready.
- Max
Retry intDelay Ms - Maximum delay in milliseconds before retrying a request.
- Min
Retry intDelay Ms - Minimum delay in milliseconds before retrying a request.
- Obj
Access stringKey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- Obj
Bucket boolForce Delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- Obj
Secret stringKey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- Obj
Use boolTemp Keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- Skip
Implicit boolReboots - If true, Linode Instances will not be rebooted on config and interface changes.
- Skip
Instance boolDelete Poll - Skip waiting for a linode.Instance resource to finish deleting.
- Skip
Instance boolReady Poll - Skip waiting for a linode.Instance resource to be running.
- Token string
- The token that allows you access to your Linode account
- Ua
Prefix 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
- Api
Ca stringPath - The path to a Linode API CA file to trust.
- Api
Version string - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- Config
Path string - The path to the Linode config file to use. (default
~/.config/linode
) - Config
Profile string - The Linode config profile to use. (default
default
) - Disable
Internal boolCache - Disable the internal caching system that backs certain Linode API requests.
- Event
Poll intMs - The rate in milliseconds to poll for events.
- Lke
Event intPoll Ms - The rate in milliseconds to poll for LKE events.
- Lke
Node intReady Poll Ms - The rate in milliseconds to poll for an LKE node to be ready.
- Max
Retry intDelay Ms - Maximum delay in milliseconds before retrying a request.
- Min
Retry intDelay Ms - Minimum delay in milliseconds before retrying a request.
- Obj
Access stringKey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- Obj
Bucket boolForce Delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- Obj
Secret stringKey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- Obj
Use boolTemp Keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- Skip
Implicit boolReboots - If true, Linode Instances will not be rebooted on config and interface changes.
- Skip
Instance boolDelete Poll - Skip waiting for a linode.Instance resource to finish deleting.
- Skip
Instance boolReady Poll - Skip waiting for a linode.Instance resource to be running.
- Token string
- The token that allows you access to your Linode account
- Ua
Prefix 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
- api
Ca StringPath - The path to a Linode API CA file to trust.
- api
Version String - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- config
Path String - The path to the Linode config file to use. (default
~/.config/linode
) - config
Profile String - The Linode config profile to use. (default
default
) - disable
Internal BooleanCache - Disable the internal caching system that backs certain Linode API requests.
- event
Poll IntegerMs - The rate in milliseconds to poll for events.
- lke
Event IntegerPoll Ms - The rate in milliseconds to poll for LKE events.
- lke
Node IntegerReady Poll Ms - The rate in milliseconds to poll for an LKE node to be ready.
- max
Retry IntegerDelay Ms - Maximum delay in milliseconds before retrying a request.
- min
Retry IntegerDelay Ms - Minimum delay in milliseconds before retrying a request.
- obj
Access StringKey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Bucket BooleanForce Delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- obj
Secret StringKey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Use BooleanTemp Keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- skip
Implicit BooleanReboots - If true, Linode Instances will not be rebooted on config and interface changes.
- skip
Instance BooleanDelete Poll - Skip waiting for a linode.Instance resource to finish deleting.
- skip
Instance BooleanReady Poll - Skip waiting for a linode.Instance resource to be running.
- token String
- The token that allows you access to your Linode account
- ua
Prefix 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
- api
Ca stringPath - The path to a Linode API CA file to trust.
- api
Version string - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- config
Path string - The path to the Linode config file to use. (default
~/.config/linode
) - config
Profile string - The Linode config profile to use. (default
default
) - disable
Internal booleanCache - Disable the internal caching system that backs certain Linode API requests.
- event
Poll numberMs - The rate in milliseconds to poll for events.
- lke
Event numberPoll Ms - The rate in milliseconds to poll for LKE events.
- lke
Node numberReady Poll Ms - The rate in milliseconds to poll for an LKE node to be ready.
- max
Retry numberDelay Ms - Maximum delay in milliseconds before retrying a request.
- min
Retry numberDelay Ms - Minimum delay in milliseconds before retrying a request.
- obj
Access stringKey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Bucket booleanForce Delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- obj
Secret stringKey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Use booleanTemp Keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- skip
Implicit booleanReboots - If true, Linode Instances will not be rebooted on config and interface changes.
- skip
Instance booleanDelete Poll - Skip waiting for a linode.Instance resource to finish deleting.
- skip
Instance booleanReady Poll - Skip waiting for a linode.Instance resource to be running.
- token string
- The token that allows you access to your Linode account
- ua
Prefix 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
- api_
ca_ strpath - The path to a Linode API CA file to trust.
- api_
version str - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- config_
path str - The path to the Linode config file to use. (default
~/.config/linode
) - config_
profile str - The Linode config profile to use. (default
default
) - disable_
internal_ boolcache - Disable the internal caching system that backs certain Linode API requests.
- event_
poll_ intms - The rate in milliseconds to poll for events.
- lke_
event_ intpoll_ ms - The rate in milliseconds to poll for LKE events.
- lke_
node_ intready_ poll_ ms - The rate in milliseconds to poll for an LKE node to be ready.
- max_
retry_ intdelay_ ms - Maximum delay in milliseconds before retrying a request.
- min_
retry_ intdelay_ ms - Minimum delay in milliseconds before retrying a request.
- obj_
access_ strkey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj_
bucket_ boolforce_ delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- obj_
secret_ strkey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj_
use_ booltemp_ keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- skip_
implicit_ boolreboots - If true, Linode Instances will not be rebooted on config and interface changes.
- skip_
instance_ booldelete_ poll - Skip waiting for a linode.Instance resource to finish deleting.
- skip_
instance_ boolready_ poll - Skip waiting for a linode.Instance resource to be running.
- token str
- The token that allows you access to your Linode account
- 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
- api
Ca StringPath - The path to a Linode API CA file to trust.
- api
Version String - The version of Linode API.
It can also be sourced from the following environment variable:
LINODE_API_VERSION
- config
Path String - The path to the Linode config file to use. (default
~/.config/linode
) - config
Profile String - The Linode config profile to use. (default
default
) - disable
Internal BooleanCache - Disable the internal caching system that backs certain Linode API requests.
- event
Poll NumberMs - The rate in milliseconds to poll for events.
- lke
Event NumberPoll Ms - The rate in milliseconds to poll for LKE events.
- lke
Node NumberReady Poll Ms - The rate in milliseconds to poll for an LKE node to be ready.
- max
Retry NumberDelay Ms - Maximum delay in milliseconds before retrying a request.
- min
Retry NumberDelay Ms - Minimum delay in milliseconds before retrying a request.
- obj
Access StringKey - The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Bucket BooleanForce Delete - If true, when deleting a linode.ObjectStorageBucket any objects and versions will be force deleted.
- obj
Secret StringKey - The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
- obj
Use BooleanTemp Keys - If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and linode_object_sorage_bucket resource.
- skip
Implicit BooleanReboots - If true, Linode Instances will not be rebooted on config and interface changes.
- skip
Instance BooleanDelete Poll - Skip waiting for a linode.Instance resource to finish deleting.
- skip
Instance BooleanReady Poll - Skip waiting for a linode.Instance resource to be running.
- token String
- The token that allows you access to your Linode account
- ua
Prefix 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
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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.