models

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AdditionalUnattendContentSettingNameAutoLogon captures enum value "AutoLogon"
	AdditionalUnattendContentSettingNameAutoLogon string = "AutoLogon"
	// AdditionalUnattendContentSettingNameFirstLogonCommands captures enum value "FirstLogonCommands"
	AdditionalUnattendContentSettingNameFirstLogonCommands string = "FirstLogonCommands"
)
View Source
const (
	// HardwareProfileVMSizeBasicA0 captures enum value "Basic_A0"
	HardwareProfileVMSizeBasicA0 string = "Basic_A0"
	// HardwareProfileVMSizeBasicA1 captures enum value "Basic_A1"
	HardwareProfileVMSizeBasicA1 string = "Basic_A1"
	// HardwareProfileVMSizeBasicA2 captures enum value "Basic_A2"
	HardwareProfileVMSizeBasicA2 string = "Basic_A2"
	// HardwareProfileVMSizeBasicA3 captures enum value "Basic_A3"
	HardwareProfileVMSizeBasicA3 string = "Basic_A3"
	// HardwareProfileVMSizeBasicA4 captures enum value "Basic_A4"
	HardwareProfileVMSizeBasicA4 string = "Basic_A4"
	// HardwareProfileVMSizeStandardA0 captures enum value "Standard_A0"
	HardwareProfileVMSizeStandardA0 string = "Standard_A0"
	// HardwareProfileVMSizeStandardA1 captures enum value "Standard_A1"
	HardwareProfileVMSizeStandardA1 string = "Standard_A1"
	// HardwareProfileVMSizeStandardA2 captures enum value "Standard_A2"
	HardwareProfileVMSizeStandardA2 string = "Standard_A2"
	// HardwareProfileVMSizeStandardA3 captures enum value "Standard_A3"
	HardwareProfileVMSizeStandardA3 string = "Standard_A3"
	// HardwareProfileVMSizeStandardA4 captures enum value "Standard_A4"
	HardwareProfileVMSizeStandardA4 string = "Standard_A4"
	// HardwareProfileVMSizeStandardA5 captures enum value "Standard_A5"
	HardwareProfileVMSizeStandardA5 string = "Standard_A5"
	// HardwareProfileVMSizeStandardA6 captures enum value "Standard_A6"
	HardwareProfileVMSizeStandardA6 string = "Standard_A6"
	// HardwareProfileVMSizeStandardA7 captures enum value "Standard_A7"
	HardwareProfileVMSizeStandardA7 string = "Standard_A7"
	// HardwareProfileVMSizeStandardA8 captures enum value "Standard_A8"
	HardwareProfileVMSizeStandardA8 string = "Standard_A8"
	// HardwareProfileVMSizeStandardA9 captures enum value "Standard_A9"
	HardwareProfileVMSizeStandardA9 string = "Standard_A9"
	// HardwareProfileVMSizeStandardA10 captures enum value "Standard_A10"
	HardwareProfileVMSizeStandardA10 string = "Standard_A10"
	// HardwareProfileVMSizeStandardA11 captures enum value "Standard_A11"
	HardwareProfileVMSizeStandardA11 string = "Standard_A11"
	// HardwareProfileVMSizeStandardD1 captures enum value "Standard_D1"
	HardwareProfileVMSizeStandardD1 string = "Standard_D1"
	// HardwareProfileVMSizeStandardD2 captures enum value "Standard_D2"
	HardwareProfileVMSizeStandardD2 string = "Standard_D2"
	// HardwareProfileVMSizeStandardD3 captures enum value "Standard_D3"
	HardwareProfileVMSizeStandardD3 string = "Standard_D3"
	// HardwareProfileVMSizeStandardD4 captures enum value "Standard_D4"
	HardwareProfileVMSizeStandardD4 string = "Standard_D4"
	// HardwareProfileVMSizeStandardD11 captures enum value "Standard_D11"
	HardwareProfileVMSizeStandardD11 string = "Standard_D11"
	// HardwareProfileVMSizeStandardD12 captures enum value "Standard_D12"
	HardwareProfileVMSizeStandardD12 string = "Standard_D12"
	// HardwareProfileVMSizeStandardD13 captures enum value "Standard_D13"
	HardwareProfileVMSizeStandardD13 string = "Standard_D13"
	// HardwareProfileVMSizeStandardD14 captures enum value "Standard_D14"
	HardwareProfileVMSizeStandardD14 string = "Standard_D14"
	// HardwareProfileVMSizeStandardD1V2 captures enum value "Standard_D1_v2"
	HardwareProfileVMSizeStandardD1V2 string = "Standard_D1_v2"
	// HardwareProfileVMSizeStandardD2V2 captures enum value "Standard_D2_v2"
	HardwareProfileVMSizeStandardD2V2 string = "Standard_D2_v2"
	// HardwareProfileVMSizeStandardD3V2 captures enum value "Standard_D3_v2"
	HardwareProfileVMSizeStandardD3V2 string = "Standard_D3_v2"
	// HardwareProfileVMSizeStandardD4V2 captures enum value "Standard_D4_v2"
	HardwareProfileVMSizeStandardD4V2 string = "Standard_D4_v2"
	// HardwareProfileVMSizeStandardD5V2 captures enum value "Standard_D5_v2"
	HardwareProfileVMSizeStandardD5V2 string = "Standard_D5_v2"
	// HardwareProfileVMSizeStandardD11V2 captures enum value "Standard_D11_v2"
	HardwareProfileVMSizeStandardD11V2 string = "Standard_D11_v2"
	// HardwareProfileVMSizeStandardD12V2 captures enum value "Standard_D12_v2"
	HardwareProfileVMSizeStandardD12V2 string = "Standard_D12_v2"
	// HardwareProfileVMSizeStandardD13V2 captures enum value "Standard_D13_v2"
	HardwareProfileVMSizeStandardD13V2 string = "Standard_D13_v2"
	// HardwareProfileVMSizeStandardD14V2 captures enum value "Standard_D14_v2"
	HardwareProfileVMSizeStandardD14V2 string = "Standard_D14_v2"
	// HardwareProfileVMSizeStandardD15V2 captures enum value "Standard_D15_v2"
	HardwareProfileVMSizeStandardD15V2 string = "Standard_D15_v2"
	// HardwareProfileVMSizeStandardDS1 captures enum value "Standard_DS1"
	HardwareProfileVMSizeStandardDS1 string = "Standard_DS1"
	// HardwareProfileVMSizeStandardDS2 captures enum value "Standard_DS2"
	HardwareProfileVMSizeStandardDS2 string = "Standard_DS2"
	// HardwareProfileVMSizeStandardDS3 captures enum value "Standard_DS3"
	HardwareProfileVMSizeStandardDS3 string = "Standard_DS3"
	// HardwareProfileVMSizeStandardDS4 captures enum value "Standard_DS4"
	HardwareProfileVMSizeStandardDS4 string = "Standard_DS4"
	// HardwareProfileVMSizeStandardDS11 captures enum value "Standard_DS11"
	HardwareProfileVMSizeStandardDS11 string = "Standard_DS11"
	// HardwareProfileVMSizeStandardDS12 captures enum value "Standard_DS12"
	HardwareProfileVMSizeStandardDS12 string = "Standard_DS12"
	// HardwareProfileVMSizeStandardDS13 captures enum value "Standard_DS13"
	HardwareProfileVMSizeStandardDS13 string = "Standard_DS13"
	// HardwareProfileVMSizeStandardDS14 captures enum value "Standard_DS14"
	HardwareProfileVMSizeStandardDS14 string = "Standard_DS14"
	// HardwareProfileVMSizeStandardDS1V2 captures enum value "Standard_DS1_v2"
	HardwareProfileVMSizeStandardDS1V2 string = "Standard_DS1_v2"
	// HardwareProfileVMSizeStandardDS2V2 captures enum value "Standard_DS2_v2"
	HardwareProfileVMSizeStandardDS2V2 string = "Standard_DS2_v2"
	// HardwareProfileVMSizeStandardDS3V2 captures enum value "Standard_DS3_v2"
	HardwareProfileVMSizeStandardDS3V2 string = "Standard_DS3_v2"
	// HardwareProfileVMSizeStandardDS4V2 captures enum value "Standard_DS4_v2"
	HardwareProfileVMSizeStandardDS4V2 string = "Standard_DS4_v2"
	// HardwareProfileVMSizeStandardDS5V2 captures enum value "Standard_DS5_v2"
	HardwareProfileVMSizeStandardDS5V2 string = "Standard_DS5_v2"
	// HardwareProfileVMSizeStandardDS11V2 captures enum value "Standard_DS11_v2"
	HardwareProfileVMSizeStandardDS11V2 string = "Standard_DS11_v2"
	// HardwareProfileVMSizeStandardDS12V2 captures enum value "Standard_DS12_v2"
	HardwareProfileVMSizeStandardDS12V2 string = "Standard_DS12_v2"
	// HardwareProfileVMSizeStandardDS13V2 captures enum value "Standard_DS13_v2"
	HardwareProfileVMSizeStandardDS13V2 string = "Standard_DS13_v2"
	// HardwareProfileVMSizeStandardDS14V2 captures enum value "Standard_DS14_v2"
	HardwareProfileVMSizeStandardDS14V2 string = "Standard_DS14_v2"
	// HardwareProfileVMSizeStandardDS15V2 captures enum value "Standard_DS15_v2"
	HardwareProfileVMSizeStandardDS15V2 string = "Standard_DS15_v2"
	// HardwareProfileVMSizeStandardG1 captures enum value "Standard_G1"
	HardwareProfileVMSizeStandardG1 string = "Standard_G1"
	// HardwareProfileVMSizeStandardG2 captures enum value "Standard_G2"
	HardwareProfileVMSizeStandardG2 string = "Standard_G2"
	// HardwareProfileVMSizeStandardG3 captures enum value "Standard_G3"
	HardwareProfileVMSizeStandardG3 string = "Standard_G3"
	// HardwareProfileVMSizeStandardG4 captures enum value "Standard_G4"
	HardwareProfileVMSizeStandardG4 string = "Standard_G4"
	// HardwareProfileVMSizeStandardG5 captures enum value "Standard_G5"
	HardwareProfileVMSizeStandardG5 string = "Standard_G5"
	// HardwareProfileVMSizeStandardGS1 captures enum value "Standard_GS1"
	HardwareProfileVMSizeStandardGS1 string = "Standard_GS1"
	// HardwareProfileVMSizeStandardGS2 captures enum value "Standard_GS2"
	HardwareProfileVMSizeStandardGS2 string = "Standard_GS2"
	// HardwareProfileVMSizeStandardGS3 captures enum value "Standard_GS3"
	HardwareProfileVMSizeStandardGS3 string = "Standard_GS3"
	// HardwareProfileVMSizeStandardGS4 captures enum value "Standard_GS4"
	HardwareProfileVMSizeStandardGS4 string = "Standard_GS4"
	// HardwareProfileVMSizeStandardGS5 captures enum value "Standard_GS5"
	HardwareProfileVMSizeStandardGS5 string = "Standard_GS5"
)
View Source
const (
	// ImageDataDiskCachingNone captures enum value "None"
	ImageDataDiskCachingNone string = "None"
	// ImageDataDiskCachingReadOnly captures enum value "ReadOnly"
	ImageDataDiskCachingReadOnly string = "ReadOnly"
	// ImageDataDiskCachingReadWrite captures enum value "ReadWrite"
	ImageDataDiskCachingReadWrite string = "ReadWrite"
)
View Source
const (
	// ImageOSDiskCachingNone captures enum value "None"
	ImageOSDiskCachingNone string = "None"
	// ImageOSDiskCachingReadOnly captures enum value "ReadOnly"
	ImageOSDiskCachingReadOnly string = "ReadOnly"
	// ImageOSDiskCachingReadWrite captures enum value "ReadWrite"
	ImageOSDiskCachingReadWrite string = "ReadWrite"
)
View Source
const (
	// ImageOSDiskOsStateGeneralized captures enum value "Generalized"
	ImageOSDiskOsStateGeneralized string = "Generalized"
	// ImageOSDiskOsStateSpecialized captures enum value "Specialized"
	ImageOSDiskOsStateSpecialized string = "Specialized"
)
View Source
const (
	// ImageOSDiskOsTypeWindows captures enum value "Windows"
	ImageOSDiskOsTypeWindows string = "Windows"
	// ImageOSDiskOsTypeLinux captures enum value "Linux"
	ImageOSDiskOsTypeLinux string = "Linux"
)
View Source
const (
	// InstanceViewStatusLevelInfo captures enum value "Info"
	InstanceViewStatusLevelInfo string = "Info"
	// InstanceViewStatusLevelWarning captures enum value "Warning"
	InstanceViewStatusLevelWarning string = "Warning"
	// InstanceViewStatusLevelError captures enum value "Error"
	InstanceViewStatusLevelError string = "Error"
)
View Source
const (
	// OSDiskOsTypeWindows captures enum value "Windows"
	OSDiskOsTypeWindows string = "Windows"
	// OSDiskOsTypeLinux captures enum value "Linux"
	OSDiskOsTypeLinux string = "Linux"
)
View Source
const (
	// OSDiskImageOperatingSystemWindows captures enum value "Windows"
	OSDiskImageOperatingSystemWindows string = "Windows"
	// OSDiskImageOperatingSystemLinux captures enum value "Linux"
	OSDiskImageOperatingSystemLinux string = "Linux"
)
View Source
const (
	// UpgradePolicyModeAutomatic captures enum value "Automatic"
	UpgradePolicyModeAutomatic string = "Automatic"
	// UpgradePolicyModeManual captures enum value "Manual"
	UpgradePolicyModeManual string = "Manual"
)
View Source
const (
	// VirtualMachineScaleSetOSDiskOsTypeWindows captures enum value "Windows"
	VirtualMachineScaleSetOSDiskOsTypeWindows string = "Windows"
	// VirtualMachineScaleSetOSDiskOsTypeLinux captures enum value "Linux"
	VirtualMachineScaleSetOSDiskOsTypeLinux string = "Linux"
)
View Source
const (
	// VirtualMachineScaleSetSkuCapacityScaleTypeAutomatic captures enum value "Automatic"
	VirtualMachineScaleSetSkuCapacityScaleTypeAutomatic string = "Automatic"
	// VirtualMachineScaleSetSkuCapacityScaleTypeNone captures enum value "None"
	VirtualMachineScaleSetSkuCapacityScaleTypeNone string = "None"
)
View Source
const (
	// WinRMListenerProtocolHTTP captures enum value "Http"
	WinRMListenerProtocolHTTP string = "Http"
	// WinRMListenerProtocolHTTPS captures enum value "Https"
	WinRMListenerProtocolHTTPS string = "Https"
)
View Source
const (
	// AdditionalUnattendContentComponentNameMicrosoftWindowsShellSetup captures enum value "Microsoft-Windows-Shell-Setup"
	AdditionalUnattendContentComponentNameMicrosoftWindowsShellSetup string = "Microsoft-Windows-Shell-Setup"
)
View Source
const (
	// AdditionalUnattendContentPassNameOobeSystem captures enum value "oobeSystem"
	AdditionalUnattendContentPassNameOobeSystem string = "oobeSystem"
)
View Source
const (
	// UsageUnitCount captures enum value "Count"
	UsageUnitCount string = "Count"
)
View Source
const (
	// VirtualMachineIdentityTypeSystemAssigned captures enum value "SystemAssigned"
	VirtualMachineIdentityTypeSystemAssigned string = "SystemAssigned"
)
View Source
const (
	// VirtualMachineScaleSetIdentityTypeSystemAssigned captures enum value "SystemAssigned"
	VirtualMachineScaleSetIdentityTypeSystemAssigned string = "SystemAssigned"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIEntityReference

type APIEntityReference struct {

	// The ARM resource id in the form of /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
	ID string `json:"id,omitempty"`
}

APIEntityReference The API entity reference. swagger:model ApiEntityReference

func (*APIEntityReference) Validate

func (m *APIEntityReference) Validate(formats strfmt.Registry) error

Validate validates this Api entity reference

type APIError

type APIError struct {

	// The error code.
	Code string `json:"code,omitempty"`

	// The Api error details
	Details []*APIErrorBase `json:"details"`

	// The Api inner error
	Innererror *InnerError `json:"innererror,omitempty"`

	// The error message.
	Message string `json:"message,omitempty"`

	// The target of the particular error.
	Target string `json:"target,omitempty"`
}

APIError Api error. swagger:model ApiError

func (*APIError) Validate

func (m *APIError) Validate(formats strfmt.Registry) error

Validate validates this Api error

type APIErrorBase

type APIErrorBase struct {

	// The error code.
	Code string `json:"code,omitempty"`

	// The error message.
	Message string `json:"message,omitempty"`

	// The target of the particular error.
	Target string `json:"target,omitempty"`
}

APIErrorBase Api error base. swagger:model ApiErrorBase

func (*APIErrorBase) Validate

func (m *APIErrorBase) Validate(formats strfmt.Registry) error

Validate validates this Api error base

type AdditionalUnattendContent

type AdditionalUnattendContent struct {

	// The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
	ComponentName string `json:"componentName,omitempty"`

	// XML formatted content that is added to the unattend.xml file in the specified pass and component. The XML must be less than 4 KB and must include the root element for the setting or feature that is being inserted.
	Content string `json:"content,omitempty"`

	// The pass name. Currently, the only allowable value is oobeSystem.
	PassName string `json:"passName,omitempty"`

	// Setting name (e.g. FirstLogonCommands, AutoLogon )
	SettingName string `json:"settingName,omitempty"`
}

AdditionalUnattendContent Additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is a applied. swagger:model AdditionalUnattendContent

func (*AdditionalUnattendContent) Validate

func (m *AdditionalUnattendContent) Validate(formats strfmt.Registry) error

Validate validates this additional unattend content

type AvailabilitySet

type AvailabilitySet struct {
	Resource

	// properties
	Properties *AvailabilitySetProperties `json:"properties,omitempty"`

	// Sku of the availability set
	Sku *Sku `json:"sku,omitempty"`
}

AvailabilitySet Create or update availability set parameters. swagger:model AvailabilitySet

func (AvailabilitySet) MarshalJSON

func (m AvailabilitySet) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*AvailabilitySet) UnmarshalJSON

