virtualmachineimagebuilder

package
v61.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package virtualmachineimagebuilder implements the Azure ARM Virtualmachineimagebuilder service API version 2020-02-14.

Azure Virtual Machine Image Builder Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Virtualmachineimagebuilder
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type APIError

type APIError struct {
	// Details - The Api error details
	Details *[]APIErrorBase `json:"details,omitempty"`
	// InnerError - The Api inner error
	InnerError *InnerError `json:"innerError,omitempty"`
	// Code - The error code.
	Code *string `json:"code,omitempty"`
	// Target - The target of the particular error.
	Target *string `json:"target,omitempty"`
	// Message - The error message.
	Message *string `json:"message,omitempty"`
}

APIError api error.

type APIErrorBase

type APIErrorBase struct {
	// Code - The error code.
	Code *string `json:"code,omitempty"`
	// Target - The target of the particular error.
	Target *string `json:"target,omitempty"`
	// Message - The error message.
	Message *string `json:"message,omitempty"`
}

APIErrorBase api error base.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Virtualmachineimagebuilder.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicImageTemplateCustomizer

type BasicImageTemplateCustomizer interface {
	AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)
	AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)
	AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)
	AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)
	AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)
	AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)
}

BasicImageTemplateCustomizer describes a unit of image customization

type BasicImageTemplateDistributor

type BasicImageTemplateDistributor interface {
	AsImageTemplateManagedImageDistributor() (*ImageTemplateManagedImageDistributor, bool)
	AsImageTemplateSharedImageDistributor() (*ImageTemplateSharedImageDistributor, bool)
	AsImageTemplateVhdDistributor() (*ImageTemplateVhdDistributor, bool)
	AsImageTemplateDistributor() (*ImageTemplateDistributor, bool)
}

BasicImageTemplateDistributor generic distribution object

type BasicImageTemplateSource

type BasicImageTemplateSource interface {
	AsImageTemplatePlatformImageSource() (*ImageTemplatePlatformImageSource, bool)
	AsImageTemplateManagedImageSource() (*ImageTemplateManagedImageSource, bool)
	AsImageTemplateSharedImageVersionSource() (*ImageTemplateSharedImageVersionSource, bool)
	AsImageTemplateSource() (*ImageTemplateSource, bool)
}

BasicImageTemplateSource describes a virtual machine image source for building, customizing and distributing

type ImageTemplate

