azurerm

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: MPL-2.0 Imports: 68 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type ArmClient

type ArmClient struct {
	StopContext context.Context
	// contains filtered or unexported fields
}

ArmClient contains the handles to all the specific Azure Resource Manager resource classes' respective clients.

type Config

type Config struct {
	ManagementURL string

	// Core
	ClientID                  string
	SubscriptionID            string
	TenantID                  string
	Environment               string
	SkipCredentialsValidation bool
	SkipProviderRegistration  bool

	// Service Principal Auth
	ClientSecret string

	// Bearer Auth
	AccessToken  *adal.Token
	IsCloudShell bool
}

Config is the configuration structure used to instantiate a new Azure management client.

func (*Config) LoadTokensFromAzureCLI added in v0.2.0

func (c *Config) LoadTokensFromAzureCLI() error

type KeyVaultKey added in v0.2.2

type KeyVaultKey struct {
	KeyVaultBaseUrl string
	Name            string
	Version         string
}

type ResourceID

type ResourceID struct {
	SubscriptionID string
	ResourceGroup  string
	Provider       string
	Path           map[string]string
}

ResourceID represents a parsed long-form Azure Resource Manager ID with the Subscription ID, Resource Group and the Provider as top- level fields, and other key-value pairs available via a map in the Path field.

type SecretID added in v0.1.6

type SecretID struct {
	KeyVaultBaseUrl string
	Name            string
	Version         string
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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