provider

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

Types

type OciSpec

type OciSpec struct {
	// (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal'. By default, 'ApiKey' will be used.
	// +optional
	Auth *string `json:"auth,omitempty" tf:"auth"`
	// (Optional) The profile name to be used from config file, if not set it will be DEFAULT.
	// +optional
	ConfigFileProfile *string `json:"configFileProfile,omitempty" tf:"config_file_profile"`
	// (Optional) Disable automatic retries for retriable errors.
	// Automatic retries were introduced to solve some eventual consistency problems but it also introduced performance issues on destroy operations.
	// +optional
	DisableAutoRetries *bool `json:"disableAutoRetries,omitempty" tf:"disable_auto_retries"`
	// (Optional) The fingerprint for the user's RSA key. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.
	// +optional
	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint"`
	// (Optional) A PEM formatted RSA private key for the user.
	// A private_key or a private_key_path must be provided if auth is set to 'ApiKey', ignored otherwise.
	// +optional
	PrivateKey *string `json:"-" sensitive:"true" tf:"private_key"`
	// (Optional) The password used to secure the private key.
	// +optional
	PrivateKeyPassword *string `json:"-" sensitive:"true" tf:"private_key_password"`
	// (Optional) The path to the user's PEM formatted private key.
	// A private_key or a private_key_path must be provided if auth is set to 'ApiKey', ignored otherwise.
	// +optional
	PrivateKeyPath *string `json:"privateKeyPath,omitempty" tf:"private_key_path"`
	// (Required) The region for API connections (e.g. us-ashburn-1).
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// (Optional) The minimum duration (in seconds) to retry a resource operation in response to an error.
	// The actual retry duration may be longer due to jittering of retry operations. This value is ignored if the `disable_auto_retries` field is set to true.
	// +optional
	RetryDurationSeconds *int64 `json:"retryDurationSeconds,omitempty" tf:"retry_duration_seconds"`
	// (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.
	// +optional
	TenancyOcid *string `json:"tenancyOcid,omitempty" tf:"tenancy_ocid"`
	// (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.
	// +optional
	UserOcid *string `json:"userOcid,omitempty" tf:"user_ocid"`
}

Jump to

Keyboard shortcuts

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