config

package
v0.0.0-...-c115ad8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthToken

func GetAuthToken(ctx *pulumi.Context) string

The Equinix Metal API auth key for API operations

func GetClientId

func GetClientId(ctx *pulumi.Context) string

API Consumer Key available under My Apps section in developer portal

func GetClientSecret

func GetClientSecret(ctx *pulumi.Context) string

API Consumer secret available under My Apps section in developer portal

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context) string

The Equinix API base URL to point out desired environment. Defaults to https://api.equinix.com

func GetMaxRetries

func GetMaxRetries(ctx *pulumi.Context) int

Maximum number of retries.

func GetMaxRetryWaitSeconds

func GetMaxRetryWaitSeconds(ctx *pulumi.Context) int

Maximum number of seconds to wait before retrying a request.

func GetRequestTimeout

func GetRequestTimeout(ctx *pulumi.Context) int

The duration of time, in seconds, that the Equinix Platform API Client should wait before canceling an API request. Defaults to 30

func GetResponseMaxPageSize

func GetResponseMaxPageSize(ctx *pulumi.Context) int

The maximum number of records in a single response for REST queries that produce paginated responses

func GetToken

func GetToken(ctx *pulumi.Context) string

API token from the developer sandbox

Types

This section is empty.

Jump to

Keyboard shortcuts

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