config

package
v0.0.0-...-ac9024e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllowInsecure

func GetAllowInsecure(ctx *pulumi.Context) bool

Skip verification of TLS certificates of API requests. You may need to set this to `true` if you are using your local API without setting up a signed certificate. Can be specified with the `UNIFI_INSECURE` environment variable.

func GetApiUrl

func GetApiUrl(ctx *pulumi.Context) string

URL of the controller API. Can be specified with the `UNIFI_API` environment variable. You should **NOT** supply the path (`/api`), the SDK will discover the appropriate paths. This is to support UDM Pro style API paths as well as more standard controller paths.

func GetPassword

func GetPassword(ctx *pulumi.Context) string

Password for the user accessing the API. Can be specified with the `UNIFI_PASSWORD` environment variable.

func GetSite

func GetSite(ctx *pulumi.Context) string

The site in the Unifi controller this provider will manage. Can be specified with the `UNIFI_SITE` environment variable. Default: `default`

func GetUsername

func GetUsername(ctx *pulumi.Context) string

Local user name for the Unifi controller API. Can be specified with the `UNIFI_USERNAME` environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL