Skip to content

Commit

Permalink
Generated from 8705a33caff856e96b5ef9a19c3688c401c28056
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Nov 9, 2020
1 parent 9446048 commit 3b4e68a
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-hdinsight</artifactId>
<version>1.3.7</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for HDInsight Management</name>
<description>This package contains Microsoft HDInsight Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@ public interface BillingResponseListResult extends HasInner<BillingResponseListR
*/
List<VmSizeCompatibilityFilterV2> vmSizeFilters();

/**
* @return the vmSizeProperties value.
*/
List<VmSizeProperty> vmSizeProperties();

/**
* @return the vmSizes value.
*/
List<String> vmSizes();

/**
* @return the vmSizesWithEncryptionAtHost value.
*/
List<String> vmSizesWithEncryptionAtHost();

}
Original file line number Diff line number Diff line change
@@ -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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<BillingResponseListResultInner> implements BillingResponseListResult {
private final HDInsightManager manager;
Expand All @@ -36,9 +37,19 @@ public List<VmSizeCompatibilityFilterV2> vmSizeFilters() {
return this.inner().vmSizeFilters();
}

@Override
public List<VmSizeProperty> vmSizeProperties() {
return this.inner().vmSizeProperties();
}

@Override
public List<String> vmSizes() {
return this.inner().vmSizes();
}

@Override
public List<String> vmSizesWithEncryptionAtHost() {
return this.inner().vmSizesWithEncryptionAtHost();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -37,6 +38,18 @@ public class BillingResponseListResultInner {
@JsonProperty(value = "billingResources")
private List<BillingResources> billingResources;

/**
* The vm sizes when enabling encryption at host.
*/
@JsonProperty(value = "vmSizesWithEncryptionAtHost", access = JsonProperty.Access.WRITE_ONLY)
private List<String> vmSizesWithEncryptionAtHost;

/**
* The vm size properties.
*/
@JsonProperty(value = "vmSizeProperties", access = JsonProperty.Access.WRITE_ONLY)
private List<VmSizeProperty> vmSizeProperties;

/**
* Get the virtual machine sizes to include or exclude.
*
Expand Down Expand Up @@ -97,4 +110,22 @@ public BillingResponseListResultInner withBillingResources(List<BillingResources
return this;
}

/**
* Get the vm sizes when enabling encryption at host.
*
* @return the vmSizesWithEncryptionAtHost value
*/
public List<String> vmSizesWithEncryptionAtHost() {
return this.vmSizesWithEncryptionAtHost;
}

/**
* Get the vm size properties.
*
* @return the vmSizeProperties value
*/
public List<VmSizeProperty> vmSizeProperties() {
return this.vmSizeProperties;
}

}

0 comments on commit 3b4e68a

Please sign in to comment.