func (m *AvailabilitySet) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*AvailabilitySet) Validate

func (m *AvailabilitySet) Validate(formats strfmt.Registry) error

Validate validates this availability set

type AvailabilitySetListResult

type AvailabilitySetListResult struct {

	// The list of availability sets
	Value []*AvailabilitySet `json:"value"`
}

AvailabilitySetListResult The List Availability Set operation response. swagger:model AvailabilitySetListResult

func (*AvailabilitySetListResult) Validate

func (m *AvailabilitySetListResult) Validate(formats strfmt.Registry) error

Validate validates this availability set list result

type AvailabilitySetProperties

type AvailabilitySetProperties struct {

	// If the availability set supports managed disks.
	Managed bool `json:"managed,omitempty"`

	// Fault Domain count.
	PlatformFaultDomainCount int32 `json:"platformFaultDomainCount,omitempty"`

	// Update Domain count.
	PlatformUpdateDomainCount int32 `json:"platformUpdateDomainCount,omitempty"`

	// The resource status information.
	// Read Only: true
	Statuses []*InstanceViewStatus `json:"statuses"`

	// A list of references to all virtual machines in the availability set.
	VirtualMachines []*SubResource `json:"virtualMachines"`
}

AvailabilitySetProperties The instance view of a resource. swagger:model AvailabilitySetProperties

func (*AvailabilitySetProperties) Validate

func (m *AvailabilitySetProperties) Validate(formats strfmt.Registry) error

Validate validates this availability set properties

type BootDiagnostics

type BootDiagnostics struct {

	// Whether boot diagnostics should be enabled on the Virtual Machine.
	Enabled bool `json:"enabled,omitempty"`

	// URI of the storage account to use for placing the console output and screenshot.
	StorageURI string `json:"storageUri,omitempty"`
}

BootDiagnostics Describes Boot Diagnostics. swagger:model BootDiagnostics

func (*BootDiagnostics) Validate

func (m *BootDiagnostics) Validate(formats strfmt.Registry) error

Validate validates this boot diagnostics

type BootDiagnosticsInstanceView

type BootDiagnosticsInstanceView struct {

	// The console screenshot blob URI.
	ConsoleScreenshotBlobURI string `json:"consoleScreenshotBlobUri,omitempty"`

	// The Linux serial console log blob Uri.
	SerialConsoleLogBlobURI string `json:"serialConsoleLogBlobUri,omitempty"`
}

BootDiagnosticsInstanceView The instance view of a virtual machine boot diagnostics. swagger:model BootDiagnosticsInstanceView

func (*BootDiagnosticsInstanceView) Validate

func (m *BootDiagnosticsInstanceView) Validate(formats strfmt.Registry) error

Validate validates this boot diagnostics instance view

