diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AdditionalUnattendContent.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AdditionalUnattendContent.java index 649e66be1aa6..06fa5b74593d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AdditionalUnattendContent.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AdditionalUnattendContent.java @@ -10,36 +10,36 @@ /** - * Gets or sets additional XML formatted information that can be included in - * the Unattend.xml file, which is used by Windows Setup. Contents are - * defined by setting name, component name, and the pass in which the content - * is a applied. + * additional XML formatted information that can be included in the + * Unattend.xml file, which is used by Windows Setup. Contents are defined by + * setting name, component name, and the pass in which the content is a + * applied. */ public class AdditionalUnattendContent { /** - * Gets or sets the pass name. Currently, the only allowable value is - * oobeSystem. Possible values include: 'oobeSystem'. + * the pass name. Currently, the only allowable value is oobeSystem. + * Possible values include: 'oobeSystem'. */ private PassNames passName; /** - * Gets or sets the component name. Currently, the only allowable value is + * the component name. Currently, the only allowable value is * Microsoft-Windows-Shell-Setup. Possible values include: * 'Microsoft-Windows-Shell-Setup'. */ private ComponentNames componentName; /** - * Gets or sets setting name (e.g. FirstLogonCommands, AutoLogon ). - * Possible values include: 'AutoLogon', 'FirstLogonCommands'. + * setting name (e.g. FirstLogonCommands, AutoLogon ). Possible values + * include: 'AutoLogon', 'FirstLogonCommands'. */ private SettingNames settingName; /** - * Gets or sets XML formatted content that is added to the unattend.xml - * file in the specified pass and component.The XML must be less than 4 - * KB and must include the root element for the setting or feature that - * is being inserted. + * XML formatted content that is added to the unattend.xml file in the + * specified pass and component.The XML must be less than 4 KB and must + * include the root element for the setting or feature that is being + * inserted. */ private String content; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiEntityReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiEntityReference.java index 8cb819258b1a..f18e4706bb56 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiEntityReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiEntityReference.java @@ -14,7 +14,7 @@ */ public class ApiEntityReference { /** - * Gets or sets ARM resource id in the form of + * the ARM resource id in the form of * /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... */ private String id; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiError.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiError.java index 25a0ef07060c..4c6dd6f433c9 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiError.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiError.java @@ -15,27 +15,27 @@ */ public class ApiError { /** - * Gets or sets the Api error details. + * the Api error details. */ private List details; /** - * Gets or sets the Api inner error. + * the Api inner error. */ private InnerError innererror; /** - * Gets or sets the error code. + * the error code. */ private String code; /** - * Gets or sets the target of the particular error. + * the target of the particular error. */ private String target; /** - * Gets or sets the error message. + * the error message. */ private String message; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiErrorBase.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiErrorBase.java index f69f7017f1b3..2baa508f139e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiErrorBase.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ApiErrorBase.java @@ -14,17 +14,17 @@ */ public class ApiErrorBase { /** - * Gets or sets the error code. + * the error code. */ private String code; /** - * Gets or sets the target of the particular error. + * the target of the particular error. */ private String target; /** - * Gets or sets the error message. + * the error message. */ private String message; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnostics.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnostics.java index 242a653b9868..ae91daff8bf7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnostics.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnostics.java @@ -14,13 +14,12 @@ */ public class BootDiagnostics { /** - * Gets or sets whether boot diagnostics should be enabled on the Virtual - * Machine. + * whether boot diagnostics should be enabled on the Virtual Machine. */ private Boolean enabled; /** - * Gets or sets the boot diagnostics storage Uri. It should be a valid Uri. + * the boot diagnostics storage Uri. It should be a valid Uri. */ private String storageUri; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnosticsInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnosticsInstanceView.java index 008a1dc8690b..ccb4f1289e72 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnosticsInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/BootDiagnosticsInstanceView.java @@ -14,12 +14,12 @@ */ public class BootDiagnosticsInstanceView { /** - * Gets or sets the console screenshot blob Uri. + * the console screenshot blob Uri. */ private String consoleScreenshotBlobUri; /** - * Gets or sets the Linux serial console log blob Uri. + * the Linux serial console log blob Uri. */ private String serialConsoleLogBlobUri; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDisk.java index f076987d11ea..2f7d22d3a986 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDisk.java @@ -15,47 +15,46 @@ */ public class DataDisk { /** - * Gets or sets the logical unit number. + * the logical unit number. */ @JsonProperty(required = true) private int lun; /** - * Gets or sets the disk name. + * the disk name. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the Virtual Hard Disk. + * the Virtual Hard Disk. */ @JsonProperty(required = true) private VirtualHardDisk vhd; /** - * Gets or sets the Source User Image VirtualHardDisk. This - * VirtualHardDisk will be copied before using it to attach to the - * Virtual Machine.If SourceImage is provided, the destination - * VirtualHardDisk should not exist. + * the Source User Image VirtualHardDisk. This VirtualHardDisk will be + * copied before using it to attach to the Virtual Machine.If SourceImage + * is provided, the destination VirtualHardDisk should not exist. */ private VirtualHardDisk image; /** - * Gets or sets the caching type. Possible values include: 'None', - * 'ReadOnly', 'ReadWrite'. + * the caching type. Possible values include: 'None', 'ReadOnly', + * 'ReadWrite'. */ private CachingTypes caching; /** - * Gets or sets the create option. Possible values include: 'fromImage', - * 'empty', 'attach'. + * the create option. Possible values include: 'fromImage', 'empty', + * 'attach'. */ @JsonProperty(required = true) private DiskCreateOptionTypes createOption; /** - * Gets or sets the initial disk size in GB for blank data disks, and the - * new desired size for existing OS and Data disks. + * the initial disk size in GB for blank data disks, and the new desired + * size for existing OS and Data disks. */ private Integer diskSizeGB; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java index d4409a7bfb6c..038edcc28722 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java @@ -15,9 +15,9 @@ */ public class DataDiskImage { /** - * Gets the LUN number for a data disk.This value is used to identify data - * disk image inside the VMImage therefore it must be unique for each - * data disk.The allowed character for the value is digit. + * the LUN number for a data disk.This value is used to identify data disk + * image inside the VMImage therefore it must be unique for each data + * disk.The allowed character for the value is digit. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Integer lun; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java index af4e5ad64574..59d306ca2055 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java @@ -14,7 +14,7 @@ */ public class DiagnosticsProfile { /** - * Gets or sets the boot diagnostics. + * the boot diagnostics. */ private BootDiagnostics bootDiagnostics; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java index a58bf2998802..f8297fc8053c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java @@ -8,26 +8,23 @@ package com.microsoft.azure.management.compute; -import com.fasterxml.jackson.annotation.JsonProperty; /** * Describes a Encryption Settings for a Disk. */ public class DiskEncryptionSettings { /** - * Gets or sets the disk encryption key which is a KeyVault Secret. + * the disk encryption key which is a KeyVault Secret. */ - @JsonProperty(required = true) private KeyVaultSecretReference diskEncryptionKey; /** - * Gets or sets the key encryption key which is KeyVault Key. + * the key encryption key which is KeyVault Key. */ private KeyVaultKeyReference keyEncryptionKey; /** - * Gets or sets whether disk encryption should be enabled on the Virtual - * Machine. + * whether disk encryption should be enabled on the Virtual Machine. */ private Boolean enabled; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java index 354a530f9912..7da6247cf75c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java @@ -15,12 +15,12 @@ */ public class DiskInstanceView { /** - * Gets or sets the disk name. + * the disk name. */ private String name; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java deleted file mode 100644 index 0d7b5cdf2168..000000000000 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - */ - -package com.microsoft.azure.management.compute; - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for ForceUpdateTagTypes. - */ -public enum ForceUpdateTagTypes { - /** Enum value RerunExtension. */ - RERUN_EXTENSION("RerunExtension"); - - /** The actual serialized value for a ForceUpdateTagTypes instance. */ - private String value; - - ForceUpdateTagTypes(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ForceUpdateTagTypes instance. - * - * @param value the serialized value to parse. - * @return the parsed ForceUpdateTagTypes object, or null if unable to parse. - */ - @JsonCreator - public static ForceUpdateTagTypes fromString(String value) { - ForceUpdateTagTypes[] items = ForceUpdateTagTypes.values(); - for (ForceUpdateTagTypes item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - @JsonValue - @Override - public String toString() { - return this.value; - } -} diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java index 2ea76a93ffd4..40533907956e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java @@ -23,11 +23,15 @@ public class HardwareProfile { * 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', * 'Standard_D5_v2', 'Standard_D11_v2', 'Standard_D12_v2', - * 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_DS1', 'Standard_DS2', - * 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', - * 'Standard_DS13', 'Standard_DS14', 'Standard_G1', 'Standard_G2', - * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - * 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5'. + * 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_D15_v2', + * 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', + * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', + * 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', + * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', + * 'Standard_DS15_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', + * 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', + * 'Standard_GS3', 'Standard_GS4', 'Standard_GS5'. */ private String vmSize; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java index 3bd579126309..aab2da9e8be9 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java @@ -14,24 +14,24 @@ */ public class ImageReference { /** - * Gets or sets the image publisher. + * the image publisher. */ private String publisher; /** - * Gets or sets the image offer. + * the image offer. */ private String offer; /** - * Gets or sets the image sku. + * the image sku. */ private String sku; /** - * Gets or sets the image version. The allowed formats are - * Major.Minor.Build or 'latest'. Major, Minor and Build being decimal - * numbers. Specify 'latest' to use the latest version of image. + * the image version. The allowed formats are Major.Minor.Build or + * 'latest'. Major, Minor and Build being decimal numbers. Specify + * 'latest' to use the latest version of image. */ private String version; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java index 0d68c285d018..0d94e933e640 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java @@ -14,12 +14,12 @@ */ public class InnerError { /** - * Gets or sets the exception type. + * the exception type. */ private String exceptiontype; /** - * Gets or sets the internal error message or exception dump. + * the internal error message or exception dump. */ private String errordetail; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java index 9117c0891972..fffdd71da925 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java @@ -15,29 +15,27 @@ */ public class InstanceViewStatus { /** - * Gets the status Code. + * the status Code. */ private String code; /** - * Gets or sets the level Code. Possible values include: 'Info', - * 'Warning', 'Error'. + * the level Code. Possible values include: 'Info', 'Warning', 'Error'. */ private StatusLevelTypes level; /** - * Gets or sets the short localizable label for the status. + * the short localizable label for the status. */ private String displayStatus; /** - * Gets or sets the detailed Message, including for alerts and error - * messages. + * the detailed Message, including for alerts and error messages. */ private String message; /** - * Gets or sets the time of the status. + * the time of the status. */ private DateTime time; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java index 331c60c2a6a2..145ab15860de 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java @@ -16,13 +16,13 @@ */ public class KeyVaultKeyReference { /** - * Gets or sets the URL referencing a key in a Key Vault. + * the URL referencing a key in a Key Vault. */ @JsonProperty(required = true) private String keyUrl; /** - * Gets or sets the Relative URL of the Key Vault containing the key. + * the Relative URL of the Key Vault containing the key. */ @JsonProperty(required = true) private SubResource sourceVault; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java index 07b14587c271..95ca0952586f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java @@ -16,13 +16,13 @@ */ public class KeyVaultSecretReference { /** - * Gets or sets the URL referencing a secret in a Key Vault. + * the URL referencing a secret in a Key Vault. */ @JsonProperty(required = true) private String secretUrl; /** - * Gets or sets the Relative URL of the Key Vault containing the secret. + * the Relative URL of the Key Vault containing the secret. */ @JsonProperty(required = true) private SubResource sourceVault; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java index a03a2e78cf23..ba87f7a076ce 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java @@ -14,13 +14,12 @@ */ public class LinuxConfiguration { /** - * Gets or sets whether Authentication using user name and password is - * allowed or not. + * whether Authentication using user name and password is allowed or not. */ private Boolean disablePasswordAuthentication; /** - * Gets or sets the SSH configuration for linux VMs. + * the SSH configuration for linux VMs. */ private SshConfiguration ssh; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java index 67218143e78f..c9648eea6bc4 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java @@ -18,7 +18,7 @@ @JsonFlatten public class NetworkInterfaceReference extends SubResource { /** - * Gets or sets whether this is a primary NIC on a virtual machine. + * whether this is a primary NIC on a virtual machine. */ @JsonProperty(value = "properties.primary") private Boolean primary; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java index 9d0b7e4d60fd..96e2b61e0028 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java @@ -15,7 +15,7 @@ */ public class NetworkProfile { /** - * Gets or sets the network interfaces. + * the network interfaces. */ private List networkInterfaces; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java index 04619cb19c62..171a7a3ed260 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java @@ -15,52 +15,50 @@ */ public class OSDisk { /** - * Gets or sets the Operating System type. Possible values include: - * 'Windows', 'Linux'. + * the Operating System type. Possible values include: 'Windows', 'Linux'. */ private OperatingSystemTypes osType; /** - * Gets or sets the disk encryption settings. + * the disk encryption settings. */ private DiskEncryptionSettings encryptionSettings; /** - * Gets or sets the disk name. + * the disk name. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the Virtual Hard Disk. + * the Virtual Hard Disk. */ @JsonProperty(required = true) private VirtualHardDisk vhd; /** - * Gets or sets the Source User Image VirtualHardDisk. This - * VirtualHardDisk will be copied before using it to attach to the - * Virtual Machine.If SourceImage is provided, the destination - * VirtualHardDisk should not exist. + * the Source User Image VirtualHardDisk. This VirtualHardDisk will be + * copied before using it to attach to the Virtual Machine.If SourceImage + * is provided, the destination VirtualHardDisk should not exist. */ private VirtualHardDisk image; /** - * Gets or sets the caching type. Possible values include: 'None', - * 'ReadOnly', 'ReadWrite'. + * the caching type. Possible values include: 'None', 'ReadOnly', + * 'ReadWrite'. */ private CachingTypes caching; /** - * Gets or sets the create option. Possible values include: 'fromImage', - * 'empty', 'attach'. + * the create option. Possible values include: 'fromImage', 'empty', + * 'attach'. */ @JsonProperty(required = true) private DiskCreateOptionTypes createOption; /** - * Gets or sets the initial disk size in GB for blank data disks, and the - * new desired size for existing OS and Data disks. + * the initial disk size in GB for blank data disks, and the new desired + * size for existing OS and Data disks. */ private Integer diskSizeGB; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java index 3b45303d65a2..0ef3ec7e9cb0 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java @@ -15,8 +15,8 @@ */ public class OSDiskImage { /** - * Gets or sets the operating system of the osDiskImage. Possible values - * include: 'Windows', 'Linux'. + * the operating system of the osDiskImage. Possible values include: + * 'Windows', 'Linux'. */ @JsonProperty(required = true) private OperatingSystemTypes operatingSystem; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java index 3a06bd06f583..f120a0a749ca 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java @@ -15,37 +15,37 @@ */ public class OSProfile { /** - * Gets or sets the computer name. + * the computer name. */ private String computerName; /** - * Gets or sets the admin user name. + * the admin user name. */ private String adminUsername; /** - * Gets or sets the admin user password. + * the admin user password. */ private String adminPassword; /** - * Gets or sets a base-64 encoded string of custom data. + * a base-64 encoded string of custom data. */ private String customData; /** - * Gets or sets the Windows Configuration of the OS profile. + * the Windows Configuration of the OS profile. */ private WindowsConfiguration windowsConfiguration; /** - * Gets or sets the Linux Configuration of the OS profile. + * the Linux Configuration of the OS profile. */ private LinuxConfiguration linuxConfiguration; /** - * Gets or sets the List of certificates for addition to the VM. + * the List of certificates for addition to the VM. */ private List secrets; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java index ee3630a23932..35ba03d13882 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java @@ -14,22 +14,22 @@ */ public class Plan { /** - * Gets or sets the plan ID. + * the plan ID. */ private String name; /** - * Gets or sets the publisher ID. + * the publisher ID. */ private String publisher; /** - * Gets or sets the offer ID. + * the offer ID. */ private String product; /** - * Gets or sets the promotion code. + * the promotion code. */ private String promotionCode; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java index 6fdc597cb076..eeace3ff4255 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java @@ -16,19 +16,19 @@ */ public class PurchasePlan { /** - * Gets or sets the publisher ID. + * the publisher ID. */ @JsonProperty(required = true) private String publisher; /** - * Gets or sets the plan ID. + * the plan ID. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the product ID. + * the product ID. */ @JsonProperty(required = true) private String product; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Sku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Sku.java index 412133c63eca..b8a2127e0adc 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Sku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Sku.java @@ -14,17 +14,17 @@ */ public class Sku { /** - * Gets or sets the sku name. + * the sku name. */ private String name; /** - * Gets or sets the sku tier. + * the sku tier. */ private String tier; /** - * Gets or sets the sku capacity. + * the sku capacity. */ private Long capacity; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java index ce713e8bbba1..6852bb12b239 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java @@ -15,8 +15,7 @@ */ public class SshConfiguration { /** - * Gets or sets the list of SSH public keys used to authenticate with - * linux based VMs. + * the list of SSH public keys used to authenticate with linux based VMs. */ private List publicKeys; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java index 822859bc3082..8bef5a180699 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java @@ -15,16 +15,14 @@ */ public class SshPublicKey { /** - * Gets or sets the full path on the created VM where SSH public key is - * stored. If the file already exists, the specified key is appended to - * the file. + * the full path on the created VM where SSH public key is stored. If the + * file already exists, the specified key is appended to the file. */ private String path; /** - * Gets or sets Certificate public key used to authenticate with VM - * through SSH.The certificate must be in Pem format with or without - * headers. + * Certificate public key used to authenticate with VM through SSH.The + * certificate must be in Pem format with or without headers. */ private String keyData; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java index 90eefd641b20..3a8dc7d1eec5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java @@ -15,17 +15,17 @@ */ public class StorageProfile { /** - * Gets or sets the image reference. + * the image reference. */ private ImageReference imageReference; /** - * Gets or sets the OS disk. + * the OS disk. */ private OSDisk osDisk; /** - * Gets or sets the data disks. + * the data disks. */ private List dataDisks; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java index 957f6a725335..3210258bc895 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java @@ -14,8 +14,7 @@ */ public class UpgradePolicy { /** - * Gets or sets the upgrade mode. Possible values include: 'Automatic', - * 'Manual'. + * the upgrade mode. Possible values include: 'Automatic', 'Manual'. */ private UpgradeMode mode; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java index 7b05ee39e52f..e67b6b4b5f18 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java @@ -14,12 +14,12 @@ */ public class UsageName { /** - * Gets or sets a string describing the resource name. + * a string describing the resource name. */ private String value; /** - * Gets or sets a localized string describing the resource name. + * a localized string describing the resource name. */ private String localizedValue; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java index 62c82ecce3c4..b5ea31da4131 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java @@ -15,14 +15,14 @@ */ public class VaultCertificate { /** - * Gets or sets the URL referencing a secret in a Key Vault which contains - * a properly formatted certificate. + * the URL referencing a secret in a Key Vault which contains a properly + * formatted certificate. */ private String certificateUrl; /** - * Gets or sets the Certificate store in LocalMachine to add the - * certificate to on Windows, leave empty on Linux. + * the Certificate store in LocalMachine to add the certificate to on + * Windows, leave empty on Linux. */ private String certificateStore; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java index 94238f02329e..d14db7ae4089 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java @@ -16,14 +16,14 @@ */ public class VaultSecretGroup { /** - * Gets or sets the Relative URL of the Key Vault containing all of the - * certificates in VaultCertificates. + * the Relative URL of the Key Vault containing all of the certificates in + * VaultCertificates. */ private SubResource sourceVault; /** - * Gets or sets the list of key vault references in SourceVault which - * contain certificates. + * the list of key vault references in SourceVault which contain + * certificates. */ private List vaultCertificates; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java index 07d06ce5775f..6f07e73ab039 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java @@ -14,8 +14,8 @@ */ public class VirtualHardDisk { /** - * Gets or sets the virtual hard disk's uri. It should be a valid Uri to a - * virtual hard disk. + * the virtual hard disk's uri. It should be a valid Uri to a virtual hard + * disk. */ private String uri; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java index 7e7318481f32..228089e97293 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java @@ -247,6 +247,11 @@ public interface VirtualMachine extends */ DiagnosticsProfile diagnosticsProfile(); + /** + * @return the virtual machine unique id. + */ + String vmId(); + /** * @return the power state of the virtual machine */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java index 017cc54c2cf9..58188aa2a158 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java @@ -15,17 +15,17 @@ */ public class VirtualMachineAgentInstanceView { /** - * Gets or sets the VM Agent full version. + * the VM Agent full version. */ private String vmAgentVersion; /** - * Gets or sets the virtual machine extension handler instance view. + * the virtual machine extension handler instance view. */ private List extensionHandlers; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java index a569d01fb1d1..a1df43ad7ba3 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java @@ -14,18 +14,18 @@ */ public class VirtualMachineExtensionHandlerInstanceView { /** - * Gets or sets full type of the extension handler which includes both - * publisher and type. + * full type of the extension handler which includes both publisher and + * type. */ private String type; /** - * Gets or sets the type version of the extension handler. + * the type version of the extension handler. */ private String typeHandlerVersion; /** - * Gets or sets the extension handler status. + * the extension handler status. */ private InstanceViewStatus status; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java index 1c382a719965..94cb8ccee0aa 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java @@ -15,28 +15,28 @@ */ public class VirtualMachineExtensionInstanceView { /** - * Gets or sets the virtual machine extension name. + * the virtual machine extension name. */ private String name; /** - * Gets or sets the full type of the extension handler which includes both - * publisher and type. + * the full type of the extension handler which includes both publisher + * and type. */ private String type; /** - * Gets or sets the type version of the extension handler. + * the type version of the extension handler. */ private String typeHandlerVersion; /** - * Gets or sets the resource status information. + * the resource status information. */ private List substatuses; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java index 17bc1645fade..2248720def2c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java @@ -15,42 +15,42 @@ */ public class VirtualMachineInstanceView { /** - * Gets or sets the Update Domain count. + * the Update Domain count. */ private Integer platformUpdateDomain; /** - * Gets or sets the Fault Domain count. + * the Fault Domain count. */ private Integer platformFaultDomain; /** - * Gets or sets the Remote desktop certificate thumbprint. + * the Remote desktop certificate thumbprint. */ private String rdpThumbPrint; /** - * Gets or sets the VM Agent running on the virtual machine. + * the VM Agent running on the virtual machine. */ private VirtualMachineAgentInstanceView vmAgent; /** - * Gets or sets the disks information. + * the disks information. */ private List disks; /** - * Gets or sets the extensions information. + * the extensions information. */ private List extensions; /** - * Gets or sets the boot diagnostics. + * the boot diagnostics. */ private BootDiagnosticsInstanceView bootDiagnostics; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java index d261c5314548..7c40207c7e9b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java @@ -18,49 +18,49 @@ @JsonFlatten public class VirtualMachineScaleSetExtension extends SubResource { /** - * Gets or sets the name of the extension. + * the name of the extension. */ private String name; /** - * Gets or sets the name of the extension handler publisher. + * the name of the extension handler publisher. */ @JsonProperty(value = "properties.publisher") private String publisher; /** - * Gets or sets the type of the extension handler. + * the type of the extension handler. */ @JsonProperty(value = "properties.type") private String type; /** - * Gets or sets the type version of the extension handler. + * the type version of the extension handler. */ @JsonProperty(value = "properties.typeHandlerVersion") private String typeHandlerVersion; /** - * Gets or sets whether the extension handler should be automatically - * upgraded across minor versions. + * whether the extension handler should be automatically upgraded across + * minor versions. */ @JsonProperty(value = "properties.autoUpgradeMinorVersion") private Boolean autoUpgradeMinorVersion; /** - * Gets or sets Json formatted public settings for the extension. + * Json formatted public settings for the extension. */ @JsonProperty(value = "properties.settings") private Object settings; /** - * Gets or sets Json formatted protected settings for the extension. + * Json formatted protected settings for the extension. */ @JsonProperty(value = "properties.protectedSettings") private Object protectedSettings; /** - * Gets the provisioning state, which only appears in the response. + * the provisioning state, which only appears in the response. */ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java index 31b0124d61c6..215c152ce442 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java @@ -15,7 +15,7 @@ */ public class VirtualMachineScaleSetExtensionProfile { /** - * Gets the virtual machine scale set child extension resources. + * the virtual machine scale set child extension resources. */ private List extensions; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java index 654b1ae2c073..ffbfa2cbfbb6 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java @@ -19,25 +19,31 @@ @JsonFlatten public class VirtualMachineScaleSetIPConfiguration extends SubResource { /** - * Gets or sets the IP configuration name. + * the IP configuration name. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the subnet. + * the subnet. */ @JsonProperty(value = "properties.subnet", required = true) private ApiEntityReference subnet; /** - * Gets or sets the load balancer backend address pools. + * the application gateway backend address pools. + */ + @JsonProperty(value = "properties.applicationGatewayBackendAddressPools") + private List applicationGatewayBackendAddressPools; + + /** + * the load balancer backend address pools. */ @JsonProperty(value = "properties.loadBalancerBackendAddressPools") private List loadBalancerBackendAddressPools; /** - * Gets or sets the load balancer inbound nat pools. + * the load balancer inbound nat pools. */ @JsonProperty(value = "properties.loadBalancerInboundNatPools") private List loadBalancerInboundNatPools; @@ -82,6 +88,26 @@ public VirtualMachineScaleSetIPConfiguration withSubnet(ApiEntityReference subne return this; } + /** + * Get the applicationGatewayBackendAddressPools value. + * + * @return the applicationGatewayBackendAddressPools value + */ + public List applicationGatewayBackendAddressPools() { + return this.applicationGatewayBackendAddressPools; + } + + /** + * Set the applicationGatewayBackendAddressPools value. + * + * @param applicationGatewayBackendAddressPools the applicationGatewayBackendAddressPools value to set + * @return the VirtualMachineScaleSetIPConfiguration object itself. + */ + public VirtualMachineScaleSetIPConfiguration withApplicationGatewayBackendAddressPools(List applicationGatewayBackendAddressPools) { + this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; + return this; + } + /** * Get the loadBalancerBackendAddressPools value. * diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java index 0c1e118dcb12..c545102bfbca 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java @@ -17,7 +17,7 @@ */ public class VirtualMachineScaleSetInstanceViewStatusesSummary { /** - * Gets the extensions information. + * the extensions information. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private List statusesSummary; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java index c543789caf80..8b2c191a30f9 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java @@ -20,19 +20,19 @@ @JsonFlatten public class VirtualMachineScaleSetNetworkConfiguration extends SubResource { /** - * Gets or sets the network configuration name. + * the network configuration name. */ @JsonProperty(required = true) private String name; /** - * Gets or sets whether this is a primary NIC on a virtual machine. + * whether this is a primary NIC on a virtual machine. */ @JsonProperty(value = "properties.primary") private Boolean primary; /** - * Gets or sets the virtual machine scale set IP Configuration. + * the virtual machine scale set IP Configuration. */ @JsonProperty(value = "properties.ipConfigurations", required = true) private List ipConfigurations; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java index 48f154ed1318..c6adc67e890e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java @@ -15,7 +15,7 @@ */ public class VirtualMachineScaleSetNetworkProfile { /** - * Gets or sets the list of network configurations. + * the list of network configurations. */ private List networkInterfaceConfigurations; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java index b8ff98ad9f53..8547f7e7cde3 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java @@ -16,40 +16,38 @@ */ public class VirtualMachineScaleSetOSDisk { /** - * Gets or sets the disk name. + * the disk name. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the caching type. Possible values include: 'None', - * 'ReadOnly', 'ReadWrite'. + * the caching type. Possible values include: 'None', 'ReadOnly', + * 'ReadWrite'. */ private CachingTypes caching; /** - * Gets or sets the create option. Possible values include: 'fromImage', - * 'empty', 'attach'. + * the create option. Possible values include: 'fromImage', 'empty', + * 'attach'. */ @JsonProperty(required = true) private DiskCreateOptionTypes createOption; /** - * Gets or sets the Operating System type. Possible values include: - * 'Windows', 'Linux'. + * the Operating System type. Possible values include: 'Windows', 'Linux'. */ private OperatingSystemTypes osType; /** - * Gets or sets the Source User Image VirtualHardDisk. This - * VirtualHardDisk will be copied before using it to attach to the - * Virtual Machine.If SourceImage is provided, the destination - * VirtualHardDisk should not exist. + * the Source User Image VirtualHardDisk. This VirtualHardDisk will be + * copied before using it to attach to the Virtual Machine.If SourceImage + * is provided, the destination VirtualHardDisk should not exist. */ private VirtualHardDisk image; /** - * Gets or sets the list of virtual hard disk container uris. + * the list of virtual hard disk container uris. */ private List vhdContainers; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java index 9bdd02d335d6..4bc2bb07c2d4 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java @@ -15,37 +15,37 @@ */ public class VirtualMachineScaleSetOSProfile { /** - * Gets or sets the computer name prefix. + * the computer name prefix. */ private String computerNamePrefix; /** - * Gets or sets the admin user name. + * the admin user name. */ private String adminUsername; /** - * Gets or sets the admin user password. + * the admin user password. */ private String adminPassword; /** - * Gets or sets a base-64 encoded string of custom data. + * a base-64 encoded string of custom data. */ private String customData; /** - * Gets or sets the Windows Configuration of the OS profile. + * the Windows Configuration of the OS profile. */ private WindowsConfiguration windowsConfiguration; /** - * Gets or sets the Linux Configuration of the OS profile. + * the Linux Configuration of the OS profile. */ private LinuxConfiguration linuxConfiguration; /** - * Gets or sets the List of certificates for addition to the VM. + * the List of certificates for addition to the VM. */ private List secrets; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java index f75a0f9e50ce..57f6955c4b77 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java @@ -15,25 +15,25 @@ */ public class VirtualMachineScaleSetSkuCapacity { /** - * Gets the minimum capacity. + * the minimum capacity. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Long minimum; /** - * Gets the maximum capacity that can be set. + * the maximum capacity that can be set. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Long maximum; /** - * Gets the default capacity. + * the default capacity. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Long defaultCapacity; /** - * Gets the scale type applicable to the sku. Possible values include: + * the scale type applicable to the sku. Possible values include: * 'Automatic', 'None'. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java index 8d9b4c31b307..ba3fed4f5995 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java @@ -14,12 +14,12 @@ */ public class VirtualMachineScaleSetStorageProfile { /** - * Gets or sets the image reference. + * the image reference. */ private ImageReference imageReference; /** - * Gets or sets the OS disk. + * the OS disk. */ private VirtualMachineScaleSetOSDisk osDisk; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java index c49524126061..45c9bfa3a769 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java @@ -16,13 +16,13 @@ */ public class VirtualMachineScaleSetVMExtensionsSummary { /** - * Gets the extension name. + * the extension name. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String name; /** - * Gets the extensions information. + * the extensions information. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private List statusesSummary; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java index 74159438a5c0..79cd42da7dc2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java @@ -15,7 +15,7 @@ */ public class VirtualMachineScaleSetVMInstanceIDs { /** - * Gets or sets the virtual machine scale set instance ids. + * the virtual machine scale set instance ids. */ private List instanceIds; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java index f7495a09824f..75047d053703 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java @@ -16,7 +16,7 @@ */ public class VirtualMachineScaleSetVMInstanceRequiredIDs { /** - * Gets or sets the virtual machine scale set instance ids. + * the virtual machine scale set instance ids. */ @JsonProperty(required = true) private List instanceIds; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java index a705a8ace741..30ee4be350ee 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java @@ -14,22 +14,22 @@ */ public class VirtualMachineScaleSetVMProfile { /** - * Gets or sets the virtual machine scale set OS profile. + * the virtual machine scale set OS profile. */ private VirtualMachineScaleSetOSProfile osProfile; /** - * Gets or sets the virtual machine scale set storage profile. + * the virtual machine scale set storage profile. */ private VirtualMachineScaleSetStorageProfile storageProfile; /** - * Gets or sets the virtual machine scale set network profile. + * the virtual machine scale set network profile. */ private VirtualMachineScaleSetNetworkProfile networkProfile; /** - * Gets the virtual machine scale set extension profile. + * the virtual machine scale set extension profile. */ private VirtualMachineScaleSetExtensionProfile extensionProfile; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java index b57c7accab65..5fc6800870d7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java @@ -114,6 +114,9 @@ public final class VirtualMachineSizeTypes { /** Static value Standard_D14_v2 for VirtualMachineSizeTypes. */ public static final String STANDARD_D14_V2 = "Standard_D14_v2"; + /** Static value Standard_D15_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_D15_V2 = "Standard_D15_v2"; + /** Static value Standard_DS1 for VirtualMachineSizeTypes. */ public static final String STANDARD_DS1 = "Standard_DS1"; @@ -138,6 +141,36 @@ public final class VirtualMachineSizeTypes { /** Static value Standard_DS14 for VirtualMachineSizeTypes. */ public static final String STANDARD_DS14 = "Standard_DS14"; + /** Static value Standard_DS1_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS1_V2 = "Standard_DS1_v2"; + + /** Static value Standard_DS2_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS2_V2 = "Standard_DS2_v2"; + + /** Static value Standard_DS3_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS3_V2 = "Standard_DS3_v2"; + + /** Static value Standard_DS4_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS4_V2 = "Standard_DS4_v2"; + + /** Static value Standard_DS5_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS5_V2 = "Standard_DS5_v2"; + + /** Static value Standard_DS11_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS11_V2 = "Standard_DS11_v2"; + + /** Static value Standard_DS12_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS12_V2 = "Standard_DS12_v2"; + + /** Static value Standard_DS13_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS13_V2 = "Standard_DS13_v2"; + + /** Static value Standard_DS14_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS14_V2 = "Standard_DS14_v2"; + + /** Static value Standard_DS15_v2 for VirtualMachineSizeTypes. */ + public static final String STANDARD_DS15_V2 = "Standard_DS15_v2"; + /** Static value Standard_G1 for VirtualMachineSizeTypes. */ public static final String STANDARD_G1 = "Standard_G1"; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java index 301982037634..6fe0aefcb82d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java @@ -16,13 +16,13 @@ */ public class VirtualMachineStatusCodeCount { /** - * Gets the instance view status code. + * the instance view status code. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String code; /** - * Gets the number of instances having a particular status code. + * the number of instances having a particular status code. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Integer count; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java index c22c6ed6a57a..66a1b87fff5d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java @@ -15,7 +15,7 @@ */ public class WinRMConfiguration { /** - * Gets or sets the list of Windows Remote Management listeners. + * the list of Windows Remote Management listeners. */ private List listeners; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java index 2276ce0ae4b4..dccf8f40dbd6 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java @@ -14,14 +14,14 @@ */ public class WinRMListener { /** - * Gets or sets the Protocol used by WinRM listener. Currently only Http - * and Https are supported. Possible values include: 'Http', 'Https'. + * the Protocol used by WinRM listener. Currently only Http and Https are + * supported. Possible values include: 'Http', 'Https'. */ private ProtocolTypes protocol; /** - * Gets or sets the Certificate URL in KMS for Https listeners. Should be - * null for Http listeners. + * the Certificate URL in KMS for Https listeners. Should be null for Http + * listeners. */ private String certificateUrl; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java index 79de5b70e7e7..f06043d2a580 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java @@ -15,30 +15,28 @@ */ public class WindowsConfiguration { /** - * Gets or sets whether VM Agent should be provisioned on the Virtual - * Machine. + * whether VM Agent should be provisioned on the Virtual Machine. */ private Boolean provisionVMAgent; /** - * Gets or sets whether Windows updates are automatically installed on the - * VM. + * whether Windows updates are automatically installed on the VM. */ private Boolean enableAutomaticUpdates; /** - * Gets or sets the Time Zone of the VM. + * the Time Zone of the VM. */ private String timeZone; /** - * Gets or sets the additional base-64 encoded XML formatted information - * that can be included in the Unattend.xml file. + * the additional base-64 encoded XML formatted information that can be + * included in the Unattend.xml file. */ private List additionalUnattendContent; /** - * Gets or sets the Windows Remote Management configuration of the VM. + * the Windows Remote Management configuration of the VM. */ private WinRMConfiguration winRM; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java index 2576844b3bcc..360d4b43d6d7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java @@ -21,26 +21,26 @@ @JsonFlatten public class AvailabilitySetInner extends Resource { /** - * Gets or sets Update Domain count. + * Update Domain count. */ @JsonProperty(value = "properties.platformUpdateDomainCount") private Integer platformUpdateDomainCount; /** - * Gets or sets Fault Domain count. + * Fault Domain count. */ @JsonProperty(value = "properties.platformFaultDomainCount") private Integer platformFaultDomainCount; /** - * Gets or sets a list containing reference to all Virtual Machines - * created under this Availability Set. + * a list containing reference to all Virtual Machines created under this + * Availability Set. */ @JsonProperty(value = "properties.virtualMachines") private List virtualMachines; /** - * Gets or sets the resource status information. + * the resource status information. */ @JsonProperty(value = "properties.statuses") private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java index 927a2a510fd8..4a2768c3de85 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java @@ -28,11 +28,11 @@ public AzureClient getAzureClient() { return this.azureClient; } - /** Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. */ + /** subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. */ private String subscriptionId; /** - * Gets Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + * Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. * * @return the subscriptionId value. */ @@ -41,7 +41,7 @@ public String subscriptionId() { } /** - * Sets Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + * Sets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. * * @param subscriptionId the subscriptionId value. * @return the service client itself @@ -282,7 +282,7 @@ public ComputeManagementClientImpl(RestClient restClient) { } protected void initialize() { - this.apiVersion = "2015-06-15"; + this.apiVersion = "2016-03-30"; this.acceptLanguage = "en-US"; this.longRunningOperationRetryTimeout = 30; this.generateClientRequestId = true; @@ -307,6 +307,6 @@ protected void initialize() { public String userAgent() { return String.format("Azure-SDK-For-Java/%s (%s)", getClass().getPackage().getImplementationVersion(), - "ComputeManagementClient, 2015-06-15"); + "ComputeManagementClient, 2016-03-30"); } } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java index da3f67ee0629..e590a46d5a0a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java @@ -16,25 +16,25 @@ */ public class UsageInner { /** - * Gets or sets an enum describing the unit of measurement. + * an enum describing the unit of measurement. */ @JsonProperty(required = true) private String unit; /** - * Gets or sets the current value of the usage. + * the current value of the usage. */ @JsonProperty(required = true) private int currentValue; /** - * Gets or sets the limit of usage. + * the limit of usage. */ @JsonProperty(required = true) private long limit; /** - * Gets or sets the name of the type of usage. + * the name of the type of usage. */ @JsonProperty(required = true) private UsageName name; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java index 2fd2c9882e34..56451ebbdaea 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java @@ -15,20 +15,20 @@ */ public class VirtualMachineCaptureParametersInner { /** - * Gets or sets the captured VirtualHardDisk's name prefix. + * the captured VirtualHardDisk's name prefix. */ @JsonProperty(required = true) private String vhdPrefix; /** - * Gets or sets the destination container name. + * the destination container name. */ @JsonProperty(required = true) private String destinationContainerName; /** - * Gets or sets whether it overwrites destination VirtualHardDisk if true, - * in case of conflict. + * whether it overwrites destination VirtualHardDisk if true, in case of + * conflict. */ @JsonProperty(required = true) private boolean overwriteVhds; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java index c69616208d3d..4c3786ff7023 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java @@ -18,35 +18,35 @@ @JsonFlatten public class VirtualMachineExtensionImageInner extends Resource { /** - * Gets or sets the operating system this extension supports. + * the operating system this extension supports. */ @JsonProperty(value = "properties.operatingSystem", required = true) private String operatingSystem; /** - * Gets or sets the type of role (IaaS or PaaS) this extension supports. + * the type of role (IaaS or PaaS) this extension supports. */ @JsonProperty(value = "properties.computeRole", required = true) private String computeRole; /** - * Gets or sets the schema defined by publisher, where extension consumers - * should provide settings in a matching schema. + * the schema defined by publisher, where extension consumers should + * provide settings in a matching schema. */ @JsonProperty(value = "properties.handlerSchema", required = true) private String handlerSchema; /** - * Gets or sets whether the extension can be used on xRP VMScaleSets.By - * default existing extensions are usable on scalesets, but there might - * be cases where a publisher wants to explicitly indicate the extension - * is only enabled for CRP VMs but not VMSS. + * whether the extension can be used on xRP VMScaleSets.By default + * existing extensions are usable on scalesets, but there might be cases + * where a publisher wants to explicitly indicate the extension is only + * enabled for CRP VMs but not VMSS. */ @JsonProperty(value = "properties.vmScaleSetEnabled") private Boolean vmScaleSetEnabled; /** - * Gets or sets whether the handler can support multiple extensions. + * whether the handler can support multiple extensions. */ @JsonProperty(value = "properties.supportsMultipleExtensions") private Boolean supportsMultipleExtensions; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java index 711b5d40d2c5..ec917b551bfc 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java @@ -8,7 +8,6 @@ package com.microsoft.azure.management.compute.implementation; -import com.microsoft.azure.management.compute.ForceUpdateTagTypes; import com.microsoft.azure.management.compute.VirtualMachineExtensionInstanceView; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -20,58 +19,57 @@ @JsonFlatten public class VirtualMachineExtensionInner extends Resource { /** - * Gets or sets how the extension handler should be forced to update even - * if the extension configuration has not changed. Possible values - * include: 'RerunExtension'. + * how the extension handler should be forced to update even if the + * extension configuration has not changed. */ @JsonProperty(value = "properties.forceUpdateTag") - private ForceUpdateTagTypes forceUpdateTag; + private String forceUpdateTag; /** - * Gets or sets the name of the extension handler publisher. + * the name of the extension handler publisher. */ @JsonProperty(value = "properties.publisher") private String publisher; /** - * Gets or sets the type of the extension handler. + * the type of the extension handler. */ @JsonProperty(value = "properties.type") private String virtualMachineExtensionType; /** - * Gets or sets the type version of the extension handler. + * the type version of the extension handler. */ @JsonProperty(value = "properties.typeHandlerVersion") private String typeHandlerVersion; /** - * Gets or sets whether the extension handler should be automatically - * upgraded across minor versions. + * whether the extension handler should be automatically upgraded across + * minor versions. */ @JsonProperty(value = "properties.autoUpgradeMinorVersion") private Boolean autoUpgradeMinorVersion; /** - * Gets or sets Json formatted public settings for the extension. + * Json formatted public settings for the extension. */ @JsonProperty(value = "properties.settings") private Object settings; /** - * Gets or sets Json formatted protected settings for the extension. + * Json formatted protected settings for the extension. */ @JsonProperty(value = "properties.protectedSettings") private Object protectedSettings; /** - * Gets or sets the provisioning state, which only appears in the response. + * the provisioning state, which only appears in the response. */ - @JsonProperty(value = "properties.provisioningState") + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState; /** - * Gets or sets the virtual machine extension instance view. + * the virtual machine extension instance view. */ @JsonProperty(value = "properties.instanceView") private VirtualMachineExtensionInstanceView instanceView; @@ -81,7 +79,7 @@ public class VirtualMachineExtensionInner extends Resource { * * @return the forceUpdateTag value */ - public ForceUpdateTagTypes forceUpdateTag() { + public String forceUpdateTag() { return this.forceUpdateTag; } @@ -91,7 +89,7 @@ public ForceUpdateTagTypes forceUpdateTag() { * @param forceUpdateTag the forceUpdateTag value to set * @return the VirtualMachineExtensionInner object itself. */ - public VirtualMachineExtensionInner withForceUpdateTag(ForceUpdateTagTypes forceUpdateTag) { + public VirtualMachineExtensionInner withForceUpdateTag(String forceUpdateTag) { this.forceUpdateTag = forceUpdateTag; return this; } @@ -225,17 +223,6 @@ public String provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState value. - * - * @param provisioningState the provisioningState value to set - * @return the VirtualMachineExtensionInner object itself. - */ - public VirtualMachineExtensionInner withProvisioningState(String provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Get the instanceView value. * diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java index 77dafdf468ad..0b753c1ec297 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java @@ -17,19 +17,19 @@ */ public class VirtualMachineImageResourceInner extends SubResource { /** - * Gets or sets the name of the resource. + * the name of the resource. */ @JsonProperty(required = true) private String name; /** - * Gets or sets the location of the resource. + * the location of the resource. */ @JsonProperty(required = true) private String location; /** - * Gets or sets the tags attached to the resource. + * the tags attached to the resource. */ private Map tags; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java index 98185c6fdeca..59f186f29d49 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java @@ -814,6 +814,11 @@ public DiagnosticsProfile diagnosticsProfile() { return inner().diagnosticsProfile(); } + @Override + public String vmId() { + return inner().vmId(); + } + @Override public VirtualMachineInstanceView instanceView() throws CloudException, IOException { if (this.virtualMachineInstanceView == null) { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java index 3d9b265eaeba..ac4aab7160b5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java @@ -27,69 +27,74 @@ @JsonFlatten public class VirtualMachineInner extends Resource { /** - * Gets or sets the purchase plan when deploying virtual machine from VM - * Marketplace images. + * the purchase plan when deploying virtual machine from VM Marketplace + * images. */ private Plan plan; /** - * Gets or sets the hardware profile. + * the hardware profile. */ @JsonProperty(value = "properties.hardwareProfile") private HardwareProfile hardwareProfile; /** - * Gets or sets the storage profile. + * the storage profile. */ @JsonProperty(value = "properties.storageProfile") private StorageProfile storageProfile; /** - * Gets or sets the OS profile. + * the OS profile. */ @JsonProperty(value = "properties.osProfile") private OSProfile osProfile; /** - * Gets or sets the network profile. + * the network profile. */ @JsonProperty(value = "properties.networkProfile") private NetworkProfile networkProfile; /** - * Gets or sets the diagnostics profile. + * the diagnostics profile. */ @JsonProperty(value = "properties.diagnosticsProfile") private DiagnosticsProfile diagnosticsProfile; /** - * Gets or sets the reference Id of the availability set to which this - * virtual machine belongs. + * the reference Id of the availability set to which this virtual machine + * belongs. */ @JsonProperty(value = "properties.availabilitySet") private SubResource availabilitySet; /** - * Gets or sets the provisioning state, which only appears in the response. + * the provisioning state, which only appears in the response. */ - @JsonProperty(value = "properties.provisioningState") + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState; /** - * Gets the virtual machine instance view. + * the virtual machine instance view. */ @JsonProperty(value = "properties.instanceView", access = JsonProperty.Access.WRITE_ONLY) private VirtualMachineInstanceView instanceView; /** - * Gets or sets the license type, which is for bring your own license - * scenario. + * the license type, which is for bring your own license scenario. */ @JsonProperty(value = "properties.licenseType") private String licenseType; /** - * Gets the virtual machine child extension resources. + * the virtual machine unique id. + */ + @JsonProperty(value = "properties.vmId", access = JsonProperty.Access.WRITE_ONLY) + private String vmId; + + /** + * the virtual machine child extension resources. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private List resources; @@ -243,17 +248,6 @@ public String provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState value. - * - * @param provisioningState the provisioningState value to set - * @return the VirtualMachineInner object itself. - */ - public VirtualMachineInner withProvisioningState(String provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Get the instanceView value. * @@ -283,6 +277,15 @@ public VirtualMachineInner withLicenseType(String licenseType) { return this; } + /** + * Get the vmId value. + * + * @return the vmId value + */ + public String vmId() { + return this.vmId; + } + /** * Get the resources value. * diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java index 52dabc88eb70..76fbb1f48e14 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java @@ -21,26 +21,26 @@ @JsonFlatten public class VirtualMachineScaleSetInner extends Resource { /** - * Gets or sets the virtual machine scale set sku. + * the virtual machine scale set sku. */ private Sku sku; /** - * Gets or sets the upgrade policy. + * the upgrade policy. */ @JsonProperty(value = "properties.upgradePolicy") private UpgradePolicy upgradePolicy; /** - * Gets or sets the virtual machine profile. + * the virtual machine profile. */ @JsonProperty(value = "properties.virtualMachineProfile") private VirtualMachineScaleSetVMProfile virtualMachineProfile; /** - * Gets or sets the provisioning state, which only appears in the response. + * the provisioning state, which only appears in the response. */ - @JsonProperty(value = "properties.provisioningState") + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState; /** @@ -119,17 +119,6 @@ public String provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState value. - * - * @param provisioningState the provisioningState value to set - * @return the VirtualMachineScaleSetInner object itself. - */ - public VirtualMachineScaleSetInner withProvisioningState(String provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Get the overProvision value. * diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java index c846d176be68..51a6c575b4af 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java @@ -19,19 +19,19 @@ */ public class VirtualMachineScaleSetInstanceViewInner { /** - * Gets the instance view status summary for the virtual machine scale set. + * the instance view status summary for the virtual machine scale set. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private VirtualMachineScaleSetInstanceViewStatusesSummary virtualMachine; /** - * Gets the extensions information. + * the extensions information. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private List extensions; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java index b4705b8a3b0d..d1405551df0c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java @@ -17,19 +17,19 @@ */ public class VirtualMachineScaleSetSkuInner { /** - * Gets the type of resource the sku applies to. + * the type of resource the sku applies to. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String resourceType; /** - * Gets the Sku. + * the Sku. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Sku sku; /** - * Gets available scaling information. + * available scaling information. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private VirtualMachineScaleSetSkuCapacity capacity; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java index 3102799aa684..550b65c78198 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java @@ -28,13 +28,13 @@ @JsonFlatten public class VirtualMachineScaleSetVMInner extends Resource { /** - * Gets the virtual machine instance id. + * the virtual machine instance id. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String instanceId; /** - * Gets the virtual machine sku. + * the virtual machine sku. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private Sku sku; @@ -47,69 +47,68 @@ public class VirtualMachineScaleSetVMInner extends Resource { private Boolean latestModelApplied; /** - * Gets the virtual machine instance view. + * the virtual machine instance view. */ @JsonProperty(value = "properties.instanceView", access = JsonProperty.Access.WRITE_ONLY) private VirtualMachineInstanceView instanceView; /** - * Gets or sets the hardware profile. + * the hardware profile. */ @JsonProperty(value = "properties.hardwareProfile") private HardwareProfile hardwareProfile; /** - * Gets or sets the storage profile. + * the storage profile. */ @JsonProperty(value = "properties.storageProfile") private StorageProfile storageProfile; /** - * Gets or sets the OS profile. + * the OS profile. */ @JsonProperty(value = "properties.osProfile") private OSProfile osProfile; /** - * Gets or sets the network profile. + * the network profile. */ @JsonProperty(value = "properties.networkProfile") private NetworkProfile networkProfile; /** - * Gets or sets the diagnostics profile. + * the diagnostics profile. */ @JsonProperty(value = "properties.diagnosticsProfile") private DiagnosticsProfile diagnosticsProfile; /** - * Gets or sets the reference Id of the availability set to which this - * virtual machine belongs. + * the reference Id of the availability set to which this virtual machine + * belongs. */ @JsonProperty(value = "properties.availabilitySet") private SubResource availabilitySet; /** - * Gets or sets the provisioning state, which only appears in the response. + * the provisioning state, which only appears in the response. */ - @JsonProperty(value = "properties.provisioningState") + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState; /** - * Gets or sets the license type, which is for bring your own license - * scenario. + * the license type, which is for bring your own license scenario. */ @JsonProperty(value = "properties.licenseType") private String licenseType; /** - * Gets or sets the purchase plan when deploying virtual machine from VM - * Marketplace images. + * the purchase plan when deploying virtual machine from VM Marketplace + * images. */ private Plan plan; /** - * Gets the virtual machine child extension resources. + * the virtual machine child extension resources. */ @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private List resources; @@ -279,17 +278,6 @@ public String provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState value. - * - * @param provisioningState the provisioningState value to set - * @return the VirtualMachineScaleSetVMInner object itself. - */ - public VirtualMachineScaleSetVMInner withProvisioningState(String provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Get the licenseType value. * diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java index 180b6b8a7169..fd77167dd87c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java @@ -20,42 +20,42 @@ */ public class VirtualMachineScaleSetVMInstanceViewInner { /** - * Gets or sets the Update Domain count. + * the Update Domain count. */ private Integer platformUpdateDomain; /** - * Gets or sets the Fault Domain count. + * the Fault Domain count. */ private Integer platformFaultDomain; /** - * Gets or sets the Remote desktop certificate thumbprint. + * the Remote desktop certificate thumbprint. */ private String rdpThumbPrint; /** - * Gets or sets the VM Agent running on the virtual machine. + * the VM Agent running on the virtual machine. */ private VirtualMachineAgentInstanceView vmAgent; /** - * Gets or sets the disks information. + * the disks information. */ private List disks; /** - * Gets or sets the extensions information. + * the extensions information. */ private List extensions; /** - * Gets or sets the boot diagnostics. + * the boot diagnostics. */ private BootDiagnosticsInstanceView bootDiagnostics; /** - * Gets or sets the resource status information. + * the resource status information. */ private List statuses; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java index f85c2f741936..d45697df6151 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java @@ -127,7 +127,7 @@ interface VirtualMachineScaleSetVMsService { } /** - * The operation to re-image a virtual machine scale set instance. + * Allows you to re-image(update the version of the installed operating system) a virtual machine scale set instance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -159,7 +159,7 @@ public ServiceResponse reimage(String resourceGroupName, String vmScaleSet } /** - * The operation to re-image a virtual machine scale set instance. + * Allows you to re-image(update the version of the installed operating system) a virtual machine scale set instance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -203,7 +203,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to re-image a virtual machine scale set instance. + * Allows you to re-image(update the version of the installed operating system) a virtual machine scale set instance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -234,7 +234,7 @@ public ServiceResponse beginReimage(String resourceGroupName, String vmSca } /** - * The operation to re-image a virtual machine scale set instance. + * Allows you to re-image(update the version of the installed operating system) a virtual machine scale set instance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -289,7 +289,7 @@ private ServiceResponse beginReimageDelegate(Response respon } /** - * The operation to deallocate a virtual machine scale set. + * Allows you to deallocate a virtual machine scale set virtual machine. Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -321,7 +321,7 @@ public ServiceResponse deallocate(String resourceGroupName, String vmScale } /** - * The operation to deallocate a virtual machine scale set. + * Allows you to deallocate a virtual machine scale set virtual machine. Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -365,7 +365,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to deallocate a virtual machine scale set. + * Allows you to deallocate a virtual machine scale set virtual machine. Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -396,7 +396,7 @@ public ServiceResponse beginDeallocate(String resourceGroupName, String vm } /** - * The operation to deallocate a virtual machine scale set. + * Allows you to deallocate a virtual machine scale set virtual machine. Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -451,7 +451,7 @@ private ServiceResponse beginDeallocateDelegate(Response res } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -483,7 +483,7 @@ public ServiceResponse delete(String resourceGroupName, String vmScaleSetN } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -527,7 +527,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -558,7 +558,7 @@ public ServiceResponse beginDelete(String resourceGroupName, String vmScal } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -615,7 +615,7 @@ private ServiceResponse beginDeleteDelegate(Response respons } /** - * The operation to get a virtual machine scale set virtual machine. + * Displays information about a virtual machine scale set virtual machine. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -646,7 +646,7 @@ public ServiceResponse get(String resourceGroupNa } /** - * The operation to get a virtual machine scale set virtual machine. + * Displays information about a virtual machine scale set virtual machine. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -702,7 +702,7 @@ private ServiceResponse getDelegate(Response getInstanceVie } /** - * The operation to get a virtual machine scale set virtual machine. + * Displays the status of a virtual machine scale set virtual machine. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -789,7 +789,7 @@ private ServiceResponse getInstanceVi } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param resourceGroupName The name of the resource group. * @param virtualMachineScaleSetName The name of the virtual machine scale set. @@ -826,7 +826,7 @@ public Page nextPage(String nextPageLink) throws } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param resourceGroupName The name of the resource group. * @param virtualMachineScaleSetName The name of the virtual machine scale set. @@ -880,7 +880,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param resourceGroupName The name of the resource group. * @param virtualMachineScaleSetName The name of the virtual machine scale set. @@ -917,7 +917,7 @@ public Page nextPage(String nextPageLink) throws } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param resourceGroupName The name of the resource group. * @param virtualMachineScaleSetName The name of the virtual machine scale set. @@ -978,7 +978,7 @@ private ServiceResponse> listDelegate(R } /** - * The operation to power off (stop) a virtual machine scale set. + * Allows you to power off (stop) a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1010,7 +1010,7 @@ public ServiceResponse powerOff(String resourceGroupName, String vmScaleSe } /** - * The operation to power off (stop) a virtual machine scale set. + * Allows you to power off (stop) a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1054,7 +1054,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to power off (stop) a virtual machine scale set. + * Allows you to power off (stop) a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1085,7 +1085,7 @@ public ServiceResponse beginPowerOff(String resourceGroupName, String vmSc } /** - * The operation to power off (stop) a virtual machine scale set. + * Allows you to power off (stop) a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1140,7 +1140,7 @@ private ServiceResponse beginPowerOffDelegate(Response respo } /** - * The operation to restart a virtual machine scale set. + * Allows you to restart a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1172,7 +1172,7 @@ public ServiceResponse restart(String resourceGroupName, String vmScaleSet } /** - * The operation to restart a virtual machine scale set. + * Allows you to restart a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1216,7 +1216,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to restart a virtual machine scale set. + * Allows you to restart a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1247,7 +1247,7 @@ public ServiceResponse beginRestart(String resourceGroupName, String vmSca } /** - * The operation to restart a virtual machine scale set. + * Allows you to restart a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1302,7 +1302,7 @@ private ServiceResponse beginRestartDelegate(Response respon } /** - * The operation to start a virtual machine scale set. + * Allows you to start a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1334,7 +1334,7 @@ public ServiceResponse start(String resourceGroupName, String vmScaleSetNa } /** - * The operation to start a virtual machine scale set. + * Allows you to start a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1378,7 +1378,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to start a virtual machine scale set. + * Allows you to start a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1409,7 +1409,7 @@ public ServiceResponse beginStart(String resourceGroupName, String vmScale } /** - * The operation to start a virtual machine scale set. + * Allows you to start a virtual machine in a VM scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1464,7 +1464,7 @@ private ServiceResponse beginStartDelegate(Response response } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws CloudException exception thrown from REST call @@ -1481,7 +1481,7 @@ public ServiceResponse> listNext(final } /** - * The operation to list virtual machine scale sets VMs. + * Lists all virtual machines in a VM scale sets. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceCall the ServiceCall object tracking the Retrofit calls diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java index 09cd870f7cde..724575f9971b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java @@ -172,7 +172,7 @@ interface VirtualMachineScaleSetsService { } /** - * The operation to create or update a virtual machine scale set. + * Allows you to create or update a virtual machine scale set by providing parameters or a path to pre-configured parameter file. * * @param resourceGroupName The name of the resource group. * @param name Parameters supplied to the Create Virtual Machine Scale Set operation. @@ -205,7 +205,7 @@ public ServiceResponse createOrUpdate(String resour } /** - * The operation to create or update a virtual machine scale set. + * Allows you to create or update a virtual machine scale set by providing parameters or a path to pre-configured parameter file. * * @param resourceGroupName The name of the resource group. * @param name Parameters supplied to the Create Virtual Machine Scale Set operation. @@ -250,7 +250,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to create or update a virtual machine scale set. + * Allows you to create or update a virtual machine scale set by providing parameters or a path to pre-configured parameter file. * * @param resourceGroupName The name of the resource group. * @param name Parameters supplied to the Create Virtual Machine Scale Set operation. @@ -282,7 +282,7 @@ public ServiceResponse beginCreateOrUpdate(String r } /** - * The operation to create or update a virtual machine scale set. + * Allows you to create or update a virtual machine scale set by providing parameters or a path to pre-configured parameter file. * * @param resourceGroupName The name of the resource group. * @param name Parameters supplied to the Create Virtual Machine Scale Set operation. @@ -340,7 +340,7 @@ private ServiceResponse beginCreateOrUpdateDelegate } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -371,7 +371,7 @@ public ServiceResponse deallocate(String resourceGroupName, String vmScale } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -413,11 +413,11 @@ public void onResponse(Call call, Response response) return serviceCall; } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -448,11 +448,11 @@ public ServiceResponse deallocate(String resourceGroupName, String vmScale } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -495,7 +495,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -525,7 +525,7 @@ public ServiceResponse beginDeallocate(String resourceGroupName, String vm } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -572,11 +572,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -606,11 +606,11 @@ public ServiceResponse beginDeallocate(String resourceGroupName, String vm } /** - * The operation to deallocate virtual machines in a virtual machine scale set. + * Allows you to deallocate virtual machines in a virtual machine scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set uses. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -663,7 +663,7 @@ private ServiceResponse beginDeallocateDelegate(Response res } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -691,7 +691,7 @@ public ServiceResponse delete(String resourceGroupName, String vmScaleSetN } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -731,7 +731,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -758,7 +758,7 @@ public ServiceResponse beginDelete(String resourceGroupName, String vmScal } /** - * The operation to delete a virtual machine scale set. + * Allows you to delete a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -810,7 +810,7 @@ private ServiceResponse beginDeleteDelegate(Response respons } /** - * The operation to get a virtual machine scale set. + * Display information about a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -837,7 +837,7 @@ public ServiceResponse get(String resourceGroupName } /** - * The operation to get a virtual machine scale set. + * Display information about a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -888,11 +888,11 @@ private ServiceResponse getDelegate(Response deleteInstances(String resourceGroupName, String vm } /** - * The operation to delete virtual machines in a virtual machine scale set. + * Allows you to delete virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -970,11 +970,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to delete virtual machines in a virtual machine scale set. + * Allows you to delete virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -1004,11 +1004,11 @@ public ServiceResponse beginDeleteInstances(String resourceGroupName, Stri } /** - * The operation to delete virtual machines in a virtual machine scale set. + * Allows you to delete virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -1062,7 +1062,7 @@ private ServiceResponse beginDeleteInstancesDelegate(Response getInstanceView( } /** - * The operation to get a virtual machine scale set instance view. + * Displays status of a virtual machine scale set instance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1140,7 +1140,7 @@ private ServiceResponse getInstanceView } /** - * The operation to list virtual machine scale sets under a resource group. + * Lists all virtual machine scale sets under a resource group. * * @param resourceGroupName The name of the resource group. * @throws CloudException exception thrown from REST call @@ -1170,7 +1170,7 @@ public Page nextPage(String nextPageLink) throws Cl } /** - * The operation to list virtual machine scale sets under a resource group. + * Lists all virtual machine scale sets under a resource group. * * @param resourceGroupName The name of the resource group. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -1223,7 +1223,7 @@ private ServiceResponse> listDelegate(Res } /** - * Gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. + * Lists all Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. * * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization @@ -1249,7 +1249,7 @@ public Page nextPage(String nextPageLink) throws Cl } /** - * Gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. + * Lists all Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. * * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null @@ -1297,7 +1297,7 @@ private ServiceResponse> listAllDelegate( } /** - * The operation to list available skus for a virtual machine scale set. + * Displays available skus for your virtual machine scale set including the minimum and maximum vm instances allowed for a particular sku. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1331,7 +1331,7 @@ public Page nextPage(String nextPageLink) throws } /** - * The operation to list available skus for a virtual machine scale set. + * Displays available skus for your virtual machine scale set including the minimum and maximum vm instances allowed for a particular sku. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1389,7 +1389,7 @@ private ServiceResponse> listSkusDeleg } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1420,7 +1420,7 @@ public ServiceResponse powerOff(String resourceGroupName, String vmScaleSe } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1462,11 +1462,11 @@ public void onResponse(Call call, Response response) return serviceCall; } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -1497,11 +1497,11 @@ public ServiceResponse powerOff(String resourceGroupName, String vmScaleSe } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -1544,7 +1544,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1574,7 +1574,7 @@ public ServiceResponse beginPowerOff(String resourceGroupName, String vmSc } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1621,11 +1621,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -1655,11 +1655,11 @@ public ServiceResponse beginPowerOff(String resourceGroupName, String vmSc } /** - * The operation to power off (stop) virtual machines in a virtual machine scale set. + * Allows you to power off (stop) virtual machines in a virtual machine scale set. Note that resources are still attached and you are getting charged for the resources. Use deallocate to release resources. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -1712,7 +1712,7 @@ private ServiceResponse beginPowerOffDelegate(Response respo } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1743,7 +1743,7 @@ public ServiceResponse restart(String resourceGroupName, String vmScaleSet } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1785,11 +1785,11 @@ public void onResponse(Call call, Response response) return serviceCall; } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -1820,11 +1820,11 @@ public ServiceResponse restart(String resourceGroupName, String vmScaleSet } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -1867,7 +1867,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1897,7 +1897,7 @@ public ServiceResponse beginRestart(String resourceGroupName, String vmSca } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -1944,11 +1944,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -1978,11 +1978,11 @@ public ServiceResponse beginRestart(String resourceGroupName, String vmSca } /** - * The operation to restart virtual machines in a virtual machine scale set. + * Allows you to restart virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -2035,7 +2035,7 @@ private ServiceResponse beginRestartDelegate(Response respon } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2066,7 +2066,7 @@ public ServiceResponse start(String resourceGroupName, String vmScaleSetNa } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2108,11 +2108,11 @@ public void onResponse(Call call, Response response) return serviceCall; } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -2143,11 +2143,11 @@ public ServiceResponse start(String resourceGroupName, String vmScaleSetNa } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -2190,7 +2190,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2220,7 +2220,7 @@ public ServiceResponse beginStart(String resourceGroupName, String vmScale } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2267,11 +2267,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -2301,11 +2301,11 @@ public ServiceResponse beginStart(String resourceGroupName, String vmScale } /** - * The operation to start virtual machines in a virtual machine scale set. + * Allows you to start virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -2358,11 +2358,11 @@ private ServiceResponse beginStartDelegate(Response response } /** - * The operation to manually upgrade virtual machines in a virtual machine scale set. + * Allows you to manually upgrade virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -2393,11 +2393,11 @@ public ServiceResponse updateInstances(String resourceGroupName, String vm } /** - * The operation to manually upgrade virtual machines in a virtual machine scale set. + * Allows you to manually upgrade virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link ServiceCall} object @@ -2440,11 +2440,11 @@ public void onResponse(Call call, Response response) } /** - * The operation to manually upgrade virtual machines in a virtual machine scale set. + * Allows you to manually upgrade virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization * @throws IllegalArgumentException exception thrown from invalid parameters @@ -2474,11 +2474,11 @@ public ServiceResponse beginUpdateInstances(String resourceGroupName, Stri } /** - * The operation to manually upgrade virtual machines in a virtual machine scale set. + * Allows you to manually upgrade virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. - * @param instanceIds Gets or sets the virtual machine scale set instance ids. + * @param instanceIds the virtual machine scale set instance ids. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object @@ -2532,7 +2532,7 @@ private ServiceResponse beginUpdateInstancesDelegate(Response reimage(String resourceGroupName, String vmScaleSet } /** - * The operation to re-image virtual machines in a virtual machine scale set. + * Allows you to re-image(update the version of the installed operating system) virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2600,7 +2600,7 @@ public void onResponse(Call call, Response response) } /** - * The operation to re-image virtual machines in a virtual machine scale set. + * Allows you to re-image(update the version of the installed operating system) virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2627,7 +2627,7 @@ public ServiceResponse beginReimage(String resourceGroupName, String vmSca } /** - * The operation to re-image virtual machines in a virtual machine scale set. + * Allows you to re-image(update the version of the installed operating system) virtual machines in a virtual machine scale set. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the virtual machine scale set. @@ -2677,7 +2677,7 @@ private ServiceResponse beginReimageDelegate(Response respon } /** - * The operation to list virtual machine scale sets under a resource group. + * Lists all virtual machine scale sets under a resource group. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws CloudException exception thrown from REST call @@ -2694,7 +2694,7 @@ public ServiceResponse> listNext(final St } /** - * The operation to list virtual machine scale sets under a resource group. + * Lists all virtual machine scale sets under a resource group. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceCall the ServiceCall object tracking the Retrofit calls @@ -2740,7 +2740,7 @@ private ServiceResponse> listNextDelegate } /** - * Gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. + * Lists all Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws CloudException exception thrown from REST call @@ -2757,7 +2757,7 @@ public ServiceResponse> listAllNext(final } /** - * Gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. + * Lists all Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceCall the ServiceCall object tracking the Retrofit calls @@ -2803,7 +2803,7 @@ private ServiceResponse> listAllNextDeleg } /** - * The operation to list available skus for a virtual machine scale set. + * Displays available skus for your virtual machine scale set including the minimum and maximum vm instances allowed for a particular sku. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws CloudException exception thrown from REST call @@ -2820,7 +2820,7 @@ public ServiceResponse> listSkusNext(f } /** - * The operation to list available skus for a virtual machine scale set. + * Displays available skus for your virtual machine scale set including the minimum and maximum vm instances allowed for a particular sku. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceCall the ServiceCall object tracking the Retrofit calls diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java index f7db3b930378..4fa579a7f775 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java @@ -14,32 +14,32 @@ */ public class VirtualMachineSizeInner { /** - * Gets or sets the VM size name. + * the VM size name. */ private String name; /** - * Gets or sets the Number of cores supported by a VM size. + * the Number of cores supported by a VM size. */ private Integer numberOfCores; /** - * Gets or sets the OS disk size allowed by a VM size. + * the OS disk size allowed by a VM size. */ private Integer osDiskSizeInMB; /** - * Gets or sets the Resource disk size allowed by a VM size. + * the Resource disk size allowed by a VM size. */ private Integer resourceDiskSizeInMB; /** - * Gets or sets the Memory size supported by a VM size. + * the Memory size supported by a VM size. */ private Integer memoryInMB; /** - * Gets or sets the Maximum number of data disks allowed by a VM size. + * the Maximum number of data disks allowed by a VM size. */ private Integer maxDataDiskCount; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java index 54796c6d8d39..0fd2b094d287 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java @@ -148,6 +148,10 @@ interface VirtualMachinesService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy") Call beginRedeploy(@Path("resourceGroupName") String resourceGroupName, @Path("vmName") String vmName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers("Content-Type: application/json; charset=utf-8") @GET Call listAllNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -1020,7 +1024,7 @@ private ServiceResponse generalizeDelegate(Response response * @throws IllegalArgumentException exception thrown from invalid parameters * @return the List<VirtualMachineInner> object wrapped in {@link ServiceResponse} if successful. */ - public ServiceResponse> list(String resourceGroupName) throws CloudException, IOException, IllegalArgumentException { + public ServiceResponse> list(final String resourceGroupName) throws CloudException, IOException, IllegalArgumentException { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1031,8 +1035,13 @@ public ServiceResponse> list(String resourceGroupName) throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } Call call = service.list(resourceGroupName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - ServiceResponse> response = listDelegate(call.execute()); - List result = response.getBody().getItems(); + ServiceResponse> response = listDelegate(call.execute()); + PagedList result = new PagedList(response.getBody()) { + @Override + public Page nextPage(String nextPageLink) throws CloudException, IOException { + return listNext(nextPageLink).getBody(); + } + }; return new ServiceResponse<>(result, response.getResponse()); } @@ -1044,7 +1053,7 @@ public ServiceResponse> list(String resourceGroupName) * @throws IllegalArgumentException thrown if callback is null * @return the {@link Call} object */ - public ServiceCall listAsync(String resourceGroupName, final ServiceCallback> serviceCallback) throws IllegalArgumentException { + public ServiceCall listAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) throws IllegalArgumentException { if (serviceCallback == null) { throw new IllegalArgumentException("ServiceCallback is required for async calls."); } @@ -1066,8 +1075,14 @@ public ServiceCall listAsync(String resourceGroupName, final ServiceCallback call, Response response) { try { - ServiceResponse> result = listDelegate(response); - serviceCallback.success(new ServiceResponse<>(result.getBody().getItems(), result.getResponse())); + ServiceResponse> result = listDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } } catch (CloudException | IOException exception) { serviceCallback.failure(exception); } @@ -1076,9 +1091,9 @@ public void onResponse(Call call, Response response) return serviceCall; } - private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.mapperAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.mapperAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1818,6 +1833,69 @@ private ServiceResponse beginRedeployDelegate(Response respo .build(response); } + /** + * The operation to list virtual machines under a resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<VirtualMachineInner> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listNext(nextPageLink, this.client.acceptLanguage(), this.client.userAgent()); + return listNextDelegate(call.execute()); + } + + /** + * The operation to list virtual machines under a resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listNext(nextPageLink, this.client.acceptLanguage(), this.client.userAgent()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.mapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** * Gets the list of Virtual Machines in the subscription. Use nextLink property in the response to get the next page of Virtual Machines. Do this till nextLink is not null to fetch all the Virtual Machines. * diff --git a/gulpfile.js b/gulpfile.js index 71e33b3b2c7e..2f9c185092be 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -7,7 +7,7 @@ var fs = require('fs'); var mappings = { 'compute': { 'dir': 'azure-mgmt-compute', - 'source': 'arm-compute/2015-06-15/swagger/compute.json', + 'source': 'arm-compute/2016-03-30/swagger/compute.json', 'package': 'com.microsoft.azure.management.compute', 'args': '-FT 1' }, @@ -94,6 +94,10 @@ gulp.task('default', function() { console.log("--autorest\n\tThe version of AutoRest. E.g. 0.15.0, or the location of AutoRest repo, E.g. E:\\repo\\autorest"); }); +var isWindows = (process.platform.lastIndexOf('win') === 0); +var isLinux= (process.platform.lastIndexOf('linux') === 0); +var isMac = (process.platform.lastIndexOf('darwin') === 0); + var specRoot = args['spec-root'] || "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master"; var projects = args['projects']; var autoRestVersion = '0.17.0-Nightly20160706'; // default @@ -112,7 +116,7 @@ gulp.task('codegen', function(cb) { handleInput(projects, cb); }); } else { - autoRestExe = autoRestVersion + "/binaries/net45/AutoRest.exe"; + autoRestExe = autoRestVersion + "/" + GetAutoRestFolder() + "AutoRest.exe"; if (process.platform !== 'win32') { autoRestExe = "mono " + autoRestExe; } @@ -174,3 +178,16 @@ var deleteFolderRecursive = function(path) { }); } }; + +function GetAutoRestFolder() { + if (isWindows) { + return "src/core/AutoRest/bin/Release/net451/win7-x64/"; + } + if( isMac ) { + return "src/core/AutoRest/bin/Debug/net451/osx.10.11-x64/"; + } + if( isLinux ) { + return "src/core/AutoRest/bin/Debug/net451/ubuntu.14.04-x64/" + } + throw new Error("Unknown platform?"); +} diff --git a/tools/nuget.exe b/tools/nuget.exe old mode 100644 new mode 100755