virtualmachinescalesets

package
v0.20230404.1155830 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-01/virtualmachinescalesets Documentation

The virtualmachinescalesets SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2022-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/2022-03-01/virtualmachinescalesets"

Client Initialization

client := virtualmachinescalesets.NewVirtualMachineScaleSetsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup

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

payload := virtualmachinescalesets.VMScaleSetConvertToSinglePlacementGroupInput{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.CreateOrUpdate

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

payload := virtualmachinescalesets.VirtualMachineScaleSet{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Deallocate

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Delete

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

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

Example Usage: VirtualMachineScaleSetsClient.DeleteInstances

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceRequiredIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk

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

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

Example Usage: VirtualMachineScaleSetsClient.Get

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

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

Example Usage: VirtualMachineScaleSetsClient.GetInstanceView

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

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: VirtualMachineScaleSetsClient.GetOSUpgradeHistory

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

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

Example Usage: VirtualMachineScaleSetsClient.List

ctx := context.TODO()
id := virtualmachinescalesets.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: VirtualMachineScaleSetsClient.ListAll

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

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

Example Usage: VirtualMachineScaleSetsClient.ListByLocation

ctx := context.TODO()
id := virtualmachinescalesets.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: VirtualMachineScaleSetsClient.ListSkus

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

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

Example Usage: VirtualMachineScaleSetsClient.PerformMaintenance

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.PowerOff

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Redeploy

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Reimage

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

payload := virtualmachinescalesets.VirtualMachineScaleSetReimageParameters{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.ReimageAll

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Restart

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.SetOrchestrationServiceState

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

payload := virtualmachinescalesets.OrchestrationServiceStateInput{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Start

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceIDs{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.Update

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

payload := virtualmachinescalesets.VirtualMachineScaleSetUpdate{
	// ...
}


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

Example Usage: VirtualMachineScaleSetsClient.UpdateInstances

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

payload := virtualmachinescalesets.VirtualMachineScaleSetVMInstanceRequiredIDs{
	// ...
}


if err := client.UpdateInstancesThenPoll(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 PossibleValuesForExpandTypesForGetVMScaleSets

func PossibleValuesForExpandTypesForGetVMScaleSets() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []string

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting() []string

func PossibleValuesForLinuxVMGuestPatchMode

func PossibleValuesForLinuxVMGuestPatchMode() []string

func PossibleValuesForNetworkApiVersion

func PossibleValuesForNetworkApiVersion() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForOrchestrationMode

func PossibleValuesForOrchestrationMode() []string

func PossibleValuesForOrchestrationServiceNames

func PossibleValuesForOrchestrationServiceNames() []string

func PossibleValuesForOrchestrationServiceState

func PossibleValuesForOrchestrationServiceState() []string

func PossibleValuesForOrchestrationServiceStateAction

func PossibleValuesForOrchestrationServiceStateAction() []string

func PossibleValuesForPassNames

func PossibleValuesForPassNames() []string

func PossibleValuesForProtocolTypes

func PossibleValuesForProtocolTypes() []string

func PossibleValuesForPublicIPAddressSkuName

func PossibleValuesForPublicIPAddressSkuName() []string

func PossibleValuesForPublicIPAddressSkuTier

func PossibleValuesForPublicIPAddressSkuTier() []string

func PossibleValuesForRepairAction

func PossibleValuesForRepairAction() []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 PossibleValuesForUpgradeMode

func PossibleValuesForUpgradeMode() []string

func PossibleValuesForUpgradeOperationInvoker

func PossibleValuesForUpgradeOperationInvoker() []string

func PossibleValuesForUpgradeState

func PossibleValuesForUpgradeState() []string

func PossibleValuesForVirtualMachineEvictionPolicyTypes

func PossibleValuesForVirtualMachineEvictionPolicyTypes() []string

func PossibleValuesForVirtualMachinePriorityTypes

func PossibleValuesForVirtualMachinePriorityTypes() []string

func PossibleValuesForVirtualMachineScaleSetScaleInRules

func PossibleValuesForVirtualMachineScaleSetScaleInRules() []string

func PossibleValuesForVirtualMachineScaleSetSkuScaleType

func PossibleValuesForVirtualMachineScaleSetSkuScaleType() []string

func PossibleValuesForWindowsPatchAssessmentMode

func PossibleValuesForWindowsPatchAssessmentMode() []string

func PossibleValuesForWindowsVMGuestPatchAutomaticByPlatformRebootSetting

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

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

type AutomaticOSUpgradePolicy struct {
	DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"`
	EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"`
	UseRollingUpgradePolicy  *bool `json:"useRollingUpgradePolicy,omitempty"`
}

type AutomaticRepairsPolicy

type AutomaticRepairsPolicy struct {
	Enabled      *bool         `json:"enabled,omitempty"`
	GracePeriod  *string       `json:"gracePeriod,omitempty"`
	RepairAction *RepairAction `json:"repairAction,omitempty"`
}

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 CachingTypes

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

type CapacityReservationProfile

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

type ComponentNames

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

type ConvertToSinglePlacementGroupOperationResponse

type ConvertToSinglePlacementGroupOperationResponse struct {
	HttpResponse *http.Response
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeallocateOperationResponse

type DeallocateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteInstancesOperationOptions

type DeleteInstancesOperationOptions struct {
	ForceDeletion *bool
}

func DefaultDeleteInstancesOperationOptions

func DefaultDeleteInstancesOperationOptions() DeleteInstancesOperationOptions

type DeleteInstancesOperationResponse

type DeleteInstancesOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationOptions

type DeleteOperationOptions struct {
	ForceDeletion *bool
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOptions

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

type DiagnosticsProfile

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

type DiffDiskOptions

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

type DiffDiskPlacement

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

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"
)

type DiskDeleteOptionTypes

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

type ExpandTypesForGetVMScaleSets

type ExpandTypesForGetVMScaleSets string
const (
	ExpandTypesForGetVMScaleSetsUserData ExpandTypesForGetVMScaleSets = "userData"
)

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions struct {
	PlacementGroupId     *string
	PlatformUpdateDomain *int64
	Zone                 *string
}

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationResponse

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationResponse struct {
	HttpResponse *http.Response
	Model        *RecoveryWalkResponse
}

type GetInstanceViewOperationResponse

type GetInstanceViewOperationResponse struct {
	HttpResponse *http.Response
	Model        *VirtualMachineScaleSetInstanceView
}

type GetOSUpgradeHistoryCompleteResult

type GetOSUpgradeHistoryCompleteResult struct {
	Items []UpgradeOperationHistoricalStatusInfo
}

type GetOSUpgradeHistoryOperationResponse

type GetOSUpgradeHistoryOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]UpgradeOperationHistoricalStatusInfo
	// contains filtered or unexported fields
}

func (GetOSUpgradeHistoryOperationResponse) HasMore

func (GetOSUpgradeHistoryOperationResponse) LoadMore

type GetOperationOptions

type GetOperationOptions struct {
	Expand *ExpandTypesForGetVMScaleSets
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *VirtualMachineScaleSet
}

type IPVersion

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

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 InnerError

type InnerError struct {
	Errordetail   *string `json:"errordetail,omitempty"`
	Exceptiontype *string `json:"exceptiontype,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 KeyVaultSecretReference

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

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 LinuxPatchAssessmentMode

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

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"
)

type LinuxVMGuestPatchAutomaticByPlatformSettings

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

type LinuxVMGuestPatchMode

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

type ListAllCompleteResult

type ListAllCompleteResult struct {
	Items []VirtualMachineScaleSet
}

type ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineScaleSet
	// contains filtered or unexported fields
}

func (ListAllOperationResponse) HasMore

func (r ListAllOperationResponse) HasMore() bool

func (ListAllOperationResponse) LoadMore

type ListByLocationCompleteResult

type ListByLocationCompleteResult struct {
	Items []VirtualMachineScaleSet
}

type ListByLocationOperationResponse

type ListByLocationOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineScaleSet
	// contains filtered or unexported fields
}

func (ListByLocationOperationResponse) HasMore

func (ListByLocationOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []VirtualMachineScaleSet
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineScaleSet
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type ListSkusCompleteResult

type ListSkusCompleteResult struct {
	Items []VirtualMachineScaleSetSku
}

type ListSkusOperationResponse

type ListSkusOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineScaleSetSku
	// contains filtered or unexported fields
}

func (ListSkusOperationResponse) HasMore

func (r ListSkusOperationResponse) HasMore() bool

func (ListSkusOperationResponse) LoadMore

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) 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 NetworkApiVersion

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

type OperatingSystemTypes

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

type OrchestrationMode

type OrchestrationMode string
const (
	OrchestrationModeFlexible OrchestrationMode = "Flexible"
	OrchestrationModeUniform  OrchestrationMode = "Uniform"
)

type OrchestrationServiceNames

type OrchestrationServiceNames string
const (
	OrchestrationServiceNamesAutomaticRepairs OrchestrationServiceNames = "AutomaticRepairs"
)

type OrchestrationServiceState

type OrchestrationServiceState string
const (
	OrchestrationServiceStateNotRunning OrchestrationServiceState = "NotRunning"
	OrchestrationServiceStateRunning    OrchestrationServiceState = "Running"
	OrchestrationServiceStateSuspended  OrchestrationServiceState = "Suspended"
)

type OrchestrationServiceStateAction

type OrchestrationServiceStateAction string
const (
	OrchestrationServiceStateActionResume  OrchestrationServiceStateAction = "Resume"
	OrchestrationServiceStateActionSuspend OrchestrationServiceStateAction = "Suspend"
)

type OrchestrationServiceStateInput

type OrchestrationServiceStateInput struct {
	Action      OrchestrationServiceStateAction `json:"action"`
	ServiceName OrchestrationServiceNames       `json:"serviceName"`
}

type OrchestrationServiceSummary

type OrchestrationServiceSummary struct {
	ServiceName  *OrchestrationServiceNames `json:"serviceName,omitempty"`
	ServiceState *OrchestrationServiceState `json:"serviceState,omitempty"`
}

type PassNames

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

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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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

type PowerOffOperationResponse

type PowerOffOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ProtocolTypes

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

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"
)

type PublicIPAddressSkuTier

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

type RecoveryWalkResponse

type RecoveryWalkResponse struct {
	NextPlatformUpdateDomain *int64 `json:"nextPlatformUpdateDomain,omitempty"`
	WalkPerformed            *bool  `json:"walkPerformed,omitempty"`
}

type RedeployOperationResponse

type RedeployOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ReimageAllOperationResponse

type ReimageAllOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ReimageOperationResponse

type ReimageOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RepairAction

type RepairAction string
const (
	RepairActionReimage RepairAction = "Reimage"
	RepairActionReplace RepairAction = "Replace"
	RepairActionRestart RepairAction = "Restart"
)

type RestartOperationResponse

type RestartOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RollbackStatusInfo

type RollbackStatusInfo struct {
	FailedRolledbackInstanceCount       *int64    `json:"failedRolledbackInstanceCount,omitempty"`
	RollbackError                       *ApiError `json:"rollbackError,omitempty"`
	SuccessfullyRolledbackInstanceCount *int64    `json:"successfullyRolledbackInstanceCount,omitempty"`
}

type RollingUpgradePolicy

type RollingUpgradePolicy struct {
	EnableCrossZoneUpgrade              *bool   `json:"enableCrossZoneUpgrade,omitempty"`
	MaxBatchInstancePercent             *int64  `json:"maxBatchInstancePercent,omitempty"`
	MaxUnhealthyInstancePercent         *int64  `json:"maxUnhealthyInstancePercent,omitempty"`
	MaxUnhealthyUpgradedInstancePercent *int64  `json:"maxUnhealthyUpgradedInstancePercent,omitempty"`
	PauseTimeBetweenBatches             *string `json:"pauseTimeBetweenBatches,omitempty"`
	PrioritizeUnhealthyInstances        *bool   `json:"prioritizeUnhealthyInstances,omitempty"`
}

type RollingUpgradeProgressInfo

type RollingUpgradeProgressInfo struct {
	FailedInstanceCount     *int64 `json:"failedInstanceCount,omitempty"`
	InProgressInstanceCount *int64 `json:"inProgressInstanceCount,omitempty"`
	PendingInstanceCount    *int64 `json:"pendingInstanceCount,omitempty"`
	SuccessfulInstanceCount *int64 `json:"successfulInstanceCount,omitempty"`
}

type ScaleInPolicy

type ScaleInPolicy struct {
	ForceDeletion *bool                                 `json:"forceDeletion,omitempty"`
	Rules         *[]VirtualMachineScaleSetScaleInRules `json:"rules,omitempty"`
}

type ScheduledEventsProfile

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

type SecurityEncryptionTypes

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

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"
)

type SetOrchestrationServiceStateOperationResponse

type SetOrchestrationServiceStateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type SettingNames

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

type Sku

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

type SpotRestorePolicy

type SpotRestorePolicy struct {
	Enabled        *bool   `json:"enabled,omitempty"`
	RestoreTimeout *string `json:"restoreTimeout,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       polling.LongRunningPoller
	HttpResponse *http.Response
}

type StatusLevelTypes

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

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"
)

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 UpdateInstancesOperationResponse

type UpdateInstancesOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpgradeMode

type UpgradeMode string
const (
	UpgradeModeAutomatic UpgradeMode = "Automatic"
	UpgradeModeManual    UpgradeMode = "Manual"
	UpgradeModeRolling   UpgradeMode = "Rolling"
)

type UpgradeOperationHistoricalStatusInfo

type UpgradeOperationHistoricalStatusInfo struct {
	Location   *string                                         `json:"location,omitempty"`
	Properties *UpgradeOperationHistoricalStatusInfoProperties `json:"properties,omitempty"`
	Type       *string                                         `json:"type,omitempty"`
}

type UpgradeOperationHistoricalStatusInfoOperationPredicate

type UpgradeOperationHistoricalStatusInfoOperationPredicate struct {
	Location *string
	Type     *string
}

func (UpgradeOperationHistoricalStatusInfoOperationPredicate) Matches

type UpgradeOperationHistoricalStatusInfoProperties

type UpgradeOperationHistoricalStatusInfoProperties struct {
	Error                *ApiError                      `json:"error,omitempty"`
	Progress             *RollingUpgradeProgressInfo    `json:"progress,omitempty"`
	RollbackInfo         *RollbackStatusInfo            `json:"rollbackInfo,omitempty"`
	RunningStatus        *UpgradeOperationHistoryStatus `json:"runningStatus,omitempty"`
	StartedBy            *UpgradeOperationInvoker       `json:"startedBy,omitempty"`
	TargetImageReference *ImageReference                `json:"targetImageReference,omitempty"`
}

type UpgradeOperationHistoryStatus

type UpgradeOperationHistoryStatus struct {
	Code      *UpgradeState `json:"code,omitempty"`
	EndTime   *string       `json:"endTime,omitempty"`
	StartTime *string       `json:"startTime,omitempty"`
}

func (*UpgradeOperationHistoryStatus) GetEndTimeAsTime

func (o *UpgradeOperationHistoryStatus) GetEndTimeAsTime() (*time.Time, error)

func (*UpgradeOperationHistoryStatus) GetStartTimeAsTime

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

func (*UpgradeOperationHistoryStatus) SetEndTimeAsTime

func (o *UpgradeOperationHistoryStatus) SetEndTimeAsTime(input time.Time)

func (*UpgradeOperationHistoryStatus) SetStartTimeAsTime

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

type UpgradeOperationInvoker

type UpgradeOperationInvoker string
const (
	UpgradeOperationInvokerPlatform UpgradeOperationInvoker = "Platform"
	UpgradeOperationInvokerUnknown  UpgradeOperationInvoker = "Unknown"
	UpgradeOperationInvokerUser     UpgradeOperationInvoker = "User"
)

type UpgradePolicy

type UpgradePolicy struct {
	AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"`
	Mode                     *UpgradeMode              `json:"mode,omitempty"`
	RollingUpgradePolicy     *RollingUpgradePolicy     `json:"rollingUpgradePolicy,omitempty"`
}

type UpgradeState

type UpgradeState string
const (
	UpgradeStateCancelled      UpgradeState = "Cancelled"
	UpgradeStateCompleted      UpgradeState = "Completed"
	UpgradeStateFaulted        UpgradeState = "Faulted"
	UpgradeStateRollingForward UpgradeState = "RollingForward"
)

type VMDiskSecurityProfile

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

type VMGalleryApplication

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

type VMScaleSetConvertToSinglePlacementGroupInput

type VMScaleSetConvertToSinglePlacementGroupInput struct {
	ActivePlacementGroupId *string `json:"activePlacementGroupId,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 VirtualMachineEvictionPolicyTypes

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

type VirtualMachinePriorityTypes

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

type VirtualMachineScaleSet

type VirtualMachineScaleSet 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       *VirtualMachineScaleSetProperties  `json:"properties,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 VirtualMachineScaleSetDataDisk

type VirtualMachineScaleSetDataDisk struct {
	Caching                 *CachingTypes                                `json:"caching,omitempty"`
	CreateOption            DiskCreateOptionTypes                        `json:"createOption"`
	DeleteOption            *DiskDeleteOptionTypes                       `json:"deleteOption,omitempty"`
	DiskIOPSReadWrite       *int64                                       `json:"diskIOPSReadWrite,omitempty"`
	DiskMBpsReadWrite       *int64                                       `json:"diskMBpsReadWrite,omitempty"`
	DiskSizeGB              *int64                                       `json:"diskSizeGB,omitempty"`
	Lun                     int64                                        `json:"lun"`
	ManagedDisk             *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
	Name                    *string                                      `json:"name,omitempty"`
	WriteAcceleratorEnabled *bool                                        `json:"writeAcceleratorEnabled,omitempty"`
}

type VirtualMachineScaleSetExtension

type VirtualMachineScaleSetExtension struct {
	Id         *string                                    `json:"id,omitempty"`
	Name       *string                                    `json:"name,omitempty"`
	Properties *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
	Type       *string                                    `json:"type,omitempty"`
}

type VirtualMachineScaleSetExtensionProfile

type VirtualMachineScaleSetExtensionProfile struct {
	Extensions           *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
	ExtensionsTimeBudget *string                            `json:"extensionsTimeBudget,omitempty"`
}

type VirtualMachineScaleSetExtensionProperties

type VirtualMachineScaleSetExtensionProperties struct {
	AutoUpgradeMinorVersion       *bool                    `json:"autoUpgradeMinorVersion,omitempty"`
	EnableAutomaticUpgrade        *bool                    `json:"enableAutomaticUpgrade,omitempty"`
	ForceUpdateTag                *string                  `json:"forceUpdateTag,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 VirtualMachineScaleSetHardwareProfile

type VirtualMachineScaleSetHardwareProfile struct {
	VMSizeProperties *VMSizeProperties `json:"vmSizeProperties,omitempty"`
}

type VirtualMachineScaleSetIPConfiguration

type VirtualMachineScaleSetIPConfiguration struct {
	Id         *string                                          `json:"id,omitempty"`
	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) 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 VirtualMachineScaleSetInstanceView

type VirtualMachineScaleSetInstanceView struct {
	Extensions            *[]VirtualMachineScaleSetVMExtensionsSummary       `json:"extensions,omitempty"`
	OrchestrationServices *[]OrchestrationServiceSummary                     `json:"orchestrationServices,omitempty"`
	Statuses              *[]InstanceViewStatus                              `json:"statuses,omitempty"`
	VirtualMachine        *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"`
}

type VirtualMachineScaleSetInstanceViewStatusesSummary

type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
	StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

type VirtualMachineScaleSetManagedDiskParameters

type VirtualMachineScaleSetManagedDiskParameters struct {
	DiskEncryptionSet  *SubResource           `json:"diskEncryptionSet,omitempty"`
	SecurityProfile    *VMDiskSecurityProfile `json:"securityProfile,omitempty"`
	StorageAccountType *StorageAccountTypes   `json:"storageAccountType,omitempty"`
}

type VirtualMachineScaleSetNetworkConfiguration

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

type VirtualMachineScaleSetNetworkProfile struct {
	HealthProbe                    *ApiEntityReference                           `json:"healthProbe,omitempty"`
	NetworkApiVersion              *NetworkApiVersion                            `json:"networkApiVersion,omitempty"`
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type VirtualMachineScaleSetOSDisk

type VirtualMachineScaleSetOSDisk 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"`
	Image                   *VirtualHardDisk                             `json:"image,omitempty"`
	ManagedDisk             *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
	Name                    *string                                      `json:"name,omitempty"`
	OsType                  *OperatingSystemTypes                        `json:"osType,omitempty"`
	VhdContainers           *[]string                                    `json:"vhdContainers,omitempty"`
	WriteAcceleratorEnabled *bool                                        `json:"writeAcceleratorEnabled,omitempty"`
}

type VirtualMachineScaleSetOSProfile

type VirtualMachineScaleSetOSProfile struct {
	AdminPassword            *string               `json:"adminPassword,omitempty"`
	AdminUsername            *string               `json:"adminUsername,omitempty"`
	AllowExtensionOperations *bool                 `json:"allowExtensionOperations,omitempty"`
	ComputerNamePrefix       *string               `json:"computerNamePrefix,omitempty"`
	CustomData               *string               `json:"customData,omitempty"`
	LinuxConfiguration       *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	Secrets                  *[]VaultSecretGroup   `json:"secrets,omitempty"`
	WindowsConfiguration     *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type VirtualMachineScaleSetOperationPredicate

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

func (VirtualMachineScaleSetOperationPredicate) Matches

type VirtualMachineScaleSetProperties

type VirtualMachineScaleSetProperties struct {
	AdditionalCapabilities                 *AdditionalCapabilities          `json:"additionalCapabilities,omitempty"`
	AutomaticRepairsPolicy                 *AutomaticRepairsPolicy          `json:"automaticRepairsPolicy,omitempty"`
	DoNotRunExtensionsOnOverprovisionedVMs *bool                            `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"`
	HostGroup                              *SubResource                     `json:"hostGroup,omitempty"`
	OrchestrationMode                      *OrchestrationMode               `json:"orchestrationMode,omitempty"`
	Overprovision                          *bool                            `json:"overprovision,omitempty"`
	PlatformFaultDomainCount               *int64                           `json:"platformFaultDomainCount,omitempty"`
	ProvisioningState                      *string                          `json:"provisioningState,omitempty"`
	ProximityPlacementGroup                *SubResource                     `json:"proximityPlacementGroup,omitempty"`
	ScaleInPolicy                          *ScaleInPolicy                   `json:"scaleInPolicy,omitempty"`
	SinglePlacementGroup                   *bool                            `json:"singlePlacementGroup,omitempty"`
	SpotRestorePolicy                      *SpotRestorePolicy               `json:"spotRestorePolicy,omitempty"`
	TimeCreated                            *string                          `json:"timeCreated,omitempty"`
	UniqueId                               *string                          `json:"uniqueId,omitempty"`
	UpgradePolicy                          *UpgradePolicy                   `json:"upgradePolicy,omitempty"`
	VirtualMachineProfile                  *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
	ZoneBalance                            *bool                            `json:"zoneBalance,omitempty"`
}

func (*VirtualMachineScaleSetProperties) GetTimeCreatedAsTime

func (o *VirtualMachineScaleSetProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*VirtualMachineScaleSetProperties) SetTimeCreatedAsTime

func (o *VirtualMachineScaleSetProperties) SetTimeCreatedAsTime(input time.Time)

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 VirtualMachineScaleSetReimageParameters

type VirtualMachineScaleSetReimageParameters struct {
	InstanceIds *[]string `json:"instanceIds,omitempty"`
	TempDisk    *bool     `json:"tempDisk,omitempty"`
}

type VirtualMachineScaleSetScaleInRules

type VirtualMachineScaleSetScaleInRules string
const (
	VirtualMachineScaleSetScaleInRulesDefault  VirtualMachineScaleSetScaleInRules = "Default"
	VirtualMachineScaleSetScaleInRulesNewestVM VirtualMachineScaleSetScaleInRules = "NewestVM"
	VirtualMachineScaleSetScaleInRulesOldestVM VirtualMachineScaleSetScaleInRules = "OldestVM"
)

type VirtualMachineScaleSetSku

type VirtualMachineScaleSetSku struct {
	Capacity     *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"`
	ResourceType *string                            `json:"resourceType,omitempty"`
	Sku          *Sku                               `json:"sku,omitempty"`
}

type VirtualMachineScaleSetSkuCapacity

type VirtualMachineScaleSetSkuCapacity struct {
	DefaultCapacity *int64                              `json:"defaultCapacity,omitempty"`
	Maximum         *int64                              `json:"maximum,omitempty"`
	Minimum         *int64                              `json:"minimum,omitempty"`
	ScaleType       *VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"`
}

type VirtualMachineScaleSetSkuOperationPredicate

type VirtualMachineScaleSetSkuOperationPredicate struct {
	ResourceType *string
}

func (VirtualMachineScaleSetSkuOperationPredicate) Matches

type VirtualMachineScaleSetSkuScaleType

type VirtualMachineScaleSetSkuScaleType string
const (
	VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic"
	VirtualMachineScaleSetSkuScaleTypeNone      VirtualMachineScaleSetSkuScaleType = "None"
)

type VirtualMachineScaleSetStorageProfile

type VirtualMachineScaleSetStorageProfile struct {
	DataDisks      *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
	ImageReference *ImageReference                   `json:"imageReference,omitempty"`
	OsDisk         *VirtualMachineScaleSetOSDisk     `json:"osDisk,omitempty"`
}

type VirtualMachineScaleSetUpdate

type VirtualMachineScaleSetUpdate struct {
	Identity   *identity.SystemAndUserAssignedMap      `json:"identity,omitempty"`
	Plan       *Plan                                   `json:"plan,omitempty"`
	Properties *VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"`
	Sku        *Sku                                    `json:"sku,omitempty"`
	Tags       *map[string]string                      `json:"tags,omitempty"`
}

type VirtualMachineScaleSetUpdateIPConfiguration

type VirtualMachineScaleSetUpdateIPConfiguration struct {
	Id         *string                                                `json:"id,omitempty"`
	Name       *string                                                `json:"name,omitempty"`
	Properties *VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineScaleSetUpdateIPConfigurationProperties

type VirtualMachineScaleSetUpdateIPConfigurationProperties 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          *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	Subnet                                *ApiEntityReference                                       `json:"subnet,omitempty"`
}

type VirtualMachineScaleSetUpdateNetworkConfiguration

type VirtualMachineScaleSetUpdateNetworkConfiguration struct {
	Id         *string                                                     `json:"id,omitempty"`
	Name       *string                                                     `json:"name,omitempty"`
	Properties *VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineScaleSetUpdateNetworkConfigurationProperties

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

type VirtualMachineScaleSetUpdateNetworkProfile

type VirtualMachineScaleSetUpdateNetworkProfile struct {
	HealthProbe                    *ApiEntityReference                                 `json:"healthProbe,omitempty"`
	NetworkApiVersion              *NetworkApiVersion                                  `json:"networkApiVersion,omitempty"`
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type VirtualMachineScaleSetUpdateOSDisk

type VirtualMachineScaleSetUpdateOSDisk struct {
	Caching                 *CachingTypes                                `json:"caching,omitempty"`
	DeleteOption            *DiskDeleteOptionTypes                       `json:"deleteOption,omitempty"`
	DiskSizeGB              *int64                                       `json:"diskSizeGB,omitempty"`
	Image                   *VirtualHardDisk                             `json:"image,omitempty"`
	ManagedDisk             *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
	VhdContainers           *[]string                                    `json:"vhdContainers,omitempty"`
	WriteAcceleratorEnabled *bool                                        `json:"writeAcceleratorEnabled,omitempty"`
}

type VirtualMachineScaleSetUpdateOSProfile

type VirtualMachineScaleSetUpdateOSProfile struct {
	CustomData           *string               `json:"customData,omitempty"`
	LinuxConfiguration   *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	Secrets              *[]VaultSecretGroup   `json:"secrets,omitempty"`
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type VirtualMachineScaleSetUpdateProperties

type VirtualMachineScaleSetUpdateProperties struct {
	AdditionalCapabilities                 *AdditionalCapabilities                `json:"additionalCapabilities,omitempty"`
	AutomaticRepairsPolicy                 *AutomaticRepairsPolicy                `json:"automaticRepairsPolicy,omitempty"`
	DoNotRunExtensionsOnOverprovisionedVMs *bool                                  `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"`
	Overprovision                          *bool                                  `json:"overprovision,omitempty"`
	ProximityPlacementGroup                *SubResource                           `json:"proximityPlacementGroup,omitempty"`
	ScaleInPolicy                          *ScaleInPolicy                         `json:"scaleInPolicy,omitempty"`
	SinglePlacementGroup                   *bool                                  `json:"singlePlacementGroup,omitempty"`
	UpgradePolicy                          *UpgradePolicy                         `json:"upgradePolicy,omitempty"`
	VirtualMachineProfile                  *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"`
}

type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration

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

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct {
	DeleteOption         *DeleteOptions                                                 `json:"deleteOption,omitempty"`
	DnsSettings          *VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings `json:"dnsSettings,omitempty"`
	IdleTimeoutInMinutes *int64                                                         `json:"idleTimeoutInMinutes,omitempty"`
	PublicIPPrefix       *SubResource                                                   `json:"publicIPPrefix,omitempty"`
}

type VirtualMachineScaleSetUpdateStorageProfile

type VirtualMachineScaleSetUpdateStorageProfile struct {
	DataDisks      *[]VirtualMachineScaleSetDataDisk   `json:"dataDisks,omitempty"`
	ImageReference *ImageReference                     `json:"imageReference,omitempty"`
	OsDisk         *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"`
}

type VirtualMachineScaleSetUpdateVMProfile

type VirtualMachineScaleSetUpdateVMProfile struct {
	BillingProfile         *BillingProfile                             `json:"billingProfile,omitempty"`
	DiagnosticsProfile     *DiagnosticsProfile                         `json:"diagnosticsProfile,omitempty"`
	ExtensionProfile       *VirtualMachineScaleSetExtensionProfile     `json:"extensionProfile,omitempty"`
	LicenseType            *string                                     `json:"licenseType,omitempty"`
	NetworkProfile         *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"`
	OsProfile              *VirtualMachineScaleSetUpdateOSProfile      `json:"osProfile,omitempty"`
	ScheduledEventsProfile *ScheduledEventsProfile                     `json:"scheduledEventsProfile,omitempty"`
	SecurityProfile        *SecurityProfile                            `json:"securityProfile,omitempty"`
	StorageProfile         *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"`
	UserData               *string                                     `json:"userData,omitempty"`
}

type VirtualMachineScaleSetVMExtensionsSummary

type VirtualMachineScaleSetVMExtensionsSummary struct {
	Name            *string                          `json:"name,omitempty"`
	StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

type VirtualMachineScaleSetVMInstanceIDs

type VirtualMachineScaleSetVMInstanceIDs struct {
	InstanceIds *[]string `json:"instanceIds,omitempty"`
}

type VirtualMachineScaleSetVMInstanceRequiredIDs

type VirtualMachineScaleSetVMInstanceRequiredIDs struct {
	InstanceIds []string `json:"instanceIds"`
}

type VirtualMachineScaleSetVMProfile

type VirtualMachineScaleSetVMProfile struct {
	ApplicationProfile     *ApplicationProfile                     `json:"applicationProfile,omitempty"`
	BillingProfile         *BillingProfile                         `json:"billingProfile,omitempty"`
	CapacityReservation    *CapacityReservationProfile             `json:"capacityReservation,omitempty"`
	DiagnosticsProfile     *DiagnosticsProfile                     `json:"diagnosticsProfile,omitempty"`
	EvictionPolicy         *VirtualMachineEvictionPolicyTypes      `json:"evictionPolicy,omitempty"`
	ExtensionProfile       *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
	HardwareProfile        *VirtualMachineScaleSetHardwareProfile  `json:"hardwareProfile,omitempty"`
	LicenseType            *string                                 `json:"licenseType,omitempty"`
	NetworkProfile         *VirtualMachineScaleSetNetworkProfile   `json:"networkProfile,omitempty"`
	OsProfile              *VirtualMachineScaleSetOSProfile        `json:"osProfile,omitempty"`
	Priority               *VirtualMachinePriorityTypes            `json:"priority,omitempty"`
	ScheduledEventsProfile *ScheduledEventsProfile                 `json:"scheduledEventsProfile,omitempty"`
	SecurityProfile        *SecurityProfile                        `json:"securityProfile,omitempty"`
	StorageProfile         *VirtualMachineScaleSetStorageProfile   `json:"storageProfile,omitempty"`
	UserData               *string                                 `json:"userData,omitempty"`
}

type VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewVirtualMachineScaleSetsClientWithBaseURI

func NewVirtualMachineScaleSetsClientWithBaseURI(endpoint string) VirtualMachineScaleSetsClient

func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup

ConvertToSinglePlacementGroup ...

func (VirtualMachineScaleSetsClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualMachineScaleSetsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualMachineScaleSetsClient) Deallocate

Deallocate ...

func (VirtualMachineScaleSetsClient) DeallocateThenPoll

DeallocateThenPoll performs Deallocate then polls until it's completed

func (VirtualMachineScaleSetsClient) Delete

Delete ...

func (VirtualMachineScaleSetsClient) DeleteInstances

DeleteInstances ...

func (VirtualMachineScaleSetsClient) DeleteInstancesThenPoll

DeleteInstancesThenPoll performs DeleteInstances then polls until it's completed

func (VirtualMachineScaleSetsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk

ForceRecoveryServiceFabricPlatformUpdateDomainWalk ...

func (VirtualMachineScaleSetsClient) Get

Get ...

func (VirtualMachineScaleSetsClient) GetInstanceView

GetInstanceView ...

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistory

GetOSUpgradeHistory ...

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete

GetOSUpgradeHistoryComplete retrieves all of the results into a single object

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryCompleteMatchingPredicate

GetOSUpgradeHistoryCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VirtualMachineScaleSetsClient) List

List ...

func (VirtualMachineScaleSetsClient) ListAll

ListAll ...

func (VirtualMachineScaleSetsClient) ListAllComplete

ListAllComplete retrieves all of the results into a single object

func (VirtualMachineScaleSetsClient) ListAllCompleteMatchingPredicate

ListAllCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VirtualMachineScaleSetsClient) ListByLocation

ListByLocation ...

func (VirtualMachineScaleSetsClient) ListByLocationComplete

ListByLocationComplete retrieves all of the results into a single object

func (VirtualMachineScaleSetsClient) ListByLocationCompleteMatchingPredicate

func (c VirtualMachineScaleSetsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate VirtualMachineScaleSetOperationPredicate) (resp ListByLocationCompleteResult, err error)

ListByLocationCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VirtualMachineScaleSetsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (VirtualMachineScaleSetsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VirtualMachineScaleSetsClient) ListSkus

ListSkus ...

func (VirtualMachineScaleSetsClient) ListSkusComplete

ListSkusComplete retrieves all of the results into a single object

func (VirtualMachineScaleSetsClient) ListSkusCompleteMatchingPredicate

ListSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VirtualMachineScaleSetsClient) PerformMaintenance

PerformMaintenance ...

func (VirtualMachineScaleSetsClient) PerformMaintenanceThenPoll

PerformMaintenanceThenPoll performs PerformMaintenance then polls until it's completed

func (VirtualMachineScaleSetsClient) PowerOff

PowerOff ...

func (VirtualMachineScaleSetsClient) PowerOffThenPoll

PowerOffThenPoll performs PowerOff then polls until it's completed

func (VirtualMachineScaleSetsClient) Redeploy

Redeploy ...

func (VirtualMachineScaleSetsClient) RedeployThenPoll

RedeployThenPoll performs Redeploy then polls until it's completed

func (VirtualMachineScaleSetsClient) Reimage

Reimage ...

func (VirtualMachineScaleSetsClient) ReimageAll

ReimageAll ...

func (VirtualMachineScaleSetsClient) ReimageAllThenPoll

ReimageAllThenPoll performs ReimageAll then polls until it's completed

func (VirtualMachineScaleSetsClient) ReimageThenPoll

ReimageThenPoll performs Reimage then polls until it's completed

func (VirtualMachineScaleSetsClient) Restart

Restart ...

func (VirtualMachineScaleSetsClient) RestartThenPoll

RestartThenPoll performs Restart then polls until it's completed

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceState

SetOrchestrationServiceState ...

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStateThenPoll

func (c VirtualMachineScaleSetsClient) SetOrchestrationServiceStateThenPoll(ctx context.Context, id VirtualMachineScaleSetId, input OrchestrationServiceStateInput) error

SetOrchestrationServiceStateThenPoll performs SetOrchestrationServiceState then polls until it's completed

func (VirtualMachineScaleSetsClient) Start

Start ...

func (VirtualMachineScaleSetsClient) StartThenPoll

StartThenPoll performs Start then polls until it's completed

func (VirtualMachineScaleSetsClient) Update

Update ...

func (VirtualMachineScaleSetsClient) UpdateInstances

UpdateInstances ...

func (VirtualMachineScaleSetsClient) UpdateInstancesThenPoll

UpdateInstancesThenPoll performs UpdateInstances then polls until it's completed

func (VirtualMachineScaleSetsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type VirtualMachineStatusCodeCount

type VirtualMachineStatusCodeCount struct {
	Code  *string `json:"code,omitempty"`
	Count *int64  `json:"count,omitempty"`
}

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 WindowsPatchAssessmentMode

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

type WindowsVMGuestPatchAutomaticByPlatformRebootSetting

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

type WindowsVMGuestPatchAutomaticByPlatformSettings

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

type WindowsVMGuestPatchMode

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

Source Files

Jump to

Keyboard shortcuts

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