type Caching

type Caching string

Caching The caching type. swagger:model Caching

const (
	// CachingNone captures enum value "None"
	CachingNone Caching = "None"
	// CachingReadOnly captures enum value "ReadOnly"
	CachingReadOnly Caching = "ReadOnly"
	// CachingReadWrite captures enum value "ReadWrite"
	CachingReadWrite Caching = "ReadWrite"
)

func (Caching) Validate

func (m Caching) Validate(formats strfmt.Registry) error

Validate validates this caching

type ComputeLongRunningOperationProperties

type ComputeLongRunningOperationProperties struct {

	// Operation output data (raw JSON)
	Output interface{} `json:"output,omitempty"`
}

ComputeLongRunningOperationProperties Compute-specific operation properties, including output swagger:model ComputeLongRunningOperationProperties

func (*ComputeLongRunningOperationProperties) Validate

Validate validates this compute long running operation properties

type CreateOption

type CreateOption string

CreateOption The create option. swagger:model CreateOption

const (
	// CreateOptionFromImage captures enum value "fromImage"
	CreateOptionFromImage CreateOption = "fromImage"
	// CreateOptionEmpty captures enum value "empty"
	CreateOptionEmpty CreateOption = "empty"
	// CreateOptionAttach captures enum value "attach"
	CreateOptionAttach CreateOption = "attach"
)

func (CreateOption) Validate

func (m CreateOption) Validate(formats strfmt.Registry) error

Validate validates this create option

type DataDisk

type DataDisk struct {

	// The caching type.
	Caching Caching `json:"caching,omitempty"`

	// The create option.
	// Required: true
	CreateOption CreateOption `json:"createOption"`

	// The initial disk size in GB for blank data disks, and the new desired size for resizing existing OS and data disks.
	DiskSizeGB int32 `json:"diskSizeGB,omitempty"`

	// The source user image virtual hard disk. This virtual hard disk will be copied before using it to attach to the virtual machine. If SourceImage is provided, the destination virtual hard disk must not exist.
	Image *VirtualHardDisk `json:"image,omitempty"`

	// The logical unit number.
	// Required: true
	Lun *int32 `json:"lun"`

	// The managed disk parameters.
	ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`

	// The disk name.
	Name string `json:"name,omitempty"`

	// The virtual hard disk.
	Vhd *VirtualHardDisk `json:"vhd,omitempty"`
}

DataDisk Describes a data disk. swagger:model DataDisk

func (*DataDisk) Validate

func (m *DataDisk) Validate(formats strfmt.Registry) error

Validate validates this data disk

type DataDiskImage

type DataDiskImage struct {

	// The LUN number for a data disk. This value is used to identify data disk image inside the VMImage and therefore it must be unique for each data disk.
	// Read Only: true
	Lun int32 `json:"lun,omitempty"`
}

DataDiskImage Contains the data disk images information. swagger:model DataDiskImage

func (*DataDiskImage) Validate

func (m *DataDiskImage) Validate(formats strfmt.Registry) error

Validate validates this data disk image

type DiagnosticsProfile

type DiagnosticsProfile struct {

	// Boot Diagnostics is a debugging feature which allows the user to view console output and/or a screenshot of the virtual machine from the hypervisor.
	BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

DiagnosticsProfile Describes a diagnostics profile. swagger:model DiagnosticsProfile

func (*DiagnosticsProfile) Validate

func (m *DiagnosticsProfile) Validate(formats strfmt.Registry) error

Validate validates this diagnostics profile

type DiskEncryptionSettings

type DiskEncryptionSettings struct {

	// The disk encryption key which is a Key Vault Secret.
	DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`

	// Specifies whether disk encryption should be enabled on the virtual machine.
	Enabled bool `json:"enabled,omitempty"`

	// The key encryption key which is Key Vault Key.
	KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"`
}

DiskEncryptionSettings Describes a Encryption Settings for a Disk swagger:model DiskEncryptionSettings

func (*DiskEncryptionSettings) Validate

func (m *DiskEncryptionSettings) Validate(formats strfmt.Registry) error

Validate validates this disk encryption settings

type DiskInstanceView

type DiskInstanceView struct {

	// The disk name.
	Name string `json:"name,omitempty"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`
}

DiskInstanceView The instance view of the disk. swagger:model DiskInstanceView

func (*DiskInstanceView) Validate

func (m *DiskInstanceView) Validate(formats strfmt.Registry) error

Validate validates this disk instance view

type HardwareProfile

type HardwareProfile struct {

	// The virtual machine size name.
	VMSize string `json:"vmSize,omitempty"`
}

HardwareProfile Describes a hardware profile. swagger:model HardwareProfile

func (*HardwareProfile) Validate

func (m *HardwareProfile) Validate(formats strfmt.Registry) error

Validate validates this hardware profile

type Image

type Image struct {
	Resource

	// properties
	Properties *ImageProperties `json:"properties,omitempty"`
}

Image Describes an Image. swagger:model Image

func (Image) MarshalJSON

func (m Image) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Image) UnmarshalJSON

func (m *Image) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Image) Validate

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image

type ImageDataDisk

type ImageDataDisk struct {

	// The Virtual Hard Disk.
	BlobURI string `json:"blobUri,omitempty"`

	// The caching type.
	Caching string `json:"caching,omitempty"`

	// The initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.
	DiskSizeGB int32 `json:"diskSizeGB,omitempty"`

	// The logical unit number.
	// Required: true
	Lun *int32 `json:"lun"`

	// The managedDisk.
	ManagedDisk *SubResource `json:"managedDisk,omitempty"`

	// The snapshot.
	Snapshot *SubResource `json:"snapshot,omitempty"`
}

ImageDataDisk Describes a data disk. swagger:model ImageDataDisk

func (*ImageDataDisk) Validate

func (m *ImageDataDisk) Validate(formats strfmt.Registry) error

Validate validates this image data disk

type ImageListResult

type ImageListResult struct {

	// The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images.
	NextLink string `json:"nextLink,omitempty"`

	// The list of Images.
	// Required: true
	Value []*Image `json:"value"`
}

ImageListResult The List Image operation response. swagger:model ImageListResult

func (*ImageListResult) Validate

func (m *ImageListResult) Validate(formats strfmt.Registry) error

Validate validates this image list result

type ImageOSDisk

type ImageOSDisk struct {

	// The Virtual Hard Disk.
	BlobURI string `json:"blobUri,omitempty"`

	// The caching type.
	Caching string `json:"caching,omitempty"`

	// The initial managed disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.
	DiskSizeGB int32 `json:"diskSizeGB,omitempty"`

	// The managedDisk.
	ManagedDisk *SubResource `json:"managedDisk,omitempty"`

	// The OS State.
	// Required: true
	OsState *string `json:"osState"`

	// The Operating System type.
	// Required: true
	OsType *string `json:"osType"`

	// The snapshot.
	Snapshot *SubResource `json:"snapshot,omitempty"`
}

ImageOSDisk Describes an Operating System disk. swagger:model ImageOSDisk

func (*ImageOSDisk) Validate

func (m *ImageOSDisk) Validate(formats strfmt.Registry) error

Validate validates this image o s disk

type ImageProperties

type ImageProperties struct {

	// The provisioning state.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// The source virtual machine from which Image is created.
	SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"`

	// The storage profile.
	StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"`
}

ImageProperties Describes the properties of an Image. swagger:model ImageProperties

func (*ImageProperties) Validate

func (m *ImageProperties) Validate(formats strfmt.Registry) error

Validate validates this image properties

type ImageReference

type ImageReference struct {
	SubResource

	// The image offer.
	Offer string `json:"offer,omitempty"`

	// The image publisher.
	Publisher string `json:"publisher,omitempty"`

	// The image SKU.
	Sku string `json:"sku,omitempty"`

	// The image version. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor and Build are decimal numbers. Specify 'latest' to use the latest version of the image.
	Version string `json:"version,omitempty"`
}

ImageReference The image reference. swagger:model ImageReference

func (ImageReference) MarshalJSON

func (m ImageReference) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ImageReference) UnmarshalJSON

func (m *ImageReference) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ImageReference) Validate

func (m *ImageReference) Validate(formats strfmt.Registry) error

Validate validates this image reference

type ImageStorageProfile

type ImageStorageProfile struct {

	// The data disks.
	DataDisks []*ImageDataDisk `json:"dataDisks"`

	// The OS disk.
	// Required: true
	OsDisk *ImageOSDisk `json:"osDisk"`
}

ImageStorageProfile Describes a storage profile. swagger:model ImageStorageProfile

func (*ImageStorageProfile) Validate

func (m *ImageStorageProfile) Validate(formats strfmt.Registry) error

Validate validates this image storage profile

type InnerError

type InnerError struct {

	// The internal error message or exception dump.
	Errordetail string `json:"errordetail,omitempty"`

	// The exception type.
	Exceptiontype string `json:"exceptiontype,omitempty"`
}

InnerError Inner error details. swagger:model InnerError

func (*InnerError) Validate

func (m *InnerError) Validate(formats strfmt.Registry) error

Validate validates this inner error

type InstanceViewStatus

type InstanceViewStatus struct {

	// The status code.
	Code string `json:"code,omitempty"`

	// The short localizable label for the status.
	DisplayStatus string `json:"displayStatus,omitempty"`

	// The level code.
	Level string `json:"level,omitempty"`

	// The detailed status message, including for alerts and error messages.
	Message string `json:"message,omitempty"`

	// The time of the status.
	Time strfmt.DateTime `json:"time,omitempty"`
}

InstanceViewStatus Instance view status. swagger:model InstanceViewStatus

func (*InstanceViewStatus) Validate

func (m *InstanceViewStatus) Validate(formats strfmt.Registry) error

Validate validates this instance view status

type KeyVaultKeyReference

type KeyVaultKeyReference struct {

	// The URL referencing a key in a Key Vault.
	// Required: true
	KeyURL *string `json:"keyUrl"`

	// The relative URL of the Key Vault containing the key.
	// Required: true
	SourceVault *SubResource `json:"sourceVault"`
}

KeyVaultKeyReference Describes a reference to Key Vault Key swagger:model KeyVaultKeyReference

func (*KeyVaultKeyReference) Validate

func (m *KeyVaultKeyReference) Validate(formats strfmt.Registry) error

Validate validates this key vault key reference

type KeyVaultSecretReference

type KeyVaultSecretReference struct {

	// The URL referencing a secret in a Key Vault.
	// Required: true
	SecretURL *string `json:"secretUrl"`

	// The relative URL of the Key Vault containing the secret.
	// Required: true
	SourceVault *SubResource `json:"sourceVault"`
}

