virtualmachinescalesetvms

package
v0.20240404.1145457 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2023-03-01/virtualmachinescalesetvms Documentation

The virtualmachinescalesetvms SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2023-03-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-sdk/resource-manager/compute/2023-03-01/virtualmachinescalesetvms"

Client Initialization

client := virtualmachinescalesetvms.NewVirtualMachineScaleSetVMsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualMachineScaleSetVMsClient.Deallocate

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Delete

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Get

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.GetInstanceView

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.List

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

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

Example Usage: VirtualMachineScaleSetVMsClient.PerformMaintenance

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.PowerOff

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Redeploy

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Reimage

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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


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

Example Usage: VirtualMachineScaleSetVMsClient.ReimageAll

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Restart

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.RetrieveBootDiagnosticsData

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.RunCommand

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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


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

Example Usage: VirtualMachineScaleSetVMsClient.SimulateEviction

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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: VirtualMachineScaleSetVMsClient.Start

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

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

Example Usage: VirtualMachineScaleSetVMsClient.Update

ctx := context.TODO()
id := virtualmachinescalesetvms.NewVirtualMachineScaleSetVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetValue", "instanceIdValue")

payload := virtualmachinescalesetvms.VirtualMachineScaleSetVM{
	// ...
}


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 PossibleValuesForDiskControllerTypes

func PossibleValuesForDiskControllerTypes() []string

func PossibleValuesForDiskCreateOptionTypes

func PossibleValuesForDiskCreateOptionTypes() []string

func PossibleValuesForDiskDeleteOptionTypes

func PossibleValuesForDiskDeleteOptionTypes() []string

func PossibleValuesForDiskDetachOptionTypes

func PossibleValuesForDiskDetachOptionTypes() []string

func PossibleValuesForHyperVGeneration

func PossibleValuesForHyperVGeneration() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForIPVersions

func PossibleValuesForIPVersions() []string

func PossibleValuesForInstanceViewTypes

func PossibleValuesForInstanceViewTypes() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []string

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting() []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 PossibleValuesForProtocolTypes

func PossibleValuesForProtocolTypes() []string

func PossibleValuesForPublicIPAddressSkuName

func PossibleValuesForPublicIPAddressSkuName() []string

func PossibleValuesForPublicIPAddressSkuTier

func PossibleValuesForPublicIPAddressSkuTier() []string

func PossibleValuesForPublicIPAllocationMethod

func PossibleValuesForPublicIPAllocationMethod() []string

func PossibleValuesForSecurityEncryptionTypes

func PossibleValuesForSecurityEncryptionTypes() []string

func PossibleValuesForSecurityTypes

func PossibleValuesForSecurityTypes() []string

func PossibleValuesForSettingNames

func PossibleValuesForSettingNames() []string

func PossibleValuesForStatusLevelTypes

func PossibleValuesForStatusLevelTypes() []string

func PossibleValuesForStorageAccountTypes

func PossibleValuesForStorageAccountTypes() []string

func PossibleValuesForVirtualMachineSizeTypes

func PossibleValuesForVirtualMachineSizeTypes() []string

func PossibleValuesForWindowsPatchAssessmentMode

func PossibleValuesForWindowsPatchAssessmentMode() []string

func PossibleValuesForWindowsVMGuestPatchAutomaticByPlatformRebootSetting

func PossibleValuesForWindowsVMGuestPatchAutomaticByPlatformRebootSetting() []string

func PossibleValuesForWindowsVMGuestPatchMode

func PossibleValuesForWindowsVMGuestPatchMode() []string

func ValidateVirtualMachineScaleSetID

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

ValidateVirtualMachineScaleSetID checks that 'input' can be parsed as a Virtual Machine Scale Set ID

func ValidateVirtualMachineScaleSetVirtualMachineID

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

ValidateVirtualMachineScaleSetVirtualMachineID checks that 'input' can be parsed as a Virtual Machine Scale Set 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 ApiEntityReference

