Viewing docs for ESXi Native v1.0.0
published on Monday, Aug 28, 2023 by pulumiverse
published on Monday, Aug 28, 2023 by pulumiverse
ESXi Native: Installation & Configuration
I want to use the Pulumi ESXi Native package (esxi-native) in my project.
## Provider details
- Package: esxi-native
- Version: v1.0.0
- Publisher: pulumiverse
- Source: pulumi
- Repository: https://github.com/pulumiverse/pulumi-esxi-native
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumiverse/esxi-native/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumiverse/esxi-native/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumiverse/esxi-native/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumiverse/esxi-native/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for ESXi Native v1.0.0
published on Monday, Aug 28, 2023 by pulumiverse
published on Monday, Aug 28, 2023 by pulumiverse
Installation
The Pulumi ESXi Native provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumiverse/esxi-native - Python:
pulumiverse_esxi_native - Go:
github.com/pulumiverse/pulumi-esxi-native/sdk/go/esxi - .NET:
Pulumiverse.EsxiNative
Provider Binary
The ESXi Native provider binary is a third party binary. It can be installed using the pulumi plugin command.
pulumi plugin install resource esxi-native <version> --server github://api.github.com/pulumiverse
Replace the <version> string with your desired version.
Configuration
In order to use the provider, we need to provide SSH credentials to the ESXi Host
Set configuration using pulumi config
Remember to pass --secret when setting password so that it is properly encrypted:
```bash
$ pulumi config set esxi-native:username <username>
$ pulumi config set esxi-native:password <password> --secret
$ pulumi config set esxi-native:host <host IP or FQDN>
```
Set configuration using environment variables
$ export ESXI_USERNAME=<YOUR_ESXI_USERNAME>
$ export ESXI_PASSWORD=<YOUR_ESXI_PASSWORD>
$ export ESXI_HOST=<YOUR_ESXI_HOST_IP>
$ export ESXI_USERNAME=<YOUR_ESXI_USERNAME>
$ export ESXI_PASSWORD=<YOUR_ESXI_PASSWORD>
$ export ESXI_HOST=<YOUR_ESXI_HOST_IP>
> $env:ESXI_USERNAME = "<YOUR_ESXI_USERNAME>"
> $env:ESXI_PASSWORD = "<YOUR_ESXI_PASSWORD>"
> $env:ESXI_HOST = "<YOUR_ESXI_HOST>"
Configuration options
Use pulumi config set esxi-native:<option> or pass options to the constructor of new esxi-native.Provider.
Note: Each config can also be sourced from the environment variables given below
| Option | Required? | Description | Default | Env. Variable |
|---|---|---|---|---|
username | Required | The ESXi Username | ESXI_USERNAME | |
password | Required | The ESXi Password, has support for secrets too | ESXI_PASSWORD | |
host | Required | The ESXi Host Name where to connect | ESXI_HOST | |
sshPort | Optional | The ESXi Host SSH Port where to connect | 22 | ESXI_SSH_PORT |
sslPort | Optional | The ESXi Host SSL Port where to connect | 443 | ESXI_SSL_PORT |
Viewing docs for ESXi Native v1.0.0
published on Monday, Aug 28, 2023 by pulumiverse
published on Monday, Aug 28, 2023 by pulumiverse