KeyVaultSecretReference Describes a reference to Key Vault Secret swagger:model KeyVaultSecretReference

func (*KeyVaultSecretReference) Validate

func (m *KeyVaultSecretReference) Validate(formats strfmt.Registry) error

Validate validates this key vault secret reference

type LinuxConfiguration

type LinuxConfiguration struct {

	// Specifies whether password authentication should be disabled.
	DisablePasswordAuthentication bool `json:"disablePasswordAuthentication,omitempty"`

	// The SSH configuration for linux VMs.
	SSH *SSHConfiguration `json:"ssh,omitempty"`
}

LinuxConfiguration Describes Windows configuration of the OS Profile. swagger:model LinuxConfiguration

func (*LinuxConfiguration) Validate

func (m *LinuxConfiguration) Validate(formats strfmt.Registry) error

Validate validates this linux configuration

type ListUsagesResult

type ListUsagesResult struct {

	// The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information.
	NextLink string `json:"nextLink,omitempty"`

	// The list of compute resource usages.
	// Required: true
	Value []*Usage `json:"value"`
}

ListUsagesResult The List Usages operation response. swagger:model ListUsagesResult

func (*ListUsagesResult) Validate

func (m *ListUsagesResult) Validate(formats strfmt.Registry) error

Validate validates this list usages result

type ManagedDiskParameters

type ManagedDiskParameters struct {
	SubResource

	// The Storage Account type.
	StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
}

ManagedDiskParameters The parameters of a managed disk. swagger:model ManagedDiskParameters

func (ManagedDiskParameters) MarshalJSON

func (m ManagedDiskParameters) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ManagedDiskParameters) UnmarshalJSON

func (m *ManagedDiskParameters) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ManagedDiskParameters) Validate

func (m *ManagedDiskParameters) Validate(formats strfmt.Registry) error

Validate validates this managed disk parameters

type NetworkInterfaceReference

type NetworkInterfaceReference struct {
	SubResource

	// properties
	Properties *NetworkInterfaceReferenceProperties `json:"properties,omitempty"`
}

NetworkInterfaceReference Describes a network interface reference. swagger:model NetworkInterfaceReference

func (NetworkInterfaceReference) MarshalJSON

func (m NetworkInterfaceReference) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*NetworkInterfaceReference) UnmarshalJSON

func (m *NetworkInterfaceReference) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*NetworkInterfaceReference) Validate

func (m *NetworkInterfaceReference) Validate(formats strfmt.Registry) error

Validate validates this network interface reference

type NetworkInterfaceReferenceProperties

type NetworkInterfaceReferenceProperties struct {

	// Specifies the primary network interface in case the virtual machine has more than 1 network interface.
	Primary bool `json:"primary,omitempty"`
}

NetworkInterfaceReferenceProperties Describes a network interface reference properties. swagger:model NetworkInterfaceReferenceProperties

func (*NetworkInterfaceReferenceProperties) Validate

Validate validates this network interface reference properties

type NetworkProfile

type NetworkProfile struct {

	// Specifies the list of resource IDs for the network interfaces associated with the virtual machine.
	NetworkInterfaces []*NetworkInterfaceReference `json:"networkInterfaces"`
}

NetworkProfile Describes a network profile. swagger:model NetworkProfile

func (*NetworkProfile) Validate

func (m *NetworkProfile) Validate(formats strfmt.Registry) error

Validate validates this network profile

type OSDisk

type OSDisk struct {

	// The caching type.
	Caching Caching `json:"caching,omitempty"`

	// The create option.
	// Required: true
	CreateOption CreateOption `json:"createOption"`

	// The initial disk size, in GB, for blank data disks, and the new desired size for resizing existing OS and data disks.
	DiskSizeGB int32 `json:"diskSizeGB,omitempty"`

	// The disk encryption settings.
	EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`

	// The source user image virtual hard disk. The virtual hard disk will be copied before using it to attach to the virtual machine. If SourceImage is provided, the destination virtual hard disk must not exist.
	Image *VirtualHardDisk `json:"image,omitempty"`

	// The managed disk parameters.
	ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`

	// The disk name.
	Name string `json:"name,omitempty"`

	// The Operating System type.
	OsType string `json:"osType,omitempty"`

	// The virtual hard disk.
	Vhd *VirtualHardDisk `json:"vhd,omitempty"`
}

OSDisk Describes an Operating System disk. swagger:model OSDisk

func (*OSDisk) Validate

func (m *OSDisk) Validate(formats strfmt.Registry) error

Validate validates this o s disk

type OSDiskImage

type OSDiskImage struct {

	// The operating system of the osDiskImage.
	// Required: true
	OperatingSystem *string `json:"operatingSystem"`
}

OSDiskImage Contains the os disk image information. swagger:model OSDiskImage

func (*OSDiskImage) Validate

func (m *OSDiskImage) Validate(formats strfmt.Registry) error

Validate validates this o s disk image

type OSProfile

type OSProfile struct {

	// Specifies the password of the administrator account.
	AdminPassword string `json:"adminPassword,omitempty"`

	// Specifies the name of the administrator account.
	AdminUsername string `json:"adminUsername,omitempty"`

	// Specifies the host OS name of the virtual machine.
	ComputerName string `json:"computerName,omitempty"`

	// Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes
	CustomData string `json:"customData,omitempty"`

	// The Linux configuration of the OS profile.
	LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`

	// The list of certificates for addition to the VM.
	Secrets []*VaultSecretGroup `json:"secrets"`

	// The Windows configuration of the OS profile.
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

OSProfile Describes an OS profile. swagger:model OSProfile

func (*OSProfile) Validate

func (m *OSProfile) Validate(formats strfmt.Registry) error

Validate validates this o s profile

type OperationStatusResponse

type OperationStatusResponse struct {

	// End time of the operation
	// Read Only: true
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// Api error
	// Read Only: true
	Error *APIError `json:"error,omitempty"`

	// Operation ID
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Start time of the operation
	// Read Only: true
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// Operation status
	// Read Only: true
	Status string `json:"status,omitempty"`
}

OperationStatusResponse Operation status response swagger:model OperationStatusResponse

func (*OperationStatusResponse) Validate

func (m *OperationStatusResponse) Validate(formats strfmt.Registry) error

Validate validates this operation status response

type Plan

type Plan struct {

	// The plan ID.
	Name string `json:"name,omitempty"`

	// The offer ID.
	Product string `json:"product,omitempty"`

	// The promotion code.
	PromotionCode string `json:"promotionCode,omitempty"`

	// The publisher ID.
	Publisher string `json:"publisher,omitempty"`
}

Plan Plan for the resource. swagger:model Plan

func (*Plan) Validate

func (m *Plan) Validate(formats strfmt.Registry) error

Validate validates this plan

type PurchasePlan

type PurchasePlan struct {

	// The plan ID.
	// Required: true
	Name *string `json:"name"`

	// The product ID.
	// Required: true
	Product *string `json:"product"`

	// The publisher ID.
	// Required: true
	Publisher *string `json:"publisher"`
}

PurchasePlan Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. swagger:model PurchasePlan

func (*PurchasePlan) Validate

func (m *PurchasePlan) Validate(formats strfmt.Registry) error

Validate validates this purchase plan

type Resource

type Resource struct {

	// Resource Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Resource location
	// Required: true
	Location *string `json:"location"`

	// Resource name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Resource tags
	Tags map[string]string `json:"tags,omitempty"`

	// Resource type
	// Read Only: true
	Type string `json:"type,omitempty"`
}

Resource The Resource model definition. swagger:model Resource

func (*Resource) Validate

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type SSHConfiguration

type SSHConfiguration struct {

	// The list of SSH public keys used to authenticate with linux based VMs.
	PublicKeys []*SSHPublicKey `json:"publicKeys"`
}

SSHConfiguration SSH configuration for Linux based VMs running on Azure swagger:model SshConfiguration

func (*SSHConfiguration) Validate

func (m *SSHConfiguration) Validate(formats strfmt.Registry) error

Validate validates this Ssh configuration

type SSHPublicKey

type SSHPublicKey struct {

	// Certificate public key used to authenticate to the VM through SSH. The certificate must be in Pem format with or without headers.
	KeyData string `json:"keyData,omitempty"`

	// Specifies the full path on the created VM where SSH public key is stored. If the file already exists, the specified key is appended to the file.
	Path string `json:"path,omitempty"`
}

SSHPublicKey Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. swagger:model SshPublicKey

func (*SSHPublicKey) Validate

func (m *SSHPublicKey) Validate(formats strfmt.Registry) error

Validate validates this Ssh public key

type Sku

type Sku struct {

	// The sku capacity.
	Capacity int64 `json:"capacity,omitempty"`

	// The sku name.
	Name string `json:"name,omitempty"`

	// The sku tier.
	Tier string `json:"tier,omitempty"`
}

Sku Describes a virtual machine scale set sku. swagger:model Sku

func (*Sku) Validate

func (m *Sku) Validate(formats strfmt.Registry) error

Validate validates this sku

type StorageAccountType

type StorageAccountType string

StorageAccountType The Storage Account type. swagger:model StorageAccountType

const (
	// StorageAccountTypeStandardLRS captures enum value "Standard_LRS"
	StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS"
	// StorageAccountTypePremiumLRS captures enum value "Premium_LRS"
	StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS"
)

func (StorageAccountType) Validate

func (m StorageAccountType) Validate(formats strfmt.Registry) error

Validate validates this storage account type

type StorageProfile

type StorageProfile struct {

	// The data disks.
	DataDisks []*DataDisk `json:"dataDisks"`

	// The image reference.
	ImageReference *ImageReference `json:"imageReference,omitempty"`

	// The OS disk.
	OsDisk *OSDisk `json:"osDisk,omitempty"`
}

StorageProfile Describes a storage profile. swagger:model StorageProfile

func (*StorageProfile) Validate

func (m *StorageProfile) Validate(formats strfmt.Registry) error

Validate validates this storage profile

type SubResource

type SubResource struct {

	// Resource Id
	ID string `json:"id,omitempty"`
}

SubResource sub resource swagger:model SubResource

func (*SubResource) Validate

func (m *SubResource) Validate(formats strfmt.Registry) error

Validate validates this sub resource

type SubResourceReadOnly

type SubResourceReadOnly struct {

	// Resource Id
	// Read Only: true
	ID string `json:"id,omitempty"`
}

SubResourceReadOnly sub resource read only swagger:model SubResourceReadOnly

func (*SubResourceReadOnly) Validate

func (m *SubResourceReadOnly) Validate(formats strfmt.Registry) error

Validate validates this sub resource read only

type UpgradePolicy

type UpgradePolicy struct {

	// The upgrade mode.
	Mode string `json:"mode,omitempty"`
}

UpgradePolicy Describes an upgrade policy - automatic or manual. swagger:model UpgradePolicy

func (*UpgradePolicy) Validate

func (m *UpgradePolicy) Validate(formats strfmt.Registry) error

Validate validates this upgrade policy

type Usage

type Usage struct {

	// The current usage of the resource.
	// Required: true
	CurrentValue *int32 `json:"currentValue"`

	// The maximum permitted usage of the resource.
	// Required: true
	Limit *int64 `json:"limit"`

	// The name of the type of usage.
	// Required: true
	Name *UsageName `json:"name"`

	// An enum describing the unit of usage measurement.
	// Required: true
	Unit *string `json:"unit"`
}

Usage Describes Compute Resource Usage. swagger:model Usage

func (*Usage) Validate

func (m *Usage) Validate(formats strfmt.Registry) error

Validate validates this usage

type UsageName

type UsageName struct {

	// The localized name of the resource.
	LocalizedValue string `json:"localizedValue,omitempty"`

	// The name of the resource.
	Value string `json:"value,omitempty"`
}

UsageName The Usage Names. swagger:model UsageName

func (*UsageName) Validate

func (m *UsageName) Validate(formats strfmt.Registry) error

Validate validates this usage name

type VaultCertificate

type VaultCertificate struct {

	// The Certificate store in LocalMachine to add the certificate to on Windows, leave empty on Linux.
	CertificateStore string `json:"certificateStore,omitempty"`

	// The URL referencing a secret in a Key Vault which contains a properly formatted certificate.
	CertificateURL string `json:"certificateUrl,omitempty"`
}

VaultCertificate Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. swagger:model VaultCertificate

func (*VaultCertificate) Validate

func (m *VaultCertificate) Validate(formats strfmt.Registry) error

Validate validates this vault certificate

type VaultSecretGroup

type VaultSecretGroup struct {

	// The Relative URL of the Key Vault containing all of the certificates in VaultCertificates.
	SourceVault *SubResource `json:"sourceVault,omitempty"`

	// The list of key vault references in SourceVault which contain certificates.
	VaultCertificates []*VaultCertificate `json:"vaultCertificates"`
}

VaultSecretGroup Describes a set of certificates which are all in the same Key Vault. swagger:model VaultSecretGroup

func (*VaultSecretGroup) Validate

func (m *VaultSecretGroup) Validate(formats strfmt.Registry) error

Validate validates this vault secret group

type VirtualHardDisk

type VirtualHardDisk struct {

	// The virtual hard disk's URI. Must be a valid URI to a virtual hard disk.
	URI string `json:"uri,omitempty"`
}

VirtualHardDisk Describes the uri of a disk. swagger:model VirtualHardDisk

func (*VirtualHardDisk) Validate

func (m *VirtualHardDisk) Validate(formats strfmt.Registry) error

Validate validates this virtual hard disk

type VirtualMachine

type VirtualMachine struct {
	Resource

	// The identity of the virtual machine, if configured.
	Identity *VirtualMachineIdentity `json:"identity,omitempty"`

	// The purchase plan when deploying virtual machine from VM Marketplace images.
	Plan *Plan `json:"plan,omitempty"`

	// properties
	Properties *VirtualMachineProperties `json:"properties,omitempty"`

	// The virtual machine child extension resources.
	// Read Only: true
	Resources []*VirtualMachineExtension `json:"resources"`
}

VirtualMachine Describes a Virtual Machine. swagger:model VirtualMachine

func (VirtualMachine) MarshalJSON

func (m VirtualMachine) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachine) UnmarshalJSON

func (m *VirtualMachine) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachine) Validate

func (m *VirtualMachine) Validate(formats strfmt.Registry) error

Validate validates this virtual machine

type VirtualMachineAgentInstanceView

type VirtualMachineAgentInstanceView struct {

	// The virtual machine extension handler instance view.
	ExtensionHandlers []*VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`

	// The VM Agent full version.
	VMAgentVersion string `json:"vmAgentVersion,omitempty"`
}

