virtualmachinescalesets

package
v0.20240715.1103416 Latest Latest
Warning

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

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

README

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

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

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

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-07-01/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 := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

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

Example Usage: VirtualMachineScaleSetsClient.ListAll

ctx := context.TODO()
id := commonids.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 PossibleValuesForExpandTypesForGetVMScaleSets

func PossibleValuesForExpandTypesForGetVMScaleSets() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []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 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 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"`
}

type AutomaticRepairsPolicy

type AutomaticRepairsPolicy struct {
	Enabled     *bool   `json:"enabled,omitempty"`
	GracePeriod *string `json:"gracePeriod,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"
)

func (*CachingTypes) UnmarshalJSON

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

type CapacityReservationProfile

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

type ComponentNames

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

func (*ComponentNames) UnmarshalJSON

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

type ConvertToSinglePlacementGroupOperationResponse

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

type CreateOrUpdateOperationResponse

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

type DeallocateOperationResponse

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

type DeleteInstancesOperationOptions

type DeleteInstancesOperationOptions struct {
	ForceDeletion *bool
}

func DefaultDeleteInstancesOperationOptions

func DefaultDeleteInstancesOperationOptions() DeleteInstancesOperationOptions

func (DeleteInstancesOperationOptions) ToHeaders

func (DeleteInstancesOperationOptions) ToOData

func (DeleteInstancesOperationOptions) ToQuery

type DeleteInstancesOperationResponse

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

type DeleteOperationOptions

type DeleteOperationOptions struct {
	ForceDeletion *bool
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

func (DeleteOperationOptions) ToHeaders

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

func (DeleteOperationOptions) ToOData

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

func (DeleteOperationOptions) ToQuery

type DeleteOperationResponse

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

type DeleteOptions

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

func (*DeleteOptions) UnmarshalJSON

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

type DiagnosticsProfile

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

type DiffDiskOptions

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

func (*DiffDiskOptions) UnmarshalJSON

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

type DiffDiskPlacement

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

func (*DiffDiskPlacement) UnmarshalJSON

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

type DiffDiskSettings

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

type DiskCreateOptionTypes

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

func (*DiskCreateOptionTypes) UnmarshalJSON

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

type ExpandTypesForGetVMScaleSets

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

func (*ExpandTypesForGetVMScaleSets) UnmarshalJSON

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

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions struct {
	PlatformUpdateDomain *int64
}

func (ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions) ToHeaders

func (ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions) ToOData

func (ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationOptions) ToQuery

type ForceRecoveryServiceFabricPlatformUpdateDomainWalkOperationResponse

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

type GetInstanceViewOperationResponse

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

type GetOSUpgradeHistoryCompleteResult

type GetOSUpgradeHistoryCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []UpgradeOperationHistoricalStatusInfo
}

type GetOSUpgradeHistoryCustomPager added in v0.20240628.1153531

type GetOSUpgradeHistoryCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *GetOSUpgradeHistoryCustomPager) NextPageLink() *odata.Link

type GetOSUpgradeHistoryOperationResponse

type GetOSUpgradeHistoryOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]UpgradeOperationHistoricalStatusInfo
}

type GetOperationOptions

type GetOperationOptions struct {
	Expand *ExpandTypesForGetVMScaleSets
}

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

type IPVersion

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

func (*IPVersion) UnmarshalJSON

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

type ImageReference

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

type InnerError

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

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

func (*LinuxPatchAssessmentMode) UnmarshalJSON

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

type LinuxPatchSettings

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

type LinuxVMGuestPatchMode

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

func (*LinuxVMGuestPatchMode) UnmarshalJSON

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

type ListAllCompleteResult

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

type ListAllCustomPager added in v0.20240628.1153531

type ListAllCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAllCustomPager) NextPageLink() *odata.Link

type ListAllOperationResponse

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

type ListByLocationCompleteResult

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

type ListByLocationCustomPager added in v0.20240628.1153531

type ListByLocationCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByLocationCustomPager) NextPageLink() *odata.Link

type ListByLocationOperationResponse

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

type ListCompleteResult

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

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

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

type ListSkusCompleteResult

type ListSkusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachineScaleSetSku
}

type ListSkusCustomPager added in v0.20240628.1153531

type ListSkusCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListSkusCustomPager) NextPageLink() *odata.Link

type ListSkusOperationResponse

type ListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachineScaleSetSku
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

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

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

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

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

func (*LocationId) FromParseResult

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type NetworkApiVersion

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

func (*NetworkApiVersion) UnmarshalJSON

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

type OperatingSystemTypes

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

func (*OperatingSystemTypes) UnmarshalJSON

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

type OrchestrationMode

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

func (*OrchestrationMode) UnmarshalJSON

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

type OrchestrationServiceNames

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

func (*OrchestrationServiceNames) UnmarshalJSON

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

type OrchestrationServiceState

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

func (*OrchestrationServiceState) UnmarshalJSON

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

type OrchestrationServiceStateAction

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

func (*OrchestrationServiceStateAction) UnmarshalJSON

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

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

func (*PassNames) UnmarshalJSON

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

type PatchSettings

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

type PerformMaintenanceOperationResponse

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

type Plan

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

type PowerOffOperationOptions

type PowerOffOperationOptions struct {
	SkipShutdown *bool
}

func DefaultPowerOffOperationOptions

func DefaultPowerOffOperationOptions() PowerOffOperationOptions

func (PowerOffOperationOptions) ToHeaders

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

func (PowerOffOperationOptions) ToOData

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

func (PowerOffOperationOptions) ToQuery

type PowerOffOperationResponse

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

type ProtocolTypes

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

func (*ProtocolTypes) UnmarshalJSON

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

type PublicIPAddressSku

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

type PublicIPAddressSkuName

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

func (*PublicIPAddressSkuName) UnmarshalJSON

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

type PublicIPAddressSkuTier

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

func (*PublicIPAddressSkuTier) UnmarshalJSON

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

type RecoveryWalkResponse

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

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

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

type SecurityTypes

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

func (*SecurityTypes) UnmarshalJSON

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

type SetOrchestrationServiceStateOperationResponse

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

type SettingNames

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

func (*SettingNames) UnmarshalJSON

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

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       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type StatusLevelTypes

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

func (*StatusLevelTypes) UnmarshalJSON

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

type StorageAccountTypes

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

func (*StorageAccountTypes) UnmarshalJSON

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

type 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       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateOperationResponse

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

type UpgradeMode

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

func (*UpgradeMode) UnmarshalJSON

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

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

func (*UpgradeOperationInvoker) UnmarshalJSON

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

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

func (*UpgradeState) UnmarshalJSON

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

type VMGalleryApplication

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

type VMScaleSetConvertToSinglePlacementGroupInput

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

func (*VirtualMachineEvictionPolicyTypes) UnmarshalJSON

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

type VirtualMachinePriorityTypes

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

func (*VirtualMachinePriorityTypes) UnmarshalJSON

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

type 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"`
	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"`
	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 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) 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 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"`
	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"`
	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"`
	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"`
	UniqueId                               *string                          `json:"uniqueId,omitempty"`
	UpgradePolicy                          *UpgradePolicy                   `json:"upgradePolicy,omitempty"`
	VirtualMachineProfile                  *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
	ZoneBalance                            *bool                            `json:"zoneBalance,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 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"
)

func (*VirtualMachineScaleSetScaleInRules) UnmarshalJSON

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

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

func (*VirtualMachineScaleSetSkuScaleType) UnmarshalJSON

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

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"`
	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"`
}

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"`
	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 *resourcemanager.Client
}

