Documentation
¶
Index ¶
- func GetAuthFile(ctx *pulumi.Context) string
- func GetAuthUrl(ctx *pulumi.Context) string
- func GetClientId(ctx *pulumi.Context) string
- func GetClientSecret(ctx *pulumi.Context) string
- func GetHeaders(ctx *pulumi.Context) string
- func GetHost(ctx *pulumi.Context) string
- func GetLogging(ctx *pulumi.Context) string
- func GetPort(ctx *pulumi.Context) int
- func GetProtocol(ctx *pulumi.Context) string
- func GetScope(ctx *pulumi.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthFile ¶
The file path to the JSON file with auth creds for SCM.
func GetAuthUrl ¶ added in v0.1.2
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 ¶
The client ID for the connection. Environment variable: `SCM_CLIENT_ID`. JSON config file variable: `clientId`.
func GetClientSecret ¶
The client secret for the connection. Environment variable: `SCM_CLIENT_SECRET`. JSON config file variable: `clientSecret`.
func GetHeaders ¶ added in v0.1.2
Custom HTTP headers to be sent with all API commands. Environment variable: `SCM_HEADERS`. JSON config file variable: `headers`.
func GetHost ¶
The hostname of Strata Cloud Manager API. Default: `api.sase.paloaltonetworks.com`. Environment variable: `SCM_HOST`. JSON config file variable: `host`.
func GetLogging ¶
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
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
The protocol to use for SCM. This should be 'http' or 'https'. Default: `https`. Environment variable: `SCM_PROTOCOL`. JSON config file variable: `protocol`.
Types ¶
This section is empty.