VirtualMachineAgentInstanceView The instance view of the VM Agent running on the virtual machine. swagger:model VirtualMachineAgentInstanceView

func (*VirtualMachineAgentInstanceView) Validate

Validate validates this virtual machine agent instance view

type VirtualMachineCaptureParameters

type VirtualMachineCaptureParameters struct {

	// The destination container name.
	// Required: true
	DestinationContainerName *string `json:"destinationContainerName"`

	// Specifies whether to overwrite the destination virtual hard disk, in case of conflict.
	// Required: true
	OverwriteVhds *bool `json:"overwriteVhds"`

	// The captured virtual hard disk's name prefix.
	// Required: true
	VhdPrefix *string `json:"vhdPrefix"`
}

VirtualMachineCaptureParameters Capture Virtual Machine parameters. swagger:model VirtualMachineCaptureParameters

func (*VirtualMachineCaptureParameters) Validate

Validate validates this virtual machine capture parameters

type VirtualMachineCaptureResult

type VirtualMachineCaptureResult struct {
	SubResource

	// properties
	Properties *VirtualMachineCaptureResultProperties `json:"properties,omitempty"`
}

VirtualMachineCaptureResult Resource Id. swagger:model VirtualMachineCaptureResult

func (VirtualMachineCaptureResult) MarshalJSON

func (m VirtualMachineCaptureResult) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineCaptureResult) UnmarshalJSON

func (m *VirtualMachineCaptureResult) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineCaptureResult) Validate

func (m *VirtualMachineCaptureResult) Validate(formats strfmt.Registry) error

Validate validates this virtual machine capture result

type VirtualMachineCaptureResultProperties

type VirtualMachineCaptureResultProperties struct {

	// Operation output data (raw JSON)
	Output interface{} `json:"output,omitempty"`
}

VirtualMachineCaptureResultProperties Compute-specific operation properties, including output swagger:model VirtualMachineCaptureResultProperties

func (*VirtualMachineCaptureResultProperties) Validate

Validate validates this virtual machine capture result properties

type VirtualMachineExtension

type VirtualMachineExtension struct {
	Resource

	// properties
	Properties *VirtualMachineExtensionProperties `json:"properties,omitempty"`
}

VirtualMachineExtension Describes a Virtual Machine Extension. swagger:model VirtualMachineExtension

func (VirtualMachineExtension) MarshalJSON

func (m VirtualMachineExtension) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineExtension) UnmarshalJSON

func (m *VirtualMachineExtension) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineExtension) Validate

func (m *VirtualMachineExtension) Validate(formats strfmt.Registry) error

Validate validates this virtual machine extension

type VirtualMachineExtensionHandlerInstanceView

type VirtualMachineExtensionHandlerInstanceView struct {

	// The extension handler status.
	Status *InstanceViewStatus `json:"status,omitempty"`

	// Full type of the extension handler which includes both publisher and type.
	Type string `json:"type,omitempty"`

	// The type version of the extension handler.
	TypeHandlerVersion string `json:"typeHandlerVersion,omitempty"`
}

VirtualMachineExtensionHandlerInstanceView The instance view of a virtual machine extension handler. swagger:model VirtualMachineExtensionHandlerInstanceView

func (*VirtualMachineExtensionHandlerInstanceView) Validate

Validate validates this virtual machine extension handler instance view

type VirtualMachineExtensionImage

type VirtualMachineExtensionImage struct {
	Resource

	// properties
	Properties *VirtualMachineExtensionImageProperties `json:"properties,omitempty"`
}

VirtualMachineExtensionImage Describes a Virtual Machine Extension Image. swagger:model VirtualMachineExtensionImage

func (VirtualMachineExtensionImage) MarshalJSON

func (m VirtualMachineExtensionImage) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineExtensionImage) UnmarshalJSON

func (m *VirtualMachineExtensionImage) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineExtensionImage) Validate

func (m *VirtualMachineExtensionImage) Validate(formats strfmt.Registry) error

Validate validates this virtual machine extension image

type VirtualMachineExtensionImageProperties

type VirtualMachineExtensionImageProperties struct {

	// The type of role (IaaS or PaaS) this extension supports.
	// Required: true
	ComputeRole *string `json:"computeRole"`

	// The schema defined by publisher, where extension consumers should provide settings in a matching schema.
	// Required: true
	HandlerSchema *string `json:"handlerSchema"`

	// The operating system this extension supports.
	// Required: true
	OperatingSystem *string `json:"operatingSystem"`

	// Whether the handler can support multiple extensions.
	SupportsMultipleExtensions bool `json:"supportsMultipleExtensions,omitempty"`

	// Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
	VMScaleSetEnabled bool `json:"vmScaleSetEnabled,omitempty"`
}

VirtualMachineExtensionImageProperties Describes the properties of a Virtual Machine Extension Image. swagger:model VirtualMachineExtensionImageProperties

func (*VirtualMachineExtensionImageProperties) Validate

Validate validates this virtual machine extension image properties

type VirtualMachineExtensionInstanceView

type VirtualMachineExtensionInstanceView struct {

	// The virtual machine extension name.
	Name string `json:"name,omitempty"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`

	// The resource status information.
	Substatuses []*InstanceViewStatus `json:"substatuses"`

	// The full type of the extension handler which includes both publisher and type.
	Type string `json:"type,omitempty"`

	// The type version of the extension handler.
	TypeHandlerVersion string `json:"typeHandlerVersion,omitempty"`
}

VirtualMachineExtensionInstanceView The instance view of a virtual machine extension. swagger:model VirtualMachineExtensionInstanceView

func (*VirtualMachineExtensionInstanceView) Validate

Validate validates this virtual machine extension instance view

type VirtualMachineExtensionProperties

type VirtualMachineExtensionProperties struct {

	// Whether the extension handler should be automatically upgraded across minor versions.
	AutoUpgradeMinorVersion bool `json:"autoUpgradeMinorVersion,omitempty"`

	// How the extension handler should be forced to update even if the extension configuration has not changed.
	ForceUpdateTag string `json:"forceUpdateTag,omitempty"`

	// The virtual machine extension instance view.
	InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"`

	// Json formatted protected settings for the extension.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`

	// The provisioning state, which only appears in the response.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// The name of the extension handler publisher.
	Publisher string `json:"publisher,omitempty"`

	// Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`

	// The type of the extension handler.
	Type string `json:"type,omitempty"`

	// The type version of the extension handler.
	TypeHandlerVersion string `json:"typeHandlerVersion,omitempty"`
}