func NewVirtualMachineScaleSetsClientWithBaseURI

func NewVirtualMachineScaleSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineScaleSetsClient, error)

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 the results into a single object

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryCompleteMatchingPredicate

GetOSUpgradeHistoryCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineScaleSetsClient) List

List ...

func (VirtualMachineScaleSetsClient) ListAll

ListAll ...

func (VirtualMachineScaleSetsClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (VirtualMachineScaleSetsClient) ListAllCompleteMatchingPredicate

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineScaleSetsClient) ListByLocation

ListByLocation ...

func (VirtualMachineScaleSetsClient) ListByLocationComplete

ListByLocationComplete retrieves all the results into a single object

func (VirtualMachineScaleSetsClient) ListByLocationCompleteMatchingPredicate

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

ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineScaleSetsClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualMachineScaleSetsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineScaleSetsClient) ListSkus

ListSkus ...

func (VirtualMachineScaleSetsClient) ListSkusComplete

ListSkusComplete retrieves all the results into a single object

func (VirtualMachineScaleSetsClient) ListSkusCompleteMatchingPredicate

ListSkusCompleteMatchingPredicate retrieves all the results and then applies 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"
)

func (*WindowsPatchAssessmentMode) UnmarshalJSON

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

type WindowsVMGuestPatchMode

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

func (*WindowsVMGuestPatchMode) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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