virtualmachines

package
v0.20240417.1084633 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 18 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-07-01/virtualmachines Documentation

The virtualmachines SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2021-07-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-07-01/virtualmachines"

Client Initialization

client := virtualmachines.NewVirtualMachinesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualMachinesClient.AssessPatches

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.AssessPatchesThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Capture

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.VirtualMachineCaptureParameters{
	// ...
}


if err := client.CaptureThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.ConvertToManagedDisks

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.ConvertToManagedDisksThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.CreateOrUpdate

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.VirtualMachine{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Deallocate

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.DeallocateThenPoll(ctx, id, virtualmachines.DefaultDeallocateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Delete

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.DeleteThenPoll(ctx, id, virtualmachines.DefaultDeleteOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Generalize

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.Generalize(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.Get

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.Get(ctx, id, virtualmachines.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.InstallPatches

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.VirtualMachineInstallPatchesParameters{
	// ...
}


if err := client.InstallPatchesThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.InstanceView

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.InstanceView(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.List

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualMachinesClient.ListAll

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListAll(ctx, id, virtualmachines.DefaultListAllOperationOptions())` can be used to do batched pagination
items, err := client.ListAllComplete(ctx, id, virtualmachines.DefaultListAllOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualMachinesClient.ListAvailableSizes

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.ListAvailableSizes(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.ListByLocation

ctx := context.TODO()
id := virtualmachines.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

// alternatively `client.ListByLocation(ctx, id)` can be used to do batched pagination
items, err := client.ListByLocationComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualMachinesClient.PerformMaintenance

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.PerformMaintenanceThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.PowerOff

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.PowerOffThenPoll(ctx, id, virtualmachines.DefaultPowerOffOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Reapply

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.ReapplyThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Redeploy

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.RedeployThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Reimage

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.VirtualMachineReimageParameters{
	// ...
}


if err := client.ReimageThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Restart

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.RestartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.RetrieveBootDiagnosticsData

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.RetrieveBootDiagnosticsData(ctx, id, virtualmachines.DefaultRetrieveBootDiagnosticsDataOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.RunCommand

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.RunCommandInput{
	// ...
}


if err := client.RunCommandThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.SimulateEviction

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

read, err := client.SimulateEviction(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachinesClient.Start

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

if err := client.StartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualMachinesClient.Update

ctx := context.TODO()
id := virtualmachines.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")

payload := virtualmachines.VirtualMachineUpdate{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCachingTypes

func PossibleValuesForCachingTypes() []string

func PossibleValuesForComponentNames

func PossibleValuesForComponentNames() []string

func PossibleValuesForDeleteOptions

func PossibleValuesForDeleteOptions() []string

func PossibleValuesForDiffDiskOptions

func PossibleValuesForDiffDiskOptions() []string

func PossibleValuesForDiffDiskPlacement

func PossibleValuesForDiffDiskPlacement() []string

func PossibleValuesForDiskCreateOptionTypes

func PossibleValuesForDiskCreateOptionTypes() []string

func PossibleValuesForDiskDeleteOptionTypes

func PossibleValuesForDiskDeleteOptionTypes() []string

func PossibleValuesForDiskDetachOptionTypes

func PossibleValuesForDiskDetachOptionTypes() []string

func PossibleValuesForHyperVGenerationType

func PossibleValuesForHyperVGenerationType() []string

func PossibleValuesForIPVersions

func PossibleValuesForIPVersions() []string

func PossibleValuesForInstanceViewTypes

func PossibleValuesForInstanceViewTypes() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []string

func PossibleValuesForLinuxVMGuestPatchMode

func PossibleValuesForLinuxVMGuestPatchMode() []string

func PossibleValuesForMaintenanceOperationResultCodeTypes

func PossibleValuesForMaintenanceOperationResultCodeTypes() []string

func PossibleValuesForNetworkApiVersion

func PossibleValuesForNetworkApiVersion() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForPassNames

func PossibleValuesForPassNames() []string

func PossibleValuesForPatchAssessmentState

func PossibleValuesForPatchAssessmentState() []string

func PossibleValuesForPatchInstallationState

func PossibleValuesForPatchInstallationState() []string

func PossibleValuesForPatchOperationStatus

func PossibleValuesForPatchOperationStatus() []string

func PossibleValuesForProtocolTypes

func PossibleValuesForProtocolTypes() []string

func PossibleValuesForPublicIPAddressSkuName

func PossibleValuesForPublicIPAddressSkuName() []string

func PossibleValuesForPublicIPAddressSkuTier

func PossibleValuesForPublicIPAddressSkuTier() []string

func PossibleValuesForPublicIPAllocationMethod

func PossibleValuesForPublicIPAllocationMethod() []string

func PossibleValuesForSecurityTypes

func PossibleValuesForSecurityTypes() []string

func PossibleValuesForSettingNames

func PossibleValuesForSettingNames() []string

func PossibleValuesForStatusLevelTypes

func PossibleValuesForStatusLevelTypes() []string

func PossibleValuesForStorageAccountTypes

func PossibleValuesForStorageAccountTypes() []string

func PossibleValuesForVMGuestPatchClassificationLinux

func PossibleValuesForVMGuestPatchClassificationLinux() []string

func PossibleValuesForVMGuestPatchClassificationWindows

func PossibleValuesForVMGuestPatchClassificationWindows() []string

func PossibleValuesForVMGuestPatchRebootBehavior

func PossibleValuesForVMGuestPatchRebootBehavior() []string

func PossibleValuesForVMGuestPatchRebootSetting

func PossibleValuesForVMGuestPatchRebootSetting() []string

func PossibleValuesForVMGuestPatchRebootStatus

func PossibleValuesForVMGuestPatchRebootStatus() []string

func PossibleValuesForVirtualMachineEvictionPolicyTypes

func PossibleValuesForVirtualMachineEvictionPolicyTypes() []string

func PossibleValuesForVirtualMachinePriorityTypes

func PossibleValuesForVirtualMachinePriorityTypes() []string

func PossibleValuesForVirtualMachineSizeTypes

func PossibleValuesForVirtualMachineSizeTypes() []string

func PossibleValuesForWindowsPatchAssessmentMode

func PossibleValuesForWindowsPatchAssessmentMode() []string

func PossibleValuesForWindowsVMGuestPatchMode

func PossibleValuesForWindowsVMGuestPatchMode() []string

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateVirtualMachineID

func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)

ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID

Types

type AdditionalCapabilities

type AdditionalCapabilities struct {
	HibernationEnabled *bool `json:"hibernationEnabled,omitempty"`
	UltraSSDEnabled    *bool `json:"ultraSSDEnabled,omitempty"`
}

type AdditionalUnattendContent

type AdditionalUnattendContent struct {
	ComponentName *ComponentNames `json:"componentName,omitempty"`
	Content       *string         `json:"content,omitempty"`
	PassName      *PassNames      `json:"passName,omitempty"`
	SettingName   *SettingNames   `json:"settingName,omitempty"`
}

type ApiError

type ApiError struct {
	Code       *string         `json:"code,omitempty"`
	Details    *[]ApiErrorBase `json:"details,omitempty"`
	Innererror *InnerError     `json:"innererror,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
}

type ApiErrorBase

type ApiErrorBase struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

type ApplicationProfile

type ApplicationProfile struct {
	GalleryApplications *[]VMGalleryApplication `json:"galleryApplications,omitempty"`
}

type AssessPatchesOperationResponse

type AssessPatchesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineAssessPatchesResult
}

type AvailablePatchSummary

type AvailablePatchSummary struct {
	AssessmentActivityId          *string               `json:"assessmentActivityId,omitempty"`
	CriticalAndSecurityPatchCount *int64                `json:"criticalAndSecurityPatchCount,omitempty"`
	Error                         *ApiError             `json:"error,omitempty"`
	LastModifiedTime              *string               `json:"lastModifiedTime,omitempty"`
	OtherPatchCount               *int64                `json:"otherPatchCount,omitempty"`
	RebootPending                 *bool                 `json:"rebootPending,omitempty"`
	StartTime                     *string               `json:"startTime,omitempty"`
	Status                        *PatchOperationStatus `json:"status,omitempty"`
}

func (*AvailablePatchSummary) GetLastModifiedTimeAsTime

func (o *AvailablePatchSummary) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*AvailablePatchSummary) GetStartTimeAsTime

func (o *AvailablePatchSummary) GetStartTimeAsTime() (*time.Time, error)

func (*AvailablePatchSummary) SetLastModifiedTimeAsTime

func (o *AvailablePatchSummary) SetLastModifiedTimeAsTime(input time.Time)

func (*AvailablePatchSummary) SetStartTimeAsTime

func (o *AvailablePatchSummary) SetStartTimeAsTime(input time.Time)

type BillingProfile

type BillingProfile struct {
	MaxPrice *float64 `json:"maxPrice,omitempty"`
}

type BootDiagnostics

type BootDiagnostics struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	StorageUri *string `json:"storageUri,omitempty"`
}

type BootDiagnosticsInstanceView

type BootDiagnosticsInstanceView struct {
	ConsoleScreenshotBlobUri *string             `json:"consoleScreenshotBlobUri,omitempty"`
	SerialConsoleLogBlobUri  *string             `json:"serialConsoleLogBlobUri,omitempty"`
	Status                   *InstanceViewStatus `json:"status,omitempty"`
}

type CachingTypes

type CachingTypes string
const (
	CachingTypesNone      CachingTypes = "None"
	CachingTypesReadOnly  CachingTypes = "ReadOnly"
	CachingTypesReadWrite CachingTypes = "ReadWrite"
)

func (*CachingTypes) UnmarshalJSON

func (s *CachingTypes) UnmarshalJSON(bytes []byte) error

type CapacityReservationProfile

type CapacityReservationProfile struct {
	CapacityReservationGroup *SubResource `json:"capacityReservationGroup,omitempty"`
}

type CaptureOperationResponse

type CaptureOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineCaptureResult
}

type ComponentNames

type ComponentNames string
const (
	ComponentNamesMicrosoftNegativeWindowsNegativeShellNegativeSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)

func (*ComponentNames) UnmarshalJSON

func (s *ComponentNames) UnmarshalJSON(bytes []byte) error

type ConvertToManagedDisksOperationResponse

type ConvertToManagedDisksOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachine
}

type DataDisk

type DataDisk struct {
	Caching                 *CachingTypes          `json:"caching,omitempty"`
	CreateOption            DiskCreateOptionTypes  `json:"createOption"`
	DeleteOption            *DiskDeleteOptionTypes `json:"deleteOption,omitempty"`
	DetachOption            *DiskDetachOptionTypes `json:"detachOption,omitempty"`
	DiskIOPSReadWrite       *int64                 `json:"diskIOPSReadWrite,omitempty"`
	DiskMBpsReadWrite       *int64                 `json:"diskMBpsReadWrite,omitempty"`
	DiskSizeGB              *int64                 `json:"diskSizeGB,omitempty"`
	Image                   *VirtualHardDisk       `json:"image,omitempty"`
	Lun                     int64                  `json:"lun"`
	ManagedDisk             *ManagedDiskParameters `json:"managedDisk,omitempty"`
	Name                    *string                `json:"name,omitempty"`
	ToBeDetached            *bool                  `json:"toBeDetached,omitempty"`
	Vhd                     *VirtualHardDisk       `json:"vhd,omitempty"`
	WriteAcceleratorEnabled *bool                  `json:"writeAcceleratorEnabled,omitempty"`
}

type DeallocateOperationOptions

type DeallocateOperationOptions struct {
	Hibernate *bool
}