VirtualMachineExtensionProperties Describes the properties of a Virtual Machine Extension. swagger:model VirtualMachineExtensionProperties

func (*VirtualMachineExtensionProperties) Validate

Validate validates this virtual machine extension properties

type VirtualMachineIdentity

type VirtualMachineIdentity struct {

	// The principal id of virtual machine identity.
	// Read Only: true
	PrincipalID string `json:"principalId,omitempty"`

	// The tenant id associated with the virtual machine.
	// Read Only: true
	TenantID string `json:"tenantId,omitempty"`

	// The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
	Type string `json:"type,omitempty"`
}

VirtualMachineIdentity Identity for the virtual machine. swagger:model VirtualMachineIdentity

func (*VirtualMachineIdentity) Validate

func (m *VirtualMachineIdentity) Validate(formats strfmt.Registry) error

Validate validates this virtual machine identity

type VirtualMachineImage

type VirtualMachineImage struct {
	VirtualMachineImageResource

	// properties
	Properties *VirtualMachineImageProperties `json:"properties,omitempty"`
}

VirtualMachineImage Describes a Virtual Machine Image. swagger:model VirtualMachineImage

func (VirtualMachineImage) MarshalJSON

func (m VirtualMachineImage) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineImage) UnmarshalJSON

func (m *VirtualMachineImage) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineImage) Validate

func (m *VirtualMachineImage) Validate(formats strfmt.Registry) error

Validate validates this virtual machine image

type VirtualMachineImageProperties

type VirtualMachineImageProperties struct {

	// data disk images
	DataDiskImages []*DataDiskImage `json:"dataDiskImages"`

	// os disk image
	OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"`

	// plan
	Plan *PurchasePlan `json:"plan,omitempty"`
}

VirtualMachineImageProperties Describes the properties of a Virtual Machine Image. swagger:model VirtualMachineImageProperties

func (*VirtualMachineImageProperties) Validate

func (m *VirtualMachineImageProperties) Validate(formats strfmt.Registry) error

Validate validates this virtual machine image properties

type VirtualMachineImageResource

type VirtualMachineImageResource struct {
	SubResource

	// The supported Azure location of the resource.
	// Required: true
	Location *string `json:"location"`

	// The name of the resource.
	// Required: true
	Name *string `json:"name"`

	// The tags attached to the resource.
	Tags map[string]string `json:"tags,omitempty"`
}

VirtualMachineImageResource Virtual machine image resource information. swagger:model VirtualMachineImageResource

func (VirtualMachineImageResource) MarshalJSON

func (m VirtualMachineImageResource) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineImageResource) UnmarshalJSON

func (m *VirtualMachineImageResource) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineImageResource) Validate

func (m *VirtualMachineImageResource) Validate(formats strfmt.Registry) error

Validate validates this virtual machine image resource

type VirtualMachineInstanceView

type VirtualMachineInstanceView struct {

	// The boot diagnostics.
	BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`

	// The virtual machine disk information.
	Disks []*DiskInstanceView `json:"disks"`

	// The extensions information.
	Extensions []*VirtualMachineExtensionInstanceView `json:"extensions"`

	// Specifies the fault domain of the virtual machine.
	PlatformFaultDomain int32 `json:"platformFaultDomain,omitempty"`

	// Specifies the update domain of the virtual machine.
	PlatformUpdateDomain int32 `json:"platformUpdateDomain,omitempty"`

	// The Remote desktop certificate thumbprint.
	RdpThumbPrint string `json:"rdpThumbPrint,omitempty"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`

	// The VM Agent running on the virtual machine.
	VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
}

VirtualMachineInstanceView The instance view of a virtual machine. swagger:model VirtualMachineInstanceView

func (*VirtualMachineInstanceView) Validate

func (m *VirtualMachineInstanceView) Validate(formats strfmt.Registry) error

Validate validates this virtual machine instance view

type VirtualMachineListResult

type VirtualMachineListResult struct {

	// The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.
	NextLink string `json:"nextLink,omitempty"`

	// The list of virtual machines.
	// Required: true
	Value []*VirtualMachine `json:"value"`
}

VirtualMachineListResult The List Virtual Machine operation response. swagger:model VirtualMachineListResult

func (*VirtualMachineListResult) Validate

func (m *VirtualMachineListResult) Validate(formats strfmt.Registry) error

Validate validates this virtual machine list result

type VirtualMachineProperties

type VirtualMachineProperties struct {

	// The reference Id of the availability set to which the virtual machine belongs.
	AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`

	// The diagnostics profile.
	DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`

	// The hardware profile.
	HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`

	// The virtual machine instance view.
	// Read Only: true
	InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"`

	// Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
	LicenseType string `json:"licenseType,omitempty"`

	// The network profile.
	NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`

	// The OS profile.
	OsProfile *OSProfile `json:"osProfile,omitempty"`

	// The provisioning state, which only appears in the response.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// The storage profile.
	StorageProfile *StorageProfile `json:"storageProfile,omitempty"`

	// Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
	// Read Only: true
	VMID string `json:"vmId,omitempty"`
}

VirtualMachineProperties Describes the properties of a Virtual Machine. swagger:model VirtualMachineProperties

func (*VirtualMachineProperties) Validate

func (m *VirtualMachineProperties) Validate(formats strfmt.Registry) error

Validate validates this virtual machine properties

type VirtualMachineScaleSet

type VirtualMachineScaleSet struct {
	Resource

	// The identity of the virtual machine scale set, if configured.
	Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`

	// The purchase plan when deploying a virtual machine scale set from VM Marketplace images.
	Plan *Plan `json:"plan,omitempty"`

	// properties
	Properties *VirtualMachineScaleSetProperties `json:"properties,omitempty"`

	// The virtual machine scale set sku.
	Sku *Sku `json:"sku,omitempty"`
}

VirtualMachineScaleSet Describes a Virtual Machine Scale Set. swagger:model VirtualMachineScaleSet

func (VirtualMachineScaleSet) MarshalJSON

func (m VirtualMachineScaleSet) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineScaleSet) UnmarshalJSON

func (m *VirtualMachineScaleSet) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineScaleSet) Validate

func (m *VirtualMachineScaleSet) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set

type VirtualMachineScaleSetDataDisk

type VirtualMachineScaleSetDataDisk struct {

	// The caching type.
	Caching Caching `json:"caching,omitempty"`

	// The create option.
	// Required: true
	CreateOption CreateOption `json:"createOption"`

	// The initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.
	DiskSizeGB int32 `json:"diskSizeGB,omitempty"`

	// The logical unit number.
	// Required: true
	Lun *int32 `json:"lun"`

	// The managed disk parameters.
	ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`

	// The disk name.
	Name string `json:"name,omitempty"`
}

VirtualMachineScaleSetDataDisk Describes a virtual machine scale set data disk. swagger:model VirtualMachineScaleSetDataDisk

func (*VirtualMachineScaleSetDataDisk) Validate

func (m *VirtualMachineScaleSetDataDisk) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set data disk

type VirtualMachineScaleSetExtension

type VirtualMachineScaleSetExtension struct {
	SubResourceReadOnly

	// The name of the extension.
	Name string `json:"name,omitempty"`

	// properties
	Properties *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetExtension Describes a Virtual Machine Scale Set Extension. swagger:model VirtualMachineScaleSetExtension

func (VirtualMachineScaleSetExtension) MarshalJSON

func (m VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineScaleSetExtension) UnmarshalJSON

func (m *VirtualMachineScaleSetExtension) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineScaleSetExtension) Validate

Validate validates this virtual machine scale set extension

type VirtualMachineScaleSetExtensionProfile

type VirtualMachineScaleSetExtensionProfile struct {

	// The virtual machine scale set child extension resources.
	Extensions []*VirtualMachineScaleSetExtension `json:"extensions"`
}

VirtualMachineScaleSetExtensionProfile Describes a virtual machine scale set extension profile. swagger:model VirtualMachineScaleSetExtensionProfile

func (*VirtualMachineScaleSetExtensionProfile) Validate

Validate validates this virtual machine scale set extension profile

type VirtualMachineScaleSetExtensionProperties

type VirtualMachineScaleSetExtensionProperties struct {

	// Whether the extension handler should be automatically upgraded across minor versions.
	AutoUpgradeMinorVersion bool `json:"autoUpgradeMinorVersion,omitempty"`

	// Json formatted protected settings for the extension.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`

	// The provisioning state, which only appears in the response.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// The name of the extension handler publisher.
	Publisher string `json:"publisher,omitempty"`

	// Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`

	// The type of the extension handler.
	Type string `json:"type,omitempty"`

	// The type version of the extension handler.
	TypeHandlerVersion string `json:"typeHandlerVersion,omitempty"`
}

VirtualMachineScaleSetExtensionProperties Describes the properties of a Virtual Machine Scale Set Extension. swagger:model VirtualMachineScaleSetExtensionProperties

func (*VirtualMachineScaleSetExtensionProperties) Validate

Validate validates this virtual machine scale set extension properties

type VirtualMachineScaleSetIPConfiguration

