From b32d4948add30d2a084e6adcfbf176c495b063ce Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 28 Sep 2018 16:53:14 +0000 Subject: [PATCH] Generated from 4927713e353793ac5f22f0c0954e51ba5623034e Added VirtualMachineImageProperties.AutomaticOSUpgradeProperties in GET VMImageVersion API Added VirtualMachineImageProperties.AutomaticOSUpgradeProperties in GET VMImageVersion API --- profiles/preview/compute/mgmt/compute/models.go | 1 + services/compute/mgmt/2018-10-01/compute/models.go | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/profiles/preview/compute/mgmt/compute/models.go b/profiles/preview/compute/mgmt/compute/models.go index 755a7865edf6..d579d3e566cb 100644 --- a/profiles/preview/compute/mgmt/compute/models.go +++ b/profiles/preview/compute/mgmt/compute/models.go @@ -584,6 +584,7 @@ type APIEntityReference = original.APIEntityReference type APIError = original.APIError type APIErrorBase = original.APIErrorBase type AutomaticOSUpgradePolicy = original.AutomaticOSUpgradePolicy +type AutomaticOSUpgradeProperties = original.AutomaticOSUpgradeProperties type AvailabilitySet = original.AvailabilitySet type AvailabilitySetListResult = original.AvailabilitySetListResult type AvailabilitySetListResultIterator = original.AvailabilitySetListResultIterator diff --git a/services/compute/mgmt/2018-10-01/compute/models.go b/services/compute/mgmt/2018-10-01/compute/models.go index 48945e98b1bd..c6e8eb32f064 100644 --- a/services/compute/mgmt/2018-10-01/compute/models.go +++ b/services/compute/mgmt/2018-10-01/compute/models.go @@ -1217,6 +1217,12 @@ type AutomaticOSUpgradePolicy struct { DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"` } +// AutomaticOSUpgradeProperties describes automatic OS upgrade properties on the image. +type AutomaticOSUpgradeProperties struct { + // AutomaticOSUpgradeSupported - Specifies whether automatic OS upgrade is supported on the image. + AutomaticOSUpgradeSupported *bool `json:"automaticOSUpgradeSupported,omitempty"` +} + // AvailabilitySet specifies information about the availability set that the virtual machine should be assigned to. // Virtual machines specified in the same availability set are allocated to different nodes to maximize // availability. For more information about availability sets, see [Manage the availability of virtual @@ -6438,9 +6444,10 @@ func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error { // VirtualMachineImageProperties describes the properties of a Virtual Machine Image. type VirtualMachineImageProperties struct { - Plan *PurchasePlan `json:"plan,omitempty"` - OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` - DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` + Plan *PurchasePlan `json:"plan,omitempty"` + OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` + DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` + AutomaticOSUpgradeProperties *AutomaticOSUpgradeProperties `json:"automaticOSUpgradeProperties,omitempty"` } // VirtualMachineImageResource virtual machine image resource information.