Documentation ¶
Index ¶
- Constants
- Variables
- func Credentials(m any, CredentialValidation int) (*settings.Credentials, error)
- func ProviderConfigure(ctx context.Context, d *schema.ResourceData) (any, diag.Diagnostics)
- func ProviderConfigureGeneric(ctx context.Context, d Getter) (any, diag.Diagnostics)
- type Automation
- type Getter
- type IAM
- type ProviderConfiguration
Constants ¶
View Source
const ( CredValDefault = iota CredValIAM CredValCluster CredValAutomation CredValNone )
Variables ¶
View Source
var HTTPVerbose = (strings.TrimSpace(os.Getenv("DYNATRACE_DEBUG")) == "true")
HTTPVerbose if set to `true` terraform-provider-dynatrace.log will contain request and response payload
Functions ¶
func Credentials ¶
func Credentials(m any, CredentialValidation int) (*settings.Credentials, error)
func ProviderConfigure ¶
func ProviderConfigure(ctx context.Context, d *schema.ResourceData) (any, diag.Diagnostics)
Types ¶
type Automation ¶ added in v1.35.0
type ProviderConfiguration ¶
type ProviderConfiguration struct { EnvironmentURL string DTenvURL string DTNonConfigEnvURL string DTApiV2URL string ClusterAPIV2URL string ClusterAPIToken string APIToken string IAM IAM Automation Automation }
ProviderConfiguration contains the initialized API clients to communicate with the Dynatrace API
Click to show internal directories.
Click to hide internal directories.