type VirtualMachineScaleSetIPConfiguration struct {
	SubResource

	// The IP configuration name.
	// Required: true
	Name *string `json:"name"`

	// properties
	Properties *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetIPConfiguration Describes a virtual machine scale set network profile's IP configuration. swagger:model VirtualMachineScaleSetIPConfiguration

func (VirtualMachineScaleSetIPConfiguration) MarshalJSON

func (m VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineScaleSetIPConfiguration) UnmarshalJSON

func (m *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineScaleSetIPConfiguration) Validate

Validate validates this virtual machine scale set IP configuration

type VirtualMachineScaleSetIPConfigurationProperties

type VirtualMachineScaleSetIPConfigurationProperties struct {

	// The application gateway backend address pools.
	ApplicationGatewayBackendAddressPools []*SubResource `json:"applicationGatewayBackendAddressPools"`

	// The load balancer backend address pools.
	LoadBalancerBackendAddressPools []*SubResource `json:"loadBalancerBackendAddressPools"`

	// The load balancer inbound nat pools.
	LoadBalancerInboundNatPools []*SubResource `json:"loadBalancerInboundNatPools"`

	// The subnet.
	// Required: true
	Subnet *APIEntityReference `json:"subnet"`
}

VirtualMachineScaleSetIPConfigurationProperties Describes a virtual machine scale set network profile's IP configuration properties. swagger:model VirtualMachineScaleSetIPConfigurationProperties

func (*VirtualMachineScaleSetIPConfigurationProperties) Validate

Validate validates this virtual machine scale set IP configuration properties

type VirtualMachineScaleSetIdentity

type VirtualMachineScaleSetIdentity struct {

	// The principal id of virtual machine scale set identity.
	// Read Only: true
	PrincipalID string `json:"principalId,omitempty"`

	// The tenant id associated with the virtual machine scale set.
	// Read Only: true
	TenantID string `json:"tenantId,omitempty"`

	// The type of identity used for the virtual machine scale set. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
	Type string `json:"type,omitempty"`
}

VirtualMachineScaleSetIdentity Identity for the virtual machine scale set. swagger:model VirtualMachineScaleSetIdentity

func (*VirtualMachineScaleSetIdentity) Validate

func (m *VirtualMachineScaleSetIdentity) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set identity

type VirtualMachineScaleSetInstanceView

type VirtualMachineScaleSetInstanceView struct {

	// The extensions information.
	// Read Only: true
	Extensions []*VirtualMachineScaleSetVMExtensionsSummary `json:"extensions"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`

	// The instance view status summary for the virtual machine scale set.
	// Read Only: true
	VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"`
}

VirtualMachineScaleSetInstanceView The instance view of a virtual machine scale set. swagger:model VirtualMachineScaleSetInstanceView

func (*VirtualMachineScaleSetInstanceView) Validate

Validate validates this virtual machine scale set instance view

type VirtualMachineScaleSetInstanceViewStatusesSummary

type VirtualMachineScaleSetInstanceViewStatusesSummary struct {

	// The extensions information.
	// Read Only: true
	StatusesSummary []*VirtualMachineStatusCodeCount `json:"statusesSummary"`
}

VirtualMachineScaleSetInstanceViewStatusesSummary Instance view statuses summary for virtual machines of a virtual machine scale set. swagger:model VirtualMachineScaleSetInstanceViewStatusesSummary

func (*VirtualMachineScaleSetInstanceViewStatusesSummary) Validate

Validate validates this virtual machine scale set instance view statuses summary

type VirtualMachineScaleSetListResult

type VirtualMachineScaleSetListResult struct {

	// The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.
	NextLink string `json:"nextLink,omitempty"`

	// The list of virtual machine scale sets.
	// Required: true
	Value []*VirtualMachineScaleSet `json:"value"`
}

VirtualMachineScaleSetListResult The List Virtual Machine operation response. swagger:model VirtualMachineScaleSetListResult

func (*VirtualMachineScaleSetListResult) Validate

Validate validates this virtual machine scale set list result

type VirtualMachineScaleSetListSkusResult

type VirtualMachineScaleSetListSkusResult struct {

	// The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.
	NextLink string `json:"nextLink,omitempty"`

	// The list of skus available for the virtual machine scale set.
	// Required: true
	Value []*VirtualMachineScaleSetSku `json:"value"`
}

VirtualMachineScaleSetListSkusResult The Virtual Machine Scale Set List Skus operation response. swagger:model VirtualMachineScaleSetListSkusResult

func (*VirtualMachineScaleSetListSkusResult) Validate

Validate validates this virtual machine scale set list skus result

type VirtualMachineScaleSetListWithLinkResult

type VirtualMachineScaleSetListWithLinkResult struct {

	// The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.
	NextLink string `json:"nextLink,omitempty"`

	// The list of virtual machine scale sets.
	// Required: true
	Value []*VirtualMachineScaleSet `json:"value"`
}

VirtualMachineScaleSetListWithLinkResult The List Virtual Machine operation response. swagger:model VirtualMachineScaleSetListWithLinkResult

func (*VirtualMachineScaleSetListWithLinkResult) Validate

Validate validates this virtual machine scale set list with link result

type VirtualMachineScaleSetManagedDiskParameters

type VirtualMachineScaleSetManagedDiskParameters struct {

	// The Storage Account type.
	StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
}

VirtualMachineScaleSetManagedDiskParameters Describes the parameters of a ScaleSet managed disk. swagger:model VirtualMachineScaleSetManagedDiskParameters

func (*VirtualMachineScaleSetManagedDiskParameters) Validate

Validate validates this virtual machine scale set managed disk parameters

type VirtualMachineScaleSetNetworkConfiguration

type VirtualMachineScaleSetNetworkConfiguration struct {
	SubResource

	// The network configuration name.
	// Required: true
	Name *string `json:"name"`

	// properties
	Properties *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetNetworkConfiguration Describes a virtual machine scale set network profile's network configurations. swagger:model VirtualMachineScaleSetNetworkConfiguration

func (VirtualMachineScaleSetNetworkConfiguration) MarshalJSON

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON

func (m *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineScaleSetNetworkConfiguration) Validate

Validate validates this virtual machine scale set network configuration

type VirtualMachineScaleSetNetworkConfigurationProperties

type VirtualMachineScaleSetNetworkConfigurationProperties struct {

	// The virtual machine scale set IP Configuration.
	// Required: true
	IPConfigurations []*VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations"`

	// Whether this is a primary NIC on a virtual machine.
	Primary bool `json:"primary,omitempty"`
}

VirtualMachineScaleSetNetworkConfigurationProperties Describes a virtual machine scale set network profile's IP configuration. swagger:model VirtualMachineScaleSetNetworkConfigurationProperties

func (*VirtualMachineScaleSetNetworkConfigurationProperties) Validate

Validate validates this virtual machine scale set network configuration properties

type VirtualMachineScaleSetNetworkProfile

type VirtualMachineScaleSetNetworkProfile struct {

	// The list of network configurations.
	NetworkInterfaceConfigurations []*VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations"`
}

VirtualMachineScaleSetNetworkProfile Describes a virtual machine scale set network profile. swagger:model VirtualMachineScaleSetNetworkProfile

func (*VirtualMachineScaleSetNetworkProfile) Validate

Validate validates this virtual machine scale set network profile

type VirtualMachineScaleSetOSDisk

type VirtualMachineScaleSetOSDisk struct {

	// The caching type.
	Caching Caching `json:"caching,omitempty"`

	// The create option.
	// Required: true
	CreateOption CreateOption `json:"createOption"`

	// The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
	Image *VirtualHardDisk `json:"image,omitempty"`

	// The managed disk parameters.
	ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`

	// The disk name.
	Name string `json:"name,omitempty"`

	// The Operating System type.
	OsType string `json:"osType,omitempty"`

	// The list of virtual hard disk container uris.
	VhdContainers []string `json:"vhdContainers"`
}

VirtualMachineScaleSetOSDisk Describes a virtual machine scale set operating system disk. swagger:model VirtualMachineScaleSetOSDisk

func (*VirtualMachineScaleSetOSDisk) Validate

func (m *VirtualMachineScaleSetOSDisk) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set o s disk

type VirtualMachineScaleSetOSProfile

type VirtualMachineScaleSetOSProfile struct {

	// The admin user password.
	AdminPassword string `json:"adminPassword,omitempty"`

	// The admin user name.
	AdminUsername string `json:"adminUsername,omitempty"`

	// The computer name prefix.
	ComputerNamePrefix string `json:"computerNamePrefix,omitempty"`

	// A base-64 encoded string of custom data.
	CustomData string `json:"customData,omitempty"`

	// The Linux Configuration of the OS profile.
	LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`

	// The List of certificates for addition to the VM.
	Secrets []*VaultSecretGroup `json:"secrets"`

	// The Windows Configuration of the OS profile.
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

VirtualMachineScaleSetOSProfile Describes a virtual machine scale set OS profile. swagger:model VirtualMachineScaleSetOSProfile

func (*VirtualMachineScaleSetOSProfile) Validate

Validate validates this virtual machine scale set o s profile

type VirtualMachineScaleSetProperties

type VirtualMachineScaleSetProperties struct {

	// Specifies whether the Virtual Machine Scale Set should be overprovisioned.
	Overprovision bool `json:"overprovision,omitempty"`

	// The provisioning state, which only appears in the response.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// When true this limits the scale set to a single placement group, of max size 100 virtual machines.
	SinglePlacementGroup bool `json:"singlePlacementGroup,omitempty"`

	// The upgrade policy.
	UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"`

	// The virtual machine profile.
	VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
}

VirtualMachineScaleSetProperties Describes the properties of a Virtual Machine Scale Set. swagger:model VirtualMachineScaleSetProperties

func (*VirtualMachineScaleSetProperties) Validate

Validate validates this virtual machine scale set properties

type VirtualMachineScaleSetSku

type VirtualMachineScaleSetSku struct {

	// Available scaling information.
	// Read Only: true
	Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"`

	// The type of resource the sku applies to.
	// Read Only: true
	ResourceType string `json:"resourceType,omitempty"`

	// The Sku.
	// Read Only: true
	Sku *Sku `json:"sku,omitempty"`
}

VirtualMachineScaleSetSku Describes an available virtual machine scale set sku. swagger:model VirtualMachineScaleSetSku

func (*VirtualMachineScaleSetSku) Validate

func (m *VirtualMachineScaleSetSku) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set sku

type VirtualMachineScaleSetSkuCapacity

type VirtualMachineScaleSetSkuCapacity struct {

	// The default capacity.
	// Read Only: true
	DefaultCapacity int64 `json:"defaultCapacity,omitempty"`

	// The maximum capacity that can be set.
	// Read Only: true
	Maximum int64 `json:"maximum,omitempty"`

	// The minimum capacity.
	// Read Only: true
	Minimum int64 `json:"minimum,omitempty"`

	// The scale type applicable to the sku.
	// Read Only: true
	ScaleType string `json:"scaleType,omitempty"`
}

VirtualMachineScaleSetSkuCapacity Describes scaling information of a sku. swagger:model VirtualMachineScaleSetSkuCapacity

func (*VirtualMachineScaleSetSkuCapacity) Validate

Validate validates this virtual machine scale set sku capacity

type VirtualMachineScaleSetStorageProfile

type VirtualMachineScaleSetStorageProfile struct {

	// The data disks.
	DataDisks []*VirtualMachineScaleSetDataDisk `json:"dataDisks"`

	// The image reference.
	ImageReference *ImageReference `json:"imageReference,omitempty"`

	// The OS disk.
	OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"`
}

VirtualMachineScaleSetStorageProfile Describes a virtual machine scale set storage profile. swagger:model VirtualMachineScaleSetStorageProfile

func (*VirtualMachineScaleSetStorageProfile) Validate

Validate validates this virtual machine scale set storage profile

type VirtualMachineScaleSetVM

type VirtualMachineScaleSetVM struct {
	Resource

	// The virtual machine instance ID.
	// Read Only: true
	InstanceID string `json:"instanceId,omitempty"`

	// The purchase plan when deploying virtual machine from VM Marketplace images.
	Plan *Plan `json:"plan,omitempty"`

	// properties
	Properties *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"`

	// The virtual machine child extension resources.
	// Read Only: true
	Resources []*VirtualMachineExtension `json:"resources"`

	// The virtual machine SKU.
	// Read Only: true
	Sku *Sku `json:"sku,omitempty"`
}

VirtualMachineScaleSetVM Describes a virtual machine scale set virtual machine. swagger:model VirtualMachineScaleSetVM

func (VirtualMachineScaleSetVM) MarshalJSON

func (m VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*VirtualMachineScaleSetVM) UnmarshalJSON

func (m *VirtualMachineScaleSetVM) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*VirtualMachineScaleSetVM) Validate

func (m *VirtualMachineScaleSetVM) Validate(formats strfmt.Registry) error

Validate validates this virtual machine scale set VM

type VirtualMachineScaleSetVMExtensionsSummary

type VirtualMachineScaleSetVMExtensionsSummary struct {

	// The extension name.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// The extensions information.
	// Read Only: true
	StatusesSummary []*VirtualMachineStatusCodeCount `json:"statusesSummary"`
}

VirtualMachineScaleSetVMExtensionsSummary Extensions summary for virtual machines of a virtual machine scale set. swagger:model VirtualMachineScaleSetVMExtensionsSummary

func (*VirtualMachineScaleSetVMExtensionsSummary) Validate

Validate validates this virtual machine scale set VM extensions summary

type VirtualMachineScaleSetVMInstanceIds

type VirtualMachineScaleSetVMInstanceIds struct {

	// The virtual machine scale set instance ids.
	InstanceIds []string `json:"instanceIds"`
}

VirtualMachineScaleSetVMInstanceIds Specifies a list of virtual machine instance IDs from the VM scale set. swagger:model VirtualMachineScaleSetVMInstanceIDs

func (*VirtualMachineScaleSetVMInstanceIds) Validate

Validate validates this virtual machine scale set VM instance ids

type VirtualMachineScaleSetVMInstanceRequiredIds

type VirtualMachineScaleSetVMInstanceRequiredIds struct {

	// The virtual machine scale set instance ids.
	// Required: true
	InstanceIds []string `json:"instanceIds"`
}

VirtualMachineScaleSetVMInstanceRequiredIds Specifies a list of virtual machine instance IDs from the VM scale set. swagger:model VirtualMachineScaleSetVMInstanceRequiredIDs

func (*VirtualMachineScaleSetVMInstanceRequiredIds) Validate

Validate validates this virtual machine scale set VM instance required ids

type VirtualMachineScaleSetVMInstanceView

type VirtualMachineScaleSetVMInstanceView struct {

	// The boot diagnostics.
	BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`

	// The disks information.
	Disks []*DiskInstanceView `json:"disks"`

	// The extensions information.
	Extensions []*VirtualMachineExtensionInstanceView `json:"extensions"`

	// The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.
	PlacementGroupID string `json:"placementGroupId,omitempty"`

	// The Fault Domain count.
	PlatformFaultDomain int32 `json:"platformFaultDomain,omitempty"`

	// The Update Domain count.
	PlatformUpdateDomain int32 `json:"platformUpdateDomain,omitempty"`

	// The Remote desktop certificate thumbprint.
	RdpThumbPrint string `json:"rdpThumbPrint,omitempty"`

	// The resource status information.
	Statuses []*InstanceViewStatus `json:"statuses"`

	// The VM Agent running on the virtual machine.
	VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
}

VirtualMachineScaleSetVMInstanceView The instance view of a virtual machine scale set VM. swagger:model VirtualMachineScaleSetVMInstanceView

func (*VirtualMachineScaleSetVMInstanceView) Validate

Validate validates this virtual machine scale set VM instance view

type VirtualMachineScaleSetVMListResult

type VirtualMachineScaleSetVMListResult struct {

	// The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs
	NextLink string `json:"nextLink,omitempty"`

	// The list of virtual machine scale sets VMs.
	// Required: true
	Value []*VirtualMachineScaleSetVM `json:"value"`
}

VirtualMachineScaleSetVMListResult The List Virtual Machine Scale Set VMs operation response. swagger:model VirtualMachineScaleSetVMListResult

func (*VirtualMachineScaleSetVMListResult) Validate

Validate validates this virtual machine scale set VM list result

type VirtualMachineScaleSetVMProfile

type VirtualMachineScaleSetVMProfile struct {

	// The virtual machine scale set extension profile.
	ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`

	// The virtual machine scale set network profile.
	NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"`

	// The virtual machine scale set OS profile.
	OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"`

	// The virtual machine scale set storage profile.
	StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"`
}

VirtualMachineScaleSetVMProfile Describes a virtual machine scale set virtual machine profile. swagger:model VirtualMachineScaleSetVMProfile

func (*VirtualMachineScaleSetVMProfile) Validate

Validate validates this virtual machine scale set VM profile

type VirtualMachineScaleSetVMProperties

type VirtualMachineScaleSetVMProperties struct {

	// The reference Id of the availability set to which this virtual machine belongs.
	AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`

	// The diagnostics profile.
	DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`

	// The hardware profile.
	HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`

	// The virtual machine instance view.
	// Read Only: true
	InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"`

	// Specifies whether the latest model has been applied to the virtual machine.
	// Read Only: true
	LatestModelApplied *bool `json:"latestModelApplied,omitempty"`

	// The license type, which is for bring your own license scenario.
	LicenseType string `json:"licenseType,omitempty"`

	// The network profile.
	NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`

	// The OS profile.
	OsProfile *OSProfile `json:"osProfile,omitempty"`

	// The provisioning state, which only appears in the response.
	// Read Only: true
	ProvisioningState string `json:"provisioningState,omitempty"`

	// The storage profile.
	StorageProfile *StorageProfile `json:"storageProfile,omitempty"`

	// Azure VM unique ID.
	// Read Only: true
	VMID string `json:"vmId,omitempty"`
}

VirtualMachineScaleSetVMProperties Describes the properties of a virtual machine scale set virtual machine. swagger:model VirtualMachineScaleSetVMProperties

func (*VirtualMachineScaleSetVMProperties) Validate

Validate validates this virtual machine scale set VM properties

type VirtualMachineSize

type VirtualMachineSize struct {

	// The maximum number of data disks that can be attached to the virtual machine size.
	MaxDataDiskCount int32 `json:"maxDataDiskCount,omitempty"`

	// The amount of memory, in MB, supported by the virtual machine size.
	MemoryInMB int32 `json:"memoryInMB,omitempty"`

	// The name of the virtual machine size.
	Name string `json:"name,omitempty"`

	// The number of cores supported by the virtual machine size.
	NumberOfCores int32 `json:"numberOfCores,omitempty"`

	// The OS disk size, in MB, allowed by the virtual machine size.
	OsDiskSizeInMB int32 `json:"osDiskSizeInMB,omitempty"`

	// The resource disk size, in MB, allowed by the virtual machine size.
	ResourceDiskSizeInMB int32 `json:"resourceDiskSizeInMB,omitempty"`
}

VirtualMachineSize Describes the properties of a VM size. swagger:model VirtualMachineSize

func (*VirtualMachineSize) Validate

func (m *VirtualMachineSize) Validate(formats strfmt.Registry) error

Validate validates this virtual machine size

type VirtualMachineSizeListResult

type VirtualMachineSizeListResult struct {

	// The list of virtual machine sizes.
	Value []*VirtualMachineSize `json:"value"`
}

VirtualMachineSizeListResult The List Virtual Machine operation response. swagger:model VirtualMachineSizeListResult

func (*VirtualMachineSizeListResult) Validate

func (m *VirtualMachineSizeListResult) Validate(formats strfmt.Registry) error

Validate validates this virtual machine size list result

type VirtualMachineStatusCodeCount

type VirtualMachineStatusCodeCount struct {

	// The instance view status code.
	// Read Only: true
	Code string `json:"code,omitempty"`

	// The number of instances having a particular status code.
	// Read Only: true
	Count int32 `json:"count,omitempty"`
}

VirtualMachineStatusCodeCount The status code and count of the virtual machine scale set instance view status summary. swagger:model VirtualMachineStatusCodeCount

func (*VirtualMachineStatusCodeCount) Validate

func (m *VirtualMachineStatusCodeCount) Validate(formats strfmt.Registry) error

Validate validates this virtual machine status code count

type WinRMConfiguration

type WinRMConfiguration struct {

	// The list of Windows Remote Management listeners
	Listeners []*WinRMListener `json:"listeners"`
}

WinRMConfiguration Describes Windows Remote Management configuration of the VM swagger:model WinRMConfiguration

func (*WinRMConfiguration) Validate

func (m *WinRMConfiguration) Validate(formats strfmt.Registry) error

Validate validates this win r m configuration

type WinRMListener

type WinRMListener struct {

	// The Certificate URL in KMS for Https listeners. Should be null for Http listeners.
	CertificateURL string `json:"certificateUrl,omitempty"`

	// The Protocol used by the WinRM listener. Http and Https are supported.
	Protocol string `json:"protocol,omitempty"`
}

WinRMListener Describes Protocol and thumbprint of Windows Remote Management listener swagger:model WinRMListener

func (*WinRMListener) Validate

func (m *WinRMListener) Validate(formats strfmt.Registry) error

Validate validates this win r m listener

type WindowsConfiguration

type WindowsConfiguration struct {

	// Additional base-64 encoded XML formatted information that can be included in the Unattend.xml file.
	AdditionalUnattendContent []*AdditionalUnattendContent `json:"additionalUnattendContent"`

	// Indicates whether Windows updates are automatically installed on the VM.
	EnableAutomaticUpdates bool `json:"enableAutomaticUpdates,omitempty"`

	// Indicates whether the virtual machine agent should be provisioned on the Virtual Machine. If not specified, then the default behavior is to set it to true.
	ProvisionVMAgent bool `json:"provisionVMAgent,omitempty"`

	// The time zone of the VM
	TimeZone string `json:"timeZone,omitempty"`

	// The Windows Remote Management configuration of the VM
	WinRM *WinRMConfiguration `json:"winRM,omitempty"`
}

WindowsConfiguration Describes Windows Configuration of the OS Profile. swagger:model WindowsConfiguration

func (*WindowsConfiguration) Validate

func (m *WindowsConfiguration) Validate(formats strfmt.Registry) error

Validate validates this windows configuration

Source Files

Jump to

Keyboard shortcuts

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