From c1ef7817ee207203cb0ab37ce197835db9d7256b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 28 Mar 2019 23:03:38 +0000 Subject: [PATCH] Generated from 4b680fe0d8c7b18db179d6a5e43c07b6cd6879b4 updating description for enableAutomaticUpdates and enableAutomaticOSUpgrade --- .../latest/compute/mgmt/compute/models.go | 1 + .../preview/compute/mgmt/compute/models.go | 1 + .../compute/mgmt/2018-10-01/compute/models.go | 21 ++++++++++++++++--- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/profiles/latest/compute/mgmt/compute/models.go b/profiles/latest/compute/mgmt/compute/models.go index 7a5b0c169a15..e9566f0143ad 100644 --- a/profiles/latest/compute/mgmt/compute/models.go +++ b/profiles/latest/compute/mgmt/compute/models.go @@ -900,6 +900,7 @@ type VirtualMachineScaleSetVMsRestartFuture = original.VirtualMachineScaleSetVMs type VirtualMachineScaleSetVMsRunCommandFuture = original.VirtualMachineScaleSetVMsRunCommandFuture type VirtualMachineScaleSetVMsStartFuture = original.VirtualMachineScaleSetVMsStartFuture type VirtualMachineScaleSetVMsUpdateFuture = original.VirtualMachineScaleSetVMsUpdateFuture +type VirtualMachineScaleSetWindowsConfiguration = original.VirtualMachineScaleSetWindowsConfiguration type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient type VirtualMachineScaleSetsCreateOrUpdateFuture = original.VirtualMachineScaleSetsCreateOrUpdateFuture type VirtualMachineScaleSetsDeallocateFuture = original.VirtualMachineScaleSetsDeallocateFuture diff --git a/profiles/preview/compute/mgmt/compute/models.go b/profiles/preview/compute/mgmt/compute/models.go index 4997c66be905..dd585e4aca84 100644 --- a/profiles/preview/compute/mgmt/compute/models.go +++ b/profiles/preview/compute/mgmt/compute/models.go @@ -900,6 +900,7 @@ type VirtualMachineScaleSetVMsRestartFuture = original.VirtualMachineScaleSetVMs type VirtualMachineScaleSetVMsRunCommandFuture = original.VirtualMachineScaleSetVMsRunCommandFuture type VirtualMachineScaleSetVMsStartFuture = original.VirtualMachineScaleSetVMsStartFuture type VirtualMachineScaleSetVMsUpdateFuture = original.VirtualMachineScaleSetVMsUpdateFuture +type VirtualMachineScaleSetWindowsConfiguration = original.VirtualMachineScaleSetWindowsConfiguration type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient type VirtualMachineScaleSetsCreateOrUpdateFuture = original.VirtualMachineScaleSetsCreateOrUpdateFuture type VirtualMachineScaleSetsDeallocateFuture = original.VirtualMachineScaleSetsDeallocateFuture diff --git a/services/compute/mgmt/2018-10-01/compute/models.go b/services/compute/mgmt/2018-10-01/compute/models.go index 4c7874326ac6..99bc7fd53e52 100644 --- a/services/compute/mgmt/2018-10-01/compute/models.go +++ b/services/compute/mgmt/2018-10-01/compute/models.go @@ -8557,7 +8557,7 @@ type VirtualMachineScaleSetOSProfile struct { // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine. - WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` + WindowsConfiguration *VirtualMachineScaleSetWindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)

For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - Specifies set of certificates that should be installed onto the virtual machines in the scale set. @@ -9372,7 +9372,7 @@ type VirtualMachineScaleSetUpdateOSProfile struct { // CustomData - A base-64 encoded string of custom data. CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - The Windows Configuration of the OS profile. - WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` + WindowsConfiguration *VirtualMachineScaleSetWindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - The Linux Configuration of the OS profile. LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - The List of certificates for addition to the VM. @@ -10177,6 +10177,21 @@ func (future *VirtualMachineScaleSetVMsUpdateFuture) Result(client VirtualMachin return } +// VirtualMachineScaleSetWindowsConfiguration specifies Windows operating system settings on the virtual +// machine. +type VirtualMachineScaleSetWindowsConfiguration struct { + // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` + // EnableAutomaticUpdates - Indicates whether Virtual Machine Scale Set virtual machine is enabled for automatic windows updates.

Default behavior is true. Updates to this property will take effect on OS reprovisioning. + EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` + // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time" + TimeZone *string `json:"timeZone,omitempty"` + // AdditionalUnattendContent - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. + AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"` + // WinRM - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. + WinRM *WinRMConfiguration `json:"winRM,omitempty"` +} + // VirtualMachinesCaptureFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type VirtualMachinesCaptureFuture struct { @@ -10630,7 +10645,7 @@ func (vmu *VirtualMachineUpdate) UnmarshalJSON(body []byte) error { type WindowsConfiguration struct { // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` - // EnableAutomaticUpdates - Indicates whether virtual machine is enabled for automatic updates. + // EnableAutomaticUpdates - Indicates whether virtual machine is enabled for automatic windows updates.

Default behavior is true. EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time" TimeZone *string `json:"timeZone,omitempty"`