type ImageTemplate struct {
	autorest.Response `json:"-"`
	// ImageTemplateProperties - The properties of the image template
	*ImageTemplateProperties `json:"properties,omitempty"`
	// Identity - The identity of the image template, if configured.
	Identity *ImageTemplateIdentity `json:"identity,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

ImageTemplate image template is an ARM resource managed by Microsoft.VirtualMachineImages provider

func (ImageTemplate) MarshalJSON

func (it ImageTemplate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplate.

func (*ImageTemplate) UnmarshalJSON

func (it *ImageTemplate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ImageTemplate struct.

type ImageTemplateCustomizer

type ImageTemplateCustomizer struct {
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplateCustomizer describes a unit of image customization

func (ImageTemplateCustomizer) AsBasicImageTemplateCustomizer

func (itc ImageTemplateCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplateCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplateFileCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplatePowerShellCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplateRestartCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplateShellCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itc ImageTemplateCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateCustomizer.

func (ImageTemplateCustomizer) MarshalJSON

func (itc ImageTemplateCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateCustomizer.

type ImageTemplateDistributor

type ImageTemplateDistributor struct {
	// RunOutputName - The name to be used for the associated RunOutput.
	RunOutputName *string `json:"runOutputName,omitempty"`
	// ArtifactTags - Tags that will be applied to the artifact once it has been created/updated by the distributor.
	ArtifactTags map[string]*string `json:"artifactTags"`
	// Type - Possible values include: 'TypeBasicImageTemplateDistributorTypeImageTemplateDistributor', 'TypeBasicImageTemplateDistributorTypeManagedImage', 'TypeBasicImageTemplateDistributorTypeSharedImage', 'TypeBasicImageTemplateDistributorTypeVHD'
	Type TypeBasicImageTemplateDistributor `json:"type,omitempty"`
}

ImageTemplateDistributor generic distribution object

func (ImageTemplateDistributor) AsBasicImageTemplateDistributor

func (itd ImageTemplateDistributor) AsBasicImageTemplateDistributor() (BasicImageTemplateDistributor, bool)

AsBasicImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateDistributor.

func (ImageTemplateDistributor) AsImageTemplateDistributor

func (itd ImageTemplateDistributor) AsImageTemplateDistributor() (*ImageTemplateDistributor, bool)

AsImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateDistributor.

func (ImageTemplateDistributor) AsImageTemplateManagedImageDistributor

func (itd ImageTemplateDistributor) AsImageTemplateManagedImageDistributor() (*ImageTemplateManagedImageDistributor, bool)

AsImageTemplateManagedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateDistributor.

func (ImageTemplateDistributor) AsImageTemplateSharedImageDistributor

func (itd ImageTemplateDistributor) AsImageTemplateSharedImageDistributor() (*ImageTemplateSharedImageDistributor, bool)

AsImageTemplateSharedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateDistributor.

func (ImageTemplateDistributor) AsImageTemplateVhdDistributor

func (itd ImageTemplateDistributor) AsImageTemplateVhdDistributor() (*ImageTemplateVhdDistributor, bool)

AsImageTemplateVhdDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateDistributor.

func (ImageTemplateDistributor) MarshalJSON

func (itd ImageTemplateDistributor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateDistributor.

type ImageTemplateFileCustomizer

type ImageTemplateFileCustomizer struct {
	// SourceURI - The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
	SourceURI *string `json:"sourceUri,omitempty"`
	// Sha256Checksum - SHA256 checksum of the file provided in the sourceUri field above
	Sha256Checksum *string `json:"sha256Checksum,omitempty"`
	// Destination - The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
	Destination *string `json:"destination,omitempty"`
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplateFileCustomizer uploads files to VMs (Linux, Windows). Corresponds to Packer file provisioner

func (ImageTemplateFileCustomizer) AsBasicImageTemplateCustomizer

func (itfc ImageTemplateFileCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplateCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplateFileCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplatePowerShellCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplateRestartCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplateShellCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itfc ImageTemplateFileCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateFileCustomizer.

func (ImageTemplateFileCustomizer) MarshalJSON

func (itfc ImageTemplateFileCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateFileCustomizer.

type ImageTemplateIdentity

type ImageTemplateIdentity struct {
	// Type - The type of identity used for the image template. The type 'None' will remove any identities from the image template. Possible values include: 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeNone'
	Type ResourceIdentityType `json:"type,omitempty"`
	// UserAssignedIdentities - The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*ImageTemplateIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

ImageTemplateIdentity identity for the image template.

func (ImageTemplateIdentity) MarshalJSON

func (iti ImageTemplateIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateIdentity.

type ImageTemplateIdentityUserAssignedIdentitiesValue

type ImageTemplateIdentityUserAssignedIdentitiesValue struct {
	// PrincipalID - READ-ONLY; The principal id of user assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// ClientID - READ-ONLY; The client id of user assigned identity.
	ClientID *string `json:"clientId,omitempty"`
}

ImageTemplateIdentityUserAssignedIdentitiesValue ...

func (ImageTemplateIdentityUserAssignedIdentitiesValue) MarshalJSON

MarshalJSON is the custom marshaler for ImageTemplateIdentityUserAssignedIdentitiesValue.

type ImageTemplateLastRunStatus

type ImageTemplateLastRunStatus struct {
	// StartTime - Start time of the last run (UTC)
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - End time of the last run (UTC)
	EndTime *date.Time `json:"endTime,omitempty"`
	// RunState - State of the last run. Possible values include: 'RunStateRunning', 'RunStateCanceling', 'RunStateSucceeded', 'RunStatePartiallySucceeded', 'RunStateFailed', 'RunStateCanceled'
	RunState RunState `json:"runState,omitempty"`
	// RunSubState - Sub-state of the last run. Possible values include: 'RunSubStateQueued', 'RunSubStateBuilding', 'RunSubStateCustomizing', 'RunSubStateDistributing'
	RunSubState RunSubState `json:"runSubState,omitempty"`
	// Message - Verbose information about the last run state
	Message *string `json:"message,omitempty"`
}

ImageTemplateLastRunStatus describes the latest status of running an image template

type ImageTemplateListResult

type ImageTemplateListResult struct {
	autorest.Response `json:"-"`
	// Value - An array of image templates
	Value *[]ImageTemplate `json:"value,omitempty"`
	// NextLink - The continuation token.
	NextLink *string `json:"nextLink,omitempty"`
}

ImageTemplateListResult the result of List image templates operation

func (ImageTemplateListResult) IsEmpty

func (itlr ImageTemplateListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ImageTemplateListResultIterator

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

ImageTemplateListResultIterator provides access to a complete listing of ImageTemplate values.

func NewImageTemplateListResultIterator

func NewImageTemplateListResultIterator(page ImageTemplateListResultPage) ImageTemplateListResultIterator

Creates a new instance of the ImageTemplateListResultIterator type.

func (*ImageTemplateListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImageTemplateListResultIterator) NextWithContext

func (iter *ImageTemplateListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ImageTemplateListResultIterator) NotDone

func (iter ImageTemplateListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ImageTemplateListResultIterator) Response

Response returns the raw server response from the last page request.

func (ImageTemplateListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ImageTemplateListResultPage

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

ImageTemplateListResultPage contains a page of ImageTemplate values.

func NewImageTemplateListResultPage

Creates a new instance of the ImageTemplateListResultPage type.

func (*ImageTemplateListResultPage) Next

func (page *ImageTemplateListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImageTemplateListResultPage) NextWithContext

func (page *ImageTemplateListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ImageTemplateListResultPage) NotDone

func (page ImageTemplateListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ImageTemplateListResultPage) Response

Response returns the raw server response from the last page request.

func (ImageTemplateListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ImageTemplateManagedImageDistributor

type ImageTemplateManagedImageDistributor struct {
	// ImageID - Resource Id of the Managed Disk Image
	ImageID *string `json:"imageId,omitempty"`
	// Location - Azure location for the image, should match if image already exists
	Location *string `json:"location,omitempty"`
	// RunOutputName - The name to be used for the associated RunOutput.
	RunOutputName *string `json:"runOutputName,omitempty"`
	// ArtifactTags - Tags that will be applied to the artifact once it has been created/updated by the distributor.
	ArtifactTags map[string]*string `json:"artifactTags"`
	// Type - Possible values include: 'TypeBasicImageTemplateDistributorTypeImageTemplateDistributor', 'TypeBasicImageTemplateDistributorTypeManagedImage', 'TypeBasicImageTemplateDistributorTypeSharedImage', 'TypeBasicImageTemplateDistributorTypeVHD'
	Type TypeBasicImageTemplateDistributor `json:"type,omitempty"`
}

ImageTemplateManagedImageDistributor distribute as a Managed Disk Image.

func (ImageTemplateManagedImageDistributor) AsBasicImageTemplateDistributor

func (itmid ImageTemplateManagedImageDistributor) AsBasicImageTemplateDistributor() (BasicImageTemplateDistributor, bool)

AsBasicImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateManagedImageDistributor.

func (ImageTemplateManagedImageDistributor) AsImageTemplateDistributor

func (itmid ImageTemplateManagedImageDistributor) AsImageTemplateDistributor() (*ImageTemplateDistributor, bool)

AsImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateManagedImageDistributor.

func (ImageTemplateManagedImageDistributor) AsImageTemplateManagedImageDistributor

func (itmid ImageTemplateManagedImageDistributor) AsImageTemplateManagedImageDistributor() (*ImageTemplateManagedImageDistributor, bool)

AsImageTemplateManagedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateManagedImageDistributor.

func (ImageTemplateManagedImageDistributor) AsImageTemplateSharedImageDistributor

func (itmid ImageTemplateManagedImageDistributor) AsImageTemplateSharedImageDistributor() (*ImageTemplateSharedImageDistributor, bool)

AsImageTemplateSharedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateManagedImageDistributor.

func (ImageTemplateManagedImageDistributor) AsImageTemplateVhdDistributor

func (itmid ImageTemplateManagedImageDistributor) AsImageTemplateVhdDistributor() (*ImageTemplateVhdDistributor, bool)

AsImageTemplateVhdDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateManagedImageDistributor.

func (ImageTemplateManagedImageDistributor) MarshalJSON

func (itmid ImageTemplateManagedImageDistributor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateManagedImageDistributor.

type ImageTemplateManagedImageSource

type ImageTemplateManagedImageSource struct {
	// ImageID - ARM resource id of the managed image in customer subscription
	ImageID *string `json:"imageId,omitempty"`
	// Type - Possible values include: 'TypeImageTemplateSource', 'TypePlatformImage', 'TypeManagedImage', 'TypeSharedImageVersion'
	Type Type `json:"type,omitempty"`
}

ImageTemplateManagedImageSource describes an image source that is a managed image in customer subscription.

func (ImageTemplateManagedImageSource) AsBasicImageTemplateSource

func (itmis ImageTemplateManagedImageSource) AsBasicImageTemplateSource() (BasicImageTemplateSource, bool)

AsBasicImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateManagedImageSource.

func (ImageTemplateManagedImageSource) AsImageTemplateManagedImageSource

func (itmis ImageTemplateManagedImageSource) AsImageTemplateManagedImageSource() (*ImageTemplateManagedImageSource, bool)

AsImageTemplateManagedImageSource is the BasicImageTemplateSource implementation for ImageTemplateManagedImageSource.

func (ImageTemplateManagedImageSource) AsImageTemplatePlatformImageSource

func (itmis ImageTemplateManagedImageSource) AsImageTemplatePlatformImageSource() (*ImageTemplatePlatformImageSource, bool)

AsImageTemplatePlatformImageSource is the BasicImageTemplateSource implementation for ImageTemplateManagedImageSource.

func (ImageTemplateManagedImageSource) AsImageTemplateSharedImageVersionSource

func (itmis ImageTemplateManagedImageSource) AsImageTemplateSharedImageVersionSource() (*ImageTemplateSharedImageVersionSource, bool)

AsImageTemplateSharedImageVersionSource is the BasicImageTemplateSource implementation for ImageTemplateManagedImageSource.

func (ImageTemplateManagedImageSource) AsImageTemplateSource

func (itmis ImageTemplateManagedImageSource) AsImageTemplateSource() (*ImageTemplateSource, bool)

AsImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateManagedImageSource.

func (ImageTemplateManagedImageSource) MarshalJSON

func (itmis ImageTemplateManagedImageSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateManagedImageSource.

type ImageTemplatePlatformImageSource

type ImageTemplatePlatformImageSource struct {
	// Publisher - Image Publisher in [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
	Publisher *string `json:"publisher,omitempty"`
	// Offer - Image offer from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
	Offer *string `json:"offer,omitempty"`
	// Sku - Image sku from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
	Sku *string `json:"sku,omitempty"`
	// Version - Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages). If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
	Version *string `json:"version,omitempty"`
	// PlanInfo - Optional configuration of purchase plan for platform image.
	PlanInfo *PlatformImagePurchasePlan `json:"planInfo,omitempty"`
	// Type - Possible values include: 'TypeImageTemplateSource', 'TypePlatformImage', 'TypeManagedImage', 'TypeSharedImageVersion'
	Type Type `json:"type,omitempty"`
}

ImageTemplatePlatformImageSource describes an image source from [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).

func (ImageTemplatePlatformImageSource) AsBasicImageTemplateSource

func (itpis ImageTemplatePlatformImageSource) AsBasicImageTemplateSource() (BasicImageTemplateSource, bool)

AsBasicImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplatePlatformImageSource.

func (ImageTemplatePlatformImageSource) AsImageTemplateManagedImageSource

func (itpis ImageTemplatePlatformImageSource) AsImageTemplateManagedImageSource() (*ImageTemplateManagedImageSource, bool)

AsImageTemplateManagedImageSource is the BasicImageTemplateSource implementation for ImageTemplatePlatformImageSource.

func (ImageTemplatePlatformImageSource) AsImageTemplatePlatformImageSource

func (itpis ImageTemplatePlatformImageSource) AsImageTemplatePlatformImageSource() (*ImageTemplatePlatformImageSource, bool)

AsImageTemplatePlatformImageSource is the BasicImageTemplateSource implementation for ImageTemplatePlatformImageSource.

func (ImageTemplatePlatformImageSource) AsImageTemplateSharedImageVersionSource

func (itpis ImageTemplatePlatformImageSource) AsImageTemplateSharedImageVersionSource() (*ImageTemplateSharedImageVersionSource, bool)

AsImageTemplateSharedImageVersionSource is the BasicImageTemplateSource implementation for ImageTemplatePlatformImageSource.

func (ImageTemplatePlatformImageSource) AsImageTemplateSource

func (itpis ImageTemplatePlatformImageSource) AsImageTemplateSource() (*ImageTemplateSource, bool)

AsImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplatePlatformImageSource.

func (ImageTemplatePlatformImageSource) MarshalJSON

func (itpis ImageTemplatePlatformImageSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplatePlatformImageSource.

type ImageTemplatePowerShellCustomizer

type ImageTemplatePowerShellCustomizer struct {
	// ScriptURI - URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
	ScriptURI *string `json:"scriptUri,omitempty"`
	// Sha256Checksum - SHA256 checksum of the power shell script provided in the scriptUri field above
	Sha256Checksum *string `json:"sha256Checksum,omitempty"`
	// Inline - Array of PowerShell commands to execute
	Inline *[]string `json:"inline,omitempty"`
	// RunElevated - If specified, the PowerShell script will be run with elevated privileges
	RunElevated *bool `json:"runElevated,omitempty"`
	// RunAsSystem - If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
	RunAsSystem *bool `json:"runAsSystem,omitempty"`
	// ValidExitCodes - Valid exit codes for the PowerShell script. [Default: 0]
	ValidExitCodes *[]int32 `json:"validExitCodes,omitempty"`
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplatePowerShellCustomizer runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

func (ImageTemplatePowerShellCustomizer) AsBasicImageTemplateCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplateCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplateFileCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplatePowerShellCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplateRestartCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplateShellCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itpsc ImageTemplatePowerShellCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplatePowerShellCustomizer.

func (ImageTemplatePowerShellCustomizer) MarshalJSON

func (itpsc ImageTemplatePowerShellCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplatePowerShellCustomizer.

type ImageTemplateProperties

type ImageTemplateProperties struct {
	// Source - Specifies the properties used to describe the source image.
	Source BasicImageTemplateSource `json:"source,omitempty"`
	// Customize - Specifies the properties used to describe the customization steps of the image, like Image source etc
	Customize *[]BasicImageTemplateCustomizer `json:"customize,omitempty"`
	// Distribute - The distribution targets where the image output needs to go to.
	Distribute *[]BasicImageTemplateDistributor `json:"distribute,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateDeleting'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ProvisioningError - READ-ONLY; Provisioning error, if any
	ProvisioningError *ProvisioningError `json:"provisioningError,omitempty"`
	// LastRunStatus - READ-ONLY; State of 'run' that is currently executing or was last executed.
	LastRunStatus *ImageTemplateLastRunStatus `json:"lastRunStatus,omitempty"`
	// BuildTimeoutInMinutes - Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
	BuildTimeoutInMinutes *int32 `json:"buildTimeoutInMinutes,omitempty"`
	// VMProfile - Describes how virtual machine is set up to build images
	VMProfile *ImageTemplateVMProfile `json:"vmProfile,omitempty"`
}

