diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml index 57ce3d7aaa168..3befdcfee2e13 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml @@ -11,11 +11,11 @@ com.microsoft.azure azure-arm-parent - 1.3.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-hdinsight - 1.3.7 + 1.0.0-beta jar Microsoft Azure SDK for HDInsight Management This package contains Microsoft HDInsight Management SDK. diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/BillingResponseListResult.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/BillingResponseListResult.java index b6c874c0d072f..10705f1d53fad 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/BillingResponseListResult.java +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/BillingResponseListResult.java @@ -28,9 +28,19 @@ public interface BillingResponseListResult extends HasInner vmSizeFilters(); + /** + * @return the vmSizeProperties value. + */ + List vmSizeProperties(); + /** * @return the vmSizes value. */ List vmSizes(); + /** + * @return the vmSizesWithEncryptionAtHost value. + */ + List vmSizesWithEncryptionAtHost(); + } diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/VmSizeProperty.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/VmSizeProperty.java new file mode 100644 index 0000000000000..50771783d156c --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/VmSizeProperty.java @@ -0,0 +1,277 @@ +/** + * Copyright (c) Microsoft Corporation. All rights 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.hdinsight.v2018_06_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The vm size property. + */ +public class VmSizeProperty { + /** + * The vm size name. + */ + @JsonProperty(value = "name") + private String name; + + /** + * The number of cores that the vm size has. + */ + @JsonProperty(value = "cores") + private String cores; + + /** + * The data disk storage tier of the vm size. + */ + @JsonProperty(value = "dataDiskStorageTier") + private String dataDiskStorageTier; + + /** + * The label of the vm size. + */ + @JsonProperty(value = "label") + private String label; + + /** + * The max data disk count of the vm size. + */ + @JsonProperty(value = "maxDataDiskCount") + private String maxDataDiskCount; + + /** + * The memory whose unit is MB of the vm size. + */ + @JsonProperty(value = "memoryInMb") + private String memoryInMb; + + /** + * This indicates this vm size is supported by virtual machines or not. + */ + @JsonProperty(value = "supportedByVirtualMachines") + private String supportedByVirtualMachines; + + /** + * The indicates this vm size is supported by web worker roles or not. + */ + @JsonProperty(value = "supportedByWebWorkerRoles") + private String supportedByWebWorkerRoles; + + /** + * The virtual machine resource disk size whose unit is MB of the vm size. + */ + @JsonProperty(value = "virtualMachineResourceDiskSizeInMb") + private String virtualMachineResourceDiskSizeInMb; + + /** + * The web worker resource disk size whose unit is MB of the vm size. + */ + @JsonProperty(value = "webWorkerResourceDiskSizeInMb") + private String webWorkerResourceDiskSizeInMb; + + /** + * Get the vm size name. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the vm size name. + * + * @param name the name value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withName(String name) { + this.name = name; + return this; + } + + /** + * Get the number of cores that the vm size has. + * + * @return the cores value + */ + public String cores() { + return this.cores; + } + + /** + * Set the number of cores that the vm size has. + * + * @param cores the cores value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withCores(String cores) { + this.cores = cores; + return this; + } + + /** + * Get the data disk storage tier of the vm size. + * + * @return the dataDiskStorageTier value + */ + public String dataDiskStorageTier() { + return this.dataDiskStorageTier; + } + + /** + * Set the data disk storage tier of the vm size. + * + * @param dataDiskStorageTier the dataDiskStorageTier value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withDataDiskStorageTier(String dataDiskStorageTier) { + this.dataDiskStorageTier = dataDiskStorageTier; + return this; + } + + /** + * Get the label of the vm size. + * + * @return the label value + */ + public String label() { + return this.label; + } + + /** + * Set the label of the vm size. + * + * @param label the label value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withLabel(String label) { + this.label = label; + return this; + } + + /** + * Get the max data disk count of the vm size. + * + * @return the maxDataDiskCount value + */ + public String maxDataDiskCount() { + return this.maxDataDiskCount; + } + + /** + * Set the max data disk count of the vm size. + * + * @param maxDataDiskCount the maxDataDiskCount value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withMaxDataDiskCount(String maxDataDiskCount) { + this.maxDataDiskCount = maxDataDiskCount; + return this; + } + + /** + * Get the memory whose unit is MB of the vm size. + * + * @return the memoryInMb value + */ + public String memoryInMb() { + return this.memoryInMb; + } + + /** + * Set the memory whose unit is MB of the vm size. + * + * @param memoryInMb the memoryInMb value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withMemoryInMb(String memoryInMb) { + this.memoryInMb = memoryInMb; + return this; + } + + /** + * Get this indicates this vm size is supported by virtual machines or not. + * + * @return the supportedByVirtualMachines value + */ + public String supportedByVirtualMachines() { + return this.supportedByVirtualMachines; + } + + /** + * Set this indicates this vm size is supported by virtual machines or not. + * + * @param supportedByVirtualMachines the supportedByVirtualMachines value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withSupportedByVirtualMachines(String supportedByVirtualMachines) { + this.supportedByVirtualMachines = supportedByVirtualMachines; + return this; + } + + /** + * Get the indicates this vm size is supported by web worker roles or not. + * + * @return the supportedByWebWorkerRoles value + */ + public String supportedByWebWorkerRoles() { + return this.supportedByWebWorkerRoles; + } + + /** + * Set the indicates this vm size is supported by web worker roles or not. + * + * @param supportedByWebWorkerRoles the supportedByWebWorkerRoles value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withSupportedByWebWorkerRoles(String supportedByWebWorkerRoles) { + this.supportedByWebWorkerRoles = supportedByWebWorkerRoles; + return this; + } + + /** + * Get the virtual machine resource disk size whose unit is MB of the vm size. + * + * @return the virtualMachineResourceDiskSizeInMb value + */ + public String virtualMachineResourceDiskSizeInMb() { + return this.virtualMachineResourceDiskSizeInMb; + } + + /** + * Set the virtual machine resource disk size whose unit is MB of the vm size. + * + * @param virtualMachineResourceDiskSizeInMb the virtualMachineResourceDiskSizeInMb value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withVirtualMachineResourceDiskSizeInMb(String virtualMachineResourceDiskSizeInMb) { + this.virtualMachineResourceDiskSizeInMb = virtualMachineResourceDiskSizeInMb; + return this; + } + + /** + * Get the web worker resource disk size whose unit is MB of the vm size. + * + * @return the webWorkerResourceDiskSizeInMb value + */ + public String webWorkerResourceDiskSizeInMb() { + return this.webWorkerResourceDiskSizeInMb; + } + + /** + * Set the web worker resource disk size whose unit is MB of the vm size. + * + * @param webWorkerResourceDiskSizeInMb the webWorkerResourceDiskSizeInMb value to set + * @return the VmSizeProperty object itself. + */ + public VmSizeProperty withWebWorkerResourceDiskSizeInMb(String webWorkerResourceDiskSizeInMb) { + this.webWorkerResourceDiskSizeInMb = webWorkerResourceDiskSizeInMb; + return this; + } + +} diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultImpl.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultImpl.java index d2fd560889c43..79832592c4f49 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultImpl.java +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultImpl.java @@ -13,6 +13,7 @@ import java.util.List; import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.BillingResources; import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.VmSizeCompatibilityFilterV2; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.VmSizeProperty; class BillingResponseListResultImpl extends WrapperImpl implements BillingResponseListResult { private final HDInsightManager manager; @@ -36,9 +37,19 @@ public List vmSizeFilters() { return this.inner().vmSizeFilters(); } + @Override + public List vmSizeProperties() { + return this.inner().vmSizeProperties(); + } + @Override public List vmSizes() { return this.inner().vmSizes(); } + @Override + public List vmSizesWithEncryptionAtHost() { + return this.inner().vmSizesWithEncryptionAtHost(); + } + } diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultInner.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultInner.java index 961d83868f09e..32c4351d6c2bb 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultInner.java +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/implementation/BillingResponseListResultInner.java @@ -11,6 +11,7 @@ import java.util.List; import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.VmSizeCompatibilityFilterV2; import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.BillingResources; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.VmSizeProperty; import com.fasterxml.jackson.annotation.JsonProperty; /** @@ -37,6 +38,18 @@ public class BillingResponseListResultInner { @JsonProperty(value = "billingResources") private List billingResources; + /** + * The vm sizes when enabling encryption at host. + */ + @JsonProperty(value = "vmSizesWithEncryptionAtHost", access = JsonProperty.Access.WRITE_ONLY) + private List vmSizesWithEncryptionAtHost; + + /** + * The vm size properties. + */ + @JsonProperty(value = "vmSizeProperties", access = JsonProperty.Access.WRITE_ONLY) + private List vmSizeProperties; + /** * Get the virtual machine sizes to include or exclude. * @@ -97,4 +110,22 @@ public BillingResponseListResultInner withBillingResources(List vmSizesWithEncryptionAtHost() { + return this.vmSizesWithEncryptionAtHost; + } + + /** + * Get the vm size properties. + * + * @return the vmSizeProperties value + */ + public List vmSizeProperties() { + return this.vmSizeProperties; + } + }