Provider
The provider type for the rancher2 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);def Provider(resource_name, opts=None, access_key=None, api_url=None, bootstrap=None, ca_certs=None, insecure=None, retries=None, secret_key=None, token_key=None, __props__=None);func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, 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.
- opts ResourceOptions
- A bag of options that control this 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 Programming Model docs.
Inputs
The Provider resource accepts the following input properties:
- Access
Key string API Key used to authenticate with the rancher server
- Api
Url string The URL to the rancher API
- Bootstrap bool
Bootstrap rancher server
- Ca
Certs string CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false
- Insecure bool
Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided
- Retries int
Rancher connection retries
- Secret
Key string API secret used to authenticate with the rancher server
- Token
Key string API token used to authenticate with the rancher server
- Access
Key string API Key used to authenticate with the rancher server
- Api
Url string The URL to the rancher API
- Bootstrap bool
Bootstrap rancher server
- Ca
Certs string CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false
- Insecure bool
Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided
- Retries int
Rancher connection retries
- Secret
Key string API secret used to authenticate with the rancher server
- Token
Key string API token used to authenticate with the rancher server
- access
Key string API Key used to authenticate with the rancher server
- api
Url string The URL to the rancher API
- bootstrap boolean
Bootstrap rancher server
- ca
Certs string CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false
- insecure boolean
Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided
- retries number
Rancher connection retries
- secret
Key string API secret used to authenticate with the rancher server
- token
Key string API token used to authenticate with the rancher server
- access_
key str API Key used to authenticate with the rancher server
- api_
url str The URL to the rancher API
- bootstrap bool
Bootstrap rancher server
- ca_
certs str CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false
- insecure bool
Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided
- retries float
Rancher connection retries
- secret_
key str API secret used to authenticate with the rancher server
- token_
key str API token used to authenticate with the rancher server
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.