provider

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Overview

providers.go

Index

Constants

View Source
const TerraformProviderProductUserAgent = "terraform-provider-jamfpro"

TerraformProviderProductUserAgent is included in the User-Agent header for any API requests made by the provider.

Variables

This section is empty.

Functions

func GetClientID

func GetClientID(d *schema.ResourceData) (string, error)

GetClientID retrieves the 'client_id' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_CLIENT_ID environment variable.

func GetClientSecret

func GetClientSecret(d *schema.ResourceData) (string, error)

GetClientSecret retrieves the 'client_secret' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_CLIENT_SECRET environment variable.

func GetInstanceName

func GetInstanceName(d *schema.ResourceData) (string, error)

GetInstanceName retrieves the 'instance_name' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_INSTANCE_NAME environment variable.

func Provider

func Provider() *schema.Provider

Schema defines the configuration attributes for the within the JamfPro provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

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