Versions in this module Expand all Collapse all v0 v0.10.1 May 7, 2016 Changes in this version + const DefaultCloudEnvironmentName + const DefaultImageVersion + const DefaultSasBlobContainer + const DefaultSasBlobPermission + const DefaultSecretName + const EnvPackerLogAzureMaxLen + const KeyVault + const Windows + type Artifact struct + OSDiskUri string + OSDiskUriReadOnlySas string + StorageAccountLocation string + TemplateUri string + TemplateUriReadOnlySas string + func NewArtifact(template *CaptureTemplate, getSasUrl func(name string) string) (*Artifact, error) + func (*Artifact) BuilderId() string + func (*Artifact) Destroy() error + func (*Artifact) Files() []string + func (*Artifact) Id() string + func (*Artifact) State(name string) interface{} + func (a *Artifact) String() string + type Authenticate struct + func NewAuthenticate(env azure.Environment, clientID, clientSecret, tenantID string) *Authenticate type AzureClient + InspectorMaxLength int + Template *CaptureTemplate + type CaptureBootDiagnostics struct + Enabled bool + type CaptureDiagnosticProfile struct + BootDiagnostics CaptureBootDiagnostics + type CaptureDisk struct + Caching string + CreateOption string + Image CaptureUri + Name string + OSType string + Vhd CaptureUri + type CaptureHardwareProfile struct + VMSize string + type CaptureNetworkInterface struct + Id string + type CaptureNetworkProfile struct + NetworkInterfaces []CaptureNetworkInterface + type CaptureOSProfile struct + AdminPassword string + AdminUsername string + ComputerName string + type CaptureOperation struct + OperationId string + Properties *CaptureOperationProperties + Status string + type CaptureOperationProperties struct + Output *CaptureTemplate + type CaptureProperties struct + DiagnosticsProfile CaptureDiagnosticProfile + HardwareProfile CaptureHardwareProfile + NetworkProfile CaptureNetworkProfile + OSProfile CaptureOSProfile + ProvisioningState int + StorageProfile CaptureStorageProfile + type CaptureResources struct + ApiVersion string + Location string + Name string + Properties CaptureProperties + Type string + type CaptureStorageProfile struct + OSDisk CaptureDisk + type CaptureTemplate struct + ContentVersion string + Parameters map[string]CaptureTemplateParameter + Resources []CaptureResources + Schema string + type CaptureTemplateParameter struct + DefaultValue string + Type string + type CaptureUri struct + Uri string type Config + CloudEnvironmentName string + ImageVersion string + OSType string + ObjectID string + type StepGetCertificate struct + func NewStepGetCertificate(client *AzureClient, ui packer.Ui) *StepGetCertificate + func (*StepGetCertificate) Cleanup(multistep.StateBag) + func (s *StepGetCertificate) Run(state multistep.StateBag) multistep.StepAction + type StepSetCertificate struct + func NewStepSetCertificate(config *Config, ui packer.Ui) *StepSetCertificate + func (*StepSetCertificate) Cleanup(multistep.StateBag) + func (s *StepSetCertificate) Run(state multistep.StateBag) multistep.StepAction type TempName + CertificatePassword string + KeyVaultName string type TemplateParameters + ImageVersion *TemplateParameter + KeyVaultName *TemplateParameter + KeyVaultSecretValue *TemplateParameter + ObjectId *TemplateParameter + StorageAccountBlobEndpoint *TemplateParameter + TenantId *TemplateParameter + WinRMCertificateUrl *TemplateParameter v0.10.0 Mar 15, 2016 Changes in this version + const BuilderId + const DefaultPublicIPAddressName + const DefaultUserName + const DefaultVMSize + const DeployCanceled + const DeployDeleted + const DeployFailed + const DeploySucceeded + const KeySize + const Linux + const TempNameAlphabet + const TempPasswordAlphabet + type AzureClient struct + func NewAzureClient(subscriptionID string, resourceGroupName string, storageAccountName string, ...) (*AzureClient, error) + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) ([]string, error) + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type Config struct + CaptureContainerName string + CaptureNamePrefix string + ClientID string + ClientSecret string + Comm communicator.Config + ImageOffer string + ImagePublisher string + ImageSku string + Location string + Password string + ResourceGroupName string + StorageAccount string + SubscriptionID string + TenantID string + UserName string + VMSize string + type DeploymentFactory struct + type DeploymentPoller struct + func NewDeploymentPoller(getProvisioningState func() (string, error)) *DeploymentPoller + func (t *DeploymentPoller) PollAsNeeded() (string, error) + type OpenSshKeyPair struct + func NewOpenSshKeyPair() (*OpenSshKeyPair, error) + func NewOpenSshKeyPairWithSize(keySize int) (*OpenSshKeyPair, error) + func (s *OpenSshKeyPair) AuthorizedKey() string + func (s *OpenSshKeyPair) PrivateKey() string + type StepCaptureImage struct + func NewStepCaptureImage(client *AzureClient, ui packer.Ui) *StepCaptureImage + func (*StepCaptureImage) Cleanup(multistep.StateBag) + func (s *StepCaptureImage) Run(state multistep.StateBag) multistep.StepAction + type StepCreateResourceGroup struct + func NewStepCreateResourceGroup(client *AzureClient, ui packer.Ui) *StepCreateResourceGroup + func (*StepCreateResourceGroup) Cleanup(multistep.StateBag) + func (s *StepCreateResourceGroup) Run(state multistep.StateBag) multistep.StepAction + type StepDeleteOSDisk struct + func NewStepDeleteOSDisk(client *AzureClient, ui packer.Ui) *StepDeleteOSDisk + func (*StepDeleteOSDisk) Cleanup(multistep.StateBag) + func (s *StepDeleteOSDisk) Run(state multistep.StateBag) multistep.StepAction + type StepDeleteResourceGroup struct + func NewStepDeleteResourceGroup(client *AzureClient, ui packer.Ui) *StepDeleteResourceGroup + func (*StepDeleteResourceGroup) Cleanup(multistep.StateBag) + func (s *StepDeleteResourceGroup) Run(state multistep.StateBag) multistep.StepAction + type StepDeployTemplate struct + func NewStepDeployTemplate(client *AzureClient, ui packer.Ui) *StepDeployTemplate + func (*StepDeployTemplate) Cleanup(multistep.StateBag) + func (s *StepDeployTemplate) Run(state multistep.StateBag) multistep.StepAction + type StepGetIPAddress struct + func NewStepGetIPAddress(client *AzureClient, ui packer.Ui) *StepGetIPAddress + func (*StepGetIPAddress) Cleanup(multistep.StateBag) + func (s *StepGetIPAddress) Run(state multistep.StateBag) multistep.StepAction + type StepGetOSDisk struct + func NewStepGetOSDisk(client *AzureClient, ui packer.Ui) *StepGetOSDisk + func (*StepGetOSDisk) Cleanup(multistep.StateBag) + func (s *StepGetOSDisk) Run(state multistep.StateBag) multistep.StepAction + type StepPowerOffCompute struct + func NewStepPowerOffCompute(client *AzureClient, ui packer.Ui) *StepPowerOffCompute + func (*StepPowerOffCompute) Cleanup(multistep.StateBag) + func (s *StepPowerOffCompute) Run(state multistep.StateBag) multistep.StepAction + type StepValidateTemplate struct + func NewStepValidateTemplate(client *AzureClient, ui packer.Ui) *StepValidateTemplate + func (*StepValidateTemplate) Cleanup(multistep.StateBag) + func (s *StepValidateTemplate) Run(state multistep.StateBag) multistep.StepAction + type TempName struct + AdminPassword string + ComputeName string + DeploymentName string + OSDiskName string + ResourceGroupName string + func NewTempName() *TempName + type TemplateParameter struct + Value string + type TemplateParameters struct + AdminPassword *TemplateParameter + AdminUsername *TemplateParameter + DnsNameForPublicIP *TemplateParameter + ImageOffer *TemplateParameter + ImagePublisher *TemplateParameter + ImageSku *TemplateParameter + OSDiskName *TemplateParameter + SshAuthorizedKey *TemplateParameter + StorageAccountName *TemplateParameter + VMName *TemplateParameter + VMSize *TemplateParameter