,
- ChildResource {
+public class DataDisk {
+ /**
+ * Gets or sets the logical unit number.
+ */
+ @JsonProperty(required = true)
+ private int lun;
- // getters
+ /**
+ * Gets or sets the disk name.
+ */
+ @JsonProperty(required = true)
+ private String name;
/**
- * @return the size of this data disk in GB
+ * Gets or sets the Virtual Hard Disk.
*/
- int size();
+ @JsonProperty(required = true)
+ private VirtualHardDisk vhd;
/**
- * @return the logical unit number assigned to this data disk
+ * 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.
*/
- int lun();
+ private VirtualHardDisk image;
/**
- * @return uri to the virtual hard disk backing this data disk
+ * Gets or sets the caching type. Possible values include: 'None',
+ * 'ReadOnly', 'ReadWrite'.
*/
- String vhdUri();
+ private CachingTypes caching;
/**
- * Gets the disk caching type.
- *
- * possible values are: 'None', 'ReadOnly', 'ReadWrite'
- *
- * @return the caching type
+ * Gets or sets the create option. Possible values include: 'fromImage',
+ * 'empty', 'attach'.
*/
- CachingTypes cachingType();
+ @JsonProperty(required = true)
+ private DiskCreateOptionTypes createOption;
/**
- * Uri to the source virtual hard disk user image from which this disk was created.
- *
- * null will be returned if this disk is not based on an image
- *
- * @return the uri of the source vhd image
+ * Gets or sets the initial disk size in GB for blank data disks, and the
+ * new desired size for existing OS and Data disks.
*/
- String sourceImageUri();
+ private Integer diskSizeGB;
/**
- * Gets the create option used while creating this disk.
- *
- * Possible values include: 'fromImage', 'empty', 'attach'
- * 'fromImage' - if data disk was created from a user image
- * 'attach' - if an existing vhd was usd to back the data disk
- * 'empty' - if the disk was created as an empty disk
- * when disk is created using 'fromImage' option, a copy of user image vhd will be created first
- * and it will be used as the vhd to back the data disk.
+ * Get the lun value.
*
- * @return disk create option
+ * @return the lun value
*/
- DiskCreateOptionTypes createOption();
-
- // fluent (setters)
+ public int lun() {
+ return this.lun;
+ }
/**
- * Grouping of data disk definition stages applicable as part of a virtual machine creation.
+ * Set the lun value.
+ *
+ * @param lun the lun value to set
+ * @return the DataDisk object itself.
*/
- interface DefinitionStages {
- /**
- * The first stage of a data disk definition.
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface Blank
- extends WithDataDisk {
- }
-
- /**
- * The stage allowing to choose configuring new or existing data disk.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface WithDataDisk
- extends AttachNewDataDisk, AttachExistingDataDisk {
- }
-
- /**
- * The first stage of new data disk configuration.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface AttachNewDataDisk {
- /**
- * Specifies the initial disk size in GB for new blank data disk.
- *
- * @param sizeInGB the disk size in GB
- * @return the stage representing optional additional settings for the attachable data disk
- */
- WithStoreAt withSizeInGB(Integer sizeInGB);
- }
-
- /**
- * The stage of the new data disk configuration allowing to specify location to store the VHD.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface WithStoreAt extends WithAttach {
- /**
- * Specifies where the VHD associated with the new blank data disk needs to be stored.
- *
- * @param storageAccountName the storage account name
- * @param containerName the name of the container to hold the new VHD file
- * @param vhdName the name for the new VHD file
- * @return the stage representing optional additional configurations for the data disk
- */
- WithAttach storeAt(String storageAccountName, String containerName, String vhdName);
- }
-
- /**
- * The first stage of attaching an existing disk as data disk and configuring it.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface AttachExistingDataDisk {
- /**
- * Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
- *
- * @param storageAccountName the storage account name
- * @param containerName the name of the container holding the VHD file
- * @param vhdName the name for the VHD file
- * @return the stage representing optional additional settings for the attachable data disk
- */
- WithAttach from(String storageAccountName, String containerName, String vhdName);
- }
-
- /** The final stage of the data disk definition.
- *
- * At this stage, any remaining optional settings can be specified, or the data disk definition
- * can be attached to the parent virtual machine definition using {@link WithAttach#attach()}.
- * @param the return type of {@link WithAttach#attach()}
- */
- interface WithAttach extends Attachable.InUpdate {
- /**
- * Specifies the logical unit number for the data disk.
- *
- * @param lun the logical unit number
- * @return the next stage of data disk definition
- */
- WithAttach withLun(Integer lun);
-
- /**
- * Specifies the caching type for the data disk.
- *
- * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- * @return the next stage of data disk definition
- */
- WithAttach withCaching(CachingTypes cachingType);
- }
+ public DataDisk withLun(int lun) {
+ this.lun = lun;
+ return this;
}
/**
- * The entirety of a data disk definition.
- * @param the return type of the final {@link Attachable#attach()}
+ * Get the name value.
+ *
+ * @return the name value
*/
- interface Definition extends
- DefinitionStages.Blank,
- DefinitionStages.WithAttach,
- DefinitionStages.WithStoreAt {
+ public String name() {
+ return this.name;
}
/**
- * Grouping of data disk definition stages applicable as part of a virtual machine update.
+ * Set the name value.
+ *
+ * @param name the name value to set
+ * @return the DataDisk object itself.
*/
- interface UpdateDefinitionStages {
- /**
- * The first stage of a data disk definition.
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface Blank
- extends WithDataDisk {
- }
-
- /**
- * The stage allowing to choose configuring new or existing data disk.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface WithDataDisk
- extends AttachNewDataDisk, AttachExistingDataDisk {
- }
+ public DataDisk withName(String name) {
+ this.name = name;
+ return this;
+ }
- /**
- * The first stage of new data disk configuration.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface AttachNewDataDisk {
- /**
- * Specifies the initial disk size in GB for new blank data disk.
- *
- * @param sizeInGB the disk size in GB
- * @return the stage representing optional additional settings for the attachable data disk
- */
- WithStoreAt withSizeInGB(Integer sizeInGB);
- }
+ /**
+ * Get the vhd value.
+ *
+ * @return the vhd value
+ */
+ public VirtualHardDisk vhd() {
+ return this.vhd;
+ }
- /**
- * The stage of the new data disk configuration allowing to specify location to store the VHD.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface WithStoreAt extends WithAttach {
- /**
- * Specifies where the VHD associated with the new blank data disk needs to be stored.
- *
- * @param storageAccountName the storage account name
- * @param containerName the name of the container to hold the new VHD file
- * @param vhdName the name for the new VHD file
- * @return the stage representing optional additional configurations for the data disk
- */
- WithAttach storeAt(String storageAccountName, String containerName, String vhdName);
- }
+ /**
+ * Set the vhd value.
+ *
+ * @param vhd the vhd value to set
+ * @return the DataDisk object itself.
+ */
+ public DataDisk withVhd(VirtualHardDisk vhd) {
+ this.vhd = vhd;
+ return this;
+ }
- /**
- * The first stage of attaching an existing disk as data disk and configuring it.
- *
- * @param the return type of the final {@link WithAttach#attach()}
- */
- interface AttachExistingDataDisk {
- /**
- * Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
- *
- * @param storageAccountName the storage account name
- * @param containerName the name of the container holding the VHD file
- * @param vhdName the name for the VHD file
- * @return the stage representing optional additional settings for the attachable data disk
- */
- WithAttach from(String storageAccountName, String containerName, String vhdName);
- }
+ /**
+ * Get the image value.
+ *
+ * @return the image value
+ */
+ public VirtualHardDisk image() {
+ return this.image;
+ }
- /** The final stage of the data disk definition.
- *
- * At this stage, any remaining optional settings can be specified, or the data disk definition
- * can be attached to the parent virtual machine definition using {@link WithAttach#attach()}.
- * @param the return type of {@link WithAttach#attach()}
- */
- interface WithAttach extends Attachable.InDefinition {
- /**
- * Specifies the logical unit number for the data disk.
- *
- * @param lun the logical unit number
- * @return the next stage of data disk definition
- */
- WithAttach withLun(Integer lun);
+ /**
+ * Set the image value.
+ *
+ * @param image the image value to set
+ * @return the DataDisk object itself.
+ */
+ public DataDisk withImage(VirtualHardDisk image) {
+ this.image = image;
+ return this;
+ }
- /**
- * Specifies the caching type for the data disk.
- *
- * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- * @return the next stage of data disk definition
- */
- WithAttach withCaching(CachingTypes cachingType);
- }
+ /**
+ * Get the caching value.
+ *
+ * @return the caching value
+ */
+ public CachingTypes caching() {
+ return this.caching;
}
- /** The entirety of a data disk definition as part of a virtual machine update.
- * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()}
+ /**
+ * Set the caching value.
+ *
+ * @param caching the caching value to set
+ * @return the DataDisk object itself.
*/
- interface UpdateDefinition extends
- UpdateDefinitionStages.Blank,
- UpdateDefinitionStages.WithAttach,
- UpdateDefinitionStages.WithStoreAt {
+ public DataDisk withCaching(CachingTypes caching) {
+ this.caching = caching;
+ return this;
}
/**
- * Grouping of data disk update stages.
+ * Get the createOption value.
+ *
+ * @return the createOption value
*/
- interface UpdateStages {
- /**
- * Specifies the new size in GB for data disk.
- *
- * @param sizeInGB the disk size in GB
- * @return the next stage of data disk update
- */
- Update withSizeInGB(Integer sizeInGB);
+ public DiskCreateOptionTypes createOption() {
+ return this.createOption;
+ }
- /**
- * Specifies the new logical unit number for the data disk.
- *
- * @param lun the logical unit number
- * @return the next stage of data disk update
- */
- Update withLun(Integer lun);
+ /**
+ * Set the createOption value.
+ *
+ * @param createOption the createOption value to set
+ * @return the DataDisk object itself.
+ */
+ public DataDisk withCreateOption(DiskCreateOptionTypes createOption) {
+ this.createOption = createOption;
+ return this;
+ }
- /**
- * Specifies the new caching type for the data disk.
- *
- * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- * @return the next stage of data disk update
- */
- Update withCaching(CachingTypes cachingType);
+ /**
+ * Get the diskSizeGB value.
+ *
+ * @return the diskSizeGB value
+ */
+ public Integer diskSizeGB() {
+ return this.diskSizeGB;
}
/**
- * The entirety of a data disk update as part of a virtual machine update.
+ * Set the diskSizeGB value.
+ *
+ * @param diskSizeGB the diskSizeGB value to set
+ * @return the DataDisk object itself.
*/
- interface Update extends
- UpdateStages,
- Settable {
+ public DataDisk withDiskSizeGB(Integer diskSizeGB) {
+ this.diskSizeGB = diskSizeGB;
+ return this;
}
+
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java
similarity index 87%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDiskImage.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java
index 24f5aca450db..d4409a7bfb6c 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDiskImage.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DataDiskImage.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiagnosticsProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java
similarity index 88%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiagnosticsProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java
index bf43aff0924b..af4e5ad64574 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiagnosticsProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiagnosticsProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskCreateOptionTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskCreateOptionTypes.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskCreateOptionTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskCreateOptionTypes.java
index ac383d79608c..4257b92c6ef5 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskCreateOptionTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskCreateOptionTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskEncryptionSettings.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskEncryptionSettings.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java
index 42a71abf6d82..a58bf2998802 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskEncryptionSettings.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskEncryptionSettings.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskInstanceView.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java
index 7c0e669768b3..354a530f9912 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DiskInstanceView.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/DiskInstanceView.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ForceUpdateTagTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java
similarity index 91%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ForceUpdateTagTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java
index ae08d4eeedb8..0d7b5cdf2168 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ForceUpdateTagTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ForceUpdateTagTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/HardwareProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/HardwareProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java
index ea89cfe39767..2ea76a93ffd4 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/HardwareProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/HardwareProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ImageReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ImageReference.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java
index f596cbbccc6d..3bd579126309 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ImageReference.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ImageReference.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InnerError.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InnerError.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java
index ae797a956963..0d68c285d018 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InnerError.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InnerError.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewStatus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewStatus.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java
index e06908dce5dd..9117c0891972 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewStatus.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewStatus.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import org.joda.time.DateTime;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewTypes.java
similarity index 91%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewTypes.java
index f2561384cc39..0f3e27cd6871 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/InstanceViewTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/InstanceViewTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultKeyReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultKeyReference.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java
index 9e1ecaff86b5..331c60c2a6a2 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultKeyReference.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultKeyReference.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultSecretReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultSecretReference.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java
index ad64757b6727..07b14587c271 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/KeyVaultSecretReference.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KeyVaultSecretReference.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownLinuxVirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownLinuxVirtualMachineImage.java
index ffb27b98dd79..1366977ef05d 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownLinuxVirtualMachineImage.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownLinuxVirtualMachineImage.java
@@ -1,7 +1,5 @@
package com.microsoft.azure.management.compute;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-
/**
* The popular Azure Linux images.
*/
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownWindowsVirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownWindowsVirtualMachineImage.java
index 4486fc1ed248..dbd3c7ba2e2f 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownWindowsVirtualMachineImage.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/KnownWindowsVirtualMachineImage.java
@@ -1,7 +1,5 @@
package com.microsoft.azure.management.compute;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-
/**
* The popular Azure Windows images.
*/
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/LinuxConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/LinuxConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java
index b61ce0cf4be3..a03a2e78cf23 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/LinuxConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/LinuxConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkInterfaceReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java
similarity index 90%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkInterfaceReference.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java
index 5b9ff15deee5..67218143e78f 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkInterfaceReference.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkInterfaceReference.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java
similarity index 89%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java
index c401c496fea0..9d0b7e4d60fd 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/NetworkProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/NetworkProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDisk.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java
index 9fcf164be195..04619cb19c62 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDisk.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDisk.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java
similarity index 90%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDiskImage.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java
index 9c27868da1ca..3b45303d65a2 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSDiskImage.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSDiskImage.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java
index 49cbf767e24b..3a06bd06f583 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OSProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OSProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OperatingSystemTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OperatingSystemTypes.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OperatingSystemTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OperatingSystemTypes.java
index c8b63543085e..c7355def8300 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/OperatingSystemTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/OperatingSystemTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PassNames.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PassNames.java
similarity index 91%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PassNames.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PassNames.java
index 58d18e33f45a..6263af4e3883 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PassNames.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PassNames.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Plan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Plan.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java
index fafbcca2f6b1..ee3630a23932 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Plan.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Plan.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ProtocolTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ProtocolTypes.java
similarity index 91%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ProtocolTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ProtocolTypes.java
index 7a1e015e01fb..a13e9cb56c59 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ProtocolTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ProtocolTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PurchasePlan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java
similarity index 94%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PurchasePlan.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java
index 494889225153..6fdc597cb076 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/PurchasePlan.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/PurchasePlan.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SettingNames.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SettingNames.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SettingNames.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SettingNames.java
index 06257eaac907..1ced066a2f63 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SettingNames.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SettingNames.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
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 80bb265be35e..412133c63eca 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
@@ -2,37 +2,90 @@
* 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.microsoft.azure.management.resources.fluentcore.arm.Region;
/**
- * Represents a virtual machine image SKU.
+ * Describes a virtual machine scale set sku.
*/
-public interface Sku {
+public class Sku {
+ /**
+ * Gets or sets the sku name.
+ */
+ private String name;
+
+ /**
+ * Gets or sets the sku tier.
+ */
+ private String tier;
+
/**
- * @return the region where this virtual machine image offer SKU is available
+ * Gets or sets the sku capacity.
*/
- Region region();
+ private Long capacity;
/**
- * @return the publisher of this virtual machine image offer SKU
+ * Get the name value.
+ *
+ * @return the name value
*/
- Publisher publisher();
+ public String name() {
+ return this.name;
+ }
/**
- * @return the virtual machine offer name that this SKU belongs to
+ * Set the name value.
+ *
+ * @param name the name value to set
+ * @return the Sku object itself.
*/
- Offer offer();
+ public Sku withName(String name) {
+ this.name = name;
+ return this;
+ }
/**
- * @return the commercial name of the virtual machine image (SKU)
+ * Get the tier value.
+ *
+ * @return the tier value
*/
- String name();
+ public String tier() {
+ return this.tier;
+ }
/**
- * @return virtual machine images in the sku
+ * Set the tier value.
+ *
+ * @param tier the tier value to set
+ * @return the Sku object itself.
*/
- VirtualMachineImagesInSku images();
+ public Sku withTier(String tier) {
+ this.tier = tier;
+ return this;
+ }
+
+ /**
+ * Get the capacity value.
+ *
+ * @return the capacity value
+ */
+ public Long capacity() {
+ return this.capacity;
+ }
+
+ /**
+ * Set the capacity value.
+ *
+ * @param capacity the capacity value to set
+ * @return the Sku object itself.
+ */
+ public Sku withCapacity(Long capacity) {
+ this.capacity = capacity;
+ return this;
+ }
+
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java
similarity index 89%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java
index 028afc47ae94..ce713e8bbba1 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshPublicKey.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshPublicKey.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java
index 622d00163825..822859bc3082 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/SshPublicKey.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/SshPublicKey.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StatusLevelTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StatusLevelTypes.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StatusLevelTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StatusLevelTypes.java
index 0c790e166118..abac9e653319 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StatusLevelTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StatusLevelTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java
similarity index 94%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StorageProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java
index f40477ddc257..90eefd641b20 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/StorageProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/StorageProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradeMode.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradeMode.java
similarity index 91%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradeMode.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradeMode.java
index 13df88734ec5..46f05b689252 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradeMode.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradeMode.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradePolicy.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java
similarity index 87%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradePolicy.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java
index aaa22ef30df3..957f6a725335 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UpgradePolicy.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UpgradePolicy.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageName.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageName.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java
index 1fbc939045c5..7b05ee39e52f 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageName.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageName.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultCertificate.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultCertificate.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java
index 653d6ed81d58..62c82ecce3c4 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultCertificate.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultCertificate.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultSecretGroup.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultSecretGroup.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java
index 6ec8e53c0a70..94238f02329e 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VaultSecretGroup.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VaultSecretGroup.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualHardDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java
similarity index 87%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualHardDisk.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java
index 3cd21cf4e59b..07d06ce5775f 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualHardDisk.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualHardDisk.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
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 1a3be9feee62..7e7318481f32 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
@@ -2,19 +2,8 @@
import com.microsoft.azure.CloudException;
import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInner;
-import com.microsoft.azure.management.compute.implementation.api.OperatingSystemTypes;
-import com.microsoft.azure.management.compute.implementation.api.CachingTypes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInstanceView;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineExtensionInner;
-import com.microsoft.azure.management.compute.implementation.api.Plan;
-import com.microsoft.azure.management.compute.implementation.api.StorageProfile;
-import com.microsoft.azure.management.compute.implementation.api.OSProfile;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-import com.microsoft.azure.management.compute.implementation.api.DiagnosticsProfile;
-import com.microsoft.azure.management.compute.implementation.api.WinRMListener;
-import com.microsoft.azure.management.compute.implementation.api.DiskEncryptionSettings;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeTypes;
+import com.microsoft.azure.management.compute.implementation.VirtualMachineInner;
+import com.microsoft.azure.management.compute.implementation.VirtualMachineExtensionInner;
import com.microsoft.azure.management.network.Network;
import com.microsoft.azure.management.network.NetworkInterface;
import com.microsoft.azure.management.network.PublicIpAddress;
@@ -166,7 +155,7 @@ public interface VirtualMachine extends
/**
* @return the list of data disks attached to this virtual machine
*/
- List dataDisks();
+ List dataDisks();
/**
* Gets the primary network interface of this virtual machine.
@@ -309,7 +298,7 @@ interface Blank extends GroupableResource.DefinitionWithRegion {
/**
* The stage of the virtual machine definition allowing to specify the resource group.
*/
- interface WithGroup extends GroupableResource.DefinitionWithGroup {
+ interface WithGroup extends GroupableResource.DefinitionStages.WithGroup {
}
/**
@@ -324,7 +313,7 @@ interface WithNetwork extends WithPrimaryNetworkInterface {
* @param creatable a creatable definition for a new virtual network
* @return the next stage of the virtual machine definition
*/
- WithPrivateIp withNewPrimaryNetwork(Network.DefinitionStages.WithCreate creatable);
+ WithPrivateIp withNewPrimaryNetwork(Creatable creatable);
/**
* Creates a new virtual network to associate with the virtual machine's primary network interface.
@@ -394,7 +383,7 @@ interface WithPublicIpAddress {
* @param creatable a creatable definition for a new public IP
* @return the next stage of the virtual machine definition
*/
- WithOS withNewPrimaryPublicIpAddress(PublicIpAddress.DefinitionCreatable creatable);
+ WithOS withNewPrimaryPublicIpAddress(Creatable creatable);
/**
* Creates a new public IP address in the same region and group as the resource, with the specified DNS label
@@ -416,7 +405,7 @@ interface WithPublicIpAddress {
WithOS withExistingPrimaryPublicIpAddress(PublicIpAddress publicIpAddress);
/**
- * Specifies that no public Ip needs to be associated with virtual machine.
+ * Specifies that no public IP needs to be associated with virtual machine.
*
* @return the next stage of the virtual machine definition
*/
@@ -434,7 +423,7 @@ interface WithPrimaryNetworkInterface {
* @param creatable a creatable definition for a new network interface
* @return The next stage of the virtual machine definition
*/
- WithOS withNewPrimaryNetworkInterface(NetworkInterface.DefinitionCreatable creatable);
+ WithOS withNewPrimaryNetworkInterface(Creatable creatable);
/**
* Associate an existing network interface as the virtual machine with as it's primary network interface.
@@ -717,7 +706,7 @@ interface WithDataDisk {
* @param name the name for the data disk
* @return the stage representing configuration for the data disk
*/
- DataDisk.DefinitionStages.AttachNewDataDisk defineNewDataDisk(String name);
+ VirtualMachineDataDisk.DefinitionStages.AttachNewDataDisk defineNewDataDisk(String name);
/**
* Specifies an existing VHD that needs to be attached to the virtual machine as data disk along with
@@ -726,7 +715,7 @@ interface WithDataDisk {
* @param name the name for the data disk
* @return the stage representing configuration for the data disk
*/
- DataDisk.DefinitionStages.AttachExistingDataDisk defineExistingDataDisk(String name);
+ VirtualMachineDataDisk.DefinitionStages.AttachExistingDataDisk defineExistingDataDisk(String name);
}
/**
@@ -745,7 +734,7 @@ interface WithAvailabilitySet {
WithCreate withNewAvailabilitySet(String name);
/**
- * Specifies definition of a not-yet-created {@link AvailabilitySet.DefinitionCreatable} availability set
+ * Specifies definition of a not-yet-created availability set definition
* to associate the virtual machine with.
*
* Adding virtual machines running your application to an availability set ensures that during
@@ -754,7 +743,7 @@ interface WithAvailabilitySet {
* @param creatable the availability set in creatable stage
* @return the stage representing creatable VM definition
*/
- WithCreate withNewAvailabilitySet(AvailabilitySet.DefinitionCreatable creatable);
+ WithCreate withNewAvailabilitySet(Creatable creatable);
/**
* Specifies an existing {@link AvailabilitySet} availability set to to associate the virtual machine with.
@@ -784,16 +773,16 @@ interface WithStorageAccount {
WithCreate withNewStorageAccount(String name);
/**
- * Specifies definition of a not-yet-created {@link StorageAccount.DefinitionCreatable} storage account
- * to put the VM's OS and data disk VHD in.
+ * Specifies definition of a not-yet-created storage account definition
+ * to put the VM's OS and data disk VHDs in.
*
- * Only the OS disk based on marketplace image will be stored in the new storage account,
- * an OS disk based on user image will be stored in the same storage account as user image.
+ * Only the OS disk based on marketplace image will be stored in the new storage account.
+ * An OS disk based on user image will be stored in the same storage account as user image.
*
* @param creatable the storage account in creatable stage
* @return the stage representing creatable VM definition
*/
- WithCreate withNewStorageAccount(StorageAccount.DefinitionCreatable creatable);
+ WithCreate withNewStorageAccount(Creatable creatable);
/**
* Specifies an existing {@link StorageAccount} storage account to put the VM's OS and data disk VHD in.
@@ -822,7 +811,7 @@ interface WithSecondaryNetworkInterface {
* @param creatable a creatable definition for a new network interface
* @return the stage representing creatable VM definition
*/
- WithCreate withNewSecondaryNetworkInterface(NetworkInterface.DefinitionCreatable creatable);
+ WithCreate withNewSecondaryNetworkInterface(Creatable creatable);
/**
* Associate an existing network interface with the virtual machine.
@@ -886,7 +875,7 @@ interface WithDataDisk {
* @param name the name for the data disk
* @return the stage representing configuration for the data disk
*/
- DataDisk.UpdateDefinitionStages.AttachNewDataDisk defineNewDataDisk(String name);
+ VirtualMachineDataDisk.UpdateDefinitionStages.AttachNewDataDisk defineNewDataDisk(String name);
/**
* Specifies an existing VHD that needs to be attached to the virtual machine as data disk along with
@@ -895,7 +884,7 @@ interface WithDataDisk {
* @param name the name for the data disk
* @return the stage representing configuration for the data disk
*/
- DataDisk
+ VirtualMachineDataDisk
.UpdateDefinitionStages
.AttachExistingDataDisk defineExistingDataDisk(String name);
@@ -905,7 +894,7 @@ interface WithDataDisk {
* @param name the name of the disk
* @return the stage representing updating configuration for data disk
*/
- DataDisk.Update updateDataDisk(String name);
+ VirtualMachineDataDisk.Update updateDataDisk(String name);
/**
* Detaches a data disk with the given name from the virtual machine.
@@ -939,7 +928,7 @@ interface WithSecondaryNetworkInterface {
* @param creatable a creatable definition for a new network interface
* @return the stage representing creatable VM definition
*/
- Update withNewSecondaryNetworkInterface(NetworkInterface.DefinitionCreatable creatable);
+ Update withNewSecondaryNetworkInterface(Creatable creatable);
/**
* Associate an existing network interface with the virtual machine.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineAgentInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineAgentInstanceView.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java
index eb8b7089fabb..017cc54c2cf9 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineAgentInstanceView.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineAgentInstanceView.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java
new file mode 100644
index 000000000000..b844b032c40f
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java
@@ -0,0 +1,311 @@
+package com.microsoft.azure.management.compute;
+
+import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource;
+import com.microsoft.azure.management.resources.fluentcore.model.Attachable;
+import com.microsoft.azure.management.resources.fluentcore.model.Settable;
+import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;
+
+/**
+ * A data disk of a virtual machine.
+ */
+public interface VirtualMachineDataDisk extends
+ Wrapper,
+ ChildResource {
+
+ // getters
+
+ /**
+ * @return the size of this data disk in GB
+ */
+ int size();
+
+ /**
+ * @return the logical unit number assigned to this data disk
+ */
+ int lun();
+
+ /**
+ * @return uri to the virtual hard disk backing this data disk
+ */
+ String vhdUri();
+
+ /**
+ * Gets the disk caching type.
+ *
+ * possible values are: 'None', 'ReadOnly', 'ReadWrite'
+ *
+ * @return the caching type
+ */
+ CachingTypes cachingType();
+
+ /**
+ * Uri to the source virtual hard disk user image from which this disk was created.
+ *
+ * null will be returned if this disk is not based on an image
+ *
+ * @return the uri of the source vhd image
+ */
+ String sourceImageUri();
+
+ /**
+ * Gets the create option used while creating this disk.
+ *
+ * Possible values include: 'fromImage', 'empty', 'attach'
+ * 'fromImage' - if data disk was created from a user image
+ * 'attach' - if an existing vhd was usd to back the data disk
+ * 'empty' - if the disk was created as an empty disk
+ * when disk is created using 'fromImage' option, a copy of user image vhd will be created first
+ * and it will be used as the vhd to back the data disk.
+ *
+ * @return disk create option
+ */
+ DiskCreateOptionTypes createOption();
+
+ // fluent (setters)
+
+ /**
+ * Grouping of data disk definition stages applicable as part of a virtual machine creation.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a data disk definition.
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface Blank
+ extends WithDataDisk {
+ }
+
+ /**
+ * The stage allowing to choose configuring new or existing data disk.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface WithDataDisk
+ extends AttachNewDataDisk, AttachExistingDataDisk {
+ }
+
+ /**
+ * The first stage of new data disk configuration.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface AttachNewDataDisk {
+ /**
+ * Specifies the initial disk size in GB for new blank data disk.
+ *
+ * @param sizeInGB the disk size in GB
+ * @return the stage representing optional additional settings for the attachable data disk
+ */
+ WithStoreAt withSizeInGB(Integer sizeInGB);
+ }
+
+ /**
+ * The stage of the new data disk configuration allowing to specify location to store the VHD.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface WithStoreAt extends WithAttach {
+ /**
+ * Specifies where the VHD associated with the new blank data disk needs to be stored.
+ *
+ * @param storageAccountName the storage account name
+ * @param containerName the name of the container to hold the new VHD file
+ * @param vhdName the name for the new VHD file
+ * @return the stage representing optional additional configurations for the data disk
+ */
+ WithAttach storeAt(String storageAccountName, String containerName, String vhdName);
+ }
+
+ /**
+ * The first stage of attaching an existing disk as data disk and configuring it.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface AttachExistingDataDisk {
+ /**
+ * Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
+ *
+ * @param storageAccountName the storage account name
+ * @param containerName the name of the container holding the VHD file
+ * @param vhdName the name for the VHD file
+ * @return the stage representing optional additional settings for the attachable data disk
+ */
+ WithAttach from(String storageAccountName, String containerName, String vhdName);
+ }
+
+ /** The final stage of the data disk definition.
+ *
+ * At this stage, any remaining optional settings can be specified, or the data disk definition
+ * can be attached to the parent virtual machine definition using {@link WithAttach#attach()}.
+ * @param the return type of {@link WithAttach#attach()}
+ */
+ interface WithAttach extends Attachable.InUpdate {
+ /**
+ * Specifies the logical unit number for the data disk.
+ *
+ * @param lun the logical unit number
+ * @return the next stage of data disk definition
+ */
+ WithAttach withLun(Integer lun);
+
+ /**
+ * Specifies the caching type for the data disk.
+ *
+ * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @return the next stage of data disk definition
+ */
+ WithAttach withCaching(CachingTypes cachingType);
+ }
+ }
+
+ /**
+ * The entirety of a data disk definition.
+ * @param the return type of the final {@link Attachable#attach()}
+ */
+ interface Definition extends
+ DefinitionStages.Blank,
+ DefinitionStages.WithAttach,
+ DefinitionStages.WithStoreAt {
+ }
+
+ /**
+ * Grouping of data disk definition stages applicable as part of a virtual machine update.
+ */
+ interface UpdateDefinitionStages {
+ /**
+ * The first stage of a data disk definition.
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface Blank
+ extends WithDataDisk {
+ }
+
+ /**
+ * The stage allowing to choose configuring new or existing data disk.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface WithDataDisk
+ extends AttachNewDataDisk, AttachExistingDataDisk {
+ }
+
+ /**
+ * The first stage of new data disk configuration.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface AttachNewDataDisk {
+ /**
+ * Specifies the initial disk size in GB for new blank data disk.
+ *
+ * @param sizeInGB the disk size in GB
+ * @return the stage representing optional additional settings for the attachable data disk
+ */
+ WithStoreAt withSizeInGB(Integer sizeInGB);
+ }
+
+ /**
+ * The stage of the new data disk configuration allowing to specify location to store the VHD.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface WithStoreAt extends WithAttach {
+ /**
+ * Specifies where the VHD associated with the new blank data disk needs to be stored.
+ *
+ * @param storageAccountName the storage account name
+ * @param containerName the name of the container to hold the new VHD file
+ * @param vhdName the name for the new VHD file
+ * @return the stage representing optional additional configurations for the data disk
+ */
+ WithAttach storeAt(String storageAccountName, String containerName, String vhdName);
+ }
+
+ /**
+ * The first stage of attaching an existing disk as data disk and configuring it.
+ *
+ * @param the return type of the final {@link WithAttach#attach()}
+ */
+ interface AttachExistingDataDisk {
+ /**
+ * Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
+ *
+ * @param storageAccountName the storage account name
+ * @param containerName the name of the container holding the VHD file
+ * @param vhdName the name for the VHD file
+ * @return the stage representing optional additional settings for the attachable data disk
+ */
+ WithAttach from(String storageAccountName, String containerName, String vhdName);
+ }
+
+ /** The final stage of the data disk definition.
+ *
+ * At this stage, any remaining optional settings can be specified, or the data disk definition
+ * can be attached to the parent virtual machine definition using {@link WithAttach#attach()}.
+ * @param the return type of {@link WithAttach#attach()}
+ */
+ interface WithAttach extends Attachable.InDefinition {
+ /**
+ * Specifies the logical unit number for the data disk.
+ *
+ * @param lun the logical unit number
+ * @return the next stage of data disk definition
+ */
+ WithAttach withLun(Integer lun);
+
+ /**
+ * Specifies the caching type for the data disk.
+ *
+ * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @return the next stage of data disk definition
+ */
+ WithAttach withCaching(CachingTypes cachingType);
+ }
+ }
+
+ /** The entirety of a data disk definition as part of a virtual machine update.
+ * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()}
+ */
+ interface UpdateDefinition extends
+ UpdateDefinitionStages.Blank,
+ UpdateDefinitionStages.WithAttach,
+ UpdateDefinitionStages.WithStoreAt {
+ }
+
+ /**
+ * Grouping of data disk update stages.
+ */
+ interface UpdateStages {
+ /**
+ * Specifies the new size in GB for data disk.
+ *
+ * @param sizeInGB the disk size in GB
+ * @return the next stage of data disk update
+ */
+ Update withSizeInGB(Integer sizeInGB);
+
+ /**
+ * Specifies the new logical unit number for the data disk.
+ *
+ * @param lun the logical unit number
+ * @return the next stage of data disk update
+ */
+ Update withLun(Integer lun);
+
+ /**
+ * Specifies the new caching type for the data disk.
+ *
+ * @param cachingType the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @return the next stage of data disk update
+ */
+ Update withCaching(CachingTypes cachingType);
+ }
+
+ /**
+ * The entirety of a data disk update as part of a virtual machine update.
+ */
+ interface Update extends
+ UpdateStages,
+ Settable {
+ }
+}
\ No newline at end of file
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionHandlerInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionHandlerInstanceView.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java
index 7f6f3163fee1..a569d01fb1d1 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionHandlerInstanceView.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionHandlerInstanceView.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInstanceView.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java
index 1dac4908a54d..1c382a719965 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInstanceView.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionInstanceView.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java
index a5fac2e91aaa..c840545abd98 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java
@@ -5,11 +5,7 @@
*/
package com.microsoft.azure.management.compute;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageInner;
-import com.microsoft.azure.management.compute.implementation.api.PurchasePlan;
-import com.microsoft.azure.management.compute.implementation.api.OSDiskImage;
-import com.microsoft.azure.management.compute.implementation.api.DataDiskImage;
+import com.microsoft.azure.management.compute.implementation.VirtualMachineImageInner;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java
index 083ac7725157..660065907b66 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java
@@ -19,7 +19,7 @@ public interface VirtualMachineImages extends
/**
* @return entry point to virtual machine image publishers
*/
- Publishers publishers();
+ VirtualMachinePublishers publishers();
/**
* Lists all the virtual machine images available in a given region.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInstanceView.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java
index 9f2e4ec432ba..17bc1645fade 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInstanceView.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineInstanceView.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offer.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java
similarity index 86%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offer.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java
index c261053d286f..b0c7cb3fad39 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offer.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java
@@ -10,7 +10,7 @@
/**
* Represents a virtual machine image offer.
*/
-public interface Offer {
+public interface VirtualMachineOffer {
/**
* @return the region where this virtual machine image offer is available
*/
@@ -19,7 +19,7 @@ public interface Offer {
/**
* @return the publisher of this virtual machine image offer
*/
- Publisher publisher();
+ VirtualMachinePublisher publisher();
/**
* @return the name of the virtual machine image offer
@@ -29,5 +29,5 @@ public interface Offer {
/**
* @return Virtual machine image SKUs available in this offer.
*/
- Skus skus();
+ VirtualMachineSkus skus();
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java
similarity index 81%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offers.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java
index 9d82fe46db73..07f7b669945e 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Offers.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java
@@ -10,6 +10,6 @@
/**
* Entry point to virtual machine image offers.
*/
-public interface Offers extends SupportsListing {
+public interface VirtualMachineOffers extends SupportsListing {
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publisher.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java
similarity index 88%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publisher.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java
index 200d1f7c55ab..99addcb673d8 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publisher.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java
@@ -10,7 +10,7 @@
/**
* Represents a virtual machine image publisher.
*/
-public interface Publisher {
+public interface VirtualMachinePublisher {
/**
* @return the region where virtual machine images from this publisher is available
*/
@@ -24,5 +24,5 @@ public interface Publisher {
/**
* @return the offers from this publisher
*/
- Offers offers();
+ VirtualMachineOffers offers();
}
\ No newline at end of file
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publishers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java
similarity index 78%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publishers.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java
index 17f165043109..ed285369616c 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Publishers.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java
@@ -10,6 +10,6 @@
/**
* Entry point to virtual machine image publishers.
*/
-public interface Publishers extends SupportsListingByRegion {
+public interface VirtualMachinePublishers extends SupportsListingByRegion {
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtension.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java
similarity index 98%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtension.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java
index 0c30442b9dbb..d261c5314548 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtension.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtension.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtensionProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java
similarity index 90%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtensionProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java
index 4ca566c1ca0d..31b0124d61c6 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetExtensionProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetExtensionProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetIPConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetIPConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java
index 0f7b2f1fc9b4..654b1ae2c073 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetIPConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetIPConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.microsoft.azure.SubResource;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewStatusesSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java
similarity index 87%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewStatusesSummary.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java
index 82f4241d51ac..0c1e118dcb12 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewStatusesSummary.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetInstanceViewStatusesSummary.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java
index ddd6159d025b..c543789caf80 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java
index 0894e773029a..48f154ed1318 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetNetworkProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetNetworkProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSDisk.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java
index 4f9d0f4a7d97..b8ff98ad9f53 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSDisk.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSDisk.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java
index 52bc13f03b1b..9bdd02d335d6 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetOSProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetOSProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuCapacity.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuCapacity.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java
index 56186fc9dee8..f75a0f9e50ce 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuCapacity.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuCapacity.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuScaleType.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuScaleType.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuScaleType.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuScaleType.java
index 96cf06ee1b78..0347f124f0a6 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuScaleType.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetSkuScaleType.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetStorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetStorageProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java
index 9a2359c6a87b..8d9b4c31b307 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetStorageProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetStorageProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMExtensionsSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java
similarity index 90%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMExtensionsSummary.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java
index fb816b775bd6..c49524126061 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMExtensionsSummary.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMExtensionsSummary.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java
similarity index 89%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceIDs.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java
index d19b82a87103..74159438a5c0 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceIDs.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceIDs.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceRequiredIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java
similarity index 90%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceRequiredIDs.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java
index 05a6c61ccae3..f7495a09824f 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceRequiredIDs.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMInstanceRequiredIDs.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMProfile.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java
index 859940003885..a705a8ace741 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMProfile.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMProfile.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeTypes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java
similarity index 98%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeTypes.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java
index 45aa90f78746..b57c7accab65 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeTypes.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizeTypes.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
* Defines values for VirtualMachineSizeTypes.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java
new file mode 100644
index 000000000000..882bfabfbc33
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+package com.microsoft.azure.management.compute;
+
+import com.microsoft.azure.management.resources.fluentcore.arm.Region;
+
+/**
+ * Represents a virtual machine image SKU.
+ */
+public interface VirtualMachineSku {
+ /**
+ * @return the region where this virtual machine image offer SKU is available
+ */
+ Region region();
+
+ /**
+ * @return the publisher of this virtual machine image offer SKU
+ */
+ VirtualMachinePublisher publisher();
+
+ /**
+ * @return the virtual machine offer name that this SKU belongs to
+ */
+ VirtualMachineOffer offer();
+
+ /**
+ * @return the commercial name of the virtual machine image (SKU)
+ */
+ String name();
+
+ /**
+ * @return virtual machine images in the sku
+ */
+ VirtualMachineImagesInSku images();
+}
\ No newline at end of file
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Skus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java
similarity index 81%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Skus.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java
index daeedff8efb4..6b77809a2558 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/Skus.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java
@@ -10,5 +10,5 @@
/**
* Entry point to virtual machine image offer skus.
*/
-public interface Skus extends SupportsListing {
+public interface VirtualMachineSkus extends SupportsListing {
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineStatusCodeCount.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java
similarity index 89%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineStatusCodeCount.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java
index b55cc9f65a7c..301982037634 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineStatusCodeCount.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineStatusCodeCount.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java
similarity index 89%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java
index 759d1fb8fcdb..c22c6ed6a57a 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMListener.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMListener.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java
index 3ffd7c7a5814..2276ce0ae4b4 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WinRMListener.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WinRMListener.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WindowsConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WindowsConfiguration.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java
index 27827c72c8a2..79de5b70e7e7 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/WindowsConfiguration.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/WindowsConfiguration.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute;
import java.util.List;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java
index b43f6b9c7ff1..eb90fcea6a98 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java
@@ -7,9 +7,7 @@
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.compute.AvailabilitySet;
-import com.microsoft.azure.management.compute.implementation.api.AvailabilitySetInner;
-import com.microsoft.azure.management.compute.implementation.api.AvailabilitySetsInner;
-import com.microsoft.azure.management.compute.implementation.api.InstanceViewStatus;
+import com.microsoft.azure.management.compute.InstanceViewStatus;
import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl;
import com.microsoft.azure.management.resources.fluentcore.utils.Utils;
import com.microsoft.rest.ServiceCall;
@@ -31,7 +29,7 @@ class AvailabilitySetImpl
ComputeManager>
implements
AvailabilitySet,
- AvailabilitySet.Definitions,
+ AvailabilitySet.Definition,
AvailabilitySet.Update {
private List idOfVMsInSet;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java
similarity index 94%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java
index 862e232010f2..2576844b3bcc 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetInner.java
@@ -2,12 +2,15 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import java.util.List;
import com.microsoft.azure.SubResource;
+import com.microsoft.azure.management.compute.InstanceViewStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java
index 9ad1d2bdfa5e..0559e0b50139 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java
@@ -9,8 +9,6 @@
import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.compute.AvailabilitySet;
import com.microsoft.azure.management.compute.AvailabilitySets;
-import com.microsoft.azure.management.compute.implementation.api.AvailabilitySetInner;
-import com.microsoft.azure.management.compute.implementation.api.AvailabilitySetsInner;
import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.GroupableResourcesImpl;
import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupPagedList;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetsInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsInner.java
index 89140042fe9e..0e7c44d79c51 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/AvailabilitySetsInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ComputeManagementClientImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java
similarity index 98%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ComputeManagementClientImpl.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java
index 93f05c111cdf..927a2a510fd8 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/ComputeManagementClientImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManagementClientImpl.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.microsoft.azure.AzureClient;
import com.microsoft.azure.AzureServiceClient;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManager.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManager.java
index ff79c0391406..312aa8c9d05e 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManager.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/ComputeManager.java
@@ -4,7 +4,6 @@
import com.microsoft.azure.management.compute.AvailabilitySets;
import com.microsoft.azure.management.compute.VirtualMachineImages;
import com.microsoft.azure.management.compute.VirtualMachines;
-import com.microsoft.azure.management.compute.implementation.api.ComputeManagementClientImpl;
import com.microsoft.azure.management.network.implementation.NetworkManager;
import com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.AzureConfigurableImpl;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java
index bd48a38c0c73..635fde0a64e4 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java
@@ -2,9 +2,10 @@
import com.microsoft.azure.management.compute.DataDisk;
import com.microsoft.azure.management.compute.VirtualMachine;
-import com.microsoft.azure.management.compute.implementation.api.CachingTypes;
-import com.microsoft.azure.management.compute.implementation.api.DiskCreateOptionTypes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualHardDisk;
+import com.microsoft.azure.management.compute.CachingTypes;
+import com.microsoft.azure.management.compute.DiskCreateOptionTypes;
+import com.microsoft.azure.management.compute.VirtualHardDisk;
+import com.microsoft.azure.management.compute.VirtualMachineDataDisk;
import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.ChildResourceImpl;
import com.microsoft.azure.management.storage.StorageAccount;
@@ -16,24 +17,19 @@
* The implementation for {@link DataDisk} and its create and update interfaces.
*/
class DataDiskImpl
- extends ChildResourceImpl<
- com.microsoft.azure.management.compute.implementation.api.DataDisk,
- VirtualMachineImpl>
+ extends ChildResourceImpl
implements
- DataDisk,
- DataDisk.Definition,
- DataDisk.UpdateDefinition,
- DataDisk.Update {
-
- protected DataDiskImpl(String name,
- com.microsoft.azure.management.compute.implementation.api.DataDisk inner,
- VirtualMachineImpl parent) {
+ VirtualMachineDataDisk,
+ VirtualMachineDataDisk.Definition,
+ VirtualMachineDataDisk.UpdateDefinition,
+ VirtualMachineDataDisk.Update {
+
+ protected DataDiskImpl(String name, DataDisk inner, VirtualMachineImpl parent) {
super(name, inner, parent);
}
protected static DataDiskImpl prepareDataDisk(String name, DiskCreateOptionTypes createOption, VirtualMachineImpl parent) {
- com.microsoft.azure.management.compute.implementation.api.DataDisk dataDiskInner
- = new com.microsoft.azure.management.compute.implementation.api.DataDisk();
+ DataDisk dataDiskInner = new DataDisk();
dataDiskInner.withLun(-1);
dataDiskInner.withName(name);
dataDiskInner.withCreateOption(createOption);
@@ -144,15 +140,15 @@ public VirtualMachineImpl attach() {
return this.parent().withDataDisk(this);
}
- protected static void setDataDisksDefaults(List dataDisks, String namePrefix) {
+ protected static void setDataDisksDefaults(List dataDisks, String namePrefix) {
List usedLuns = new ArrayList<>();
- for (DataDisk dataDisk : dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : dataDisks) {
if (dataDisk.lun() != -1) {
usedLuns.add(dataDisk.lun());
}
}
- for (DataDisk dataDisk : dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : dataDisks) {
if (dataDisk.lun() == -1) {
Integer i = 0;
while (usedLuns.contains(i)) {
@@ -172,8 +168,8 @@ protected static void setDataDisksDefaults(List dataDisks, String name
}
}
- protected static void ensureDisksVhdUri(List dataDisks, StorageAccount storageAccount, String namePrefix) {
- for (DataDisk dataDisk : dataDisks) {
+ protected static void ensureDisksVhdUri(List dataDisks, StorageAccount storageAccount, String namePrefix) {
+ for (VirtualMachineDataDisk dataDisk : dataDisks) {
if (dataDisk.createOption() == DiskCreateOptionTypes.EMPTY) {
//New data disk requires Vhd Uri to be set
if (dataDisk.inner().vhd() == null) {
@@ -186,9 +182,9 @@ protected static void ensureDisksVhdUri(List dataDisks, StorageAccount
}
}
- protected static void ensureDisksVhdUri(List dataDisks, String namePrefix) {
+ protected static void ensureDisksVhdUri(List dataDisks, String namePrefix) {
String containerUrl = null;
- for (DataDisk dataDisk : dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : dataDisks) {
if (dataDisk.createOption() == DiskCreateOptionTypes.EMPTY && dataDisk.inner().vhd() != null) {
int idx = dataDisk.inner().vhd().uri().lastIndexOf('/');
containerUrl = dataDisk.inner().vhd().uri().substring(0, idx);
@@ -196,7 +192,7 @@ protected static void ensureDisksVhdUri(List dataDisks, String namePre
}
}
if (containerUrl != null) {
- for (DataDisk dataDisk : dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : dataDisks) {
if (dataDisk.createOption() == DiskCreateOptionTypes.EMPTY) {
//New data disk requires Vhd Uri to be set
if (dataDisk.inner().vhd() == null) {
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OfferImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OfferImpl.java
deleted file mode 100644
index ff7a81c02411..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OfferImpl.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package com.microsoft.azure.management.compute.implementation;
-
-import com.microsoft.azure.management.compute.Offer;
-import com.microsoft.azure.management.compute.Publisher;
-import com.microsoft.azure.management.compute.Skus;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
-import com.microsoft.azure.management.resources.fluentcore.arm.Region;
-
-/**
- * The implementation for {@link Offer}.
- */
-class OfferImpl implements Offer {
- private final Publisher publisher;
- private final String offerName;
- private final SkusImpl skus;
-
- OfferImpl(Publisher publisher, String offer, VirtualMachineImagesInner client) {
- this.publisher = publisher;
- this.offerName = offer;
- this.skus = new SkusImpl(this, client);
- }
-
- @Override
- public Region region() {
- return publisher.region();
- }
-
- @Override
- public Publisher publisher() {
- return publisher;
- }
-
- @Override
- public String name() {
- return this.offerName;
- }
-
- @Override
- public Skus skus() {
- return this.skus;
- }
-}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OffersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OffersImpl.java
deleted file mode 100644
index 2a25f29c10d2..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/OffersImpl.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-package com.microsoft.azure.management.compute.implementation;
-
-import com.microsoft.azure.CloudException;
-import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.Offer;
-import com.microsoft.azure.management.compute.Offers;
-import com.microsoft.azure.management.compute.Publisher;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageResourceInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
-import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
-
-import java.io.IOException;
-
-/**
- * The implementation for {@link Offers}.
- */
-class OffersImpl
- extends ReadableWrappersImpl
- implements Offers {
-
- private final VirtualMachineImagesInner innerCollection;
- private final Publisher publisher;
-
- OffersImpl(VirtualMachineImagesInner innerCollection, Publisher publisher) {
- this.innerCollection = innerCollection;
- this.publisher = publisher;
- }
-
- @Override
- protected OfferImpl wrapModel(VirtualMachineImageResourceInner inner) {
- return new OfferImpl(this.publisher, inner.name(), this.innerCollection);
- }
-
- @Override
- public PagedList list() throws CloudException, IllegalArgumentException, IOException {
- return wrapList(innerCollection.listOffers(publisher.region().toString(), publisher.name()).getBody());
- }
-}
diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/implementation/api/PageImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl.java
similarity index 92%
rename from azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/implementation/api/PageImpl.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl.java
index 6d96138591d3..1a5ef82f6320 100644
--- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/implementation/api/PageImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl.java
@@ -2,9 +2,11 @@
* 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.storage.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.Page;
diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/api/PageImpl1.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl1.java
similarity index 92%
rename from azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/api/PageImpl1.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl1.java
index f98915e6d748..2741ec51f787 100644
--- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/api/PageImpl1.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PageImpl1.java
@@ -2,9 +2,11 @@
* 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.resources.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.Page;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublishersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublishersImpl.java
deleted file mode 100644
index e994c9b7b6eb..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublishersImpl.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-package com.microsoft.azure.management.compute.implementation;
-
-import com.microsoft.azure.CloudException;
-import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.Publisher;
-import com.microsoft.azure.management.compute.Publishers;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageResourceInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
-import com.microsoft.azure.management.resources.fluentcore.arm.Region;
-import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
-
-import java.io.IOException;
-
-/**
- * The implementation for {@link Publishers}.
- */
-class PublishersImpl
- extends ReadableWrappersImpl
- implements Publishers {
-
- private final VirtualMachineImagesInner innerCollection;
-
- PublishersImpl(VirtualMachineImagesInner innerCollection) {
- this.innerCollection = innerCollection;
- }
-
- @Override
- public PagedList listByRegion(Region region) throws CloudException, IOException {
- return listByRegion(region.toString());
- }
-
- @Override
- protected PublisherImpl wrapModel(VirtualMachineImageResourceInner inner) {
- return new PublisherImpl(Region.fromName(inner.location()), inner.name(), this.innerCollection);
- }
-
- @Override
- public PagedList listByRegion(String regionName) throws CloudException, IOException {
- return wrapList(innerCollection.listPublishers(regionName).getBody());
- }
-}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkusImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkusImpl.java
deleted file mode 100644
index 10feed190ac6..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkusImpl.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-package com.microsoft.azure.management.compute.implementation;
-
-import com.microsoft.azure.CloudException;
-import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.Offer;
-import com.microsoft.azure.management.compute.Sku;
-import com.microsoft.azure.management.compute.Skus;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageResourceInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
-import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
-
-import java.io.IOException;
-
-/**
- * The implementation for {@link Skus}.
- */
-class SkusImpl
- extends ReadableWrappersImpl
- implements Skus {
-
- private final VirtualMachineImagesInner innerCollection;
- private final Offer offer;
-
- SkusImpl(Offer offer, VirtualMachineImagesInner innerCollection) {
- this.innerCollection = innerCollection;
- this.offer = offer;
- }
-
- @Override
- public PagedList list() throws CloudException, IOException {
- return wrapList(innerCollection.listSkus(
- offer.region().toString(),
- offer.publisher().name(),
- offer.name()).getBody());
- }
-
- @Override
- protected SkuImpl wrapModel(VirtualMachineImageResourceInner inner) {
- return new SkuImpl(this.offer, inner.name(), innerCollection);
- }
-}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java
index 3c7413827e9f..da3f67ee0629 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsageInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsageInner.java
@@ -2,10 +2,13 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.UsageName;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsagesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsagesInner.java
similarity index 98%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsagesInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsagesInner.java
index 96c58c68b67e..16114991f5cf 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/UsagesInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/UsagesInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureParametersInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java
similarity index 95%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureParametersInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java
index 5e95a9af0039..2fd2c9882e34 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureParametersInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureParametersInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureResultInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureResultInner.java
similarity index 88%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureResultInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureResultInner.java
index dbe6c6e1e264..fc79bfbd4228 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineCaptureResultInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineCaptureResultInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImageInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java
similarity index 97%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImageInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java
index 3615d49295cf..c69616208d3d 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImageInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImageInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImagesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImagesInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImagesInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImagesInner.java
index e4204df37aef..1e4d9c1d4104 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionImagesInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionImagesInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java
index 6d9dd8f2aeea..711b5d40d2c5 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionInner.java
@@ -2,10 +2,14 @@
* 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.implementation.api;
+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;
import com.microsoft.azure.Resource;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionsInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionsInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionsInner.java
index 94d5c21fd9f8..19f3d39d3f86 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineExtensionsInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineExtensionsInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java
index c4f662c71bb4..cba8d23771da 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java
@@ -1,11 +1,10 @@
package com.microsoft.azure.management.compute.implementation;
import com.microsoft.azure.management.compute.VirtualMachineImage;
-import com.microsoft.azure.management.compute.implementation.api.DataDiskImage;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-import com.microsoft.azure.management.compute.implementation.api.OSDiskImage;
-import com.microsoft.azure.management.compute.implementation.api.PurchasePlan;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageInner;
+import com.microsoft.azure.management.compute.DataDiskImage;
+import com.microsoft.azure.management.compute.ImageReference;
+import com.microsoft.azure.management.compute.OSDiskImage;
+import com.microsoft.azure.management.compute.PurchasePlan;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableWrapperImpl;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageInner.java
similarity index 88%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageInner.java
index 1bdc91194c1e..e4b7002b0221 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageInner.java
@@ -2,11 +2,16 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.PurchasePlan;
+import com.microsoft.azure.management.compute.OSDiskImage;
import java.util.List;
+import com.microsoft.azure.management.compute.DataDiskImage;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageResourceInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java
similarity index 94%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageResourceInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java
index 4a5a5fa0311d..77dafdf468ad 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImageResourceInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageResourceInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java
index 5fe2492845e9..37f59899c4d0 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java
@@ -2,13 +2,12 @@
import com.microsoft.azure.CloudException;
import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.Offer;
-import com.microsoft.azure.management.compute.Publisher;
-import com.microsoft.azure.management.compute.Publishers;
-import com.microsoft.azure.management.compute.Sku;
+import com.microsoft.azure.management.compute.VirtualMachineOffer;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
+import com.microsoft.azure.management.compute.VirtualMachinePublishers;
import com.microsoft.azure.management.compute.VirtualMachineImage;
import com.microsoft.azure.management.compute.VirtualMachineImages;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
+import com.microsoft.azure.management.compute.VirtualMachineSku;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import java.io.IOException;
@@ -17,10 +16,10 @@
*/
class VirtualMachineImagesImpl
implements VirtualMachineImages {
- private final Publishers publishers;
+ private final VirtualMachinePublishers publishers;
VirtualMachineImagesImpl(VirtualMachineImagesInner client) {
- this.publishers = new PublishersImpl(client);
+ this.publishers = new VirtualMachinePublishersImpl(client);
}
@Override
@@ -30,28 +29,28 @@ public PagedList listByRegion(Region location) throws Cloud
@Override
public PagedList listByRegion(String regionName) throws CloudException, IOException {
- PagedList publishers = this.publishers().listByRegion(regionName);
+ PagedList publishers = this.publishers().listByRegion(regionName);
- PagedList offers =
- new ChildListFlattener<>(publishers, new ChildListFlattener.ChildListLoader() {
+ PagedList offers =
+ new ChildListFlattener<>(publishers, new ChildListFlattener.ChildListLoader() {
@Override
- public PagedList loadList(Publisher publisher) throws CloudException, IOException {
+ public PagedList loadList(VirtualMachinePublisher publisher) throws CloudException, IOException {
return publisher.offers().list();
}
}).flatten();
- PagedList skus =
- new ChildListFlattener<>(offers, new ChildListFlattener.ChildListLoader() {
+ PagedList skus =
+ new ChildListFlattener<>(offers, new ChildListFlattener.ChildListLoader() {
@Override
- public PagedList loadList(Offer offer) throws CloudException, IOException {
+ public PagedList loadList(VirtualMachineOffer offer) throws CloudException, IOException {
return offer.skus().list();
}
}).flatten();
PagedList images =
- new ChildListFlattener<>(skus, new ChildListFlattener.ChildListLoader() {
+ new ChildListFlattener<>(skus, new ChildListFlattener.ChildListLoader() {
@Override
- public PagedList loadList(Sku sku) throws CloudException, IOException {
+ public PagedList loadList(VirtualMachineSku sku) throws CloudException, IOException {
return sku.images().list();
}
}).flatten();
@@ -60,7 +59,7 @@ public PagedList loadList(Sku sku) throws CloudException, I
}
@Override
- public Publishers publishers() {
+ public VirtualMachinePublishers publishers() {
return this.publishers;
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java
index 6bc901019bcc..776d2db66dcb 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java
@@ -3,11 +3,9 @@
import com.microsoft.azure.CloudException;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.Sku;
import com.microsoft.azure.management.compute.VirtualMachineImage;
import com.microsoft.azure.management.compute.VirtualMachineImagesInSku;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImageResourceInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
+import com.microsoft.azure.management.compute.VirtualMachineSku;
import com.microsoft.rest.RestException;
import java.io.IOException;
@@ -20,9 +18,9 @@
class VirtualMachineImagesInSkuImpl implements VirtualMachineImagesInSku {
private final VirtualMachineImagesInner innerCollection;
- private final Sku sku;
+ private final VirtualMachineSku sku;
- VirtualMachineImagesInSkuImpl(Sku sku, VirtualMachineImagesInner innerCollection) {
+ VirtualMachineImagesInSkuImpl(VirtualMachineSku sku, VirtualMachineImagesInner innerCollection) {
this.sku = sku;
this.innerCollection = innerCollection;
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImagesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImagesInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInner.java
index 2f310727ca5f..2c79bfe606c2 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineImagesInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
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 fd089f10818d..98185c6fdeca 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
@@ -11,46 +11,42 @@
import com.microsoft.azure.management.compute.KnownWindowsVirtualMachineImage;
import com.microsoft.azure.management.compute.PowerState;
import com.microsoft.azure.management.compute.VirtualMachine;
+import com.microsoft.azure.management.compute.VirtualMachineDataDisk;
import com.microsoft.azure.management.compute.VirtualMachineSize;
-import com.microsoft.azure.management.compute.implementation.api.InstanceViewStatus;
-import com.microsoft.azure.management.compute.implementation.api.InstanceViewTypes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeInner;
-import com.microsoft.azure.management.compute.implementation.api.Plan;
-import com.microsoft.azure.management.compute.implementation.api.HardwareProfile;
-import com.microsoft.azure.management.compute.implementation.api.StorageProfile;
-import com.microsoft.azure.management.compute.implementation.api.OSProfile;
-import com.microsoft.azure.management.compute.implementation.api.DiagnosticsProfile;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInstanceView;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineExtensionInner;
-import com.microsoft.azure.management.compute.implementation.api.OperatingSystemTypes;
-import com.microsoft.azure.management.compute.implementation.api.ImageReference;
-import com.microsoft.azure.management.compute.implementation.api.WinRMListener;
-import com.microsoft.azure.management.compute.implementation.api.CachingTypes;
-import com.microsoft.azure.management.compute.implementation.api.DiskEncryptionSettings;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeTypes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualHardDisk;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachinesInner;
-import com.microsoft.azure.management.compute.implementation.api.OSDisk;
-import com.microsoft.azure.management.compute.implementation.api.DiskCreateOptionTypes;
-import com.microsoft.azure.management.compute.implementation.api.LinuxConfiguration;
-import com.microsoft.azure.management.compute.implementation.api.WindowsConfiguration;
-import com.microsoft.azure.management.compute.implementation.api.WinRMConfiguration;
-import com.microsoft.azure.management.compute.implementation.api.SshConfiguration;
-import com.microsoft.azure.management.compute.implementation.api.SshPublicKey;
-import com.microsoft.azure.management.compute.implementation.api.NetworkInterfaceReference;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineCaptureParametersInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineCaptureResultInner;
+import com.microsoft.azure.management.compute.InstanceViewStatus;
+import com.microsoft.azure.management.compute.InstanceViewTypes;
+import com.microsoft.azure.management.compute.Plan;
+import com.microsoft.azure.management.compute.HardwareProfile;
+import com.microsoft.azure.management.compute.StorageProfile;
+import com.microsoft.azure.management.compute.OSProfile;
+import com.microsoft.azure.management.compute.DiagnosticsProfile;
+import com.microsoft.azure.management.compute.VirtualMachineInstanceView;
+import com.microsoft.azure.management.compute.OperatingSystemTypes;
+import com.microsoft.azure.management.compute.ImageReference;
+import com.microsoft.azure.management.compute.WinRMListener;
+import com.microsoft.azure.management.compute.CachingTypes;
+import com.microsoft.azure.management.compute.DiskEncryptionSettings;
+import com.microsoft.azure.management.compute.VirtualMachineSizeTypes;
+import com.microsoft.azure.management.compute.VirtualHardDisk;
+import com.microsoft.azure.management.compute.OSDisk;
+import com.microsoft.azure.management.compute.DiskCreateOptionTypes;
+import com.microsoft.azure.management.compute.LinuxConfiguration;
+import com.microsoft.azure.management.compute.WindowsConfiguration;
+import com.microsoft.azure.management.compute.WinRMConfiguration;
+import com.microsoft.azure.management.compute.SshConfiguration;
+import com.microsoft.azure.management.compute.SshPublicKey;
+import com.microsoft.azure.management.compute.NetworkInterfaceReference;
import com.microsoft.azure.management.network.Network;
import com.microsoft.azure.management.network.NetworkInterface;
import com.microsoft.azure.management.network.PublicIpAddress;
import com.microsoft.azure.management.network.implementation.NetworkManager;
import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils;
import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl;
+import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.utils.PagedListConverter;
import com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer;
import com.microsoft.azure.management.resources.fluentcore.utils.Utils;
-import com.microsoft.azure.management.resources.implementation.api.PageImpl;
+import com.microsoft.azure.management.resources.implementation.PageImpl;
import com.microsoft.azure.management.storage.StorageAccount;
import com.microsoft.azure.management.storage.implementation.StorageManager;
import com.microsoft.rest.RestException;
@@ -106,14 +102,15 @@ class VirtualMachineImpl
private NetworkInterface primaryNetworkInterface;
private PublicIpAddress primaryPublicIpAddress;
private VirtualMachineInstanceView virtualMachineInstanceView;
+ private boolean isMarketplaceLinuxImage;
// The data disks associated with the virtual machine
- private List dataDisks;
+ private List dataDisks;
// Intermediate state of network interface definition to which private IP can be associated
- private NetworkInterface.DefinitionWithPrivateIp nicDefinitionWithPrivateIp;
+ private NetworkInterface.DefinitionStages.WithPrimaryPrivateIp nicDefinitionWithPrivateIp;
// Intermediate state of network interface definition to which subnet can be associated
- private NetworkInterface.DefinitionWithSubnet nicDefinitionWithSubnet;
+ private NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet nicDefinitionWithSubnet;
// Intermediate state of network interface definition to which public IP can be associated
- private NetworkInterface.DefinitionWithPublicIpAddress nicDefinitionWithPublicIp;
+ private NetworkInterface.DefinitionStages.WithCreate nicDefinitionWithCreate;
// Virtual machine size converter
private final PagedListConverter virtualMachineSizeConverter;
@@ -128,6 +125,7 @@ class VirtualMachineImpl
this.storageManager = storageManager;
this.networkManager = networkManager;
this.vmName = name;
+ this.isMarketplaceLinuxImage = false;
this.namer = new ResourceNamer(this.vmName);
this.creatableSecondaryNetworkInterfaceKeys = new ArrayList<>();
this.existingSecondaryNetworkInterfacesToAssociate = new ArrayList<>();
@@ -147,7 +145,7 @@ public VirtualMachine refresh() throws Exception {
ServiceResponse response =
this.client.get(this.resourceGroupName(), this.name());
this.setInner(response.getBody());
- this.virtualMachineInstanceView = null;
+ clearCachedRelatedResources();
initializeDataDisks();
return this;
}
@@ -231,7 +229,7 @@ public VirtualMachineInstanceView refreshInstanceView() throws CloudException, I
// Fluent methods for defining virtual network association for the new primary network interface
@Override
- public VirtualMachineImpl withNewPrimaryNetwork(Network.DefinitionStages.WithCreate creatable) {
+ public VirtualMachineImpl withNewPrimaryNetwork(Creatable creatable) {
this.nicDefinitionWithPrivateIp = this.preparePrimaryNetworkInterface(this.namer.randomName("nic", 20))
.withNewPrimaryNetwork(creatable);
return this;
@@ -258,27 +256,27 @@ public VirtualMachineImpl withSubnet(String name) {
return this;
}
- // Fluent methods for defining private Ip association for the new primary network interface
+ // Fluent methods for defining private IP association for the new primary network interface
@Override
public VirtualMachineImpl withPrimaryPrivateIpAddressDynamic() {
- this.nicDefinitionWithPublicIp = this.nicDefinitionWithPrivateIp
+ this.nicDefinitionWithCreate = this.nicDefinitionWithPrivateIp
.withPrimaryPrivateIpAddressDynamic();
return this;
}
@Override
public VirtualMachineImpl withPrimaryPrivateIpAddressStatic(String staticPrivateIpAddress) {
- this.nicDefinitionWithPublicIp = this.nicDefinitionWithPrivateIp
+ this.nicDefinitionWithCreate = this.nicDefinitionWithPrivateIp
.withPrimaryPrivateIpAddressStatic(staticPrivateIpAddress);
return this;
}
- // Fluent methods for defining public Ip association for the new primary network interface
+ // Fluent methods for defining public IP association for the new primary network interface
@Override
- public VirtualMachineImpl withNewPrimaryPublicIpAddress(PublicIpAddress.DefinitionCreatable creatable) {
- NetworkInterface.DefinitionCreatable nicCreatable = this.nicDefinitionWithPublicIp
+ public VirtualMachineImpl withNewPrimaryPublicIpAddress(Creatable creatable) {
+ Creatable nicCreatable = this.nicDefinitionWithCreate
.withNewPrimaryPublicIpAddress(creatable);
this.addCreatableDependency(nicCreatable);
return this;
@@ -286,7 +284,7 @@ public VirtualMachineImpl withNewPrimaryPublicIpAddress(PublicIpAddress.Definiti
@Override
public VirtualMachineImpl withNewPrimaryPublicIpAddress(String leafDnsLabel) {
- NetworkInterface.DefinitionCreatable nicCreatable = this.nicDefinitionWithPublicIp
+ Creatable nicCreatable = this.nicDefinitionWithCreate
.withNewPrimaryPublicIpAddress(leafDnsLabel);
this.creatablePrimaryNetworkInterfaceKey = nicCreatable.key();
this.addCreatableDependency(nicCreatable);
@@ -295,7 +293,7 @@ public VirtualMachineImpl withNewPrimaryPublicIpAddress(String leafDnsLabel) {
@Override
public VirtualMachineImpl withExistingPrimaryPublicIpAddress(PublicIpAddress publicIpAddress) {
- NetworkInterface.DefinitionCreatable nicCreatable = this.nicDefinitionWithPublicIp
+ Creatable nicCreatable = this.nicDefinitionWithCreate
.withExistingPrimaryPublicIpAddress(publicIpAddress);
this.creatablePrimaryNetworkInterfaceKey = nicCreatable.key();
this.addCreatableDependency(nicCreatable);
@@ -304,22 +302,23 @@ public VirtualMachineImpl withExistingPrimaryPublicIpAddress(PublicIpAddress pub
@Override
public VirtualMachineImpl withoutPrimaryPublicIpAddress() {
- this.creatablePrimaryNetworkInterfaceKey = this.nicDefinitionWithPublicIp.key();
- this.addCreatableDependency(this.nicDefinitionWithPublicIp);
+ Creatable nicCreatable = this.nicDefinitionWithCreate;
+ this.creatablePrimaryNetworkInterfaceKey = nicCreatable.key();
+ this.addCreatableDependency(nicCreatable);
return this;
}
// Virtual machine primary network interface specific fluent methods
//
@Override
- public VirtualMachineImpl withNewPrimaryNetworkInterface(NetworkInterface.DefinitionCreatable creatable) {
+ public VirtualMachineImpl withNewPrimaryNetworkInterface(Creatable creatable) {
this.creatablePrimaryNetworkInterfaceKey = creatable.key();
this.addCreatableDependency(creatable);
return this;
}
public VirtualMachineImpl withNewPrimaryNetworkInterface(String name, String publicDnsNameLabel) {
- NetworkInterface.DefinitionCreatable definitionCreatable = prepareNetworkInterface(name)
+ Creatable definitionCreatable = prepareNetworkInterface(name)
.withNewPrimaryPublicIpAddress(publicDnsNameLabel);
return withNewPrimaryNetworkInterface(definitionCreatable);
}
@@ -386,6 +385,7 @@ public VirtualMachineImpl withSpecificLinuxImageVersion(ImageReference imageRefe
this.inner().storageProfile().osDisk().withCreateOption(DiskCreateOptionTypes.FROM_IMAGE);
this.inner().storageProfile().withImageReference(imageReference);
this.inner().osProfile().withLinuxConfiguration(new LinuxConfiguration());
+ this.isMarketplaceLinuxImage = true;
return this;
}
@@ -562,7 +562,7 @@ public VirtualMachineImpl withExistingDataDisk(String storageAccountName, String
//
@Override
- public VirtualMachineImpl withNewStorageAccount(StorageAccount.DefinitionCreatable creatable) {
+ public VirtualMachineImpl withNewStorageAccount(Creatable creatable) {
// This method's effect is NOT additive.
if (this.creatableStorageAccountKey == null) {
this.creatableStorageAccountKey = creatable.key();
@@ -573,15 +573,15 @@ public VirtualMachineImpl withNewStorageAccount(StorageAccount.DefinitionCreatab
@Override
public VirtualMachineImpl withNewStorageAccount(String name) {
- StorageAccount.DefinitionWithGroup definitionWithGroup = this.storageManager
+ StorageAccount.DefinitionStages.WithGroup definitionWithGroup = this.storageManager
.storageAccounts()
.define(name)
- .withRegion(this.region());
- StorageAccount.DefinitionCreatable definitionAfterGroup;
+ .withRegion(this.regionName());
+ Creatable definitionAfterGroup;
if (this.newGroup != null) {
- definitionAfterGroup = definitionWithGroup.withNewGroup(this.newGroup);
+ definitionAfterGroup = definitionWithGroup.withNewResourceGroup(this.newGroup);
} else {
- definitionAfterGroup = definitionWithGroup.withExistingGroup(this.resourceGroupName());
+ definitionAfterGroup = definitionWithGroup.withExistingResourceGroup(this.resourceGroupName());
}
return withNewStorageAccount(definitionAfterGroup);
}
@@ -596,7 +596,7 @@ public VirtualMachineImpl withExistingStorageAccount(StorageAccount storageAccou
//
@Override
- public VirtualMachineImpl withNewAvailabilitySet(AvailabilitySet.DefinitionCreatable creatable) {
+ public VirtualMachineImpl withNewAvailabilitySet(Creatable creatable) {
// This method's effect is NOT additive.
if (this.creatableAvailabilitySetKey == null) {
this.creatableAvailabilitySetKey = creatable.key();
@@ -608,8 +608,8 @@ public VirtualMachineImpl withNewAvailabilitySet(AvailabilitySet.DefinitionCreat
@Override
public VirtualMachineImpl withNewAvailabilitySet(String name) {
return withNewAvailabilitySet(super.myManager.availabilitySets().define(name)
- .withRegion(region())
- .withExistingGroup(this.resourceGroupName())
+ .withRegion(this.regionName())
+ .withExistingResourceGroup(this.resourceGroupName())
);
}
@@ -620,7 +620,7 @@ public VirtualMachineImpl withExistingAvailabilitySet(AvailabilitySet availabili
}
@Override
- public VirtualMachineImpl withNewSecondaryNetworkInterface(NetworkInterface.DefinitionCreatable creatable) {
+ public VirtualMachineImpl withNewSecondaryNetworkInterface(Creatable creatable) {
this.creatableSecondaryNetworkInterfaceKeys.add(creatable.key());
this.addCreatableDependency(creatable);
return this;
@@ -637,7 +637,7 @@ public VirtualMachineImpl withExistingSecondaryNetworkInterface(NetworkInterface
@Override
public VirtualMachineImpl withoutDataDisk(String name) {
int idx = -1;
- for (DataDisk dataDisk : this.dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : this.dataDisks) {
idx++;
if (dataDisk.name().equalsIgnoreCase(name)) {
this.dataDisks.remove(idx);
@@ -651,7 +651,7 @@ public VirtualMachineImpl withoutDataDisk(String name) {
@Override
public VirtualMachineImpl withoutDataDisk(int lun) {
int idx = -1;
- for (DataDisk dataDisk : this.dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : this.dataDisks) {
idx++;
if (dataDisk.lun() == lun) {
this.dataDisks.remove(idx);
@@ -664,7 +664,7 @@ public VirtualMachineImpl withoutDataDisk(int lun) {
@Override
public DataDiskImpl updateDataDisk(String name) {
- for (DataDisk dataDisk : this.dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : this.dataDisks) {
if (dataDisk.name().equalsIgnoreCase(name)) {
return (DataDiskImpl) dataDisk;
}
@@ -730,7 +730,7 @@ public int osDiskSize() {
}
@Override
- public List dataDisks() {
+ public List dataDisks() {
return this.dataDisks;
}
@@ -850,6 +850,7 @@ protected void createResource() throws Exception {
ServiceResponse serviceResponse = this.client.createOrUpdate(this.resourceGroupName(), this.vmName, this.inner());
this.setInner(serviceResponse.getBody());
+ clearCachedRelatedResources();
initializeDataDisks();
}
@@ -881,6 +882,7 @@ public void failure(Throwable t) {
@Override
public void success(ServiceResponse result) {
+ clearCachedRelatedResources();
initializeDataDisks();
callback.success(result);
}
@@ -914,7 +916,8 @@ private void setOSDiskAndOSProfileDefaults() {
withOsDiskVhdLocation("vhds", this.vmName + "-os-disk-" + UUID.randomUUID().toString() + ".vhd");
}
OSProfile osProfile = this.inner().osProfile();
- if (osDisk.osType() == OperatingSystemTypes.LINUX) {
+ if (osDisk.osType() == OperatingSystemTypes.LINUX || this.isMarketplaceLinuxImage) {
+ // linux image: User or marketplace linux image
if (osProfile.linuxConfiguration() == null) {
osProfile.withLinuxConfiguration(new LinuxConfiguration());
}
@@ -963,8 +966,8 @@ private void handleStorageSettings() throws Exception {
|| dataDisksRequiresImplicitStorageAccountCreation()) {
storageAccount = this.storageManager.storageAccounts()
.define(this.namer.randomName("stg", 24))
- .withRegion(this.region())
- .withExistingGroup(this.resourceGroupName())
+ .withRegion(this.regionName())
+ .withExistingResourceGroup(this.resourceGroupName())
.create();
}
@@ -1024,8 +1027,8 @@ public void success(ServiceResponse result) {
|| dataDisksRequiresImplicitStorageAccountCreation()) {
this.storageManager.storageAccounts()
.define(this.namer.randomName("stg", 24))
- .withRegion(this.region())
- .withExistingGroup(this.resourceGroupName())
+ .withRegion(this.regionName())
+ .withExistingResourceGroup(this.resourceGroupName())
.createAsync(new ServiceCallback() {
@Override
public void failure(Throwable t) {
@@ -1115,7 +1118,7 @@ private boolean dataDisksRequiresImplicitStorageAccountCreation() {
}
boolean hasEmptyVhd = false;
- for (DataDisk dataDisk : this.dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : this.dataDisks) {
if (dataDisk.createOption() == DiskCreateOptionTypes.EMPTY) {
if (dataDisk.inner().vhd() == null) {
hasEmptyVhd = true;
@@ -1131,7 +1134,7 @@ private boolean dataDisksRequiresImplicitStorageAccountCreation() {
if (hasEmptyVhd) {
// In update mode, if any of the data disk has vhd uri set then use same container
// to store this disk, no need to create a storage account implicitly.
- for (DataDisk dataDisk : this.dataDisks) {
+ for (VirtualMachineDataDisk dataDisk : this.dataDisks) {
if (dataDisk.createOption() == DiskCreateOptionTypes.ATTACH && dataDisk.inner().vhd() != null) {
return false;
}
@@ -1154,16 +1157,16 @@ private String temporaryBlobUrl(String containerName, String blobName) {
return "{storage-base-url}" + containerName + "/" + blobName;
}
- private NetworkInterface.DefinitionWithPublicIpAddress prepareNetworkInterface(String name) {
- NetworkInterface.DefinitionWithGroup definitionWithGroup = this.networkManager
+ private NetworkInterface.DefinitionStages.WithPrimaryPublicIpAddress prepareNetworkInterface(String name) {
+ NetworkInterface.DefinitionStages.WithGroup definitionWithGroup = this.networkManager
.networkInterfaces()
.define(name)
- .withRegion(this.region());
- NetworkInterface.DefinitionWithNetwork definitionWithNetwork;
+ .withRegion(this.regionName());
+ NetworkInterface.DefinitionStages.WithPrimaryNetwork definitionWithNetwork;
if (this.newGroup != null) {
- definitionWithNetwork = definitionWithGroup.withNewGroup(this.newGroup);
+ definitionWithNetwork = definitionWithGroup.withNewResourceGroup(this.newGroup);
} else {
- definitionWithNetwork = definitionWithGroup.withExistingGroup(this.resourceGroupName());
+ definitionWithNetwork = definitionWithGroup.withExistingResourceGroup(this.resourceGroupName());
}
return definitionWithNetwork
.withNewPrimaryNetwork("vnet" + name)
@@ -1174,23 +1177,23 @@ private void initializeDataDisks() {
if (this.inner().storageProfile().dataDisks() == null) {
this.inner()
.storageProfile()
- .withDataDisks(new ArrayList());
+ .withDataDisks(new ArrayList());
}
this.dataDisks = new ArrayList<>();
- for (com.microsoft.azure.management.compute.implementation.api.DataDisk dataDiskInner : this.storageProfile().dataDisks()) {
+ for (DataDisk dataDiskInner : this.storageProfile().dataDisks()) {
this.dataDisks().add(new DataDiskImpl(dataDiskInner.name(), dataDiskInner, this));
}
}
- private NetworkInterface.DefinitionWithNetwork preparePrimaryNetworkInterface(String name) {
- NetworkInterface.DefinitionWithGroup definitionWithGroup = this.networkManager.networkInterfaces()
+ private NetworkInterface.DefinitionStages.WithPrimaryNetwork preparePrimaryNetworkInterface(String name) {
+ NetworkInterface.DefinitionStages.WithGroup definitionWithGroup = this.networkManager.networkInterfaces()
.define(name)
- .withRegion(this.region());
- NetworkInterface.DefinitionWithNetwork definitionAfterGroup;
+ .withRegion(this.regionName());
+ NetworkInterface.DefinitionStages.WithPrimaryNetwork definitionAfterGroup;
if (this.newGroup != null) {
- definitionAfterGroup = definitionWithGroup.withNewGroup(this.newGroup);
+ definitionAfterGroup = definitionWithGroup.withNewResourceGroup(this.newGroup);
} else {
- definitionAfterGroup = definitionWithGroup.withExistingGroup(this.resourceGroupName());
+ definitionAfterGroup = definitionWithGroup.withExistingResourceGroup(this.resourceGroupName());
}
return definitionAfterGroup;
}
@@ -1207,4 +1210,10 @@ private String getStatusCodeFromInstanceView(String codePrefix) {
}
return null;
}
+
+ private void clearCachedRelatedResources() {
+ this.primaryNetworkInterface = null;
+ this.primaryPublicIpAddress = null;
+ this.virtualMachineInstanceView = null;
+ }
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java
index a91aede85b71..3d9b265eaeba 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineInner.java
@@ -2,11 +2,20 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.Plan;
+import com.microsoft.azure.management.compute.HardwareProfile;
+import com.microsoft.azure.management.compute.StorageProfile;
+import com.microsoft.azure.management.compute.OSProfile;
+import com.microsoft.azure.management.compute.NetworkProfile;
+import com.microsoft.azure.management.compute.DiagnosticsProfile;
import com.microsoft.azure.SubResource;
+import com.microsoft.azure.management.compute.VirtualMachineInstanceView;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java
new file mode 100644
index 000000000000..ec5719b28956
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java
@@ -0,0 +1,41 @@
+package com.microsoft.azure.management.compute.implementation;
+
+import com.microsoft.azure.management.compute.VirtualMachineOffer;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
+import com.microsoft.azure.management.compute.VirtualMachineSkus;
+import com.microsoft.azure.management.resources.fluentcore.arm.Region;
+
+/**
+ * The implementation for {@link VirtualMachineOffer}.
+ */
+class VirtualMachineOfferImpl implements VirtualMachineOffer {
+ private final VirtualMachinePublisher publisher;
+ private final String offerName;
+ private final VirtualMachineSkusImpl skus;
+
+ VirtualMachineOfferImpl(VirtualMachinePublisher publisher, String offer, VirtualMachineImagesInner client) {
+ this.publisher = publisher;
+ this.offerName = offer;
+ this.skus = new VirtualMachineSkusImpl(this, client);
+ }
+
+ @Override
+ public Region region() {
+ return publisher.region();
+ }
+
+ @Override
+ public VirtualMachinePublisher publisher() {
+ return publisher;
+ }
+
+ @Override
+ public String name() {
+ return this.offerName;
+ }
+
+ @Override
+ public VirtualMachineSkus skus() {
+ return this.skus;
+ }
+}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java
new file mode 100644
index 000000000000..389e3eb0be93
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+package com.microsoft.azure.management.compute.implementation;
+
+import com.microsoft.azure.CloudException;
+import com.microsoft.azure.PagedList;
+import com.microsoft.azure.management.compute.VirtualMachineOffer;
+import com.microsoft.azure.management.compute.VirtualMachineOffers;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
+import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
+
+import java.io.IOException;
+
+/**
+ * The implementation for {@link VirtualMachineOffers}.
+ */
+class VirtualMachineOffersImpl
+ extends ReadableWrappersImpl
+ implements VirtualMachineOffers {
+
+ private final VirtualMachineImagesInner innerCollection;
+ private final VirtualMachinePublisher publisher;
+
+ VirtualMachineOffersImpl(VirtualMachineImagesInner innerCollection, VirtualMachinePublisher publisher) {
+ this.innerCollection = innerCollection;
+ this.publisher = publisher;
+ }
+
+ @Override
+ protected VirtualMachineOfferImpl wrapModel(VirtualMachineImageResourceInner inner) {
+ return new VirtualMachineOfferImpl(this.publisher, inner.name(), this.innerCollection);
+ }
+
+ @Override
+ public PagedList list() throws CloudException, IllegalArgumentException, IOException {
+ return wrapList(innerCollection.listOffers(publisher.region().toString(), publisher.name()).getBody());
+ }
+}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublisherImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java
similarity index 55%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublisherImpl.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java
index 2d857139a4b8..3bf6212231f7 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/PublisherImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java
@@ -5,24 +5,23 @@
*/
package com.microsoft.azure.management.compute.implementation;
-import com.microsoft.azure.management.compute.Offers;
-import com.microsoft.azure.management.compute.Publisher;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
+import com.microsoft.azure.management.compute.VirtualMachineOffers;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
/**
- * The implementation for {@link Publisher}.
+ * The implementation for {@link VirtualMachinePublisher}.
*/
-class PublisherImpl
- implements Publisher {
+class VirtualMachinePublisherImpl
+ implements VirtualMachinePublisher {
private final Region location;
private final String publisher;
- private final Offers offers;
+ private final VirtualMachineOffers offers;
- PublisherImpl(Region location, String publisher, VirtualMachineImagesInner client) {
+ VirtualMachinePublisherImpl(Region location, String publisher, VirtualMachineImagesInner client) {
this.location = location;
this.publisher = publisher;
- this.offers = new OffersImpl(client, this);
+ this.offers = new VirtualMachineOffersImpl(client, this);
}
@Override
@@ -36,7 +35,7 @@ public String name() {
}
@Override
- public Offers offers() {
+ public VirtualMachineOffers offers() {
return this.offers;
}
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java
new file mode 100644
index 000000000000..1c32f8e6d041
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+package com.microsoft.azure.management.compute.implementation;
+
+import com.microsoft.azure.CloudException;
+import com.microsoft.azure.PagedList;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
+import com.microsoft.azure.management.compute.VirtualMachinePublishers;
+import com.microsoft.azure.management.resources.fluentcore.arm.Region;
+import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
+
+import java.io.IOException;
+
+/**
+ * The implementation for {@link VirtualMachinePublishers}.
+ */
+class VirtualMachinePublishersImpl
+ extends ReadableWrappersImpl
+ implements VirtualMachinePublishers {
+
+ private final VirtualMachineImagesInner innerCollection;
+
+ VirtualMachinePublishersImpl(VirtualMachineImagesInner innerCollection) {
+ this.innerCollection = innerCollection;
+ }
+
+ @Override
+ public PagedList listByRegion(Region region) throws CloudException, IOException {
+ return listByRegion(region.toString());
+ }
+
+ @Override
+ protected VirtualMachinePublisherImpl wrapModel(VirtualMachineImageResourceInner inner) {
+ return new VirtualMachinePublisherImpl(Region.fromName(inner.location()), inner.name(), this.innerCollection);
+ }
+
+ @Override
+ public PagedList listByRegion(String regionName) throws CloudException, IOException {
+ return wrapList(innerCollection.listPublishers(regionName).getBody());
+ }
+}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java
index c6e551293533..52dabc88eb70 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInner.java
@@ -2,10 +2,15 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.Sku;
+import com.microsoft.azure.management.compute.UpgradePolicy;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetVMProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java
similarity index 83%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java
index caa49d870f38..c846d176be68 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetInstanceViewInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetInstanceViewInner.java
@@ -2,11 +2,16 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetInstanceViewStatusesSummary;
import java.util.List;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetVMExtensionsSummary;
+import com.microsoft.azure.management.compute.InstanceViewStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java
similarity index 83%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java
index 46a7adaebc8b..b4705b8a3b0d 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetSkuInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetSkuInner.java
@@ -2,10 +2,14 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.Sku;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetSkuCapacity;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java
similarity index 93%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java
index 6ea767d3d8af..3102799aa684 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInner.java
@@ -2,11 +2,21 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.Sku;
+import com.microsoft.azure.management.compute.VirtualMachineInstanceView;
+import com.microsoft.azure.management.compute.HardwareProfile;
+import com.microsoft.azure.management.compute.StorageProfile;
+import com.microsoft.azure.management.compute.OSProfile;
+import com.microsoft.azure.management.compute.NetworkProfile;
+import com.microsoft.azure.management.compute.DiagnosticsProfile;
import com.microsoft.azure.SubResource;
+import com.microsoft.azure.management.compute.Plan;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceViewInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java
similarity index 92%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceViewInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java
index e4cb1d83a41f..180b6b8a7169 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMInstanceViewInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMInstanceViewInner.java
@@ -2,11 +2,18 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
+import com.microsoft.azure.management.compute.VirtualMachineAgentInstanceView;
import java.util.List;
+import com.microsoft.azure.management.compute.DiskInstanceView;
+import com.microsoft.azure.management.compute.VirtualMachineExtensionInstanceView;
+import com.microsoft.azure.management.compute.BootDiagnosticsInstanceView;
+import com.microsoft.azure.management.compute.InstanceViewStatus;
/**
* The instance view of a virtual machine scale set VM.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMsInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java
index 3e2f4751ad34..f85c2f741936 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetVMsInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetVMsInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetsInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetsInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java
index 43ab4db49958..09cd870f7cde 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineScaleSetsInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineScaleSetsInner.java
@@ -2,15 +2,19 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceResponseBuilder;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetVMInstanceIDs;
+import com.microsoft.azure.management.compute.VirtualMachineScaleSetVMInstanceRequiredIDs;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceCall;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java
index 6e27251dc29d..fd584b576ea7 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java
@@ -6,7 +6,6 @@
package com.microsoft.azure.management.compute.implementation;
import com.microsoft.azure.management.compute.VirtualMachineSize;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeInner;
/**
* The implementation for {@link VirtualMachineSize}.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java
similarity index 96%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java
index 3dec80ce9e95..f7db3b930378 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizeInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
/**
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java
index d1959352a91a..0a19ad851936 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java
@@ -9,8 +9,6 @@
import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.compute.VirtualMachineSize;
import com.microsoft.azure.management.compute.VirtualMachineSizes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizesInner;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesInner.java
similarity index 98%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizesInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesInner.java
index 90821df9704a..71b42c3db020 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachineSizesInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesInner.java
@@ -2,9 +2,11 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkuImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java
similarity index 63%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkuImpl.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java
index 068179985e9e..0d77c7346dfb 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/SkuImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java
@@ -1,22 +1,22 @@
package com.microsoft.azure.management.compute.implementation;
-import com.microsoft.azure.management.compute.Offer;
-import com.microsoft.azure.management.compute.Publisher;
+import com.microsoft.azure.management.compute.VirtualMachineOffer;
+import com.microsoft.azure.management.compute.VirtualMachinePublisher;
import com.microsoft.azure.management.compute.Sku;
import com.microsoft.azure.management.compute.VirtualMachineImagesInSku;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineImagesInner;
+import com.microsoft.azure.management.compute.VirtualMachineSku;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
/**
* The implementation for {@link Sku}.
*/
-class SkuImpl
- implements Sku {
- private final Offer offer;
+class VirtualMachineSkuImpl
+ implements VirtualMachineSku {
+ private final VirtualMachineOffer offer;
private final String skuName;
private final VirtualMachineImagesInSku imagesInSku;
- SkuImpl(Offer offer, String skuName, VirtualMachineImagesInner client) {
+ VirtualMachineSkuImpl(VirtualMachineOffer offer, String skuName, VirtualMachineImagesInner client) {
this.offer = offer;
this.skuName = skuName;
this.imagesInSku = new VirtualMachineImagesInSkuImpl(this, client);
@@ -28,12 +28,12 @@ public Region region() {
}
@Override
- public Publisher publisher() {
+ public VirtualMachinePublisher publisher() {
return offer.publisher();
}
@Override
- public Offer offer() {
+ public VirtualMachineOffer offer() {
return offer;
}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java
new file mode 100644
index 000000000000..5fa4c5e41da9
--- /dev/null
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+package com.microsoft.azure.management.compute.implementation;
+
+import com.microsoft.azure.CloudException;
+import com.microsoft.azure.PagedList;
+import com.microsoft.azure.management.compute.VirtualMachineOffer;
+import com.microsoft.azure.management.compute.VirtualMachineSkus;
+import com.microsoft.azure.management.compute.VirtualMachineSku;
+import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.ReadableWrappersImpl;
+
+import java.io.IOException;
+
+/**
+ * The implementation for {@link VirtualMachineSkus}.
+ */
+class VirtualMachineSkusImpl
+ extends ReadableWrappersImpl
+ implements VirtualMachineSkus {
+
+ private final VirtualMachineImagesInner innerCollection;
+ private final VirtualMachineOffer offer;
+
+ VirtualMachineSkusImpl(VirtualMachineOffer offer, VirtualMachineImagesInner innerCollection) {
+ this.innerCollection = innerCollection;
+ this.offer = offer;
+ }
+
+ @Override
+ public PagedList list() throws CloudException, IOException {
+ return wrapList(innerCollection.listSkus(
+ offer.region().toString(),
+ offer.publisher().name(),
+ offer.name()).getBody());
+ }
+
+ @Override
+ protected VirtualMachineSkuImpl wrapModel(VirtualMachineImageResourceInner inner) {
+ return new VirtualMachineSkuImpl(this.offer, inner.name(), innerCollection);
+ }
+}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java
index eb40ca312ecd..eee350ca4194 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java
@@ -11,18 +11,13 @@
import com.microsoft.azure.management.compute.VirtualMachine;
import com.microsoft.azure.management.compute.VirtualMachineSizes;
import com.microsoft.azure.management.compute.VirtualMachines;
-import com.microsoft.azure.management.compute.implementation.api.NetworkInterfaceReference;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachinesInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizesInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInner;
-import com.microsoft.azure.management.compute.implementation.api.StorageProfile;
-import com.microsoft.azure.management.compute.implementation.api.OSDisk;
-import com.microsoft.azure.management.compute.implementation.api.DataDisk;
-import com.microsoft.azure.management.compute.implementation.api.OSProfile;
-import com.microsoft.azure.management.compute.implementation.api.HardwareProfile;
-import com.microsoft.azure.management.compute.implementation.api.NetworkProfile;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineCaptureParametersInner;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineCaptureResultInner;
+import com.microsoft.azure.management.compute.NetworkInterfaceReference;
+import com.microsoft.azure.management.compute.StorageProfile;
+import com.microsoft.azure.management.compute.OSDisk;
+import com.microsoft.azure.management.compute.DataDisk;
+import com.microsoft.azure.management.compute.OSProfile;
+import com.microsoft.azure.management.compute.HardwareProfile;
+import com.microsoft.azure.management.compute.NetworkProfile;
import com.microsoft.azure.management.network.implementation.NetworkManager;
import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.GroupableResourcesImpl;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachinesInner.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java
similarity index 99%
rename from azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachinesInner.java
rename to azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java
index 4e2369c34348..54796c6d8d39 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/VirtualMachinesInner.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesInner.java
@@ -2,15 +2,18 @@
* 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.implementation.api;
+package com.microsoft.azure.management.compute.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceResponseBuilder;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
+import com.microsoft.azure.management.compute.InstanceViewTypes;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceCall;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDisk.java
deleted file mode 100644
index 1222aaa7563c..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/DataDisk.java
+++ /dev/null
@@ -1,200 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.management.compute.implementation.api;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Describes a data disk.
- */
-public class DataDisk {
- /**
- * Gets or sets the logical unit number.
- */
- @JsonProperty(required = true)
- private int lun;
-
- /**
- * Gets or sets the disk name.
- */
- @JsonProperty(required = true)
- private String name;
-
- /**
- * Gets or sets 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.
- */
- private VirtualHardDisk image;
-
- /**
- * Gets or sets the caching type. Possible values include: 'None',
- * 'ReadOnly', 'ReadWrite'.
- */
- private CachingTypes caching;
-
- /**
- * Gets or sets 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.
- */
- private Integer diskSizeGB;
-
- /**
- * Get the lun value.
- *
- * @return the lun value
- */
- public int lun() {
- return this.lun;
- }
-
- /**
- * Set the lun value.
- *
- * @param lun the lun value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withLun(int lun) {
- this.lun = lun;
- return this;
- }
-
- /**
- * Get the name value.
- *
- * @return the name value
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Set the name value.
- *
- * @param name the name value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withName(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the vhd value.
- *
- * @return the vhd value
- */
- public VirtualHardDisk vhd() {
- return this.vhd;
- }
-
- /**
- * Set the vhd value.
- *
- * @param vhd the vhd value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withVhd(VirtualHardDisk vhd) {
- this.vhd = vhd;
- return this;
- }
-
- /**
- * Get the image value.
- *
- * @return the image value
- */
- public VirtualHardDisk image() {
- return this.image;
- }
-
- /**
- * Set the image value.
- *
- * @param image the image value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withImage(VirtualHardDisk image) {
- this.image = image;
- return this;
- }
-
- /**
- * Get the caching value.
- *
- * @return the caching value
- */
- public CachingTypes caching() {
- return this.caching;
- }
-
- /**
- * Set the caching value.
- *
- * @param caching the caching value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withCaching(CachingTypes caching) {
- this.caching = caching;
- return this;
- }
-
- /**
- * Get the createOption value.
- *
- * @return the createOption value
- */
- public DiskCreateOptionTypes createOption() {
- return this.createOption;
- }
-
- /**
- * Set the createOption value.
- *
- * @param createOption the createOption value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withCreateOption(DiskCreateOptionTypes createOption) {
- this.createOption = createOption;
- return this;
- }
-
- /**
- * Get the diskSizeGB value.
- *
- * @return the diskSizeGB value
- */
- public Integer diskSizeGB() {
- return this.diskSizeGB;
- }
-
- /**
- * Set the diskSizeGB value.
- *
- * @param diskSizeGB the diskSizeGB value to set
- * @return the DataDisk object itself.
- */
- public DataDisk withDiskSizeGB(Integer diskSizeGB) {
- this.diskSizeGB = diskSizeGB;
- return this;
- }
-
-}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Sku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Sku.java
deleted file mode 100644
index 32c600ea8b93..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/Sku.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.management.compute.implementation.api;
-
-
-/**
- * Describes a virtual machine scale set sku.
- */
-public class Sku {
- /**
- * Gets or sets the sku name.
- */
- private String name;
-
- /**
- * Gets or sets the sku tier.
- */
- private String tier;
-
- /**
- * Gets or sets the sku capacity.
- */
- private Long capacity;
-
- /**
- * Get the name value.
- *
- * @return the name value
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Set the name value.
- *
- * @param name the name value to set
- * @return the Sku object itself.
- */
- public Sku withName(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the tier value.
- *
- * @return the tier value
- */
- public String tier() {
- return this.tier;
- }
-
- /**
- * Set the tier value.
- *
- * @param tier the tier value to set
- * @return the Sku object itself.
- */
- public Sku withTier(String tier) {
- this.tier = tier;
- return this;
- }
-
- /**
- * Get the capacity value.
- *
- * @return the capacity value
- */
- public Long capacity() {
- return this.capacity;
- }
-
- /**
- * Set the capacity value.
- *
- * @param capacity the capacity value to set
- * @return the Sku object itself.
- */
- public Sku withCapacity(Long capacity) {
- this.capacity = capacity;
- return this;
- }
-
-}
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/package-info.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/package-info.java
deleted file mode 100644
index d6180ccef777..000000000000
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/api/package-info.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-/**
- * This package contains the implementation.api classes for ComputeManagementClient.
- * The Compute Management Client.
- */
-package com.microsoft.azure.management.compute.implementation.api;
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/package-info.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/package-info.java
index 5cae9c99ead1..e6c365543172 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/package-info.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the implementation classes for ComputeManagementClient.
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java
index 7000a2b53393..aa86579c8380 100644
--- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java
+++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the classes for ComputeManagementClient.
diff --git a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/ComputeManagementTestBase.java b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/ComputeManagementTestBase.java
index beea580e7262..4c3b5d98bd8d 100644
--- a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/ComputeManagementTestBase.java
+++ b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/ComputeManagementTestBase.java
@@ -5,7 +5,6 @@
import com.microsoft.azure.management.compute.implementation.ComputeManager;
import com.microsoft.azure.management.resources.implementation.ResourceManager;
import com.microsoft.azure.RestClient;
-import okhttp3.logging.HttpLoggingInterceptor;
public abstract class ComputeManagementTestBase {
protected static ResourceManager resourceManager;
diff --git a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineImageOperationsTests.java b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineImageOperationsTests.java
index 0fd965c09e61..1d6d8d758d56 100644
--- a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineImageOperationsTests.java
+++ b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineImageOperationsTests.java
@@ -1,7 +1,6 @@
package com.microsoft.azure.management.compute;
import com.microsoft.azure.PagedList;
-import com.microsoft.azure.management.compute.implementation.api.DataDiskImage;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import org.junit.AfterClass;
import org.junit.Assert;
@@ -36,11 +35,11 @@ public void canListVirtualMachineImages() throws Exception {
}
Assert.assertTrue(count == maxListing);
- List publishers =
+ List publishers =
computeManager.virtualMachineImages().publishers().listByRegion(Region.US_EAST);
- Publisher canonicalPublisher = null;
- for (Publisher publisher : publishers) {
+ VirtualMachinePublisher canonicalPublisher = null;
+ for (VirtualMachinePublisher publisher : publishers) {
if (publisher.name().equalsIgnoreCase("Canonical")) {
canonicalPublisher = publisher;
break;
@@ -49,8 +48,8 @@ public void canListVirtualMachineImages() throws Exception {
Assert.assertNotNull(canonicalPublisher);
VirtualMachineImage firstVMImage = null;
- for (Offer offer : canonicalPublisher.offers().list()) {
- for (Sku sku: offer.skus().list()) {
+ for (VirtualMachineOffer offer : canonicalPublisher.offers().list()) {
+ for (VirtualMachineSku sku: offer.skus().list()) {
for (VirtualMachineImage image : sku.images().list()) {
firstVMImage = image;
break;
diff --git a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java
index c1f2bea84cea..b71949c1fc4f 100644
--- a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java
+++ b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java
@@ -1,8 +1,5 @@
package com.microsoft.azure.management.compute;
-import com.microsoft.azure.management.compute.implementation.api.CachingTypes;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineInstanceView;
-import com.microsoft.azure.management.compute.implementation.api.VirtualMachineSizeTypes;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
@@ -10,9 +7,9 @@
import java.util.List;
public class VirtualMachineOperationsTests extends ComputeManagementTestBase {
- private static String RG_NAME = "javacsmrg";
- private static String LOCATION = "southcentralus";
- private static String VMNAME = "javavm";
+ private static final String RG_NAME = "javacsmrg";
+ private static final String LOCATION = "southcentralus";
+ private static final String VMNAME = "javavm";
@BeforeClass
public static void setup() throws Exception {
@@ -30,7 +27,7 @@ public void canCreateVirtualMachine() throws Exception {
VirtualMachine vm = computeManager.virtualMachines()
.define(VMNAME)
.withRegion(LOCATION)
- .withNewGroup(RG_NAME)
+ .withNewResourceGroup(RG_NAME)
.withNewPrimaryNetwork("10.0.0.0/28")
.withPrimaryPrivateIpAddressDynamic()
.withoutPrimaryPublicIpAddress()
@@ -51,11 +48,11 @@ public void canCreateVirtualMachine() throws Exception {
}
}
Assert.assertNotNull(foundedVM);
- Assert.assertEquals(LOCATION, foundedVM.region());
+ Assert.assertEquals(LOCATION, foundedVM.regionName());
// Get
foundedVM = computeManager.virtualMachines().getByGroup(RG_NAME, VMNAME);
Assert.assertNotNull(foundedVM);
- Assert.assertEquals(LOCATION, foundedVM.region());
+ Assert.assertEquals(LOCATION, foundedVM.regionName());
// Fetch instance view
PowerState powerState = foundedVM.powerState();
diff --git a/azure-mgmt-datalake-analytics/pom.xml b/azure-mgmt-datalake-analytics/pom.xml
index 7f4442405549..27f685ae9a4f 100644
--- a/azure-mgmt-datalake-analytics/pom.xml
+++ b/azure-mgmt-datalake-analytics/pom.xml
@@ -8,12 +8,13 @@
com.microsoft.azure
azure-parent
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
../pom.xml
azure-mgmt-datalake-analytics
jar
+ 1.0.0-beta1.1
Microsoft Azure SDK for Data Lake Analytics Management
This package contains Microsoft Azure Data Lake Analytics Management SDK.
@@ -49,24 +50,24 @@
com.microsoft.azure
azure-client-runtime
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
- ${project.groupId}
+ com.microsoft.azure
azure-mgmt-resources
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
test
- ${project.groupId}
+ com.microsoft.azure
azure-mgmt-datalake-store
- 1.0.0-SNAPSHOT
+ 1.0.0-beta1.1
test
- ${project.groupId}
+ com.microsoft.azure
azure-mgmt-storage
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
test
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java
index d1f4cb3e9ca8..5eeaf0a26030 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java
index efcfbdc06f91..96da94260f84 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountManagementClient.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountManagementClient.java
index 77a0c952cde4..6c2be3e72c80 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountManagementClient.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountManagementClient.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogManagementClient.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogManagementClient.java
index 6aeda55869e9..1b5d142c1b71 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogManagementClient.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogManagementClient.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java
index f9bcdcb3c5e3..5b893a418bd1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java
index 1c21cb5a92ee..b668e53637d8 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java
index 42cb8b4a0129..0b921cada14d 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java
index 16983b8f7679..dbff5391eac5 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
index 1035f31f56f8..e94033c9f03a 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsCatalogManagementClientImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsCatalogManagementClientImpl.java
index 0182617fab44..a77bce60c694 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsCatalogManagementClientImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsCatalogManagementClientImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java
index 2e488ffa04c5..ecac98cf5b30 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java
index 82f54b57b8cc..36e812c9a9d1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.implementation;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/package-info.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/package-info.java
index b1e6ac4fe3f5..07c7febe1ee1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/package-info.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the implementation classes for DataLakeAnalyticsCatalogManagementClient.
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddDataLakeStoreParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddDataLakeStoreParameters.java
index 816460f990df..94a4a41991a1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddDataLakeStoreParameters.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddDataLakeStoreParameters.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddStorageAccountParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddStorageAccountParameters.java
index e4ff4621d201..872ba960b9b1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddStorageAccountParameters.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AddStorageAccountParameters.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AzureAsyncOperationResult.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AzureAsyncOperationResult.java
index 1d7f44d7a167..7ecf2cc592b7 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AzureAsyncOperationResult.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/AzureAsyncOperationResult.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainer.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainer.java
index b9a3285224f6..e3571fb7ed95 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainer.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainer.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainerProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainerProperties.java
index 9be73e86181c..8992df9ce98c 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainerProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BlobContainerProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItem.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItem.java
index 1876468d5ba4..e8f7a0b9c19e 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItem.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItem.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItemList.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItemList.java
index 83d650ac485f..faecaa5fa218 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItemList.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CatalogItemList.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CompileMode.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CompileMode.java
index 795ec9f1fb32..bc993140da44 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CompileMode.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CompileMode.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java
index 180e09bcde49..8b254e53d133 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountProperties.java
index 11c2348ac058..2ea876bc4fb1 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountState.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountState.java
index 3e60dbeaea81..461fe8762a3b 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountState.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountState.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountStatus.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountStatus.java
index db8c7b98d6fb..b29939ffebd0 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountStatus.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountStatus.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters.java
index 478d555f2742..afbf6ec8f477 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfo.java
index 1e4b8fc48093..bd5e2adcf508 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfoProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfoProperties.java
index 302e0bc6a45c..d8eb79e71da6 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfoProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeStoreAccountInfoProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DdlName.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DdlName.java
index c619e74d27c2..0b2d780a37fd 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DdlName.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DdlName.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Diagnostics.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Diagnostics.java
index 0f7c5d430846..7a6680ba92f8 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Diagnostics.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Diagnostics.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/EntityId.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/EntityId.java
index 870521709829..fd7bde6b2916 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/EntityId.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/EntityId.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Error.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Error.java
index 2fc111d8846a..48df06f3cc45 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Error.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/Error.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ErrorDetails.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ErrorDetails.java
index d8216203a696..24762a047667 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ErrorDetails.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ErrorDetails.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ExternalTable.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ExternalTable.java
index a9f1d6ff4801..3179a832e7ee 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ExternalTable.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/ExternalTable.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/FileType.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/FileType.java
index e3ff4957daf2..d618dee6145c 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/FileType.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/FileType.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java
index e39c2b5256d9..ca829c558de8 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobStatementInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobStatementInfo.java
index 97d4812b4335..b9a22d198556 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobStatementInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobStatementInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/InnerError.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/InnerError.java
index 04ffb02ec43c..75f39508986b 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/InnerError.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/InnerError.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobDataPath.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobDataPath.java
index fbe87ed0178f..bab0b07824a7 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobDataPath.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobDataPath.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobErrorDetails.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobErrorDetails.java
index 8b84586df961..b661e14a02ab 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobErrorDetails.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobErrorDetails.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java
index 7c15819eca83..89d7b335db80 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInnerError.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInnerError.java
index 0dd04b3aac3c..aa41792be8c2 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInnerError.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInnerError.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobProperties.java
index d18dd9c41b63..e44014ee32f4 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResource.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResource.java
index 9c1e02dfd7bb..d4a9aee96cf0 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResource.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResource.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResourceType.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResourceType.java
index 8bd751621b2b..c582e31fd28b 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResourceType.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResourceType.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResult.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResult.java
index 898bcd777c7d..5c5dc1764453 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResult.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobResult.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobState.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobState.java
index 4de553635981..91f4d1bb5e88 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobState.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobState.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStateAuditRecord.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStateAuditRecord.java
index b8a517467e6f..ace8b9b91a1e 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStateAuditRecord.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStateAuditRecord.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatistics.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatistics.java
index 8f97ab5d486c..e6844b59f84c 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatistics.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatistics.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatisticsVertexStage.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatisticsVertexStage.java
index 5faef565a220..12dafa99ba39 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatisticsVertexStage.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobStatisticsVertexStage.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobType.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobType.java
index 683cddf95e9f..433ba54e5831 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobType.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobType.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/OperationStatus.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/OperationStatus.java
index 608fe7f3c6b0..3d709f3a1273 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/OperationStatus.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/OperationStatus.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/PageImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/PageImpl.java
index bedc2b98b24b..5b77dd7b96ec 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/PageImpl.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/PageImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SasTokenInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SasTokenInfo.java
index d9c392eb1221..d80903d3439c 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SasTokenInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SasTokenInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SeverityTypes.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SeverityTypes.java
index 302566df860f..5bdbf9592075 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SeverityTypes.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/SeverityTypes.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountInfo.java
index 078bfbbd9209..cd9b38edfb13 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountProperties.java
index 87cb8e1c7491..2d130c1c1659 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageAccountProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/TypeFieldInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/TypeFieldInfo.java
index 7325bb256b8b..17577f7c021c 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/TypeFieldInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/TypeFieldInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssembly.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssembly.java
index caf1900b2e7f..ca4deaecd83a 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssembly.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssembly.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyClr.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyClr.java
index 67d3a304f567..66dc16909c2d 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyClr.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyClr.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyDependencyInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyDependencyInfo.java
index 4348d08033c7..9d9e9d898bed 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyDependencyInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyDependencyInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyFileInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyFileInfo.java
index 41148de52129..45f8a5cbc6dd 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyFileInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlAssemblyFileInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlCredential.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlCredential.java
index 9a7db697f1a7..32af3701a173 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlCredential.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlCredential.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDatabase.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDatabase.java
index 1b34f657c057..42f16924fccf 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDatabase.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDatabase.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDirectedColumn.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDirectedColumn.java
index ea6d6d253ca9..c9dc761ddd43 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDirectedColumn.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDirectedColumn.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDistributionInfo.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDistributionInfo.java
index 9d6c2854063a..9c6bf15166ad 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDistributionInfo.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlDistributionInfo.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlExternalDataSource.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlExternalDataSource.java
index 51c63ed5db51..0a73bd14138a 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlExternalDataSource.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlExternalDataSource.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlIndex.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlIndex.java
index 6611e95631ae..84657b984478 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlIndex.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlIndex.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java
index 95b66f1130fb..8daf2c8f0d12 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlProcedure.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlProcedure.java
index 9f120ff31769..c3300702403d 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlProcedure.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlProcedure.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSchema.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSchema.java
index 3179247ac897..c48062890836 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSchema.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSchema.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSecret.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSecret.java
index 8a54f7d63de3..f80778752fdf 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSecret.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlSecret.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTable.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTable.java
index 76045fa425cc..5e00e86f7285 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTable.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTable.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableColumn.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableColumn.java
index f6be03fc36d7..6e45579d2ddc 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableColumn.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableColumn.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTablePartition.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTablePartition.java
index ed19458e101e..586d7f744151 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTablePartition.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTablePartition.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableStatistics.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableStatistics.java
index 79165bbef733..3ec513212012 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableStatistics.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableStatistics.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableType.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableType.java
index 077a9d5d3e3f..8392f1d1fde6 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableType.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableType.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableValuedFunction.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableValuedFunction.java
index 5bf6c5f0d6b8..2e8313b0b1e2 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableValuedFunction.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlTableValuedFunction.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlType.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlType.java
index f4cbe39fd2c1..5658ed9f531f 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlType.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlType.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlView.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlView.java
index eb4fc453e50c..20f4e9d54b8f 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlView.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlView.java
@@ -2,6 +2,8 @@
* 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.datalake.analytics.models;
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/package-info.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/package-info.java
index f8cf7404b92b..4e534b100961 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/package-info.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the models classes for DataLakeAnalyticsCatalogManagementClient.
diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/package-info.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/package-info.java
index 51109fd0d656..c33fadad30e4 100644
--- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/package-info.java
+++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the classes for DataLakeAnalyticsCatalogManagementClient.
diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java
index 1a2af51670e9..83f1614c6302 100644
--- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java
+++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java
@@ -9,10 +9,10 @@
import com.microsoft.azure.management.datalake.analytics.models.StorageAccountInfo;
import com.microsoft.azure.management.datalake.analytics.models.StorageAccountProperties;
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
-import com.microsoft.azure.management.storage.implementation.api.Sku;
-import com.microsoft.azure.management.storage.implementation.api.SkuName;
-import com.microsoft.azure.management.storage.implementation.api.StorageAccountCreateParametersInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
+import com.microsoft.azure.management.storage.Sku;
+import com.microsoft.azure.management.storage.SkuName;
+import com.microsoft.azure.management.storage.implementation.StorageAccountCreateParametersInner;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java
index 0c6289f4b2ce..4854840c7857 100644
--- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java
+++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java
@@ -13,7 +13,7 @@
import com.microsoft.azure.management.datalake.analytics.models.USqlType;
import com.microsoft.azure.management.datalake.analytics.models.USqlView;
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java
index 5766386f2c51..697f5c327a64 100644
--- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java
+++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java
@@ -9,7 +9,7 @@
import com.microsoft.azure.management.datalake.analytics.models.JobType;
import com.microsoft.azure.management.datalake.analytics.models.USqlJobProperties;
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java
index 6879d0d9df02..121b792a6949 100644
--- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java
+++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java
@@ -11,8 +11,8 @@
import com.microsoft.azure.management.datalake.analytics.models.JobType;
import com.microsoft.azure.management.datalake.analytics.models.USqlJobProperties;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreAccountManagementClientImpl;
-import com.microsoft.azure.management.resources.implementation.api.ResourceManagementClientImpl;
-import com.microsoft.azure.management.storage.implementation.api.StorageManagementClientImpl;
+import com.microsoft.azure.management.resources.implementation.ResourceManagementClientImpl;
+import com.microsoft.azure.management.storage.implementation.StorageManagementClientImpl;
import com.microsoft.azure.RestClient;
import org.junit.Assert;
diff --git a/azure-mgmt-datalake-store-uploader/pom.xml b/azure-mgmt-datalake-store-uploader/pom.xml
index 20c325851f63..0fb5797e7b74 100644
--- a/azure-mgmt-datalake-store-uploader/pom.xml
+++ b/azure-mgmt-datalake-store-uploader/pom.xml
@@ -8,12 +8,13 @@
com.microsoft.azure
azure-parent
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
../pom.xml
azure-mgmt-datalake-store-uploader
jar
+ 1.0.0-beta1.1
Microsoft Azure SDK for Data Lake Store Data Uploading
This package contains Microsoft Azure Data Lake Store Uploader SDK, which enables rapid ingress of data into Azure Data Lake Storage accounts
@@ -49,17 +50,17 @@
com.microsoft.azure
azure-client-runtime
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
- ${project.groupId}
+ com.microsoft.azure
azure-mgmt-datalake-store
- ${project.version}
+ 1.0.0-beta1.1
- ${project.groupId}
+ com.microsoft.azure
azure-mgmt-resources
- ${project.version}
+ 1.0.0-beta2
test
@@ -70,7 +71,7 @@
com.microsoft.azure
azure-client-authentication
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
test
diff --git a/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/DataLakeUploaderTestBase.java b/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/DataLakeUploaderTestBase.java
index 488e6e79b257..876c325c153c 100644
--- a/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/DataLakeUploaderTestBase.java
+++ b/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/DataLakeUploaderTestBase.java
@@ -6,13 +6,11 @@
package com.microsoft.azure.management.datalake.store.uploader;
import com.microsoft.azure.AzureEnvironment;
+import com.microsoft.azure.RestClient;
import com.microsoft.azure.credentials.UserTokenCredentials;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreAccountManagementClientImpl;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreFileSystemManagementClientImpl;
-import com.microsoft.azure.management.resources.implementation.api.ResourceManagementClientImpl;
-import com.microsoft.azure.serializer.AzureJacksonMapperAdapter;
-import com.microsoft.azure.RestClient;
-import com.microsoft.rest.serializer.JacksonMapperAdapter;
+import com.microsoft.azure.management.resources.implementation.ResourceManagementClientImpl;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
diff --git a/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/PerformanceUploadTests.java b/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/PerformanceUploadTests.java
index 4db68bcf9bf1..6747b4cc399b 100644
--- a/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/PerformanceUploadTests.java
+++ b/azure-mgmt-datalake-store-uploader/src/test/java/com/microsoft/azure/management/datalake/store/uploader/PerformanceUploadTests.java
@@ -8,7 +8,7 @@
import com.google.common.base.Stopwatch;
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreFileSystemManagementClientImpl;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
diff --git a/azure-mgmt-datalake-store/pom.xml b/azure-mgmt-datalake-store/pom.xml
index 81c37c6da92f..ab2c9df69757 100644
--- a/azure-mgmt-datalake-store/pom.xml
+++ b/azure-mgmt-datalake-store/pom.xml
@@ -8,12 +8,13 @@
com.microsoft.azure
azure-parent
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
../pom.xml
azure-mgmt-datalake-store
jar
+ 1.0.0-beta1.1
Microsoft Azure SDK for Data Lake Store Management
This package contains Microsoft Azure Data Lake Store Management SDK.
@@ -49,12 +50,12 @@
com.microsoft.azure
azure-client-runtime
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
com.microsoft.azure
azure-mgmt-resources
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
test
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java
index 4afd43e65a2e..8ea3a48cb6f6 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java
@@ -2,6 +2,8 @@
* 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.datalake.store;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountManagementClient.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountManagementClient.java
index 34e494a11065..2195b78bb947 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountManagementClient.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountManagementClient.java
@@ -2,6 +2,8 @@
* 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.datalake.store;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFileSystemManagementClient.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFileSystemManagementClient.java
index 7df7bc30314b..66175c9c0e65 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFileSystemManagementClient.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFileSystemManagementClient.java
@@ -2,6 +2,8 @@
* 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.datalake.store;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/FileSystems.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/FileSystems.java
index b89549b59674..7f9831459e61 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/FileSystems.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/FileSystems.java
@@ -2,6 +2,8 @@
* 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.datalake.store;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java
index 7bd1e70e6a37..8d1077ede142 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.store.implementation;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreAccountManagementClientImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreAccountManagementClientImpl.java
index 3ef2503331bf..19a8b36c5026 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreAccountManagementClientImpl.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreAccountManagementClientImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.store.implementation;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreFileSystemManagementClientImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreFileSystemManagementClientImpl.java
index d95a00f78b01..552169907eb5 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreFileSystemManagementClientImpl.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/DataLakeStoreFileSystemManagementClientImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.store.implementation;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/FileSystemsImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/FileSystemsImpl.java
index 08a5e5a35459..99ceb8cd80ad 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/FileSystemsImpl.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/FileSystemsImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.store.implementation;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/package-info.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/package-info.java
index 3233d1348119..f841c3b32617 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/package-info.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the implementation classes for DataLakeStoreFileSystemManagementClient.
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatus.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatus.java
index 1a684eddc7bc..5a995667054b 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatus.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatus.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatusResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatusResult.java
index 53445c367f83..9a760a46f156 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatusResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AclStatusResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsAccessControlException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsAccessControlException.java
index b3152b7bf1ea..c003a68f5d70 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsAccessControlException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsAccessControlException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsError.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsError.java
index 107fcd43b6bc..fcaa8b2e6a06 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsError.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsError.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsErrorException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsErrorException.java
index d51d6657cfc9..4c70a5fde718 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsErrorException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsErrorException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsFileNotFoundException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsFileNotFoundException.java
index 22cab1ea467a..fc8683215f2a 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsFileNotFoundException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsFileNotFoundException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIOException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIOException.java
index 202eae888235..df0ea68ab12c 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIOException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIOException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIllegalArgumentException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIllegalArgumentException.java
index eb01009c4728..52701e72b091 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIllegalArgumentException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsIllegalArgumentException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRemoteException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRemoteException.java
index b2270dc41343..7081791a61e4 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRemoteException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRemoteException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRuntimeException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRuntimeException.java
index a0522a4f9111..5beb92e5ad54 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRuntimeException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsRuntimeException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsSecurityException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsSecurityException.java
index fc7551e90006..7b6bed7049df 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsSecurityException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsSecurityException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsUnsupportedOperationException.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsUnsupportedOperationException.java
index 6c9b007a9ef5..18864c0bc01c 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsUnsupportedOperationException.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AdlsUnsupportedOperationException.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AppendModeType.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AppendModeType.java
index 7494a12273a9..f0ebfbdb1c2d 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AppendModeType.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AppendModeType.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AzureAsyncOperationResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AzureAsyncOperationResult.java
index 3626bcc38c65..9af49792ab13 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AzureAsyncOperationResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/AzureAsyncOperationResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummary.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummary.java
index c36182978ec0..a56bf8606a8d 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummary.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummary.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummaryResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummaryResult.java
index 4dfbea69ef53..25d65e4438f4 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummaryResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ContentSummaryResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java
index 382d6f587c60..78594383187c 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountProperties.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountProperties.java
index 4077229ad1b8..26fcb9c7a2f7 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountProperties.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountState.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountState.java
index b48b5e1d926e..e549a009a2fb 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountState.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountState.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountStatus.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountStatus.java
index 193e52c138ea..53c0c52b1631 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountStatus.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountStatus.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/Error.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/Error.java
index aaf53e8de2db..464e46ed4061 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/Error.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/Error.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ErrorDetails.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ErrorDetails.java
index 4e57312fda4e..4d59dfe47c23 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ErrorDetails.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/ErrorDetails.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileOperationResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileOperationResult.java
index d17d4bc44f6d..4224d6fa34af 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileOperationResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileOperationResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusProperties.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusProperties.java
index a70b212a1813..f05030cf0b7d 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusProperties.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusResult.java
index 90122272031c..1289ba9fd357 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatuses.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatuses.java
index 0f026609b40f..ecfb3cba2e86 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatuses.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatuses.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusesResult.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusesResult.java
index 07b5c40e66bb..8e8271a6fc0d 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusesResult.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileStatusesResult.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileType.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileType.java
index c432a438c022..d897942c82f1 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileType.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FileType.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRule.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRule.java
index f5c0b268ffc3..750387c5a5e1 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRule.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRule.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRuleProperties.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRuleProperties.java
index bd1c0bc338aa..8ae6443642e8 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRuleProperties.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/FirewallRuleProperties.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/InnerError.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/InnerError.java
index 12a551fb0d43..d7ad6e11444b 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/InnerError.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/InnerError.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/OperationStatus.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/OperationStatus.java
index 259d55bfc0f0..4e4e131d933b 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/OperationStatus.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/OperationStatus.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/PageImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/PageImpl.java
index dd300b4c640e..53f0871fe47c 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/PageImpl.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/PageImpl.java
@@ -2,6 +2,8 @@
* 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.datalake.store.models;
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/package-info.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/package-info.java
index fd951f765542..409ffccbef6c 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/package-info.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the models classes for DataLakeStoreFileSystemManagementClient.
diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/package-info.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/package-info.java
index 25b2378fbb00..316b5e475819 100644
--- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/package-info.java
+++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/package-info.java
@@ -1,6 +1,8 @@
// 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.
/**
* This package contains the classes for DataLakeStoreFileSystemManagementClient.
diff --git a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java
index 433e15ce82fb..966b52417596 100644
--- a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java
+++ b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java
@@ -2,7 +2,7 @@
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount;
import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountProperties;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFilesystemOperationsTests.java b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFilesystemOperationsTests.java
index 5331d5eb7085..c81e80b2d77d 100644
--- a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFilesystemOperationsTests.java
+++ b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreFilesystemOperationsTests.java
@@ -8,7 +8,7 @@
import com.microsoft.azure.management.datalake.store.models.FileStatusResult;
import com.microsoft.azure.management.datalake.store.models.FileStatusesResult;
import com.microsoft.azure.management.datalake.store.models.FileType;
-import com.microsoft.azure.management.resources.implementation.api.ResourceGroupInner;
+import com.microsoft.azure.management.resources.implementation.ResourceGroupInner;
import org.apache.commons.lang3.StringUtils;
import org.junit.AfterClass;
import org.junit.Assert;
diff --git a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreManagementTestBase.java b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreManagementTestBase.java
index 6af2353d2c21..7b91a0b746a4 100644
--- a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreManagementTestBase.java
+++ b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreManagementTestBase.java
@@ -4,7 +4,7 @@
import com.microsoft.azure.credentials.UserTokenCredentials;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreAccountManagementClientImpl;
import com.microsoft.azure.management.datalake.store.implementation.DataLakeStoreFileSystemManagementClientImpl;
-import com.microsoft.azure.management.resources.implementation.api.ResourceManagementClientImpl;
+import com.microsoft.azure.management.resources.implementation.ResourceManagementClientImpl;
import com.microsoft.azure.RestClient;
import okhttp3.logging.HttpLoggingInterceptor;
diff --git a/azure-mgmt-network/pom.xml b/azure-mgmt-network/pom.xml
index c18033a48316..0ad2b4225fdf 100644
--- a/azure-mgmt-network/pom.xml
+++ b/azure-mgmt-network/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.azure
azure-parent
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
../pom.xml
@@ -49,12 +49,12 @@
com.microsoft.azure
azure-client-runtime
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
com.microsoft.azure
azure-mgmt-resources
- 1.0.0-SNAPSHOT
+ 1.0.0-beta2
junit
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AddressSpace.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AddressSpace.java
similarity index 89%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AddressSpace.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AddressSpace.java
index a53398883ea3..584c97c242b1 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AddressSpace.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AddressSpace.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddress.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddress.java
similarity index 92%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddress.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddress.java
index 09741f4977bc..7e726ef2e833 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddress.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddress.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddressPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddressPool.java
similarity index 97%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddressPool.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddressPool.java
index 527d9dd87374..9fbcf78d8ba6 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendAddressPool.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendAddressPool.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
import com.microsoft.azure.SubResource;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendHttpSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendHttpSettings.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendHttpSettings.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendHttpSettings.java
index dc49a919a4ee..85efd38237a9 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayBackendHttpSettings.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayBackendHttpSettings.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayCookieBasedAffinity.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayCookieBasedAffinity.java
similarity index 84%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayCookieBasedAffinity.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayCookieBasedAffinity.java
index 99f9a239bb51..d99a1bae0aa6 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayCookieBasedAffinity.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayCookieBasedAffinity.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewayCookieBasedAffinity.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendIPConfiguration.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendIPConfiguration.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendIPConfiguration.java
index aac75897c4ed..c4f1c11430ef 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendIPConfiguration.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendIPConfiguration.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendPort.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendPort.java
similarity index 96%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendPort.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendPort.java
index 8807bc6348ed..defc62991dce 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayFrontendPort.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayFrontendPort.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayHttpListener.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayHttpListener.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayHttpListener.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayHttpListener.java
index 38d6018a1d04..f78aa0155065 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayHttpListener.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayHttpListener.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayIPConfiguration.java
similarity index 96%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayIPConfiguration.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayIPConfiguration.java
index eb25047fa8e4..db9620ec4555 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayIPConfiguration.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayIPConfiguration.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayOperationalState.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayOperationalState.java
similarity index 88%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayOperationalState.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayOperationalState.java
index 6b06e7880b39..da16c5743174 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayOperationalState.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayOperationalState.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewayOperationalState.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayPathRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayPathRule.java
similarity index 97%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayPathRule.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayPathRule.java
index e7cfe6027a73..fab76f9a3b89 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayPathRule.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayPathRule.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
import com.microsoft.azure.SubResource;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProbe.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProbe.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProbe.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProbe.java
index d69985aa562c..e614400a1d8c 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProbe.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProbe.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProtocol.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProtocol.java
similarity index 83%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProtocol.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProtocol.java
index 0568ace287c5..eb222a7529a6 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayProtocol.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayProtocol.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewayProtocol.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRule.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRule.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRule.java
index 70f13cd5f69b..577e7fb9baf9 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRule.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRule.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRuleType.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRuleType.java
similarity index 85%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRuleType.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRuleType.java
index 5188e076c0a5..2e34588a9f3a 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayRequestRoutingRuleType.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayRequestRoutingRuleType.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewayRequestRoutingRuleType.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySku.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySku.java
similarity index 94%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySku.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySku.java
index 8c842186a988..f59966c1b9a0 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySku.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySku.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySkuName.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySkuName.java
similarity index 86%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySkuName.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySkuName.java
index ccdcdf79d586..1d66b07e77da 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySkuName.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySkuName.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewaySkuName.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySslCertificate.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySslCertificate.java
similarity index 97%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySslCertificate.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySslCertificate.java
index 8e4b33c1dc97..e1938170366b 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewaySslCertificate.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaySslCertificate.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayTier.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayTier.java
similarity index 79%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayTier.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayTier.java
index 62ec7d051052..62889599e046 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayTier.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayTier.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ApplicationGatewayTier.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayUrlPathMap.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayUrlPathMap.java
similarity index 97%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayUrlPathMap.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayUrlPathMap.java
index 37daf2a57575..a8da57fd8d06 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ApplicationGatewayUrlPathMap.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewayUrlPathMap.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import java.util.List;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AuthorizationUseStatus.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AuthorizationUseStatus.java
similarity index 83%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AuthorizationUseStatus.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AuthorizationUseStatus.java
index adbfc1ef26a3..eed6d97b0019 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AuthorizationUseStatus.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AuthorizationUseStatus.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for AuthorizationUseStatus.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AzureAsyncOperationResult.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AzureAsyncOperationResult.java
similarity index 94%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AzureAsyncOperationResult.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AzureAsyncOperationResult.java
index 24fcd3d87e03..e40380de0ac8 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/AzureAsyncOperationResult.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/AzureAsyncOperationResult.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BackendAddressPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BackendAddressPool.java
similarity index 97%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BackendAddressPool.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BackendAddressPool.java
index 71ea67f1e0d8..681dc12fa174 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BackendAddressPool.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BackendAddressPool.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
import com.microsoft.azure.SubResource;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BgpSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BgpSettings.java
similarity index 94%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BgpSettings.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BgpSettings.java
index ea7e9b943e2f..08e7e1d87ead 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/BgpSettings.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BgpSettings.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/DhcpOptions.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/DhcpOptions.java
similarity index 89%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/DhcpOptions.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/DhcpOptions.java
index ed7327ddfd89..50abd6258877 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/DhcpOptions.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/DhcpOptions.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/Error.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Error.java
similarity index 95%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/Error.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Error.java
index a8980986bba6..833c29f1e5ae 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/Error.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Error.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ErrorDetails.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ErrorDetails.java
similarity index 93%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ErrorDetails.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ErrorDetails.java
index 86f5a30e4168..2b6d1a84ea9e 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ErrorDetails.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ErrorDetails.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java
similarity index 90%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java
index ed5eaf4afd4d..70c4bea351e0 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringConfig.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringConfig.java
similarity index 96%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringConfig.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringConfig.java
index 891d1d76acd7..567054d9013b 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringConfig.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringConfig.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringState.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringState.java
similarity index 84%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringState.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringState.java
index c505e531064c..454c5681465a 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringState.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringState.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ExpressRouteCircuitPeeringState.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringType.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringType.java
similarity index 87%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringType.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringType.java
index 00b7480c9142..73791627973e 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitPeeringType.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringType.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ExpressRouteCircuitPeeringType.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitServiceProviderProperties.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitServiceProviderProperties.java
similarity index 95%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitServiceProviderProperties.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitServiceProviderProperties.java
index 6b3ecbbca0b7..f5908848d7c6 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitServiceProviderProperties.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitServiceProviderProperties.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSku.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSku.java
similarity index 94%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSku.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSku.java
index efb17b8d942d..25cedb959596 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSku.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSku.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuFamily.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuFamily.java
similarity index 84%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuFamily.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuFamily.java
index ca7db74b5d86..6fa0db720e7c 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuFamily.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuFamily.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ExpressRouteCircuitSkuFamily.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuTier.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuTier.java
similarity index 83%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuTier.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuTier.java
index 4198a0f8fa1d..6e8a04e59591 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteCircuitSkuTier.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitSkuTier.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for ExpressRouteCircuitSkuTier.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteServiceProviderBandwidthsOffered.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProviderBandwidthsOffered.java
similarity index 93%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteServiceProviderBandwidthsOffered.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProviderBandwidthsOffered.java
index 5bff4b4544b1..965e4bf6d827 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/ExpressRouteServiceProviderBandwidthsOffered.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProviderBandwidthsOffered.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/FrontendIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/FrontendIPConfiguration.java
similarity index 96%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/FrontendIPConfiguration.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/FrontendIPConfiguration.java
index e8df708724c0..e51138ce82a0 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/FrontendIPConfiguration.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/FrontendIPConfiguration.java
@@ -2,12 +2,16 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import java.util.List;
import com.microsoft.azure.SubResource;
+import com.microsoft.azure.management.network.implementation.SubnetInner;
+import com.microsoft.azure.management.network.implementation.PublicIPAddressInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPAllocationMethod.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPAllocationMethod.java
similarity index 82%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPAllocationMethod.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPAllocationMethod.java
index 18cfc1a4411e..1895c90cb26e 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPAllocationMethod.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPAllocationMethod.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for IPAllocationMethod.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPConfiguration.java
similarity index 94%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPConfiguration.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPConfiguration.java
index d97b68b25f2d..d7f96f74831e 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/IPConfiguration.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/IPConfiguration.java
@@ -2,10 +2,14 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
+import com.microsoft.azure.management.network.implementation.SubnetInner;
+import com.microsoft.azure.management.network.implementation.PublicIPAddressInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatPool.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatPool.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatPool.java
index dded95447abc..bd54ff3eeef7 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatPool.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatPool.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatRule.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatRule.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatRule.java
index bf3d98f5a347..87591fbb2af1 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/InboundNatRule.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/InboundNatRule.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadBalancingRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancingRule.java
similarity index 98%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadBalancingRule.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancingRule.java
index f2cfa8c16fe2..2b71c343e458 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadBalancingRule.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancingRule.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadDistribution.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadDistribution.java
similarity index 85%
rename from azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadDistribution.java
rename to azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadDistribution.java
index 401d4a869f4a..666d06b3d215 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/api/LoadDistribution.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadDistribution.java
@@ -2,9 +2,11 @@
* 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.network.implementation.api;
+package com.microsoft.azure.management.network;
/**
* Defines values for LoadDistribution.
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java
index ba8507752fdb..13d0f2a99297 100644
--- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java
+++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java
@@ -8,7 +8,7 @@
import java.util.List;
import java.util.Map;
-import com.microsoft.azure.management.network.implementation.api.VirtualNetworkInner;
+import com.microsoft.azure.management.network.implementation.VirtualNetworkInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
@@ -73,7 +73,7 @@ interface Blank
* The stage of the virtual network definition allowing to specify the resource group.
*/
interface WithGroup
- extends GroupableResource.DefinitionWithGroup {
+ extends GroupableResource.DefinitionStages.WithGroup {
}
/**
@@ -198,6 +198,45 @@ interface WithSubnet {
* @return the first stage of the subnet update description
*/
Subnet.Update updateSubnet(String name);
+
+ /**
+ * Begins the definition of a new subnet to be added to this virtual network.
+ * @param name the name of the new subnet
+ * @return the first stage of the new subnet definition
+ */
+ Subnet.UpdateDefinitionStages.Blank defineSubnet(String name);
+ }
+
+ /**
+ * The stage of the virtual network update allowing to specify the DNS server.
+ */
+ interface WithDnsServer {
+ /**
+ * Specifies the IP address of the DNS server to associate with the virtual network.
+ *
+ * Note this method's effect is additive, i.e. each time it is used, a new DNS server is
+ * added to the network
+ * @param ipAddress the IP address of the DNS server
+ * @return the next stage of the virtual network update
+ */
+ Update withDnsServer(String ipAddress);
+ }
+
+ /**
+ * The stage of the virtual network update allowing to specify the address space.
+ */
+ interface WithAddressSpace {
+ /**
+ * Explicitly adds an address space to the virtual network.
+ *
+ * Note this method's effect is additive, i.e. each time it is used, a new address space is added to the network.
+ *
+ * This method does not check for conflicts or overlaps with other address spaces. If there is a conflict,
+ * a cloud exception may be thrown after the update is applied.
+ * @param cidr the CIDR representation of the address space
+ * @return the next stage of the virtual network update
+ */
+ Update withAddressSpace(String cidr);
}
}
@@ -210,28 +249,8 @@ interface WithSubnet {
interface Update extends
Appliable,
Resource.UpdateWithTags