provisioner

package
v0.0.0-...-e93748e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	common.PackerConfig `mapstructure:",squash"`

	ClientId       string `mapstructure:"client_id"`
	ClientSecret   string `mapstructure:"client_secret"`
	TenantId       string `mapstructure:"tenant_id"`
	SubscriptionId string `mapstructure:"subscription_id"`

	ResourceGroup string `mapstructure:"resource_group_name"`
	VmName        string `mapstructure:"vm_name"`
	Location      string `mapstructure:"location"`

	Name                    string `mapstructure:"name"`
	Publisher               string `mapstructure:"publisher"`
	ExtensionType           string `mapstructure:"extension_type"`
	TypeHandlerVersion      string `mapstructure:"type_handler_version"`
	AutoUpgradeMinorVersion bool   `mapstructure:"auto_upgrade_minor_version"`
	DeleteExtension         bool   `mapstructure:"delete_extension"`

	SettingsFile          string `mapstructure:"settings_file"`
	ProtectedSettingsFile string `mapstructure:"protected_settings_file"`
	// contains filtered or unexported fields
}

type Provisioner

type Provisioner struct {
	// contains filtered or unexported fields
}

func (*Provisioner) Cancel

func (p *Provisioner) Cancel()

func (*Provisioner) Prepare

func (p *Provisioner) Prepare(raws ...interface{}) error

func (*Provisioner) Provision

func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error

Jump to

Keyboard shortcuts

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