func DefaultDeallocateOperationOptions

func DefaultDeallocateOperationOptions() DeallocateOperationOptions

func (DeallocateOperationOptions) ToHeaders

func (o DeallocateOperationOptions) ToHeaders() *client.Headers

func (DeallocateOperationOptions) ToOData

func (o DeallocateOperationOptions) ToOData() *odata.Query

func (DeallocateOperationOptions) ToQuery

type DeallocateOperationResponse

type DeallocateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationOptions

type DeleteOperationOptions struct {
	ForceDeletion *bool
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

func (DeleteOperationOptions) ToHeaders

func (o DeleteOperationOptions) ToHeaders() *client.Headers

func (DeleteOperationOptions) ToOData

func (o DeleteOperationOptions) ToOData() *odata.Query

func (DeleteOperationOptions) ToQuery

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOptions

type DeleteOptions string
const (
	DeleteOptionsDelete DeleteOptions = "Delete"
	DeleteOptionsDetach DeleteOptions = "Detach"
)

func (*DeleteOptions) UnmarshalJSON

func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error

type DiagnosticsProfile

type DiagnosticsProfile struct {
	BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

type DiffDiskOptions

type DiffDiskOptions string
const (
	DiffDiskOptionsLocal DiffDiskOptions = "Local"
)

func (*DiffDiskOptions) UnmarshalJSON

func (s *DiffDiskOptions) UnmarshalJSON(bytes []byte) error

type DiffDiskPlacement

type DiffDiskPlacement string
const (
	DiffDiskPlacementCacheDisk    DiffDiskPlacement = "CacheDisk"
	DiffDiskPlacementResourceDisk DiffDiskPlacement = "ResourceDisk"
)

func (*DiffDiskPlacement) UnmarshalJSON

func (s *DiffDiskPlacement) UnmarshalJSON(bytes []byte) error

type DiffDiskSettings

type DiffDiskSettings struct {
	Option    *DiffDiskOptions   `json:"option,omitempty"`
	Placement *DiffDiskPlacement `json:"placement,omitempty"`
}

type DiskCreateOptionTypes

type DiskCreateOptionTypes string
const (
	DiskCreateOptionTypesAttach    DiskCreateOptionTypes = "Attach"
	DiskCreateOptionTypesEmpty     DiskCreateOptionTypes = "Empty"
	DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
)

func (*DiskCreateOptionTypes) UnmarshalJSON

func (s *DiskCreateOptionTypes) UnmarshalJSON(bytes []byte) error

type DiskDeleteOptionTypes

type DiskDeleteOptionTypes string
const (
	DiskDeleteOptionTypesDelete DiskDeleteOptionTypes = "Delete"
	DiskDeleteOptionTypesDetach DiskDeleteOptionTypes = "Detach"
)

func (*DiskDeleteOptionTypes) UnmarshalJSON

func (s *DiskDeleteOptionTypes) UnmarshalJSON(bytes []byte) error

type DiskDetachOptionTypes

type DiskDetachOptionTypes string
const (
	DiskDetachOptionTypesForceDetach DiskDetachOptionTypes = "ForceDetach"
)

func (*DiskDetachOptionTypes) UnmarshalJSON

func (s *DiskDetachOptionTypes) UnmarshalJSON(bytes []byte) error

type DiskEncryptionSettings

type DiskEncryptionSettings struct {
	DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
	Enabled           *bool                    `json:"enabled,omitempty"`
	KeyEncryptionKey  *KeyVaultKeyReference    `json:"keyEncryptionKey,omitempty"`
}

type DiskInstanceView

type DiskInstanceView struct {
	EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	Name               *string                   `json:"name,omitempty"`
	Statuses           *[]InstanceViewStatus     `json:"statuses,omitempty"`
}

type GeneralizeOperationResponse

type GeneralizeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetOperationOptions

type GetOperationOptions struct {
	Expand *InstanceViewTypes
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

func (GetOperationOptions) ToHeaders

func (o GetOperationOptions) ToHeaders() *client.Headers

func (GetOperationOptions) ToOData

func (o GetOperationOptions) ToOData() *odata.Query

func (GetOperationOptions) ToQuery

func (o GetOperationOptions) ToQuery() *client.QueryParams

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachine
}

type HardwareProfile

type HardwareProfile struct {
	VMSize           *VirtualMachineSizeTypes `json:"vmSize,omitempty"`
	VMSizeProperties *VMSizeProperties        `json:"vmSizeProperties,omitempty"`
}

type HyperVGenerationType

type HyperVGenerationType string
const (
	HyperVGenerationTypeVOne HyperVGenerationType = "V1"
	HyperVGenerationTypeVTwo HyperVGenerationType = "V2"
)

func (*HyperVGenerationType) UnmarshalJSON

func (s *HyperVGenerationType) UnmarshalJSON(bytes []byte) error

type IPVersions

type IPVersions string
const (
	IPVersionsIPvFour IPVersions = "IPv4"
	IPVersionsIPvSix  IPVersions = "IPv6"
)

func (*IPVersions) UnmarshalJSON

func (s *IPVersions) UnmarshalJSON(bytes []byte) error

type ImageReference

type ImageReference struct {
	ExactVersion         *string `json:"exactVersion,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Offer                *string `json:"offer,omitempty"`
	Publisher            *string `json:"publisher,omitempty"`
	SharedGalleryImageId *string `json:"sharedGalleryImageId,omitempty"`
	Sku                  *string `json:"sku,omitempty"`
	Version              *string `json:"version,omitempty"`
}

type InnerError

type InnerError struct {
	Errordetail   *string `json:"errordetail,omitempty"`
	Exceptiontype *string `json:"exceptiontype,omitempty"`
}

type InstallPatchesOperationResponse

type InstallPatchesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstallPatchesResult
}

type InstanceViewOperationResponse

type InstanceViewOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstanceView
}

type InstanceViewStatus

type InstanceViewStatus struct {
	Code          *string           `json:"code,omitempty"`
	DisplayStatus *string           `json:"displayStatus,omitempty"`
	Level         *StatusLevelTypes `json:"level,omitempty"`
	Message       *string           `json:"message,omitempty"`
	Time          *string           `json:"time,omitempty"`
}

func (*InstanceViewStatus) GetTimeAsTime

func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)

func (*InstanceViewStatus) SetTimeAsTime

func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)

type InstanceViewTypes

type InstanceViewTypes string
const (
	InstanceViewTypesInstanceView InstanceViewTypes = "instanceView"
	InstanceViewTypesUserData     InstanceViewTypes = "userData"
)

func (*InstanceViewTypes) UnmarshalJSON

func (s *InstanceViewTypes) UnmarshalJSON(bytes []byte) error

type KeyVaultKeyReference

type KeyVaultKeyReference struct {
	KeyUrl      string      `json:"keyUrl"`
	SourceVault SubResource `json:"sourceVault"`
}

type KeyVaultSecretReference

type KeyVaultSecretReference struct {
	SecretUrl   string      `json:"secretUrl"`
	SourceVault SubResource `json:"sourceVault"`
}

type LastPatchInstallationSummary

type LastPatchInstallationSummary struct {
	Error                     *ApiError             `json:"error,omitempty"`
	ExcludedPatchCount        *int64                `json:"excludedPatchCount,omitempty"`
	FailedPatchCount          *int64                `json:"failedPatchCount,omitempty"`
	InstallationActivityId    *string               `json:"installationActivityId,omitempty"`
	InstalledPatchCount       *int64                `json:"installedPatchCount,omitempty"`
	LastModifiedTime          *string               `json:"lastModifiedTime,omitempty"`
	MaintenanceWindowExceeded *bool                 `json:"maintenanceWindowExceeded,omitempty"`
	NotSelectedPatchCount     *int64                `json:"notSelectedPatchCount,omitempty"`
	PendingPatchCount         *int64                `json:"pendingPatchCount,omitempty"`
	StartTime                 *string               `json:"startTime,omitempty"`
	Status                    *PatchOperationStatus `json:"status,omitempty"`
}

func (*LastPatchInstallationSummary) GetLastModifiedTimeAsTime

func (o *LastPatchInstallationSummary) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*LastPatchInstallationSummary) GetStartTimeAsTime

func (o *LastPatchInstallationSummary) GetStartTimeAsTime() (*time.Time, error)

func (*LastPatchInstallationSummary) SetLastModifiedTimeAsTime

func (o *LastPatchInstallationSummary) SetLastModifiedTimeAsTime(input time.Time)

func (*LastPatchInstallationSummary) SetStartTimeAsTime

func (o *LastPatchInstallationSummary) SetStartTimeAsTime(input time.Time)

type LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool               `json:"disablePasswordAuthentication,omitempty"`
	PatchSettings                 *LinuxPatchSettings `json:"patchSettings,omitempty"`
	ProvisionVMAgent              *bool               `json:"provisionVMAgent,omitempty"`
	Ssh                           *SshConfiguration   `json:"ssh,omitempty"`
}

type LinuxParameters

type LinuxParameters struct {
	ClassificationsToInclude  *[]VMGuestPatchClassificationLinux `json:"classificationsToInclude,omitempty"`
	MaintenanceRunId          *string                            `json:"maintenanceRunId,omitempty"`
	PackageNameMasksToExclude *[]string                          `json:"packageNameMasksToExclude,omitempty"`
	PackageNameMasksToInclude *[]string                          `json:"packageNameMasksToInclude,omitempty"`
}

type LinuxPatchAssessmentMode

type LinuxPatchAssessmentMode string
const (
	LinuxPatchAssessmentModeAutomaticByPlatform LinuxPatchAssessmentMode = "AutomaticByPlatform"
	LinuxPatchAssessmentModeImageDefault        LinuxPatchAssessmentMode = "ImageDefault"
)

func (*LinuxPatchAssessmentMode) UnmarshalJSON

func (s *LinuxPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type LinuxPatchSettings

type LinuxPatchSettings struct {
	AssessmentMode *LinuxPatchAssessmentMode `json:"assessmentMode,omitempty"`
	PatchMode      *LinuxVMGuestPatchMode    `json:"patchMode,omitempty"`
}

type LinuxVMGuestPatchMode

type LinuxVMGuestPatchMode string
const (
	LinuxVMGuestPatchModeAutomaticByPlatform LinuxVMGuestPatchMode = "AutomaticByPlatform"
	LinuxVMGuestPatchModeImageDefault        LinuxVMGuestPatchMode = "ImageDefault"
)

func (*LinuxVMGuestPatchMode) UnmarshalJSON

func (s *LinuxVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

type ListAllCompleteResult

type ListAllCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachine
}

type ListAllOperationOptions

type ListAllOperationOptions struct {
	StatusOnly *string
}

func DefaultListAllOperationOptions

func DefaultListAllOperationOptions() ListAllOperationOptions

func (ListAllOperationOptions) ToHeaders

func (o ListAllOperationOptions) ToHeaders() *client.Headers

func (ListAllOperationOptions) ToOData

func (o ListAllOperationOptions) ToOData() *odata.Query

func (ListAllOperationOptions) ToQuery

type ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachine
}

type ListAvailableSizesOperationResponse

type ListAvailableSizesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineSizeListResult
}

type ListByLocationCompleteResult

type ListByLocationCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachine
}

type ListByLocationOperationResponse

type ListByLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachine
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachine
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachine
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (*LocationId) FromParseResult

func (id *LocationId) FromParseResult(input resourceids.ParseResult) error

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type MaintenanceOperationResultCodeTypes

type MaintenanceOperationResultCodeTypes string
const (
	MaintenanceOperationResultCodeTypesMaintenanceAborted   MaintenanceOperationResultCodeTypes = "MaintenanceAborted"
	MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted"
	MaintenanceOperationResultCodeTypesNone                 MaintenanceOperationResultCodeTypes = "None"
	MaintenanceOperationResultCodeTypesRetryLater           MaintenanceOperationResultCodeTypes = "RetryLater"
)

func (*MaintenanceOperationResultCodeTypes) UnmarshalJSON

func (s *MaintenanceOperationResultCodeTypes) UnmarshalJSON(bytes []byte) error

type MaintenanceRedeployStatus

type MaintenanceRedeployStatus struct {
	IsCustomerInitiatedMaintenanceAllowed *bool                                `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"`
	LastOperationMessage                  *string                              `json:"lastOperationMessage,omitempty"`
	LastOperationResultCode               *MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"`
	MaintenanceWindowEndTime              *string                              `json:"maintenanceWindowEndTime,omitempty"`
	MaintenanceWindowStartTime            *string                              `json:"maintenanceWindowStartTime,omitempty"`
	PreMaintenanceWindowEndTime           *string                              `json:"preMaintenanceWindowEndTime,omitempty"`
	PreMaintenanceWindowStartTime         *string                              `json:"preMaintenanceWindowStartTime,omitempty"`
}

func (*MaintenanceRedeployStatus) GetMaintenanceWindowEndTimeAsTime

func (o *MaintenanceRedeployStatus) GetMaintenanceWindowEndTimeAsTime() (*time.Time, error)

func (*MaintenanceRedeployStatus) GetMaintenanceWindowStartTimeAsTime

func (o *MaintenanceRedeployStatus) GetMaintenanceWindowStartTimeAsTime() (*time.Time, error)

func (*MaintenanceRedeployStatus) GetPreMaintenanceWindowEndTimeAsTime

func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowEndTimeAsTime() (*time.Time, error)

func (*MaintenanceRedeployStatus) GetPreMaintenanceWindowStartTimeAsTime

func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowStartTimeAsTime() (*time.Time, error)

func (*MaintenanceRedeployStatus) SetMaintenanceWindowEndTimeAsTime

func (o *MaintenanceRedeployStatus) SetMaintenanceWindowEndTimeAsTime(input time.Time)

func (*MaintenanceRedeployStatus) SetMaintenanceWindowStartTimeAsTime

func (o *MaintenanceRedeployStatus) SetMaintenanceWindowStartTimeAsTime(input time.Time)

func (*MaintenanceRedeployStatus) SetPreMaintenanceWindowEndTimeAsTime

func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowEndTimeAsTime(input time.Time)

func (*MaintenanceRedeployStatus) SetPreMaintenanceWindowStartTimeAsTime

func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowStartTimeAsTime(input time.Time)

type ManagedDiskParameters

type ManagedDiskParameters struct {
	DiskEncryptionSet  *SubResource         `json:"diskEncryptionSet,omitempty"`
	Id                 *string              `json:"id,omitempty"`
	StorageAccountType *StorageAccountTypes `json:"storageAccountType,omitempty"`
}

type NetworkApiVersion

type NetworkApiVersion string
const (
	NetworkApiVersionTwoZeroTwoZeroNegativeOneOneNegativeZeroOne NetworkApiVersion = "2020-11-01"
)

func (*NetworkApiVersion) UnmarshalJSON

func (s *NetworkApiVersion) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceReference

type NetworkInterfaceReference struct {
	Id         *string                              `json:"id,omitempty"`
	Properties *NetworkInterfaceReferenceProperties `json:"properties,omitempty"`
}

type NetworkInterfaceReferenceProperties

type NetworkInterfaceReferenceProperties struct {
	DeleteOption *DeleteOptions `json:"deleteOption,omitempty"`
	Primary      *bool          `json:"primary,omitempty"`
}

type NetworkProfile

type NetworkProfile struct {
	NetworkApiVersion              *NetworkApiVersion                             `json:"networkApiVersion,omitempty"`
	NetworkInterfaceConfigurations *[]VirtualMachineNetworkInterfaceConfiguration `json:"networkInterfaceConfigurations,omitempty"`
	NetworkInterfaces              *[]NetworkInterfaceReference                   `json:"networkInterfaces,omitempty"`
}

type OSDisk

type OSDisk struct {
	Caching                 *CachingTypes           `json:"caching,omitempty"`
	CreateOption            DiskCreateOptionTypes   `json:"createOption"`
	DeleteOption            *DiskDeleteOptionTypes  `json:"deleteOption,omitempty"`
	DiffDiskSettings        *DiffDiskSettings       `json:"diffDiskSettings,omitempty"`
	DiskSizeGB              *int64                  `json:"diskSizeGB,omitempty"`
	EncryptionSettings      *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	Image                   *VirtualHardDisk        `json:"image,omitempty"`
	ManagedDisk             *ManagedDiskParameters  `json:"managedDisk,omitempty"`
	Name                    *string                 `json:"name,omitempty"`
	OsType                  *OperatingSystemTypes   `json:"osType,omitempty"`
	Vhd                     *VirtualHardDisk        `json:"vhd,omitempty"`
	WriteAcceleratorEnabled *bool                   `json:"writeAcceleratorEnabled,omitempty"`
}

type OSProfile

type OSProfile struct {
	AdminPassword               *string               `json:"adminPassword,omitempty"`
	AdminUsername               *string               `json:"adminUsername,omitempty"`
	AllowExtensionOperations    *bool                 `json:"allowExtensionOperations,omitempty"`
	ComputerName                *string               `json:"computerName,omitempty"`
	CustomData                  *string               `json:"customData,omitempty"`
	LinuxConfiguration          *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	RequireGuestProvisionSignal *bool                 `json:"requireGuestProvisionSignal,omitempty"`
	Secrets                     *[]VaultSecretGroup   `json:"secrets,omitempty"`
	WindowsConfiguration        *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type OperatingSystemTypes

type OperatingSystemTypes string
const (
	OperatingSystemTypesLinux   OperatingSystemTypes = "Linux"
	OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)

func (*OperatingSystemTypes) UnmarshalJSON

func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error

type PassNames

type PassNames string
const (
	PassNamesOobeSystem PassNames = "OobeSystem"
)

func (*PassNames) UnmarshalJSON

func (s *PassNames) UnmarshalJSON(bytes []byte) error

type PatchAssessmentState

type PatchAssessmentState string
const (
	PatchAssessmentStateAvailable PatchAssessmentState = "Available"
	PatchAssessmentStateUnknown   PatchAssessmentState = "Unknown"
)

func (*PatchAssessmentState) UnmarshalJSON

func (s *PatchAssessmentState) UnmarshalJSON(bytes []byte) error

type PatchInstallationDetail

type PatchInstallationDetail struct {
	Classifications   *[]string               `json:"classifications,omitempty"`
	InstallationState *PatchInstallationState `json:"installationState,omitempty"`
	KbId              *string                 `json:"kbId,omitempty"`
	Name              *string                 `json:"name,omitempty"`
	PatchId           *string                 `json:"patchId,omitempty"`
	Version           *string                 `json:"version,omitempty"`
}

type PatchInstallationState

type PatchInstallationState string
const (
	PatchInstallationStateExcluded    PatchInstallationState = "Excluded"
	PatchInstallationStateFailed      PatchInstallationState = "Failed"
	PatchInstallationStateInstalled   PatchInstallationState = "Installed"
	PatchInstallationStateNotSelected PatchInstallationState = "NotSelected"
	PatchInstallationStatePending     PatchInstallationState = "Pending"
	PatchInstallationStateUnknown     PatchInstallationState = "Unknown"
)

func (*PatchInstallationState) UnmarshalJSON

func (s *PatchInstallationState) UnmarshalJSON(bytes []byte) error

type PatchOperationStatus

type PatchOperationStatus string
const (
	PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings"
	PatchOperationStatusFailed                PatchOperationStatus = "Failed"
	PatchOperationStatusInProgress            PatchOperationStatus = "InProgress"
	PatchOperationStatusSucceeded             PatchOperationStatus = "Succeeded"
	PatchOperationStatusUnknown               PatchOperationStatus = "Unknown"
)

func (*PatchOperationStatus) UnmarshalJSON

func (s *PatchOperationStatus) UnmarshalJSON(bytes []byte) error

type PatchSettings

type PatchSettings struct {
	AssessmentMode    *WindowsPatchAssessmentMode `json:"assessmentMode,omitempty"`
	EnableHotpatching *bool                       `json:"enableHotpatching,omitempty"`
	PatchMode         *WindowsVMGuestPatchMode    `json:"patchMode,omitempty"`
}

type PerformMaintenanceOperationResponse

type PerformMaintenanceOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Plan

type Plan struct {
	Name          *string `json:"name,omitempty"`
	Product       *string `json:"product,omitempty"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     *string `json:"publisher,omitempty"`
}

type PowerOffOperationOptions

type PowerOffOperationOptions struct {
	SkipShutdown *bool
}

func DefaultPowerOffOperationOptions

func DefaultPowerOffOperationOptions() PowerOffOperationOptions

func (PowerOffOperationOptions) ToHeaders

func (o PowerOffOperationOptions) ToHeaders() *client.Headers

func (PowerOffOperationOptions) ToOData

func (o PowerOffOperationOptions) ToOData() *odata.Query

func (PowerOffOperationOptions) ToQuery

type PowerOffOperationResponse

type PowerOffOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ProtocolTypes

type ProtocolTypes string
const (
	ProtocolTypesHTTP  ProtocolTypes = "Http"
	ProtocolTypesHTTPS ProtocolTypes = "Https"
)

func (*ProtocolTypes) UnmarshalJSON

func (s *ProtocolTypes) UnmarshalJSON(bytes []byte) error

type PublicIPAddressSku

type PublicIPAddressSku struct {
	Name *PublicIPAddressSkuName `json:"name,omitempty"`
	Tier *PublicIPAddressSkuTier `json:"tier,omitempty"`
}

type PublicIPAddressSkuName

type PublicIPAddressSkuName string
const (
	PublicIPAddressSkuNameBasic    PublicIPAddressSkuName = "Basic"
	PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

func (*PublicIPAddressSkuName) UnmarshalJSON

func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error

type PublicIPAddressSkuTier

type PublicIPAddressSkuTier string
const (
	PublicIPAddressSkuTierGlobal   PublicIPAddressSkuTier = "Global"
	PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional"
)

func (*PublicIPAddressSkuTier) UnmarshalJSON

func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error

type PublicIPAllocationMethod

type PublicIPAllocationMethod string
const (
	PublicIPAllocationMethodDynamic PublicIPAllocationMethod = "Dynamic"
	PublicIPAllocationMethodStatic  PublicIPAllocationMethod = "Static"
)

func (*PublicIPAllocationMethod) UnmarshalJSON

func (s *PublicIPAllocationMethod) UnmarshalJSON(bytes []byte) error

type ReapplyOperationResponse

type ReapplyOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RedeployOperationResponse

type RedeployOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ReimageOperationResponse

type ReimageOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RestartOperationResponse

type RestartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RetrieveBootDiagnosticsDataOperationOptions

type RetrieveBootDiagnosticsDataOperationOptions struct {
	SasUriExpirationTimeInMinutes *int64
}

func DefaultRetrieveBootDiagnosticsDataOperationOptions

func DefaultRetrieveBootDiagnosticsDataOperationOptions() RetrieveBootDiagnosticsDataOperationOptions

func (RetrieveBootDiagnosticsDataOperationOptions) ToHeaders

func (RetrieveBootDiagnosticsDataOperationOptions) ToOData

func (RetrieveBootDiagnosticsDataOperationOptions) ToQuery

type RetrieveBootDiagnosticsDataOperationResponse

type RetrieveBootDiagnosticsDataOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RetrieveBootDiagnosticsDataResult
}

type RetrieveBootDiagnosticsDataResult

type RetrieveBootDiagnosticsDataResult struct {
	ConsoleScreenshotBlobUri *string `json:"consoleScreenshotBlobUri,omitempty"`
	SerialConsoleLogBlobUri  *string `json:"serialConsoleLogBlobUri,omitempty"`
}

type RunCommandInput

type RunCommandInput struct {
	CommandId  string                      `json:"commandId"`
	Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"`
	Script     *[]string                   `json:"script,omitempty"`
}

type RunCommandInputParameter

type RunCommandInputParameter struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type RunCommandOperationResponse

type RunCommandOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RunCommandResult
}

type RunCommandResult

type RunCommandResult struct {
	Value *[]InstanceViewStatus `json:"value,omitempty"`
}

type ScheduledEventsProfile

type ScheduledEventsProfile struct {
	TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"`
}

type SecurityProfile

type SecurityProfile struct {
	EncryptionAtHost *bool          `json:"encryptionAtHost,omitempty"`
	SecurityType     *SecurityTypes `json:"securityType,omitempty"`
	UefiSettings     *UefiSettings  `json:"uefiSettings,omitempty"`
}

type SecurityTypes

type SecurityTypes string
const (
	SecurityTypesTrustedLaunch SecurityTypes = "TrustedLaunch"
)

func (*SecurityTypes) UnmarshalJSON

func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error

type SettingNames

type SettingNames string
const (
	SettingNamesAutoLogon          SettingNames = "AutoLogon"
	SettingNamesFirstLogonCommands SettingNames = "FirstLogonCommands"
)

func (*SettingNames) UnmarshalJSON

func (s *SettingNames) UnmarshalJSON(bytes []byte) error

type SimulateEvictionOperationResponse

type SimulateEvictionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SshConfiguration

type SshConfiguration struct {
	PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}

type SshPublicKey

type SshPublicKey struct {
	KeyData *string `json:"keyData,omitempty"`
	Path    *string `json:"path,omitempty"`
}

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type StatusLevelTypes

type StatusLevelTypes string
const (
	StatusLevelTypesError   StatusLevelTypes = "Error"
	StatusLevelTypesInfo    StatusLevelTypes = "Info"
	StatusLevelTypesWarning StatusLevelTypes = "Warning"
)

func (*StatusLevelTypes) UnmarshalJSON

func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error

type StorageAccountTypes

type StorageAccountTypes string
const (
	StorageAccountTypesPremiumLRS     StorageAccountTypes = "Premium_LRS"
	StorageAccountTypesPremiumZRS     StorageAccountTypes = "Premium_ZRS"
	StorageAccountTypesStandardLRS    StorageAccountTypes = "Standard_LRS"
	StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS"
	StorageAccountTypesStandardSSDZRS StorageAccountTypes = "StandardSSD_ZRS"
	StorageAccountTypesUltraSSDLRS    StorageAccountTypes = "UltraSSD_LRS"
)

func (*StorageAccountTypes) UnmarshalJSON

func (s *StorageAccountTypes) UnmarshalJSON(bytes []byte) error

type StorageProfile

type StorageProfile struct {
	DataDisks      *[]DataDisk     `json:"dataDisks,omitempty"`
	ImageReference *ImageReference `json:"imageReference,omitempty"`
	OsDisk         *OSDisk         `json:"osDisk,omitempty"`
}

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type TerminateNotificationProfile

type TerminateNotificationProfile struct {
	Enable           *bool   `json:"enable,omitempty"`
	NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"`
}

type UefiSettings

type UefiSettings struct {
	SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
	VTpmEnabled       *bool `json:"vTpmEnabled,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachine
}

type VMGalleryApplication

type VMGalleryApplication struct {
	ConfigurationReference *string `json:"configurationReference,omitempty"`
	Order                  *int64  `json:"order,omitempty"`
	PackageReferenceId     string  `json:"packageReferenceId"`
	Tags                   *string `json:"tags,omitempty"`
}

type VMGuestPatchClassificationLinux

type VMGuestPatchClassificationLinux string
const (
	VMGuestPatchClassificationLinuxCritical VMGuestPatchClassificationLinux = "Critical"
	VMGuestPatchClassificationLinuxOther    VMGuestPatchClassificationLinux = "Other"
	VMGuestPatchClassificationLinuxSecurity VMGuestPatchClassificationLinux = "Security"
)

func (*VMGuestPatchClassificationLinux) UnmarshalJSON

func (s *VMGuestPatchClassificationLinux) UnmarshalJSON(bytes []byte) error

type VMGuestPatchClassificationWindows

type VMGuestPatchClassificationWindows string
const (
	VMGuestPatchClassificationWindowsCritical     VMGuestPatchClassificationWindows = "Critical"
	VMGuestPatchClassificationWindowsDefinition   VMGuestPatchClassificationWindows = "Definition"
	VMGuestPatchClassificationWindowsFeaturePack  VMGuestPatchClassificationWindows = "FeaturePack"
	VMGuestPatchClassificationWindowsSecurity     VMGuestPatchClassificationWindows = "Security"
	VMGuestPatchClassificationWindowsServicePack  VMGuestPatchClassificationWindows = "ServicePack"
	VMGuestPatchClassificationWindowsTools        VMGuestPatchClassificationWindows = "Tools"
	VMGuestPatchClassificationWindowsUpdateRollUp VMGuestPatchClassificationWindows = "UpdateRollUp"
	VMGuestPatchClassificationWindowsUpdates      VMGuestPatchClassificationWindows = "Updates"
)

func (*VMGuestPatchClassificationWindows) UnmarshalJSON

func (s *VMGuestPatchClassificationWindows) UnmarshalJSON(bytes []byte) error

type VMGuestPatchRebootBehavior

type VMGuestPatchRebootBehavior string
const (
	VMGuestPatchRebootBehaviorAlwaysRequiresReboot VMGuestPatchRebootBehavior = "AlwaysRequiresReboot"
	VMGuestPatchRebootBehaviorCanRequestReboot     VMGuestPatchRebootBehavior = "CanRequestReboot"
	VMGuestPatchRebootBehaviorNeverReboots         VMGuestPatchRebootBehavior = "NeverReboots"
	VMGuestPatchRebootBehaviorUnknown              VMGuestPatchRebootBehavior = "Unknown"
)

func (*VMGuestPatchRebootBehavior) UnmarshalJSON

func (s *VMGuestPatchRebootBehavior) UnmarshalJSON(bytes []byte) error

type VMGuestPatchRebootSetting

type VMGuestPatchRebootSetting string
const (
	VMGuestPatchRebootSettingAlways     VMGuestPatchRebootSetting = "Always"
	VMGuestPatchRebootSettingIfRequired VMGuestPatchRebootSetting = "IfRequired"
	VMGuestPatchRebootSettingNever      VMGuestPatchRebootSetting = "Never"
)

func (*VMGuestPatchRebootSetting) UnmarshalJSON

func (s *VMGuestPatchRebootSetting) UnmarshalJSON(bytes []byte) error

type VMGuestPatchRebootStatus

type VMGuestPatchRebootStatus string
const (
	VMGuestPatchRebootStatusCompleted VMGuestPatchRebootStatus = "Completed"
	VMGuestPatchRebootStatusFailed    VMGuestPatchRebootStatus = "Failed"
	VMGuestPatchRebootStatusNotNeeded VMGuestPatchRebootStatus = "NotNeeded"
	VMGuestPatchRebootStatusRequired  VMGuestPatchRebootStatus = "Required"
	VMGuestPatchRebootStatusStarted   VMGuestPatchRebootStatus = "Started"
	VMGuestPatchRebootStatusUnknown   VMGuestPatchRebootStatus = "Unknown"
)

func (*VMGuestPatchRebootStatus) UnmarshalJSON

func (s *VMGuestPatchRebootStatus) UnmarshalJSON(bytes []byte) error

type VMSizeProperties

type VMSizeProperties struct {
	VCPUsAvailable *int64 `json:"vCPUsAvailable,omitempty"`
	VCPUsPerCore   *int64 `json:"vCPUsPerCore,omitempty"`
}

type VaultCertificate

type VaultCertificate struct {
	CertificateStore *string `json:"certificateStore,omitempty"`
	CertificateUrl   *string `json:"certificateUrl,omitempty"`
}

type VaultSecretGroup

type VaultSecretGroup struct {
	SourceVault       *SubResource        `json:"sourceVault,omitempty"`
	VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
}

type VirtualHardDisk

type VirtualHardDisk struct {
	Uri *string `json:"uri,omitempty"`
}

type VirtualMachine

type VirtualMachine struct {
	ExtendedLocation *edgezones.Model                   `json:"extendedLocation,omitempty"`
	Id               *string                            `json:"id,omitempty"`
	Identity         *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location         string                             `json:"location"`
	Name             *string                            `json:"name,omitempty"`
	Plan             *Plan                              `json:"plan,omitempty"`
	Properties       *VirtualMachineProperties          `json:"properties,omitempty"`
	Resources        *[]VirtualMachineExtension         `json:"resources,omitempty"`
	Tags             *map[string]string                 `json:"tags,omitempty"`
	Type             *string                            `json:"type,omitempty"`
	Zones            *zones.Schema                      `json:"zones,omitempty"`
}

type VirtualMachineAgentInstanceView

type VirtualMachineAgentInstanceView struct {
	ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"`
	Statuses          *[]InstanceViewStatus                         `json:"statuses,omitempty"`
	VMAgentVersion    *string                                       `json:"vmAgentVersion,omitempty"`
}

type VirtualMachineAssessPatchesResult

type VirtualMachineAssessPatchesResult struct {
	AssessmentActivityId          *string                                  `json:"assessmentActivityId,omitempty"`
	AvailablePatches              *[]VirtualMachineSoftwarePatchProperties `json:"availablePatches,omitempty"`
	CriticalAndSecurityPatchCount *int64                                   `json:"criticalAndSecurityPatchCount,omitempty"`
	Error                         *ApiError                                `json:"error,omitempty"`
	OtherPatchCount               *int64                                   `json:"otherPatchCount,omitempty"`
	RebootPending                 *bool                                    `json:"rebootPending,omitempty"`
	StartDateTime                 *string                                  `json:"startDateTime,omitempty"`
	Status                        *PatchOperationStatus                    `json:"status,omitempty"`
}

func (*VirtualMachineAssessPatchesResult) GetStartDateTimeAsTime

func (o *VirtualMachineAssessPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)

func (*VirtualMachineAssessPatchesResult) SetStartDateTimeAsTime

func (o *VirtualMachineAssessPatchesResult) SetStartDateTimeAsTime(input time.Time)

type VirtualMachineCaptureParameters

type VirtualMachineCaptureParameters struct {
	DestinationContainerName string `json:"destinationContainerName"`
	OverwriteVhds            bool   `json:"overwriteVhds"`
	VhdPrefix                string `json:"vhdPrefix"`
}

type VirtualMachineCaptureResult

type VirtualMachineCaptureResult struct {
	ContentVersion *string        `json:"contentVersion,omitempty"`
	Id             *string        `json:"id,omitempty"`
	Parameters     *interface{}   `json:"parameters,omitempty"`
	Resources      *[]interface{} `json:"resources,omitempty"`
	Schema         *string        `json:"$schema,omitempty"`
}

type VirtualMachineEvictionPolicyTypes

type VirtualMachineEvictionPolicyTypes string
const (
	VirtualMachineEvictionPolicyTypesDeallocate VirtualMachineEvictionPolicyTypes = "Deallocate"
	VirtualMachineEvictionPolicyTypesDelete     VirtualMachineEvictionPolicyTypes = "Delete"
)

func (*VirtualMachineEvictionPolicyTypes) UnmarshalJSON

func (s *VirtualMachineEvictionPolicyTypes) UnmarshalJSON(bytes []byte) error

type VirtualMachineExtension

type VirtualMachineExtension struct {
	Id         *string                            `json:"id,omitempty"`
	Location   string                             `json:"location"`
	Name       *string                            `json:"name,omitempty"`
	Properties *VirtualMachineExtensionProperties `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type VirtualMachineExtensionHandlerInstanceView

type VirtualMachineExtensionHandlerInstanceView struct {
	Status             *InstanceViewStatus `json:"status,omitempty"`
	Type               *string             `json:"type,omitempty"`
	TypeHandlerVersion *string             `json:"typeHandlerVersion,omitempty"`
}

type VirtualMachineExtensionInstanceView

type VirtualMachineExtensionInstanceView struct {
	Name               *string               `json:"name,omitempty"`
	Statuses           *[]InstanceViewStatus `json:"statuses,omitempty"`
	Substatuses        *[]InstanceViewStatus `json:"substatuses,omitempty"`
	Type               *string               `json:"type,omitempty"`
	TypeHandlerVersion *string               `json:"typeHandlerVersion,omitempty"`
}

type VirtualMachineExtensionProperties

type VirtualMachineExtensionProperties struct {
	AutoUpgradeMinorVersion *bool                                `json:"autoUpgradeMinorVersion,omitempty"`
	EnableAutomaticUpgrade  *bool                                `json:"enableAutomaticUpgrade,omitempty"`
	ForceUpdateTag          *string                              `json:"forceUpdateTag,omitempty"`
	InstanceView            *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"`
	ProtectedSettings       *interface{}                         `json:"protectedSettings,omitempty"`
	ProvisioningState       *string                              `json:"provisioningState,omitempty"`
	Publisher               *string                              `json:"publisher,omitempty"`
	Settings                *interface{}                         `json:"settings,omitempty"`
	SuppressFailures        *bool                                `json:"suppressFailures,omitempty"`
	Type                    *string                              `json:"type,omitempty"`
	TypeHandlerVersion      *string                              `json:"typeHandlerVersion,omitempty"`
}

type VirtualMachineHealthStatus

type VirtualMachineHealthStatus struct {
	Status *InstanceViewStatus `json:"status,omitempty"`
}

type VirtualMachineIPTag

type VirtualMachineIPTag struct {
	IPTagType *string `json:"ipTagType,omitempty"`
	Tag       *string `json:"tag,omitempty"`
}

type VirtualMachineId

type VirtualMachineId struct {
	SubscriptionId     string
	ResourceGroupName  string
	VirtualMachineName string
}

VirtualMachineId is a struct representing the Resource ID for a Virtual Machine

func NewVirtualMachineID

func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId

NewVirtualMachineID returns a new VirtualMachineId struct

func ParseVirtualMachineID

func ParseVirtualMachineID(input string) (*VirtualMachineId, error)

ParseVirtualMachineID parses 'input' into a VirtualMachineId

func ParseVirtualMachineIDInsensitively

func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)

ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input

func (*VirtualMachineId) FromParseResult

func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error

func (VirtualMachineId) ID

func (id VirtualMachineId) ID() string

ID returns the formatted Virtual Machine ID

func (VirtualMachineId) Segments

func (id VirtualMachineId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID

func (VirtualMachineId) String

func (id VirtualMachineId) String() string

String returns a human-readable description of this Virtual Machine ID

type VirtualMachineInstallPatchesParameters

type VirtualMachineInstallPatchesParameters struct {
	LinuxParameters   *LinuxParameters          `json:"linuxParameters,omitempty"`
	MaximumDuration   *string                   `json:"maximumDuration,omitempty"`
	RebootSetting     VMGuestPatchRebootSetting `json:"rebootSetting"`
	WindowsParameters *WindowsParameters        `json:"windowsParameters,omitempty"`
}

type VirtualMachineInstallPatchesResult

type VirtualMachineInstallPatchesResult struct {
	Error                     *ApiError                  `json:"error,omitempty"`
	ExcludedPatchCount        *int64                     `json:"excludedPatchCount,omitempty"`
	FailedPatchCount          *int64                     `json:"failedPatchCount,omitempty"`
	InstallationActivityId    *string                    `json:"installationActivityId,omitempty"`
	InstalledPatchCount       *int64                     `json:"installedPatchCount,omitempty"`
	MaintenanceWindowExceeded *bool                      `json:"maintenanceWindowExceeded,omitempty"`
	NotSelectedPatchCount     *int64                     `json:"notSelectedPatchCount,omitempty"`
	Patches                   *[]PatchInstallationDetail `json:"patches,omitempty"`
	PendingPatchCount         *int64                     `json:"pendingPatchCount,omitempty"`
	RebootStatus              *VMGuestPatchRebootStatus  `json:"rebootStatus,omitempty"`
	StartDateTime             *string                    `json:"startDateTime,omitempty"`
	Status                    *PatchOperationStatus      `json:"status,omitempty"`
}

func (*VirtualMachineInstallPatchesResult) GetStartDateTimeAsTime

func (o *VirtualMachineInstallPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)

func (*VirtualMachineInstallPatchesResult) SetStartDateTimeAsTime

func (o *VirtualMachineInstallPatchesResult) SetStartDateTimeAsTime(input time.Time)

type VirtualMachineInstanceView

type VirtualMachineInstanceView struct {
	AssignedHost              *string                                `json:"assignedHost,omitempty"`
	BootDiagnostics           *BootDiagnosticsInstanceView           `json:"bootDiagnostics,omitempty"`
	ComputerName              *string                                `json:"computerName,omitempty"`
	Disks                     *[]DiskInstanceView                    `json:"disks,omitempty"`
	Extensions                *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
	HyperVGeneration          *HyperVGenerationType                  `json:"hyperVGeneration,omitempty"`
	MaintenanceRedeployStatus *MaintenanceRedeployStatus             `json:"maintenanceRedeployStatus,omitempty"`
	OsName                    *string                                `json:"osName,omitempty"`
	OsVersion                 *string                                `json:"osVersion,omitempty"`
	PatchStatus               *VirtualMachinePatchStatus             `json:"patchStatus,omitempty"`
	PlatformFaultDomain       *int64                                 `json:"platformFaultDomain,omitempty"`
	PlatformUpdateDomain      *int64                                 `json:"platformUpdateDomain,omitempty"`
	RdpThumbPrint             *string                                `json:"rdpThumbPrint,omitempty"`
	Statuses                  *[]InstanceViewStatus                  `json:"statuses,omitempty"`
	VMAgent                   *VirtualMachineAgentInstanceView       `json:"vmAgent,omitempty"`
	VMHealth                  *VirtualMachineHealthStatus            `json:"vmHealth,omitempty"`
}

type VirtualMachineNetworkInterfaceConfiguration

type VirtualMachineNetworkInterfaceConfiguration struct {
	Name       string                                                 `json:"name"`
	Properties *VirtualMachineNetworkInterfaceConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineNetworkInterfaceConfigurationProperties

type VirtualMachineNetworkInterfaceConfigurationProperties struct {
	DeleteOption                *DeleteOptions                                          `json:"deleteOption,omitempty"`
	DnsSettings                 *VirtualMachineNetworkInterfaceDnsSettingsConfiguration `json:"dnsSettings,omitempty"`
	DscpConfiguration           *SubResource                                            `json:"dscpConfiguration,omitempty"`
	EnableAcceleratedNetworking *bool                                                   `json:"enableAcceleratedNetworking,omitempty"`
	EnableFpga                  *bool                                                   `json:"enableFpga,omitempty"`
	EnableIPForwarding          *bool                                                   `json:"enableIPForwarding,omitempty"`
	IPConfigurations            []VirtualMachineNetworkInterfaceIPConfiguration         `json:"ipConfigurations"`
	NetworkSecurityGroup        *SubResource                                            `json:"networkSecurityGroup,omitempty"`
	Primary                     *bool                                                   `json:"primary,omitempty"`
}

type VirtualMachineNetworkInterfaceDnsSettingsConfiguration

type VirtualMachineNetworkInterfaceDnsSettingsConfiguration struct {
	DnsServers *[]string `json:"dnsServers,omitempty"`
}

type VirtualMachineNetworkInterfaceIPConfiguration

type VirtualMachineNetworkInterfaceIPConfiguration struct {
	Name       string                                                   `json:"name"`
	Properties *VirtualMachineNetworkInterfaceIPConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineNetworkInterfaceIPConfigurationProperties

type VirtualMachineNetworkInterfaceIPConfigurationProperties struct {
	ApplicationGatewayBackendAddressPools *[]SubResource                              `json:"applicationGatewayBackendAddressPools,omitempty"`
	ApplicationSecurityGroups             *[]SubResource                              `json:"applicationSecurityGroups,omitempty"`
	LoadBalancerBackendAddressPools       *[]SubResource                              `json:"loadBalancerBackendAddressPools,omitempty"`
	Primary                               *bool                                       `json:"primary,omitempty"`
	PrivateIPAddressVersion               *IPVersions                                 `json:"privateIPAddressVersion,omitempty"`
	PublicIPAddressConfiguration          *VirtualMachinePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	Subnet                                *SubResource                                `json:"subnet,omitempty"`
}

type VirtualMachineOperationPredicate

type VirtualMachineOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (VirtualMachineOperationPredicate) Matches

type VirtualMachinePatchStatus

type VirtualMachinePatchStatus struct {
	AvailablePatchSummary        *AvailablePatchSummary        `json:"availablePatchSummary,omitempty"`
	ConfigurationStatuses        *[]InstanceViewStatus         `json:"configurationStatuses,omitempty"`
	LastPatchInstallationSummary *LastPatchInstallationSummary `json:"lastPatchInstallationSummary,omitempty"`
}

type VirtualMachinePriorityTypes

type VirtualMachinePriorityTypes string
const (
	VirtualMachinePriorityTypesLow     VirtualMachinePriorityTypes = "Low"
	VirtualMachinePriorityTypesRegular VirtualMachinePriorityTypes = "Regular"
	VirtualMachinePriorityTypesSpot    VirtualMachinePriorityTypes = "Spot"
)

func (*VirtualMachinePriorityTypes) UnmarshalJSON

func (s *VirtualMachinePriorityTypes) UnmarshalJSON(bytes []byte) error

type VirtualMachineProperties

type VirtualMachineProperties struct {
	AdditionalCapabilities  *AdditionalCapabilities            `json:"additionalCapabilities,omitempty"`
	ApplicationProfile      *ApplicationProfile                `json:"applicationProfile,omitempty"`
	AvailabilitySet         *SubResource                       `json:"availabilitySet,omitempty"`
	BillingProfile          *BillingProfile                    `json:"billingProfile,omitempty"`
	CapacityReservation     *CapacityReservationProfile        `json:"capacityReservation,omitempty"`
	DiagnosticsProfile      *DiagnosticsProfile                `json:"diagnosticsProfile,omitempty"`
	EvictionPolicy          *VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"`
	ExtensionsTimeBudget    *string                            `json:"extensionsTimeBudget,omitempty"`
	HardwareProfile         *HardwareProfile                   `json:"hardwareProfile,omitempty"`
	Host                    *SubResource                       `json:"host,omitempty"`
	HostGroup               *SubResource                       `json:"hostGroup,omitempty"`
	InstanceView            *VirtualMachineInstanceView        `json:"instanceView,omitempty"`
	LicenseType             *string                            `json:"licenseType,omitempty"`
	NetworkProfile          *NetworkProfile                    `json:"networkProfile,omitempty"`
	OsProfile               *OSProfile                         `json:"osProfile,omitempty"`
	PlatformFaultDomain     *int64                             `json:"platformFaultDomain,omitempty"`
	Priority                *VirtualMachinePriorityTypes       `json:"priority,omitempty"`
	ProvisioningState       *string                            `json:"provisioningState,omitempty"`
	ProximityPlacementGroup *SubResource                       `json:"proximityPlacementGroup,omitempty"`
	ScheduledEventsProfile  *ScheduledEventsProfile            `json:"scheduledEventsProfile,omitempty"`
	SecurityProfile         *SecurityProfile                   `json:"securityProfile,omitempty"`
	StorageProfile          *StorageProfile                    `json:"storageProfile,omitempty"`
	UserData                *string                            `json:"userData,omitempty"`
	VMId                    *string                            `json:"vmId,omitempty"`
	VirtualMachineScaleSet  *SubResource                       `json:"virtualMachineScaleSet,omitempty"`
}

type VirtualMachinePublicIPAddressConfiguration

type VirtualMachinePublicIPAddressConfiguration struct {
	Name       string                                                `json:"name"`
	Properties *VirtualMachinePublicIPAddressConfigurationProperties `json:"properties,omitempty"`
	Sku        *PublicIPAddressSku                                   `json:"sku,omitempty"`
}

type VirtualMachinePublicIPAddressConfigurationProperties

type VirtualMachinePublicIPAddressConfigurationProperties struct {
	DeleteOption             *DeleteOptions                                         `json:"deleteOption,omitempty"`
	DnsSettings              *VirtualMachinePublicIPAddressDnsSettingsConfiguration `json:"dnsSettings,omitempty"`
	IPTags                   *[]VirtualMachineIPTag                                 `json:"ipTags,omitempty"`
	IdleTimeoutInMinutes     *int64                                                 `json:"idleTimeoutInMinutes,omitempty"`
	PublicIPAddressVersion   *IPVersions                                            `json:"publicIPAddressVersion,omitempty"`
	PublicIPAllocationMethod *PublicIPAllocationMethod                              `json:"publicIPAllocationMethod,omitempty"`
	PublicIPPrefix           *SubResource                                           `json:"publicIPPrefix,omitempty"`
}

type VirtualMachinePublicIPAddressDnsSettingsConfiguration

type VirtualMachinePublicIPAddressDnsSettingsConfiguration struct {
	DomainNameLabel string `json:"domainNameLabel"`
}

type VirtualMachineReimageParameters

type VirtualMachineReimageParameters struct {
	TempDisk *bool `json:"tempDisk,omitempty"`
}

type VirtualMachineSize

type VirtualMachineSize struct {
	MaxDataDiskCount     *int64  `json:"maxDataDiskCount,omitempty"`
	MemoryInMB           *int64  `json:"memoryInMB,omitempty"`
	Name                 *string `json:"name,omitempty"`
	NumberOfCores        *int64  `json:"numberOfCores,omitempty"`
	OsDiskSizeInMB       *int64  `json:"osDiskSizeInMB,omitempty"`
	ResourceDiskSizeInMB *int64  `json:"resourceDiskSizeInMB,omitempty"`
}

type VirtualMachineSizeListResult

type VirtualMachineSizeListResult struct {
	Value *[]VirtualMachineSize `json:"value,omitempty"`
}

type VirtualMachineSizeTypes

type VirtualMachineSizeTypes string
const (
	VirtualMachineSizeTypesBasicAFour                              VirtualMachineSizeTypes = "Basic_A4"
	VirtualMachineSizeTypesBasicAOne                               VirtualMachineSizeTypes = "Basic_A1"
	VirtualMachineSizeTypesBasicAThree                             VirtualMachineSizeTypes = "Basic_A3"
	VirtualMachineSizeTypesBasicATwo                               VirtualMachineSizeTypes = "Basic_A2"
	VirtualMachineSizeTypesBasicAZero                              VirtualMachineSizeTypes = "Basic_A0"
	VirtualMachineSizeTypesStandardAEight                          VirtualMachineSizeTypes = "Standard_A8"
	VirtualMachineSizeTypesStandardAEightVTwo                      VirtualMachineSizeTypes = "Standard_A8_v2"
	VirtualMachineSizeTypesStandardAEightmVTwo                     VirtualMachineSizeTypes = "Standard_A8m_v2"
	VirtualMachineSizeTypesStandardAFive                           VirtualMachineSizeTypes = "Standard_A5"
	VirtualMachineSizeTypesStandardAFour                           VirtualMachineSizeTypes = "Standard_A4"
	VirtualMachineSizeTypesStandardAFourVTwo                       VirtualMachineSizeTypes = "Standard_A4_v2"
	VirtualMachineSizeTypesStandardAFourmVTwo                      VirtualMachineSizeTypes = "Standard_A4m_v2"
	VirtualMachineSizeTypesStandardANine                           VirtualMachineSizeTypes = "Standard_A9"
	VirtualMachineSizeTypesStandardAOne                            VirtualMachineSizeTypes = "Standard_A1"
	VirtualMachineSizeTypesStandardAOneOne                         VirtualMachineSizeTypes = "Standard_A11"
	VirtualMachineSizeTypesStandardAOneVTwo                        VirtualMachineSizeTypes = "Standard_A1_v2"
	VirtualMachineSizeTypesStandardAOneZero                        VirtualMachineSizeTypes = "Standard_A10"
	VirtualMachineSizeTypesStandardASeven                          VirtualMachineSizeTypes = "Standard_A7"
	VirtualMachineSizeTypesStandardASix                            VirtualMachineSizeTypes = "Standard_A6"
	VirtualMachineSizeTypesStandardAThree                          VirtualMachineSizeTypes = "Standard_A3"
	VirtualMachineSizeTypesStandardATwo                            VirtualMachineSizeTypes = "Standard_A2"
	VirtualMachineSizeTypesStandardATwoVTwo                        VirtualMachineSizeTypes = "Standard_A2_v2"
	VirtualMachineSizeTypesStandardATwomVTwo                       VirtualMachineSizeTypes = "Standard_A2m_v2"
	VirtualMachineSizeTypesStandardAZero                           VirtualMachineSizeTypes = "Standard_A0"
	VirtualMachineSizeTypesStandardBEightms                        VirtualMachineSizeTypes = "Standard_B8ms"
	VirtualMachineSizeTypesStandardBFourms                         VirtualMachineSizeTypes = "Standard_B4ms"
	VirtualMachineSizeTypesStandardBOnems                          VirtualMachineSizeTypes = "Standard_B1ms"
	VirtualMachineSizeTypesStandardBOnes                           VirtualMachineSizeTypes = "Standard_B1s"
	VirtualMachineSizeTypesStandardBTwoms                          VirtualMachineSizeTypes = "Standard_B2ms"
	VirtualMachineSizeTypesStandardBTwos                           VirtualMachineSizeTypes = "Standard_B2s"
	VirtualMachineSizeTypesStandardDEightVThree                    VirtualMachineSizeTypes = "Standard_D8_v3"
	VirtualMachineSizeTypesStandardDEightsVThree                   VirtualMachineSizeTypes = "Standard_D8s_v3"
	VirtualMachineSizeTypesStandardDFiveVTwo                       VirtualMachineSizeTypes = "Standard_D5_v2"
	VirtualMachineSizeTypesStandardDFour                           VirtualMachineSizeTypes = "Standard_D4"
	VirtualMachineSizeTypesStandardDFourVThree                     VirtualMachineSizeTypes = "Standard_D4_v3"
	VirtualMachineSizeTypesStandardDFourVTwo                       VirtualMachineSizeTypes = "Standard_D4_v2"
	VirtualMachineSizeTypesStandardDFoursVThree                    VirtualMachineSizeTypes = "Standard_D4s_v3"
	VirtualMachineSizeTypesStandardDOne                            VirtualMachineSizeTypes = "Standard_D1"
	VirtualMachineSizeTypesStandardDOneFiveVTwo                    VirtualMachineSizeTypes = "Standard_D15_v2"
	VirtualMachineSizeTypesStandardDOneFour                        VirtualMachineSizeTypes = "Standard_D14"
	VirtualMachineSizeTypesStandardDOneFourVTwo                    VirtualMachineSizeTypes = "Standard_D14_v2"
	VirtualMachineSizeTypesStandardDOneOne                         VirtualMachineSizeTypes = "Standard_D11"
	VirtualMachineSizeTypesStandardDOneOneVTwo                     VirtualMachineSizeTypes = "Standard_D11_v2"
	VirtualMachineSizeTypesStandardDOneSixVThree                   VirtualMachineSizeTypes = "Standard_D16_v3"
	VirtualMachineSizeTypesStandardDOneSixsVThree                  VirtualMachineSizeTypes = "Standard_D16s_v3"
	VirtualMachineSizeTypesStandardDOneThree                       VirtualMachineSizeTypes = "Standard_D13"
	VirtualMachineSizeTypesStandardDOneThreeVTwo                   VirtualMachineSizeTypes = "Standard_D13_v2"
	VirtualMachineSizeTypesStandardDOneTwo                         VirtualMachineSizeTypes = "Standard_D12"
	VirtualMachineSizeTypesStandardDOneTwoVTwo                     VirtualMachineSizeTypes = "Standard_D12_v2"
	VirtualMachineSizeTypesStandardDOneVTwo                        VirtualMachineSizeTypes = "Standard_D1_v2"
	VirtualMachineSizeTypesStandardDSFiveVTwo                      VirtualMachineSizeTypes = "Standard_DS5_v2"
	VirtualMachineSizeTypesStandardDSFour                          VirtualMachineSizeTypes = "Standard_DS4"
	VirtualMachineSizeTypesStandardDSFourVTwo                      VirtualMachineSizeTypes = "Standard_DS4_v2"
	VirtualMachineSizeTypesStandardDSOne                           VirtualMachineSizeTypes = "Standard_DS1"
	VirtualMachineSizeTypesStandardDSOneFiveVTwo                   VirtualMachineSizeTypes = "Standard_DS15_v2"
	VirtualMachineSizeTypesStandardDSOneFour                       VirtualMachineSizeTypes = "Standard_DS14"
	VirtualMachineSizeTypesStandardDSOneFourNegativeEightVTwo      VirtualMachineSizeTypes = "Standard_DS14-8_v2"
	VirtualMachineSizeTypesStandardDSOneFourNegativeFourVTwo       VirtualMachineSizeTypes = "Standard_DS14-4_v2"
	VirtualMachineSizeTypesStandardDSOneFourVTwo                   VirtualMachineSizeTypes = "Standard_DS14_v2"
	VirtualMachineSizeTypesStandardDSOneOne                        VirtualMachineSizeTypes = "Standard_DS11"
	VirtualMachineSizeTypesStandardDSOneOneVTwo                    VirtualMachineSizeTypes = "Standard_DS11_v2"
	VirtualMachineSizeTypesStandardDSOneThree                      VirtualMachineSizeTypes = "Standard_DS13"
	VirtualMachineSizeTypesStandardDSOneThreeNegativeFourVTwo      VirtualMachineSizeTypes = "Standard_DS13-4_v2"
	VirtualMachineSizeTypesStandardDSOneThreeNegativeTwoVTwo       VirtualMachineSizeTypes = "Standard_DS13-2_v2"
	VirtualMachineSizeTypesStandardDSOneThreeVTwo                  VirtualMachineSizeTypes = "Standard_DS13_v2"
	VirtualMachineSizeTypesStandardDSOneTwo                        VirtualMachineSizeTypes = "Standard_DS12"
	VirtualMachineSizeTypesStandardDSOneTwoVTwo                    VirtualMachineSizeTypes = "Standard_DS12_v2"
	VirtualMachineSizeTypesStandardDSOneVTwo                       VirtualMachineSizeTypes = "Standard_DS1_v2"
	VirtualMachineSizeTypesStandardDSThree                         VirtualMachineSizeTypes = "Standard_DS3"
	VirtualMachineSizeTypesStandardDSThreeVTwo                     VirtualMachineSizeTypes = "Standard_DS3_v2"
	VirtualMachineSizeTypesStandardDSTwo                           VirtualMachineSizeTypes = "Standard_DS2"
	VirtualMachineSizeTypesStandardDSTwoVTwo                       VirtualMachineSizeTypes = "Standard_DS2_v2"
	VirtualMachineSizeTypesStandardDSixFourVThree                  VirtualMachineSizeTypes = "Standard_D64_v3"
	VirtualMachineSizeTypesStandardDSixFoursVThree                 VirtualMachineSizeTypes = "Standard_D64s_v3"
	VirtualMachineSizeTypesStandardDThree                          VirtualMachineSizeTypes = "Standard_D3"
	VirtualMachineSizeTypesStandardDThreeTwoVThree                 VirtualMachineSizeTypes = "Standard_D32_v3"
	VirtualMachineSizeTypesStandardDThreeTwosVThree                VirtualMachineSizeTypes = "Standard_D32s_v3"
	VirtualMachineSizeTypesStandardDThreeVTwo                      VirtualMachineSizeTypes = "Standard_D3_v2"
	VirtualMachineSizeTypesStandardDTwo                            VirtualMachineSizeTypes = "Standard_D2"
	VirtualMachineSizeTypesStandardDTwoVThree                      VirtualMachineSizeTypes = "Standard_D2_v3"
	VirtualMachineSizeTypesStandardDTwoVTwo                        VirtualMachineSizeTypes = "Standard_D2_v2"
	VirtualMachineSizeTypesStandardDTwosVThree                     VirtualMachineSizeTypes = "Standard_D2s_v3"
	VirtualMachineSizeTypesStandardEEightVThree                    VirtualMachineSizeTypes = "Standard_E8_v3"
	VirtualMachineSizeTypesStandardEEightsVThree                   VirtualMachineSizeTypes = "Standard_E8s_v3"
	VirtualMachineSizeTypesStandardEFourVThree                     VirtualMachineSizeTypes = "Standard_E4_v3"
	VirtualMachineSizeTypesStandardEFoursVThree                    VirtualMachineSizeTypes = "Standard_E4s_v3"
	VirtualMachineSizeTypesStandardEOneSixVThree                   VirtualMachineSizeTypes = "Standard_E16_v3"
	VirtualMachineSizeTypesStandardEOneSixsVThree                  VirtualMachineSizeTypes = "Standard_E16s_v3"
	VirtualMachineSizeTypesStandardESixFourNegativeOneSixsVThree   VirtualMachineSizeTypes = "Standard_E64-16s_v3"
	VirtualMachineSizeTypesStandardESixFourNegativeThreeTwosVThree VirtualMachineSizeTypes = "Standard_E64-32s_v3"
	VirtualMachineSizeTypesStandardESixFourVThree                  VirtualMachineSizeTypes = "Standard_E64_v3"
	VirtualMachineSizeTypesStandardESixFoursVThree                 VirtualMachineSizeTypes = "Standard_E64s_v3"
	VirtualMachineSizeTypesStandardEThreeTwoNegativeEightsVThree   VirtualMachineSizeTypes = "Standard_E32-8s_v3"
	VirtualMachineSizeTypesStandardEThreeTwoNegativeOneSixVThree   VirtualMachineSizeTypes = "Standard_E32-16_v3"
	VirtualMachineSizeTypesStandardEThreeTwoVThree                 VirtualMachineSizeTypes = "Standard_E32_v3"
	VirtualMachineSizeTypesStandardEThreeTwosVThree                VirtualMachineSizeTypes = "Standard_E32s_v3"
	VirtualMachineSizeTypesStandardETwoVThree                      VirtualMachineSizeTypes = "Standard_E2_v3"
	VirtualMachineSizeTypesStandardETwosVThree                     VirtualMachineSizeTypes = "Standard_E2s_v3"
	VirtualMachineSizeTypesStandardFEight                          VirtualMachineSizeTypes = "Standard_F8"
	VirtualMachineSizeTypesStandardFEights                         VirtualMachineSizeTypes = "Standard_F8s"
	VirtualMachineSizeTypesStandardFEightsVTwo                     VirtualMachineSizeTypes = "Standard_F8s_v2"
	VirtualMachineSizeTypesStandardFFour                           VirtualMachineSizeTypes = "Standard_F4"
	VirtualMachineSizeTypesStandardFFours                          VirtualMachineSizeTypes = "Standard_F4s"
	VirtualMachineSizeTypesStandardFFoursVTwo                      VirtualMachineSizeTypes = "Standard_F4s_v2"
	VirtualMachineSizeTypesStandardFOne                            VirtualMachineSizeTypes = "Standard_F1"
	VirtualMachineSizeTypesStandardFOneSix                         VirtualMachineSizeTypes = "Standard_F16"
	VirtualMachineSizeTypesStandardFOneSixs                        VirtualMachineSizeTypes = "Standard_F16s"
	VirtualMachineSizeTypesStandardFOneSixsVTwo                    VirtualMachineSizeTypes = "Standard_F16s_v2"
	VirtualMachineSizeTypesStandardFOnes                           VirtualMachineSizeTypes = "Standard_F1s"
	VirtualMachineSizeTypesStandardFSevenTwosVTwo                  VirtualMachineSizeTypes = "Standard_F72s_v2"
	VirtualMachineSizeTypesStandardFSixFoursVTwo                   VirtualMachineSizeTypes = "Standard_F64s_v2"
	VirtualMachineSizeTypesStandardFThreeTwosVTwo                  VirtualMachineSizeTypes = "Standard_F32s_v2"
	VirtualMachineSizeTypesStandardFTwo                            VirtualMachineSizeTypes = "Standard_F2"
	VirtualMachineSizeTypesStandardFTwos                           VirtualMachineSizeTypes = "Standard_F2s"
	VirtualMachineSizeTypesStandardFTwosVTwo                       VirtualMachineSizeTypes = "Standard_F2s_v2"
	VirtualMachineSizeTypesStandardGFive                           VirtualMachineSizeTypes = "Standard_G5"
	VirtualMachineSizeTypesStandardGFour                           VirtualMachineSizeTypes = "Standard_G4"
	VirtualMachineSizeTypesStandardGOne                            VirtualMachineSizeTypes = "Standard_G1"
	VirtualMachineSizeTypesStandardGSFive                          VirtualMachineSizeTypes = "Standard_GS5"
	VirtualMachineSizeTypesStandardGSFiveNegativeEight             VirtualMachineSizeTypes = "Standard_GS5-8"
	VirtualMachineSizeTypesStandardGSFiveNegativeOneSix            VirtualMachineSizeTypes = "Standard_GS5-16"
	VirtualMachineSizeTypesStandardGSFour                          VirtualMachineSizeTypes = "Standard_GS4"
	VirtualMachineSizeTypesStandardGSFourNegativeEight             VirtualMachineSizeTypes = "Standard_GS4-8"
	VirtualMachineSizeTypesStandardGSFourNegativeFour              VirtualMachineSizeTypes = "Standard_GS4-4"
	VirtualMachineSizeTypesStandardGSOne                           VirtualMachineSizeTypes = "Standard_GS1"
	VirtualMachineSizeTypesStandardGSThree                         VirtualMachineSizeTypes = "Standard_GS3"
	VirtualMachineSizeTypesStandardGSTwo                           VirtualMachineSizeTypes = "Standard_GS2"
	VirtualMachineSizeTypesStandardGThree                          VirtualMachineSizeTypes = "Standard_G3"
	VirtualMachineSizeTypesStandardGTwo                            VirtualMachineSizeTypes = "Standard_G2"
	VirtualMachineSizeTypesStandardHEight                          VirtualMachineSizeTypes = "Standard_H8"
	VirtualMachineSizeTypesStandardHEightm                         VirtualMachineSizeTypes = "Standard_H8m"
	VirtualMachineSizeTypesStandardHOneSix                         VirtualMachineSizeTypes = "Standard_H16"
	VirtualMachineSizeTypesStandardHOneSixm                        VirtualMachineSizeTypes = "Standard_H16m"
	VirtualMachineSizeTypesStandardHOneSixmr                       VirtualMachineSizeTypes = "Standard_H16mr"
	VirtualMachineSizeTypesStandardHOneSixr                        VirtualMachineSizeTypes = "Standard_H16r"
	VirtualMachineSizeTypesStandardLEights                         VirtualMachineSizeTypes = "Standard_L8s"
	VirtualMachineSizeTypesStandardLFours                          VirtualMachineSizeTypes = "Standard_L4s"
	VirtualMachineSizeTypesStandardLOneSixs                        VirtualMachineSizeTypes = "Standard_L16s"
	VirtualMachineSizeTypesStandardLThreeTwos                      VirtualMachineSizeTypes = "Standard_L32s"
	VirtualMachineSizeTypesStandardMOneTwoEightNegativeSixFourms   VirtualMachineSizeTypes = "Standard_M128-64ms"
	VirtualMachineSizeTypesStandardMOneTwoEightNegativeThreeTwoms  VirtualMachineSizeTypes = "Standard_M128-32ms"
	VirtualMachineSizeTypesStandardMOneTwoEightms                  VirtualMachineSizeTypes = "Standard_M128ms"
	VirtualMachineSizeTypesStandardMOneTwoEights                   VirtualMachineSizeTypes = "Standard_M128s"
	VirtualMachineSizeTypesStandardMSixFourNegativeOneSixms        VirtualMachineSizeTypes = "Standard_M64-16ms"
	VirtualMachineSizeTypesStandardMSixFourNegativeThreeTwoms      VirtualMachineSizeTypes = "Standard_M64-32ms"
	VirtualMachineSizeTypesStandardMSixFourms                      VirtualMachineSizeTypes = "Standard_M64ms"
	VirtualMachineSizeTypesStandardMSixFours                       VirtualMachineSizeTypes = "Standard_M64s"
	VirtualMachineSizeTypesStandardNCOneTwo                        VirtualMachineSizeTypes = "Standard_NC12"
	VirtualMachineSizeTypesStandardNCOneTwosVThree                 VirtualMachineSizeTypes = "Standard_NC12s_v3"
	VirtualMachineSizeTypesStandardNCOneTwosVTwo                   VirtualMachineSizeTypes = "Standard_NC12s_v2"
	VirtualMachineSizeTypesStandardNCSix                           VirtualMachineSizeTypes = "Standard_NC6"
	VirtualMachineSizeTypesStandardNCSixsVThree                    VirtualMachineSizeTypes = "Standard_NC6s_v3"
	VirtualMachineSizeTypesStandardNCSixsVTwo                      VirtualMachineSizeTypes = "Standard_NC6s_v2"
	VirtualMachineSizeTypesStandardNCTwoFour                       VirtualMachineSizeTypes = "Standard_NC24"
	VirtualMachineSizeTypesStandardNCTwoFourr                      VirtualMachineSizeTypes = "Standard_NC24r"
	VirtualMachineSizeTypesStandardNCTwoFourrsVThree               VirtualMachineSizeTypes = "Standard_NC24rs_v3"
	VirtualMachineSizeTypesStandardNCTwoFourrsVTwo                 VirtualMachineSizeTypes = "Standard_NC24rs_v2"
	VirtualMachineSizeTypesStandardNCTwoFoursVThree                VirtualMachineSizeTypes = "Standard_NC24s_v3"
	VirtualMachineSizeTypesStandardNCTwoFoursVTwo                  VirtualMachineSizeTypes = "Standard_NC24s_v2"
	VirtualMachineSizeTypesStandardNDOneTwos                       VirtualMachineSizeTypes = "Standard_ND12s"
	VirtualMachineSizeTypesStandardNDSixs                          VirtualMachineSizeTypes = "Standard_ND6s"
	VirtualMachineSizeTypesStandardNDTwoFourrs                     VirtualMachineSizeTypes = "Standard_ND24rs"
	VirtualMachineSizeTypesStandardNDTwoFours                      VirtualMachineSizeTypes = "Standard_ND24s"
	VirtualMachineSizeTypesStandardNVOneTwo                        VirtualMachineSizeTypes = "Standard_NV12"
	VirtualMachineSizeTypesStandardNVSix                           VirtualMachineSizeTypes = "Standard_NV6"
	VirtualMachineSizeTypesStandardNVTwoFour                       VirtualMachineSizeTypes = "Standard_NV24"
)

func (*VirtualMachineSizeTypes) UnmarshalJSON

func (s *VirtualMachineSizeTypes) UnmarshalJSON(bytes []byte) error

type VirtualMachineSoftwarePatchProperties

type VirtualMachineSoftwarePatchProperties struct {
	ActivityId           *string                     `json:"activityId,omitempty"`
	AssessmentState      *PatchAssessmentState       `json:"assessmentState,omitempty"`
	Classifications      *[]string                   `json:"classifications,omitempty"`
	KbId                 *string                     `json:"kbId,omitempty"`
	LastModifiedDateTime *string                     `json:"lastModifiedDateTime,omitempty"`
	Name                 *string                     `json:"name,omitempty"`
	PatchId              *string                     `json:"patchId,omitempty"`
	PublishedDate        *string                     `json:"publishedDate,omitempty"`
	RebootBehavior       *VMGuestPatchRebootBehavior `json:"rebootBehavior,omitempty"`
	Version              *string                     `json:"version,omitempty"`
}

func (*VirtualMachineSoftwarePatchProperties) GetLastModifiedDateTimeAsTime

func (o *VirtualMachineSoftwarePatchProperties) GetLastModifiedDateTimeAsTime() (*time.Time, error)

func (*VirtualMachineSoftwarePatchProperties) GetPublishedDateAsTime

func (o *VirtualMachineSoftwarePatchProperties) GetPublishedDateAsTime() (*time.Time, error)

func (*VirtualMachineSoftwarePatchProperties) SetLastModifiedDateTimeAsTime

func (o *VirtualMachineSoftwarePatchProperties) SetLastModifiedDateTimeAsTime(input time.Time)

func (*VirtualMachineSoftwarePatchProperties) SetPublishedDateAsTime

func (o *VirtualMachineSoftwarePatchProperties) SetPublishedDateAsTime(input time.Time)

type VirtualMachineUpdate

type VirtualMachineUpdate struct {
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Plan       *Plan                              `json:"plan,omitempty"`
	Properties *VirtualMachineProperties          `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Zones      *zones.Schema                      `json:"zones,omitempty"`
}

type VirtualMachinesClient

type VirtualMachinesClient struct {
	Client *resourcemanager.Client
}

func NewVirtualMachinesClientWithBaseURI

func NewVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachinesClient, error)

func (VirtualMachinesClient) AssessPatches

AssessPatches ...

func (VirtualMachinesClient) AssessPatchesThenPoll

func (c VirtualMachinesClient) AssessPatchesThenPoll(ctx context.Context, id VirtualMachineId) error

AssessPatchesThenPoll performs AssessPatches then polls until it's completed

func (VirtualMachinesClient) Capture

Capture ...

func (VirtualMachinesClient) CaptureThenPoll

CaptureThenPoll performs Capture then polls until it's completed

func (VirtualMachinesClient) ConvertToManagedDisks

ConvertToManagedDisks ...

func (VirtualMachinesClient) ConvertToManagedDisksThenPoll

func (c VirtualMachinesClient) ConvertToManagedDisksThenPoll(ctx context.Context, id VirtualMachineId) error

ConvertToManagedDisksThenPoll performs ConvertToManagedDisks then polls until it's completed

func (VirtualMachinesClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualMachinesClient) CreateOrUpdateThenPoll

func (c VirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachine) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualMachinesClient) Deallocate

Deallocate ...

func (VirtualMachinesClient) DeallocateThenPoll

DeallocateThenPoll performs Deallocate then polls until it's completed

func (VirtualMachinesClient) Delete

Delete ...

func (VirtualMachinesClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualMachinesClient) Generalize

Generalize ...

func (VirtualMachinesClient) Get

Get ...

func (VirtualMachinesClient) InstallPatches

InstallPatches ...

func (VirtualMachinesClient) InstallPatchesThenPoll

InstallPatchesThenPoll performs InstallPatches then polls until it's completed

func (VirtualMachinesClient) InstanceView

InstanceView ...

func (VirtualMachinesClient) List

List ...

func (VirtualMachinesClient) ListAll

ListAll ...

func (VirtualMachinesClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (VirtualMachinesClient) ListAllCompleteMatchingPredicate

func (c VirtualMachinesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions, predicate VirtualMachineOperationPredicate) (result ListAllCompleteResult, err error)

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachinesClient) ListAvailableSizes

ListAvailableSizes ...

func (VirtualMachinesClient) ListByLocation

func (c VirtualMachinesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)

ListByLocation ...

func (VirtualMachinesClient) ListByLocationComplete

ListByLocationComplete retrieves all the results into a single object

func (VirtualMachinesClient) ListByLocationCompleteMatchingPredicate

func (c VirtualMachinesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate VirtualMachineOperationPredicate) (result ListByLocationCompleteResult, err error)

ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachinesClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualMachinesClient) ListCompleteMatchingPredicate

func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualMachineOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachinesClient) PerformMaintenance

PerformMaintenance ...

func (VirtualMachinesClient) PerformMaintenanceThenPoll

func (c VirtualMachinesClient) PerformMaintenanceThenPoll(ctx context.Context, id VirtualMachineId) error

PerformMaintenanceThenPoll performs PerformMaintenance then polls until it's completed

func (VirtualMachinesClient) PowerOff

PowerOff ...

func (VirtualMachinesClient) PowerOffThenPoll

PowerOffThenPoll performs PowerOff then polls until it's completed

func (VirtualMachinesClient) Reapply

Reapply ...

func (VirtualMachinesClient) ReapplyThenPoll

func (c VirtualMachinesClient) ReapplyThenPoll(ctx context.Context, id VirtualMachineId) error

ReapplyThenPoll performs Reapply then polls until it's completed

func (VirtualMachinesClient) Redeploy

Redeploy ...

func (VirtualMachinesClient) RedeployThenPoll

func (c VirtualMachinesClient) RedeployThenPoll(ctx context.Context, id VirtualMachineId) error

RedeployThenPoll performs Redeploy then polls until it's completed

func (VirtualMachinesClient) Reimage

Reimage ...

func (VirtualMachinesClient) ReimageThenPoll

ReimageThenPoll performs Reimage then polls until it's completed

func (VirtualMachinesClient) Restart

Restart ...

func (VirtualMachinesClient) RestartThenPoll

func (c VirtualMachinesClient) RestartThenPoll(ctx context.Context, id VirtualMachineId) error

RestartThenPoll performs Restart then polls until it's completed

func (VirtualMachinesClient) RetrieveBootDiagnosticsData

RetrieveBootDiagnosticsData ...

func (VirtualMachinesClient) RunCommand

RunCommand ...

func (VirtualMachinesClient) RunCommandThenPoll

func (c VirtualMachinesClient) RunCommandThenPoll(ctx context.Context, id VirtualMachineId, input RunCommandInput) error

RunCommandThenPoll performs RunCommand then polls until it's completed

func (VirtualMachinesClient) SimulateEviction

SimulateEviction ...

func (VirtualMachinesClient) Start

Start ...

func (VirtualMachinesClient) StartThenPoll

func (c VirtualMachinesClient) StartThenPoll(ctx context.Context, id VirtualMachineId) error

StartThenPoll performs Start then polls until it's completed

func (VirtualMachinesClient) Update

Update ...

func (VirtualMachinesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type WinRMConfiguration

type WinRMConfiguration struct {
	Listeners *[]WinRMListener `json:"listeners,omitempty"`
}

type WinRMListener

type WinRMListener struct {
	CertificateUrl *string        `json:"certificateUrl,omitempty"`
	Protocol       *ProtocolTypes `json:"protocol,omitempty"`
}

type WindowsConfiguration

type WindowsConfiguration struct {
	AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
	EnableAutomaticUpdates    *bool                        `json:"enableAutomaticUpdates,omitempty"`
	PatchSettings             *PatchSettings               `json:"patchSettings,omitempty"`
	ProvisionVMAgent          *bool                        `json:"provisionVMAgent,omitempty"`
	TimeZone                  *string                      `json:"timeZone,omitempty"`
	WinRM                     *WinRMConfiguration          `json:"winRM,omitempty"`
}

type WindowsParameters

type WindowsParameters struct {
	ClassificationsToInclude  *[]VMGuestPatchClassificationWindows `json:"classificationsToInclude,omitempty"`
	ExcludeKbsRequiringReboot *bool                                `json:"excludeKbsRequiringReboot,omitempty"`
	KbNumbersToExclude        *[]string                            `json:"kbNumbersToExclude,omitempty"`
	KbNumbersToInclude        *[]string                            `json:"kbNumbersToInclude,omitempty"`
	MaxPatchPublishDate       *string                              `json:"maxPatchPublishDate,omitempty"`
}

func (*WindowsParameters) GetMaxPatchPublishDateAsTime

func (o *WindowsParameters) GetMaxPatchPublishDateAsTime() (*time.Time, error)

func (*WindowsParameters) SetMaxPatchPublishDateAsTime

func (o *WindowsParameters) SetMaxPatchPublishDateAsTime(input time.Time)

type WindowsPatchAssessmentMode

type WindowsPatchAssessmentMode string
const (
	WindowsPatchAssessmentModeAutomaticByPlatform WindowsPatchAssessmentMode = "AutomaticByPlatform"
	WindowsPatchAssessmentModeImageDefault        WindowsPatchAssessmentMode = "ImageDefault"
)

func (*WindowsPatchAssessmentMode) UnmarshalJSON

func (s *WindowsPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type WindowsVMGuestPatchMode

type WindowsVMGuestPatchMode string
const (
	WindowsVMGuestPatchModeAutomaticByOS       WindowsVMGuestPatchMode = "AutomaticByOS"
	WindowsVMGuestPatchModeAutomaticByPlatform WindowsVMGuestPatchMode = "AutomaticByPlatform"
	WindowsVMGuestPatchModeManual              WindowsVMGuestPatchMode = "Manual"
)

func (*WindowsVMGuestPatchMode) UnmarshalJSON

func (s *WindowsVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

Source Files

Jump to

Keyboard shortcuts

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