ImageTemplateProperties describes the properties of an image template

func (ImageTemplateProperties) MarshalJSON

func (itp ImageTemplateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateProperties.

func (*ImageTemplateProperties) UnmarshalJSON

func (itp *ImageTemplateProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ImageTemplateProperties struct.

type ImageTemplateRestartCustomizer

type ImageTemplateRestartCustomizer struct {
	// RestartCommand - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
	RestartCommand *string `json:"restartCommand,omitempty"`
	// RestartCheckCommand - Command to check if restart succeeded [Default: ”]
	RestartCheckCommand *string `json:"restartCheckCommand,omitempty"`
	// RestartTimeout - Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
	RestartTimeout *string `json:"restartTimeout,omitempty"`
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplateRestartCustomizer reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner

func (ImageTemplateRestartCustomizer) AsBasicImageTemplateCustomizer

func (itrc ImageTemplateRestartCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplateCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplateFileCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplatePowerShellCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplateRestartCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplateShellCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itrc ImageTemplateRestartCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateRestartCustomizer.

func (ImageTemplateRestartCustomizer) MarshalJSON

func (itrc ImageTemplateRestartCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateRestartCustomizer.

type ImageTemplateSharedImageDistributor

type ImageTemplateSharedImageDistributor struct {
	// GalleryImageID - Resource Id of the Shared Image Gallery image
	GalleryImageID *string `json:"galleryImageId,omitempty"`
	// ReplicationRegions - A list of regions that the image will be replicated to
	ReplicationRegions *[]string `json:"replicationRegions,omitempty"`
	// ExcludeFromLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
	ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
	// StorageAccountType - Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS). Possible values include: 'SharedImageStorageAccountTypeStandardLRS', 'SharedImageStorageAccountTypeStandardZRS'
	StorageAccountType SharedImageStorageAccountType `json:"storageAccountType,omitempty"`
	// RunOutputName - The name to be used for the associated RunOutput.
	RunOutputName *string `json:"runOutputName,omitempty"`
	// ArtifactTags - Tags that will be applied to the artifact once it has been created/updated by the distributor.
	ArtifactTags map[string]*string `json:"artifactTags"`
	// Type - Possible values include: 'TypeBasicImageTemplateDistributorTypeImageTemplateDistributor', 'TypeBasicImageTemplateDistributorTypeManagedImage', 'TypeBasicImageTemplateDistributorTypeSharedImage', 'TypeBasicImageTemplateDistributorTypeVHD'
	Type TypeBasicImageTemplateDistributor `json:"type,omitempty"`
}

ImageTemplateSharedImageDistributor distribute via Shared Image Gallery.

func (ImageTemplateSharedImageDistributor) AsBasicImageTemplateDistributor

func (itsid ImageTemplateSharedImageDistributor) AsBasicImageTemplateDistributor() (BasicImageTemplateDistributor, bool)

AsBasicImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateSharedImageDistributor.

func (ImageTemplateSharedImageDistributor) AsImageTemplateDistributor

func (itsid ImageTemplateSharedImageDistributor) AsImageTemplateDistributor() (*ImageTemplateDistributor, bool)

AsImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateSharedImageDistributor.

func (ImageTemplateSharedImageDistributor) AsImageTemplateManagedImageDistributor

func (itsid ImageTemplateSharedImageDistributor) AsImageTemplateManagedImageDistributor() (*ImageTemplateManagedImageDistributor, bool)

AsImageTemplateManagedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateSharedImageDistributor.

func (ImageTemplateSharedImageDistributor) AsImageTemplateSharedImageDistributor

func (itsid ImageTemplateSharedImageDistributor) AsImageTemplateSharedImageDistributor() (*ImageTemplateSharedImageDistributor, bool)

AsImageTemplateSharedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateSharedImageDistributor.

func (ImageTemplateSharedImageDistributor) AsImageTemplateVhdDistributor

func (itsid ImageTemplateSharedImageDistributor) AsImageTemplateVhdDistributor() (*ImageTemplateVhdDistributor, bool)

AsImageTemplateVhdDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateSharedImageDistributor.

func (ImageTemplateSharedImageDistributor) MarshalJSON

func (itsid ImageTemplateSharedImageDistributor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateSharedImageDistributor.

type ImageTemplateSharedImageVersionSource

type ImageTemplateSharedImageVersionSource struct {
	// ImageVersionID - ARM resource id of the image version in the shared image gallery
	ImageVersionID *string `json:"imageVersionId,omitempty"`
	// Type - Possible values include: 'TypeImageTemplateSource', 'TypePlatformImage', 'TypeManagedImage', 'TypeSharedImageVersion'
	Type Type `json:"type,omitempty"`
}

ImageTemplateSharedImageVersionSource describes an image source that is an image version in a shared image gallery.

func (ImageTemplateSharedImageVersionSource) AsBasicImageTemplateSource

func (itsivs ImageTemplateSharedImageVersionSource) AsBasicImageTemplateSource() (BasicImageTemplateSource, bool)

AsBasicImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateSharedImageVersionSource.

func (ImageTemplateSharedImageVersionSource) AsImageTemplateManagedImageSource

func (itsivs ImageTemplateSharedImageVersionSource) AsImageTemplateManagedImageSource() (*ImageTemplateManagedImageSource, bool)

AsImageTemplateManagedImageSource is the BasicImageTemplateSource implementation for ImageTemplateSharedImageVersionSource.

func (ImageTemplateSharedImageVersionSource) AsImageTemplatePlatformImageSource

func (itsivs ImageTemplateSharedImageVersionSource) AsImageTemplatePlatformImageSource() (*ImageTemplatePlatformImageSource, bool)

AsImageTemplatePlatformImageSource is the BasicImageTemplateSource implementation for ImageTemplateSharedImageVersionSource.

func (ImageTemplateSharedImageVersionSource) AsImageTemplateSharedImageVersionSource

func (itsivs ImageTemplateSharedImageVersionSource) AsImageTemplateSharedImageVersionSource() (*ImageTemplateSharedImageVersionSource, bool)

AsImageTemplateSharedImageVersionSource is the BasicImageTemplateSource implementation for ImageTemplateSharedImageVersionSource.

func (ImageTemplateSharedImageVersionSource) AsImageTemplateSource

func (itsivs ImageTemplateSharedImageVersionSource) AsImageTemplateSource() (*ImageTemplateSource, bool)

AsImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateSharedImageVersionSource.

func (ImageTemplateSharedImageVersionSource) MarshalJSON

func (itsivs ImageTemplateSharedImageVersionSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateSharedImageVersionSource.

type ImageTemplateShellCustomizer

type ImageTemplateShellCustomizer struct {
	// ScriptURI - URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
	ScriptURI *string `json:"scriptUri,omitempty"`
	// Sha256Checksum - SHA256 checksum of the shell script provided in the scriptUri field
	Sha256Checksum *string `json:"sha256Checksum,omitempty"`
	// Inline - Array of shell commands to execute
	Inline *[]string `json:"inline,omitempty"`
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplateShellCustomizer runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

func (ImageTemplateShellCustomizer) AsBasicImageTemplateCustomizer

func (itsc ImageTemplateShellCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplateCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplateFileCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplatePowerShellCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplateRestartCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplateShellCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itsc ImageTemplateShellCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateShellCustomizer.

func (ImageTemplateShellCustomizer) MarshalJSON

func (itsc ImageTemplateShellCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateShellCustomizer.

type ImageTemplateSource

type ImageTemplateSource struct {
	// Type - Possible values include: 'TypeImageTemplateSource', 'TypePlatformImage', 'TypeManagedImage', 'TypeSharedImageVersion'
	Type Type `json:"type,omitempty"`
}

ImageTemplateSource describes a virtual machine image source for building, customizing and distributing

func (ImageTemplateSource) AsBasicImageTemplateSource

func (its ImageTemplateSource) AsBasicImageTemplateSource() (BasicImageTemplateSource, bool)

AsBasicImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateSource.

func (ImageTemplateSource) AsImageTemplateManagedImageSource

func (its ImageTemplateSource) AsImageTemplateManagedImageSource() (*ImageTemplateManagedImageSource, bool)

AsImageTemplateManagedImageSource is the BasicImageTemplateSource implementation for ImageTemplateSource.

func (ImageTemplateSource) AsImageTemplatePlatformImageSource

func (its ImageTemplateSource) AsImageTemplatePlatformImageSource() (*ImageTemplatePlatformImageSource, bool)

AsImageTemplatePlatformImageSource is the BasicImageTemplateSource implementation for ImageTemplateSource.

func (ImageTemplateSource) AsImageTemplateSharedImageVersionSource

func (its ImageTemplateSource) AsImageTemplateSharedImageVersionSource() (*ImageTemplateSharedImageVersionSource, bool)

AsImageTemplateSharedImageVersionSource is the BasicImageTemplateSource implementation for ImageTemplateSource.

func (ImageTemplateSource) AsImageTemplateSource

func (its ImageTemplateSource) AsImageTemplateSource() (*ImageTemplateSource, bool)

AsImageTemplateSource is the BasicImageTemplateSource implementation for ImageTemplateSource.

func (ImageTemplateSource) MarshalJSON

func (its ImageTemplateSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateSource.

type ImageTemplateUpdateParameters

type ImageTemplateUpdateParameters struct {
	// Identity - The identity of the image template, if configured.
	Identity *ImageTemplateIdentity `json:"identity,omitempty"`
	// Tags - The user-specified tags associated with the image template.
	Tags map[string]*string `json:"tags"`
}

ImageTemplateUpdateParameters parameters for updating an image template.

func (ImageTemplateUpdateParameters) MarshalJSON

func (itup ImageTemplateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateUpdateParameters.

type ImageTemplateVMProfile

type ImageTemplateVMProfile struct {
	// VMSize - Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
	VMSize *string `json:"vmSize,omitempty"`
	// OsDiskSizeGB - Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
	OsDiskSizeGB *int32 `json:"osDiskSizeGB,omitempty"`
	// VnetConfig - Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
	VnetConfig *VirtualNetworkConfig `json:"vnetConfig,omitempty"`
}

ImageTemplateVMProfile describes the virtual machine used to build, customize and capture images

type ImageTemplateVhdDistributor

type ImageTemplateVhdDistributor struct {
	// RunOutputName - The name to be used for the associated RunOutput.
	RunOutputName *string `json:"runOutputName,omitempty"`
	// ArtifactTags - Tags that will be applied to the artifact once it has been created/updated by the distributor.
	ArtifactTags map[string]*string `json:"artifactTags"`
	// Type - Possible values include: 'TypeBasicImageTemplateDistributorTypeImageTemplateDistributor', 'TypeBasicImageTemplateDistributorTypeManagedImage', 'TypeBasicImageTemplateDistributorTypeSharedImage', 'TypeBasicImageTemplateDistributorTypeVHD'
	Type TypeBasicImageTemplateDistributor `json:"type,omitempty"`
}

ImageTemplateVhdDistributor distribute via VHD in a storage account.

func (ImageTemplateVhdDistributor) AsBasicImageTemplateDistributor

func (itvd ImageTemplateVhdDistributor) AsBasicImageTemplateDistributor() (BasicImageTemplateDistributor, bool)

AsBasicImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateVhdDistributor.

func (ImageTemplateVhdDistributor) AsImageTemplateDistributor

func (itvd ImageTemplateVhdDistributor) AsImageTemplateDistributor() (*ImageTemplateDistributor, bool)

AsImageTemplateDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateVhdDistributor.

func (ImageTemplateVhdDistributor) AsImageTemplateManagedImageDistributor

func (itvd ImageTemplateVhdDistributor) AsImageTemplateManagedImageDistributor() (*ImageTemplateManagedImageDistributor, bool)

AsImageTemplateManagedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateVhdDistributor.

func (ImageTemplateVhdDistributor) AsImageTemplateSharedImageDistributor

func (itvd ImageTemplateVhdDistributor) AsImageTemplateSharedImageDistributor() (*ImageTemplateSharedImageDistributor, bool)

AsImageTemplateSharedImageDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateVhdDistributor.

func (ImageTemplateVhdDistributor) AsImageTemplateVhdDistributor

func (itvd ImageTemplateVhdDistributor) AsImageTemplateVhdDistributor() (*ImageTemplateVhdDistributor, bool)

AsImageTemplateVhdDistributor is the BasicImageTemplateDistributor implementation for ImageTemplateVhdDistributor.

func (ImageTemplateVhdDistributor) MarshalJSON

func (itvd ImageTemplateVhdDistributor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateVhdDistributor.

type ImageTemplateWindowsUpdateCustomizer

type ImageTemplateWindowsUpdateCustomizer struct {
	// SearchCriteria - Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
	SearchCriteria *string `json:"searchCriteria,omitempty"`
	// Filters - Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
	Filters *[]string `json:"filters,omitempty"`
	// UpdateLimit - Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
	UpdateLimit *int32 `json:"updateLimit,omitempty"`
	// Name - Friendly Name to provide context on what this customization step does
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer', 'TypeBasicImageTemplateCustomizerTypeShell', 'TypeBasicImageTemplateCustomizerTypeWindowsRestart', 'TypeBasicImageTemplateCustomizerTypeWindowsUpdate', 'TypeBasicImageTemplateCustomizerTypePowerShell', 'TypeBasicImageTemplateCustomizerTypeFile'
	Type TypeBasicImageTemplateCustomizer `json:"type,omitempty"`
}

ImageTemplateWindowsUpdateCustomizer installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update)

func (ImageTemplateWindowsUpdateCustomizer) AsBasicImageTemplateCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsBasicImageTemplateCustomizer() (BasicImageTemplateCustomizer, bool)

AsBasicImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplateCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplateCustomizer() (*ImageTemplateCustomizer, bool)

AsImageTemplateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplateFileCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplateFileCustomizer() (*ImageTemplateFileCustomizer, bool)

AsImageTemplateFileCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplatePowerShellCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplatePowerShellCustomizer() (*ImageTemplatePowerShellCustomizer, bool)

AsImageTemplatePowerShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplateRestartCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplateRestartCustomizer() (*ImageTemplateRestartCustomizer, bool)

AsImageTemplateRestartCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplateShellCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplateShellCustomizer() (*ImageTemplateShellCustomizer, bool)

AsImageTemplateShellCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) AsImageTemplateWindowsUpdateCustomizer

func (itwuc ImageTemplateWindowsUpdateCustomizer) AsImageTemplateWindowsUpdateCustomizer() (*ImageTemplateWindowsUpdateCustomizer, bool)

AsImageTemplateWindowsUpdateCustomizer is the BasicImageTemplateCustomizer implementation for ImageTemplateWindowsUpdateCustomizer.

func (ImageTemplateWindowsUpdateCustomizer) MarshalJSON

func (itwuc ImageTemplateWindowsUpdateCustomizer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageTemplateWindowsUpdateCustomizer.

type InnerError

type InnerError struct {
	// ExceptionType - The exception type.
	ExceptionType *string `json:"exceptionType,omitempty"`
	// ErrorDetail - The internal error message or exception dump.
	ErrorDetail *string `json:"errorDetail,omitempty"`
}

InnerError inner error details.

type Operation

type Operation struct {
	// Name - This is of the format {provider}/{resource}/{operation}
	Name         *string           `json:"name,omitempty"`
	Display      *OperationDisplay `json:"display,omitempty"`
	Origin       *string           `json:"origin,omitempty"`
	Properties   interface{}       `json:"properties,omitempty"`
	IsDataAction *bool             `json:"isDataAction,omitempty"`
}

Operation ...

type OperationDisplay

type OperationDisplay struct {
	Provider *string `json:"provider,omitempty"`
	// Operation - For example: read, write, delete, or listKeys/action
	Operation   *string `json:"operation,omitempty"`
	Resource    *string `json:"resource,omitempty"`
	Description *string `json:"description,omitempty"`
}

OperationDisplay ...

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Operation `json:"value,omitempty"`
	NextLink          *string      `json:"nextLink,omitempty"`
}

OperationListResult ...

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Virtual Machine Image Builder Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists available operations for the Microsoft.VirtualMachineImages provider

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PlatformImagePurchasePlan

type PlatformImagePurchasePlan struct {
	// PlanName - Name of the purchase plan.
	PlanName *string `json:"planName,omitempty"`
	// PlanProduct - Product of the purchase plan.
	PlanProduct *string `json:"planProduct,omitempty"`
	// PlanPublisher - Publisher of the purchase plan.
	PlanPublisher *string `json:"planPublisher,omitempty"`
}

PlatformImagePurchasePlan purchase plan configuration for platform image.

type ProvisioningError

type ProvisioningError struct {
	// ProvisioningErrorCode - Error code of the provisioning failure. Possible values include: 'ProvisioningErrorCodeBadSourceType', 'ProvisioningErrorCodeBadPIRSource', 'ProvisioningErrorCodeBadManagedImageSource', 'ProvisioningErrorCodeBadSharedImageVersionSource', 'ProvisioningErrorCodeBadCustomizerType', 'ProvisioningErrorCodeUnsupportedCustomizerType', 'ProvisioningErrorCodeNoCustomizerScript', 'ProvisioningErrorCodeBadDistributeType', 'ProvisioningErrorCodeBadSharedImageDistribute', 'ProvisioningErrorCodeServerError', 'ProvisioningErrorCodeOther'
	ProvisioningErrorCode ProvisioningErrorCode `json:"provisioningErrorCode,omitempty"`
	// Message - Verbose error message about the provisioning failure
	Message *string `json:"message,omitempty"`
}

ProvisioningError describes the error happened when create or update an image template

type ProvisioningErrorCode

type ProvisioningErrorCode string

ProvisioningErrorCode enumerates the values for provisioning error code.

const (
	// ProvisioningErrorCodeBadCustomizerType ...
	ProvisioningErrorCodeBadCustomizerType ProvisioningErrorCode = "BadCustomizerType"
	// ProvisioningErrorCodeBadDistributeType ...
	ProvisioningErrorCodeBadDistributeType ProvisioningErrorCode = "BadDistributeType"
	// ProvisioningErrorCodeBadManagedImageSource ...
	ProvisioningErrorCodeBadManagedImageSource ProvisioningErrorCode = "BadManagedImageSource"
	// ProvisioningErrorCodeBadPIRSource ...
	ProvisioningErrorCodeBadPIRSource ProvisioningErrorCode = "BadPIRSource"
	// ProvisioningErrorCodeBadSharedImageDistribute ...
	ProvisioningErrorCodeBadSharedImageDistribute ProvisioningErrorCode = "BadSharedImageDistribute"
	// ProvisioningErrorCodeBadSharedImageVersionSource ...
	ProvisioningErrorCodeBadSharedImageVersionSource ProvisioningErrorCode = "BadSharedImageVersionSource"
	// ProvisioningErrorCodeBadSourceType ...
	ProvisioningErrorCodeBadSourceType ProvisioningErrorCode = "BadSourceType"
	// ProvisioningErrorCodeNoCustomizerScript ...
	ProvisioningErrorCodeNoCustomizerScript ProvisioningErrorCode = "NoCustomizerScript"
	// ProvisioningErrorCodeOther ...
	ProvisioningErrorCodeOther ProvisioningErrorCode = "Other"
	// ProvisioningErrorCodeServerError ...
	ProvisioningErrorCodeServerError ProvisioningErrorCode = "ServerError"
	// ProvisioningErrorCodeUnsupportedCustomizerType ...
	ProvisioningErrorCodeUnsupportedCustomizerType ProvisioningErrorCode = "UnsupportedCustomizerType"
)

func PossibleProvisioningErrorCodeValues

func PossibleProvisioningErrorCodeValues() []ProvisioningErrorCode

PossibleProvisioningErrorCodeValues returns an array of possible values for the ProvisioningErrorCode const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateCreating ...
	ProvisioningStateCreating ProvisioningState = "Creating"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating ...
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Resource the Resource model definition.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeNone ...
	ResourceIdentityTypeNone ResourceIdentityType = "None"
	// ResourceIdentityTypeUserAssigned ...
	ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type RunOutput

type RunOutput struct {
	autorest.Response `json:"-"`
	// RunOutputProperties - The properties of the run output
	*RunOutputProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

RunOutput represents an output that was created by running an image template.

func (RunOutput) MarshalJSON

func (ro RunOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunOutput.

func (*RunOutput) UnmarshalJSON

func (ro *RunOutput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RunOutput struct.

type RunOutputCollection

type RunOutputCollection struct {
	autorest.Response `json:"-"`
	// Value - An array of run outputs
	Value *[]RunOutput `json:"value,omitempty"`
	// NextLink - The continuation token.
	NextLink *string `json:"nextLink,omitempty"`
}

RunOutputCollection the result of List run outputs operation

func (RunOutputCollection) IsEmpty

func (roc RunOutputCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RunOutputCollectionIterator

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

RunOutputCollectionIterator provides access to a complete listing of RunOutput values.

func NewRunOutputCollectionIterator

func NewRunOutputCollectionIterator(page RunOutputCollectionPage) RunOutputCollectionIterator

Creates a new instance of the RunOutputCollectionIterator type.

func (*RunOutputCollectionIterator) Next

func (iter *RunOutputCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RunOutputCollectionIterator) NextWithContext

func (iter *RunOutputCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RunOutputCollectionIterator) NotDone

func (iter RunOutputCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RunOutputCollectionIterator) Response

Response returns the raw server response from the last page request.

func (RunOutputCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RunOutputCollectionPage

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

RunOutputCollectionPage contains a page of RunOutput values.

func NewRunOutputCollectionPage

func NewRunOutputCollectionPage(cur RunOutputCollection, getNextPage func(context.Context, RunOutputCollection) (RunOutputCollection, error)) RunOutputCollectionPage

Creates a new instance of the RunOutputCollectionPage type.

func (*RunOutputCollectionPage) Next

func (page *RunOutputCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RunOutputCollectionPage) NextWithContext

func (page *RunOutputCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RunOutputCollectionPage) NotDone

func (page RunOutputCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RunOutputCollectionPage) Response

Response returns the raw server response from the last page request.

func (RunOutputCollectionPage) Values

func (page RunOutputCollectionPage) Values() []RunOutput

Values returns the slice of values for the current page or nil if there are no values.

type RunOutputProperties

type RunOutputProperties struct {
	// ArtifactID - The resource id of the artifact.
	ArtifactID *string `json:"artifactId,omitempty"`
	// ArtifactURI - The location URI of the artifact.
	ArtifactURI *string `json:"artifactUri,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateDeleting'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

RunOutputProperties describes the properties of a run output

func (RunOutputProperties) MarshalJSON

func (rop RunOutputProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunOutputProperties.

type RunState

type RunState string

RunState enumerates the values for run state.

const (
	// RunStateCanceled ...
	RunStateCanceled RunState = "Canceled"
	// RunStateCanceling ...
	RunStateCanceling RunState = "Canceling"
	// RunStateFailed ...
	RunStateFailed RunState = "Failed"
	// RunStatePartiallySucceeded ...
	RunStatePartiallySucceeded RunState = "PartiallySucceeded"
	// RunStateRunning ...
	RunStateRunning RunState = "Running"
	// RunStateSucceeded ...
	RunStateSucceeded RunState = "Succeeded"
)

func PossibleRunStateValues

func PossibleRunStateValues() []RunState

PossibleRunStateValues returns an array of possible values for the RunState const type.

type RunSubState

type RunSubState string

RunSubState enumerates the values for run sub state.

const (
	// RunSubStateBuilding ...
	RunSubStateBuilding RunSubState = "Building"
	// RunSubStateCustomizing ...
	RunSubStateCustomizing RunSubState = "Customizing"
	// RunSubStateDistributing ...
	RunSubStateDistributing RunSubState = "Distributing"
	// RunSubStateQueued ...
	RunSubStateQueued RunSubState = "Queued"
)

func PossibleRunSubStateValues

func PossibleRunSubStateValues() []RunSubState

PossibleRunSubStateValues returns an array of possible values for the RunSubState const type.

type SharedImageStorageAccountType

type SharedImageStorageAccountType string

SharedImageStorageAccountType enumerates the values for shared image storage account type.

const (
	// SharedImageStorageAccountTypeStandardLRS ...
	SharedImageStorageAccountTypeStandardLRS SharedImageStorageAccountType = "Standard_LRS"
	// SharedImageStorageAccountTypeStandardZRS ...
	SharedImageStorageAccountTypeStandardZRS SharedImageStorageAccountType = "Standard_ZRS"
)

func PossibleSharedImageStorageAccountTypeValues

func PossibleSharedImageStorageAccountTypeValues() []SharedImageStorageAccountType

PossibleSharedImageStorageAccountTypeValues returns an array of possible values for the SharedImageStorageAccountType const type.

type SubResource

type SubResource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SubResource the Sub Resource model definition.

func (SubResource) MarshalJSON

func (sr SubResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubResource.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeImageTemplateSource ...
	TypeImageTemplateSource Type = "ImageTemplateSource"
	// TypeManagedImage ...
	TypeManagedImage Type = "ManagedImage"
	// TypePlatformImage ...
	TypePlatformImage Type = "PlatformImage"
	// TypeSharedImageVersion ...
	TypeSharedImageVersion Type = "SharedImageVersion"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicImageTemplateCustomizer

type TypeBasicImageTemplateCustomizer string

TypeBasicImageTemplateCustomizer enumerates the values for type basic image template customizer.

const (
	// TypeBasicImageTemplateCustomizerTypeFile ...
	TypeBasicImageTemplateCustomizerTypeFile TypeBasicImageTemplateCustomizer = "File"
	// TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer ...
	TypeBasicImageTemplateCustomizerTypeImageTemplateCustomizer TypeBasicImageTemplateCustomizer = "ImageTemplateCustomizer"
	// TypeBasicImageTemplateCustomizerTypePowerShell ...
	TypeBasicImageTemplateCustomizerTypePowerShell TypeBasicImageTemplateCustomizer = "PowerShell"
	// TypeBasicImageTemplateCustomizerTypeShell ...
	TypeBasicImageTemplateCustomizerTypeShell TypeBasicImageTemplateCustomizer = "Shell"
	// TypeBasicImageTemplateCustomizerTypeWindowsRestart ...
	TypeBasicImageTemplateCustomizerTypeWindowsRestart TypeBasicImageTemplateCustomizer = "WindowsRestart"
	// TypeBasicImageTemplateCustomizerTypeWindowsUpdate ...
	TypeBasicImageTemplateCustomizerTypeWindowsUpdate TypeBasicImageTemplateCustomizer = "WindowsUpdate"
)

func PossibleTypeBasicImageTemplateCustomizerValues

func PossibleTypeBasicImageTemplateCustomizerValues() []TypeBasicImageTemplateCustomizer

PossibleTypeBasicImageTemplateCustomizerValues returns an array of possible values for the TypeBasicImageTemplateCustomizer const type.

type TypeBasicImageTemplateDistributor

type TypeBasicImageTemplateDistributor string

TypeBasicImageTemplateDistributor enumerates the values for type basic image template distributor.

const (
	// TypeBasicImageTemplateDistributorTypeImageTemplateDistributor ...
	TypeBasicImageTemplateDistributorTypeImageTemplateDistributor TypeBasicImageTemplateDistributor = "ImageTemplateDistributor"
	// TypeBasicImageTemplateDistributorTypeManagedImage ...
	TypeBasicImageTemplateDistributorTypeManagedImage TypeBasicImageTemplateDistributor = "ManagedImage"
	// TypeBasicImageTemplateDistributorTypeSharedImage ...
	TypeBasicImageTemplateDistributorTypeSharedImage TypeBasicImageTemplateDistributor = "SharedImage"
	// TypeBasicImageTemplateDistributorTypeVHD ...
	TypeBasicImageTemplateDistributorTypeVHD TypeBasicImageTemplateDistributor = "VHD"
)

func PossibleTypeBasicImageTemplateDistributorValues

func PossibleTypeBasicImageTemplateDistributorValues() []TypeBasicImageTemplateDistributor

PossibleTypeBasicImageTemplateDistributorValues returns an array of possible values for the TypeBasicImageTemplateDistributor const type.

type VirtualMachineImageTemplatesCancelFuture

type VirtualMachineImageTemplatesCancelFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualMachineImageTemplatesClient) (autorest.Response, error)
}

VirtualMachineImageTemplatesCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualMachineImageTemplatesCancelFuture) UnmarshalJSON

func (future *VirtualMachineImageTemplatesCancelFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineImageTemplatesClient

type VirtualMachineImageTemplatesClient struct {
	BaseClient
}

VirtualMachineImageTemplatesClient is the azure Virtual Machine Image Builder Client

func NewVirtualMachineImageTemplatesClient

func NewVirtualMachineImageTemplatesClient(subscriptionID string) VirtualMachineImageTemplatesClient

NewVirtualMachineImageTemplatesClient creates an instance of the VirtualMachineImageTemplatesClient client.

func NewVirtualMachineImageTemplatesClientWithBaseURI

func NewVirtualMachineImageTemplatesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImageTemplatesClient

NewVirtualMachineImageTemplatesClientWithBaseURI creates an instance of the VirtualMachineImageTemplatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineImageTemplatesClient) Cancel

func (client VirtualMachineImageTemplatesClient) Cancel(ctx context.Context, resourceGroupName string, imageTemplateName string) (result VirtualMachineImageTemplatesCancelFuture, err error)

Cancel cancel the long running image build based on the image template Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) CancelPreparer

func (client VirtualMachineImageTemplatesClient) CancelPreparer(ctx context.Context, resourceGroupName string, imageTemplateName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (VirtualMachineImageTemplatesClient) CancelResponder

func (client VirtualMachineImageTemplatesClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) CancelSender

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) CreateOrUpdate

func (client VirtualMachineImageTemplatesClient) CreateOrUpdate(ctx context.Context, parameters ImageTemplate, resourceGroupName string, imageTemplateName string) (result VirtualMachineImageTemplatesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a virtual machine image template Parameters: parameters - parameters supplied to the CreateImageTemplate operation resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) CreateOrUpdatePreparer

func (client VirtualMachineImageTemplatesClient) CreateOrUpdatePreparer(ctx context.Context, parameters ImageTemplate, resourceGroupName string, imageTemplateName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineImageTemplatesClient) CreateOrUpdateResponder

func (client VirtualMachineImageTemplatesClient) CreateOrUpdateResponder(resp *http.Response) (result ImageTemplate, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) Delete

func (client VirtualMachineImageTemplatesClient) Delete(ctx context.Context, resourceGroupName string, imageTemplateName string) (result VirtualMachineImageTemplatesDeleteFuture, err error)

Delete delete a virtual machine image template Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) DeletePreparer

func (client VirtualMachineImageTemplatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageTemplateName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineImageTemplatesClient) DeleteResponder

func (client VirtualMachineImageTemplatesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) Get

func (client VirtualMachineImageTemplatesClient) Get(ctx context.Context, resourceGroupName string, imageTemplateName string) (result ImageTemplate, err error)

Get get information about a virtual machine image template Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) GetPreparer

func (client VirtualMachineImageTemplatesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageTemplateName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineImageTemplatesClient) GetResponder

func (client VirtualMachineImageTemplatesClient) GetResponder(resp *http.Response) (result ImageTemplate, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) GetRunOutput

func (client VirtualMachineImageTemplatesClient) GetRunOutput(ctx context.Context, resourceGroupName string, imageTemplateName string, runOutputName string) (result RunOutput, err error)

GetRunOutput get the specified run output for the specified image template resource Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template runOutputName - the name of the run output

func (VirtualMachineImageTemplatesClient) GetRunOutputPreparer

func (client VirtualMachineImageTemplatesClient) GetRunOutputPreparer(ctx context.Context, resourceGroupName string, imageTemplateName string, runOutputName string) (*http.Request, error)

GetRunOutputPreparer prepares the GetRunOutput request.

func (VirtualMachineImageTemplatesClient) GetRunOutputResponder

func (client VirtualMachineImageTemplatesClient) GetRunOutputResponder(resp *http.Response) (result RunOutput, err error)

GetRunOutputResponder handles the response to the GetRunOutput request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) GetRunOutputSender

func (client VirtualMachineImageTemplatesClient) GetRunOutputSender(req *http.Request) (*http.Response, error)

GetRunOutputSender sends the GetRunOutput request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) List

List gets information about the VM image templates associated with the subscription.

func (VirtualMachineImageTemplatesClient) ListByResourceGroup

func (client VirtualMachineImageTemplatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageTemplateListResultPage, err error)

ListByResourceGroup gets information about the VM image templates associated with the specified resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualMachineImageTemplatesClient) ListByResourceGroupComplete

func (client VirtualMachineImageTemplatesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageTemplateListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineImageTemplatesClient) ListByResourceGroupPreparer

func (client VirtualMachineImageTemplatesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualMachineImageTemplatesClient) ListByResourceGroupResponder

func (client VirtualMachineImageTemplatesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageTemplateListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) ListByResourceGroupSender

func (client VirtualMachineImageTemplatesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineImageTemplatesClient) ListPreparer

func (client VirtualMachineImageTemplatesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineImageTemplatesClient) ListResponder

func (client VirtualMachineImageTemplatesClient) ListResponder(resp *http.Response) (result ImageTemplateListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) ListRunOutputs

func (client VirtualMachineImageTemplatesClient) ListRunOutputs(ctx context.Context, resourceGroupName string, imageTemplateName string) (result RunOutputCollectionPage, err error)

ListRunOutputs list all run outputs for the specified Image Template resource Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) ListRunOutputsComplete

func (client VirtualMachineImageTemplatesClient) ListRunOutputsComplete(ctx context.Context, resourceGroupName string, imageTemplateName string) (result RunOutputCollectionIterator, err error)

ListRunOutputsComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineImageTemplatesClient) ListRunOutputsPreparer

func (client VirtualMachineImageTemplatesClient) ListRunOutputsPreparer(ctx context.Context, resourceGroupName string, imageTemplateName string) (*http.Request, error)

ListRunOutputsPreparer prepares the ListRunOutputs request.

func (VirtualMachineImageTemplatesClient) ListRunOutputsResponder

func (client VirtualMachineImageTemplatesClient) ListRunOutputsResponder(resp *http.Response) (result RunOutputCollection, err error)

ListRunOutputsResponder handles the response to the ListRunOutputs request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) ListRunOutputsSender

func (client VirtualMachineImageTemplatesClient) ListRunOutputsSender(req *http.Request) (*http.Response, error)

ListRunOutputsSender sends the ListRunOutputs request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) ListSender

func (client VirtualMachineImageTemplatesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) Run

func (client VirtualMachineImageTemplatesClient) Run(ctx context.Context, resourceGroupName string, imageTemplateName string) (result VirtualMachineImageTemplatesRunFuture, err error)

Run create artifacts from a existing image template Parameters: resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) RunPreparer

func (client VirtualMachineImageTemplatesClient) RunPreparer(ctx context.Context, resourceGroupName string, imageTemplateName string) (*http.Request, error)

RunPreparer prepares the Run request.

func (VirtualMachineImageTemplatesClient) RunResponder

func (client VirtualMachineImageTemplatesClient) RunResponder(resp *http.Response) (result autorest.Response, err error)

RunResponder handles the response to the Run request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) RunSender

RunSender sends the Run request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImageTemplatesClient) Update

func (client VirtualMachineImageTemplatesClient) Update(ctx context.Context, parameters ImageTemplateUpdateParameters, resourceGroupName string, imageTemplateName string) (result VirtualMachineImageTemplatesUpdateFuture, err error)

Update update the tags for this Virtual Machine Image Template Parameters: parameters - additional parameters for Image Template update. resourceGroupName - the name of the resource group. imageTemplateName - the name of the image Template

func (VirtualMachineImageTemplatesClient) UpdatePreparer

func (client VirtualMachineImageTemplatesClient) UpdatePreparer(ctx context.Context, parameters ImageTemplateUpdateParameters, resourceGroupName string, imageTemplateName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineImageTemplatesClient) UpdateResponder

func (client VirtualMachineImageTemplatesClient) UpdateResponder(resp *http.Response) (result ImageTemplate, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineImageTemplatesClient) UpdateSender

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineImageTemplatesCreateOrUpdateFuture

type VirtualMachineImageTemplatesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualMachineImageTemplatesClient) (ImageTemplate, error)
}

VirtualMachineImageTemplatesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualMachineImageTemplatesCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineImageTemplatesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineImageTemplatesDeleteFuture

type VirtualMachineImageTemplatesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualMachineImageTemplatesClient) (autorest.Response, error)
}

VirtualMachineImageTemplatesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualMachineImageTemplatesDeleteFuture) UnmarshalJSON

func (future *VirtualMachineImageTemplatesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineImageTemplatesRunFuture

type VirtualMachineImageTemplatesRunFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualMachineImageTemplatesClient) (autorest.Response, error)
}

VirtualMachineImageTemplatesRunFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualMachineImageTemplatesRunFuture) UnmarshalJSON

func (future *VirtualMachineImageTemplatesRunFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineImageTemplatesUpdateFuture

type VirtualMachineImageTemplatesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualMachineImageTemplatesClient) (ImageTemplate, error)
}

VirtualMachineImageTemplatesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualMachineImageTemplatesUpdateFuture) UnmarshalJSON

func (future *VirtualMachineImageTemplatesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkConfig

type VirtualNetworkConfig struct {
	// SubnetID - Resource id of a pre-existing subnet.
	SubnetID *string `json:"subnetId,omitempty"`
}

VirtualNetworkConfig virtual Network configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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