forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 8705a33caff856e96b5ef9a19c3688c401c28056
- Loading branch information
SDK Automation
committed
Nov 9, 2020
1 parent
9446048
commit 3b4e68a
Showing
5 changed files
with
332 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
277 changes: 277 additions & 0 deletions
277
...ain/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/VmSizeProperty.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters