config

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthFile

func GetAuthFile(ctx *pulumi.Context) string

The file path to the JSON file with auth creds for SCM.

func GetAuthUrl added in v0.1.2

func GetAuthUrl(ctx *pulumi.Context) string

The URL to send auth credentials to which will return a JWT. Default: `https://auth.apps.paloaltonetworks.com/auth/v1/oauth2/access_token`. Environment variable: `SCM_AUTH_URL`. JSON config file variable: `authUrl`.

func GetClientId

func GetClientId(ctx *pulumi.Context) string

The client ID for the connection. Environment variable: `SCM_CLIENT_ID`. JSON config file variable: `clientId`.

func GetClientSecret

func GetClientSecret(ctx *pulumi.Context) string

The client secret for the connection. Environment variable: `SCM_CLIENT_SECRET`. JSON config file variable: `clientSecret`.

func GetHeaders added in v0.1.2

func GetHeaders(ctx *pulumi.Context) string

Custom HTTP headers to be sent with all API commands. Environment variable: `SCM_HEADERS`. JSON config file variable: `headers`.

func GetHost

func GetHost(ctx *pulumi.Context) string

The hostname of Strata Cloud Manager API. Default: `api.sase.paloaltonetworks.com`. Environment variable: `SCM_HOST`. JSON config file variable: `host`.

func GetLogging

func GetLogging(ctx *pulumi.Context) string

The logging level of the provider and the underlying communication. Default: `quiet`. Environment variable: `SCM_LOGGING`. JSON config file variable: `logging`.

func GetPort added in v0.1.2

func GetPort(ctx *pulumi.Context) int

The port number to use for API commands, if non-standard for the given protocol. Environment variable: `SCM_PORT`. JSON config file variable: `port`.

func GetProtocol added in v0.1.2

func GetProtocol(ctx *pulumi.Context) string

The protocol to use for SCM. This should be 'http' or 'https'. Default: `https`. Environment variable: `SCM_PROTOCOL`. JSON config file variable: `protocol`.

func GetScope

func GetScope(ctx *pulumi.Context) string

The client scope. Environment variable: `SCM_SCOPE`. JSON config file variable: `scope`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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