type ApiEntityReference struct {
	Id *string `json:"id,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 ComponentNames

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

func (*ComponentNames) UnmarshalJSON

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

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 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 DiskControllerTypes

type DiskControllerTypes string
const (
	DiskControllerTypesNVMe DiskControllerTypes = "NVMe"
	DiskControllerTypesSCSI DiskControllerTypes = "SCSI"
)

func (*DiskControllerTypes) UnmarshalJSON

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

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 GetInstanceViewOperationResponse

type GetInstanceViewOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineScaleSetVMInstanceView
}

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        *VirtualMachineScaleSetVM
}

type HardwareProfile

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

type HyperVGeneration

type HyperVGeneration string
const (
	HyperVGenerationVOne HyperVGeneration = "V1"
	HyperVGenerationVTwo HyperVGeneration = "V2"
)

func (*HyperVGeneration) UnmarshalJSON

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

type IPVersion

type IPVersion string
const (
	IPVersionIPvFour IPVersion = "IPv4"
	IPVersionIPvSix  IPVersion = "IPv6"
)

func (*IPVersion) UnmarshalJSON

func (s *IPVersion) 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 {
	CommunityGalleryImageId *string `json:"communityGalleryImageId,omitempty"`
	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 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 LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool               `json:"disablePasswordAuthentication,omitempty"`
	EnableVMAgentPlatformUpdates  *bool               `json:"enableVMAgentPlatformUpdates,omitempty"`
	PatchSettings                 *LinuxPatchSettings `json:"patchSettings,omitempty"`
	ProvisionVMAgent              *bool               `json:"provisionVMAgent,omitempty"`
	Ssh                           *SshConfiguration   `json:"ssh,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"`
	AutomaticByPlatformSettings *LinuxVMGuestPatchAutomaticByPlatformSettings `json:"automaticByPlatformSettings,omitempty"`
	PatchMode                   *LinuxVMGuestPatchMode                        `json:"patchMode,omitempty"`
}

type LinuxVMGuestPatchAutomaticByPlatformRebootSetting

type LinuxVMGuestPatchAutomaticByPlatformRebootSetting string
const (
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingAlways     LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Always"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingIfRequired LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "IfRequired"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingNever      LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Never"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingUnknown    LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Unknown"
)

func (*LinuxVMGuestPatchAutomaticByPlatformRebootSetting) UnmarshalJSON

type LinuxVMGuestPatchAutomaticByPlatformSettings

type LinuxVMGuestPatchAutomaticByPlatformSettings struct {
	BypassPlatformSafetyChecksOnUserSchedule *bool                                              `json:"bypassPlatformSafetyChecksOnUserSchedule,omitempty"`
	RebootSetting                            *LinuxVMGuestPatchAutomaticByPlatformRebootSetting `json:"rebootSetting,omitempty"`
}

type LinuxVMGuestPatchMode

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

func (*LinuxVMGuestPatchMode) UnmarshalJSON

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

type ListCompleteResult

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

type ListOperationOptions

type ListOperationOptions struct {
	Expand *string
	Filter *string
	Select *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

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

func (ListOperationOptions) ToOData

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

func (ListOperationOptions) ToQuery

type ListOperationResponse

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

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"`
	SecurityProfile    *VMDiskSecurityProfile `json:"securityProfile,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 OSProfileProvisioningData

type OSProfileProvisioningData struct {
	AdminPassword *string `json:"adminPassword,omitempty"`
	CustomData    *string `json:"customData,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 PatchSettings

type PatchSettings struct {
	AssessmentMode              *WindowsPatchAssessmentMode                     `json:"assessmentMode,omitempty"`
	AutomaticByPlatformSettings *WindowsVMGuestPatchAutomaticByPlatformSettings `json:"automaticByPlatformSettings,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 RedeployOperationResponse

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

type ReimageAllOperationResponse

type ReimageAllOperationResponse 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 SecurityEncryptionTypes

type SecurityEncryptionTypes string
const (
	SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = "DiskWithVMGuestState"
	SecurityEncryptionTypesVMGuestStateOnly     SecurityEncryptionTypes = "VMGuestStateOnly"
)

func (*SecurityEncryptionTypes) UnmarshalJSON

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

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 (
	SecurityTypesConfidentialVM SecurityTypes = "ConfidentialVM"
	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 Sku

type Sku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Name     *string `json:"name,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

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"
	StorageAccountTypesPremiumVTwoLRS StorageAccountTypes = "PremiumV2_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"`
	DiskControllerType *DiskControllerTypes `json:"diskControllerType,omitempty"`
	ImageReference     *ImageReference      `json:"imageReference,omitempty"`
	OsDisk             *OSDisk              `json:"osDisk,omitempty"`
}

type SubResource

type SubResource struct {
	Id *string `json:"id,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        *VirtualMachineScaleSetVM
}

type VMDiskSecurityProfile

type VMDiskSecurityProfile struct {
	DiskEncryptionSet      *SubResource             `json:"diskEncryptionSet,omitempty"`
	SecurityEncryptionType *SecurityEncryptionTypes `json:"securityEncryptionType,omitempty"`
}

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 VirtualMachineAgentInstanceView

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

type VirtualMachineExtension

type VirtualMachineExtension struct {
	Id         *string                            `json:"id,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	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"`
	ProtectedSettingsFromKeyVault *KeyVaultSecretReference             `json:"protectedSettingsFromKeyVault,omitempty"`
	ProvisionAfterExtensions      *[]string                            `json:"provisionAfterExtensions,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 VirtualMachineNetworkInterfaceConfiguration

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

type VirtualMachineNetworkInterfaceConfigurationProperties

type VirtualMachineNetworkInterfaceConfigurationProperties struct {
	DeleteOption                *DeleteOptions                                          `json:"deleteOption,omitempty"`
	DisableTcpStateTracking     *bool                                                   `json:"disableTcpStateTracking,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 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 {
	ExactVersion *string                    `json:"exactVersion,omitempty"`
	OsProfile    *OSProfileProvisioningData `json:"osProfile,omitempty"`
	TempDisk     *bool                      `json:"tempDisk,omitempty"`
}

type VirtualMachineScaleSetIPConfiguration

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

type VirtualMachineScaleSetIPConfigurationProperties

type VirtualMachineScaleSetIPConfigurationProperties struct {
	ApplicationGatewayBackendAddressPools *[]SubResource                                      `json:"applicationGatewayBackendAddressPools,omitempty"`
	ApplicationSecurityGroups             *[]SubResource                                      `json:"applicationSecurityGroups,omitempty"`
	LoadBalancerBackendAddressPools       *[]SubResource                                      `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatPools           *[]SubResource                                      `json:"loadBalancerInboundNatPools,omitempty"`
	Primary                               *bool                                               `json:"primary,omitempty"`
	PrivateIPAddressVersion               *IPVersion                                          `json:"privateIPAddressVersion,omitempty"`
	PublicIPAddressConfiguration          *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	Subnet                                *ApiEntityReference                                 `json:"subnet,omitempty"`
}

type VirtualMachineScaleSetIPTag

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

type VirtualMachineScaleSetId

type VirtualMachineScaleSetId struct {
	SubscriptionId             string
	ResourceGroupName          string
	VirtualMachineScaleSetName string
}

VirtualMachineScaleSetId is a struct representing the Resource ID for a Virtual Machine Scale Set

func NewVirtualMachineScaleSetID

func NewVirtualMachineScaleSetID(subscriptionId string, resourceGroupName string, virtualMachineScaleSetName string) VirtualMachineScaleSetId

NewVirtualMachineScaleSetID returns a new VirtualMachineScaleSetId struct

func ParseVirtualMachineScaleSetID

func ParseVirtualMachineScaleSetID(input string) (*VirtualMachineScaleSetId, error)

ParseVirtualMachineScaleSetID parses 'input' into a VirtualMachineScaleSetId

func ParseVirtualMachineScaleSetIDInsensitively

func ParseVirtualMachineScaleSetIDInsensitively(input string) (*VirtualMachineScaleSetId, error)

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

func (*VirtualMachineScaleSetId) FromParseResult

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

func (VirtualMachineScaleSetId) ID

ID returns the formatted Virtual Machine Scale Set ID

func (VirtualMachineScaleSetId) Segments

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

func (VirtualMachineScaleSetId) String

func (id VirtualMachineScaleSetId) String() string

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

type VirtualMachineScaleSetNetworkConfiguration

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

type VirtualMachineScaleSetNetworkConfigurationDnsSettings

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

type VirtualMachineScaleSetNetworkConfigurationProperties

type VirtualMachineScaleSetNetworkConfigurationProperties struct {
	DeleteOption                *DeleteOptions                                         `json:"deleteOption,omitempty"`
	DisableTcpStateTracking     *bool                                                  `json:"disableTcpStateTracking,omitempty"`
	DnsSettings                 *VirtualMachineScaleSetNetworkConfigurationDnsSettings `json:"dnsSettings,omitempty"`
	EnableAcceleratedNetworking *bool                                                  `json:"enableAcceleratedNetworking,omitempty"`
	EnableFpga                  *bool                                                  `json:"enableFpga,omitempty"`
	EnableIPForwarding          *bool                                                  `json:"enableIPForwarding,omitempty"`
	IPConfigurations            []VirtualMachineScaleSetIPConfiguration                `json:"ipConfigurations"`
	NetworkSecurityGroup        *SubResource                                           `json:"networkSecurityGroup,omitempty"`
	Primary                     *bool                                                  `json:"primary,omitempty"`
}

type VirtualMachineScaleSetPublicIPAddressConfiguration

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

type VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings

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

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct {
	DeleteOption           *DeleteOptions                                                 `json:"deleteOption,omitempty"`
	DnsSettings            *VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings `json:"dnsSettings,omitempty"`
	IPTags                 *[]VirtualMachineScaleSetIPTag                                 `json:"ipTags,omitempty"`
	IdleTimeoutInMinutes   *int64                                                         `json:"idleTimeoutInMinutes,omitempty"`
	PublicIPAddressVersion *IPVersion                                                     `json:"publicIPAddressVersion,omitempty"`
	PublicIPPrefix         *SubResource                                                   `json:"publicIPPrefix,omitempty"`
}

type VirtualMachineScaleSetVM

type VirtualMachineScaleSetVM struct {
	Id         *string                             `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap  `json:"identity,omitempty"`
	InstanceId *string                             `json:"instanceId,omitempty"`
	Location   string                              `json:"location"`
	Name       *string                             `json:"name,omitempty"`
	Plan       *Plan                               `json:"plan,omitempty"`
	Properties *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"`
	Resources  *[]VirtualMachineExtension          `json:"resources,omitempty"`
	Sku        *Sku                                `json:"sku,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
	Type       *string                             `json:"type,omitempty"`
	Zones      *zones.Schema                       `json:"zones,omitempty"`
}

type VirtualMachineScaleSetVMInstanceView

type VirtualMachineScaleSetVMInstanceView 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          *HyperVGeneration                      `json:"hyperVGeneration,omitempty"`
	MaintenanceRedeployStatus *MaintenanceRedeployStatus             `json:"maintenanceRedeployStatus,omitempty"`
	OsName                    *string                                `json:"osName,omitempty"`
	OsVersion                 *string                                `json:"osVersion,omitempty"`
	PlacementGroupId          *string                                `json:"placementGroupId,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 VirtualMachineScaleSetVMNetworkProfileConfiguration

type VirtualMachineScaleSetVMNetworkProfileConfiguration struct {
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type VirtualMachineScaleSetVMOperationPredicate

type VirtualMachineScaleSetVMOperationPredicate struct {
	Id         *string
	InstanceId *string
	Location   *string
	Name       *string
	Type       *string
}

func (VirtualMachineScaleSetVMOperationPredicate) Matches

type VirtualMachineScaleSetVMProperties

type VirtualMachineScaleSetVMProperties struct {
	AdditionalCapabilities      *AdditionalCapabilities                              `json:"additionalCapabilities,omitempty"`
	AvailabilitySet             *SubResource                                         `json:"availabilitySet,omitempty"`
	DiagnosticsProfile          *DiagnosticsProfile                                  `json:"diagnosticsProfile,omitempty"`
	HardwareProfile             *HardwareProfile                                     `json:"hardwareProfile,omitempty"`
	InstanceView                *VirtualMachineScaleSetVMInstanceView                `json:"instanceView,omitempty"`
	LatestModelApplied          *bool                                                `json:"latestModelApplied,omitempty"`
	LicenseType                 *string                                              `json:"licenseType,omitempty"`
	ModelDefinitionApplied      *string                                              `json:"modelDefinitionApplied,omitempty"`
	NetworkProfile              *NetworkProfile                                      `json:"networkProfile,omitempty"`
	NetworkProfileConfiguration *VirtualMachineScaleSetVMNetworkProfileConfiguration `json:"networkProfileConfiguration,omitempty"`
	OsProfile                   *OSProfile                                           `json:"osProfile,omitempty"`
	ProtectionPolicy            *VirtualMachineScaleSetVMProtectionPolicy            `json:"protectionPolicy,omitempty"`
	ProvisioningState           *string                                              `json:"provisioningState,omitempty"`
	SecurityProfile             *SecurityProfile                                     `json:"securityProfile,omitempty"`
	StorageProfile              *StorageProfile                                      `json:"storageProfile,omitempty"`
	UserData                    *string                                              `json:"userData,omitempty"`
	VMId                        *string                                              `json:"vmId,omitempty"`
}

type VirtualMachineScaleSetVMProtectionPolicy

type VirtualMachineScaleSetVMProtectionPolicy struct {
	ProtectFromScaleIn         *bool `json:"protectFromScaleIn,omitempty"`
	ProtectFromScaleSetActions *bool `json:"protectFromScaleSetActions,omitempty"`
}

type VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClient struct {
	Client *resourcemanager.Client
}

func NewVirtualMachineScaleSetVMsClientWithBaseURI

func NewVirtualMachineScaleSetVMsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineScaleSetVMsClient, error)

func (VirtualMachineScaleSetVMsClient) Deallocate

Deallocate ...

func (VirtualMachineScaleSetVMsClient) DeallocateThenPoll

DeallocateThenPoll performs Deallocate then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Delete

Delete ...

func (VirtualMachineScaleSetVMsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Get

Get ...

func (VirtualMachineScaleSetVMsClient) GetInstanceView

GetInstanceView ...

func (VirtualMachineScaleSetVMsClient) List

List ...

func (VirtualMachineScaleSetVMsClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualMachineScaleSetVMsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineScaleSetVMsClient) PerformMaintenance

PerformMaintenance ...

func (VirtualMachineScaleSetVMsClient) PerformMaintenanceThenPoll

PerformMaintenanceThenPoll performs PerformMaintenance then polls until it's completed

func (VirtualMachineScaleSetVMsClient) PowerOff

PowerOff ...

func (VirtualMachineScaleSetVMsClient) PowerOffThenPoll

PowerOffThenPoll performs PowerOff then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Redeploy

Redeploy ...

func (VirtualMachineScaleSetVMsClient) RedeployThenPoll

RedeployThenPoll performs Redeploy then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Reimage

Reimage ...

func (VirtualMachineScaleSetVMsClient) ReimageAll

ReimageAll ...

func (VirtualMachineScaleSetVMsClient) ReimageAllThenPoll

ReimageAllThenPoll performs ReimageAll then polls until it's completed

func (VirtualMachineScaleSetVMsClient) ReimageThenPoll

ReimageThenPoll performs Reimage then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Restart

Restart ...

func (VirtualMachineScaleSetVMsClient) RestartThenPoll

RestartThenPoll performs Restart then polls until it's completed

func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData

RetrieveBootDiagnosticsData ...

func (VirtualMachineScaleSetVMsClient) RunCommand

RunCommand ...

func (VirtualMachineScaleSetVMsClient) RunCommandThenPoll

RunCommandThenPoll performs RunCommand then polls until it's completed

func (VirtualMachineScaleSetVMsClient) SimulateEviction

SimulateEviction ...

func (VirtualMachineScaleSetVMsClient) Start

Start ...

func (VirtualMachineScaleSetVMsClient) StartThenPoll

StartThenPoll performs Start then polls until it's completed

func (VirtualMachineScaleSetVMsClient) Update

Update ...

func (VirtualMachineScaleSetVMsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type VirtualMachineScaleSetVirtualMachineId

type VirtualMachineScaleSetVirtualMachineId struct {
	SubscriptionId             string
	ResourceGroupName          string
	VirtualMachineScaleSetName string
	InstanceId                 string
}

VirtualMachineScaleSetVirtualMachineId is a struct representing the Resource ID for a Virtual Machine Scale Set Virtual Machine

func NewVirtualMachineScaleSetVirtualMachineID

func NewVirtualMachineScaleSetVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineScaleSetName string, instanceId string) VirtualMachineScaleSetVirtualMachineId

NewVirtualMachineScaleSetVirtualMachineID returns a new VirtualMachineScaleSetVirtualMachineId struct

func ParseVirtualMachineScaleSetVirtualMachineID

func ParseVirtualMachineScaleSetVirtualMachineID(input string) (*VirtualMachineScaleSetVirtualMachineId, error)

ParseVirtualMachineScaleSetVirtualMachineID parses 'input' into a VirtualMachineScaleSetVirtualMachineId

func ParseVirtualMachineScaleSetVirtualMachineIDInsensitively

func ParseVirtualMachineScaleSetVirtualMachineIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineId, error)

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

func (*VirtualMachineScaleSetVirtualMachineId) FromParseResult

func (VirtualMachineScaleSetVirtualMachineId) ID

ID returns the formatted Virtual Machine Scale Set Virtual Machine ID

func (VirtualMachineScaleSetVirtualMachineId) Segments

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

func (VirtualMachineScaleSetVirtualMachineId) String

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

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 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"`
	EnableVMAgentPlatformUpdates *bool                        `json:"enableVMAgentPlatformUpdates,omitempty"`
	PatchSettings                *PatchSettings               `json:"patchSettings,omitempty"`
	ProvisionVMAgent             *bool                        `json:"provisionVMAgent,omitempty"`
	TimeZone                     *string                      `json:"timeZone,omitempty"`
	WinRM                        *WinRMConfiguration          `json:"winRM,omitempty"`
}

type WindowsPatchAssessmentMode

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

func (*WindowsPatchAssessmentMode) UnmarshalJSON

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

type WindowsVMGuestPatchAutomaticByPlatformRebootSetting

type WindowsVMGuestPatchAutomaticByPlatformRebootSetting string
const (
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingAlways     WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Always"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingIfRequired WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "IfRequired"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingNever      WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Never"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingUnknown    WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Unknown"
)

func (*WindowsVMGuestPatchAutomaticByPlatformRebootSetting) UnmarshalJSON

type WindowsVMGuestPatchAutomaticByPlatformSettings

type WindowsVMGuestPatchAutomaticByPlatformSettings struct {
	BypassPlatformSafetyChecksOnUserSchedule *bool                                                `json:"bypassPlatformSafetyChecksOnUserSchedule,omitempty"`
	RebootSetting                            *WindowsVMGuestPatchAutomaticByPlatformRebootSetting `json:"rebootSetting,omitempty"`
}

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