你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SupportedCapabilities Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SupportedCapabilities
- com.
Implements
public final class SupportedCapabilities
implements JsonSerializable<SupportedCapabilities>
List of supported capabilities persisted on the disk resource for VM use.
Constructor Summary
Constructor | Description |
---|---|
SupportedCapabilities() |
Creates an instance of Supported |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
acceleratedNetwork()
Get the accelerated |
Architecture |
architecture()
Get the architecture property: CPU architecture supported by an OS disk. |
String |
diskControllerTypes()
Get the disk |
static
Supported |
fromJson(JsonReader jsonReader)
Reads an instance of Supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Supported |
withAcceleratedNetwork(Boolean acceleratedNetwork)
Set the accelerated |
Supported |
withArchitecture(Architecture architecture)
Set the architecture property: CPU architecture supported by an OS disk. |
Supported |
withDiskControllerTypes(String diskControllerTypes)
Set the disk |
Methods inherited from java.lang.Object
Constructor Details
SupportedCapabilities
public SupportedCapabilities()
Creates an instance of SupportedCapabilities class.
Method Details
acceleratedNetwork
public Boolean acceleratedNetwork()
Get the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.
Returns:
architecture
public Architecture architecture()
Get the architecture property: CPU architecture supported by an OS disk.
Returns:
diskControllerTypes
public String diskControllerTypes()
Get the diskControllerTypes property: The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
Returns:
fromJson
public static SupportedCapabilities fromJson(JsonReader jsonReader)
Reads an instance of SupportedCapabilities from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAcceleratedNetwork
public SupportedCapabilities withAcceleratedNetwork(Boolean acceleratedNetwork)
Set the acceleratedNetwork property: True if the image from which the OS disk is created supports accelerated networking.
Parameters:
Returns:
withArchitecture
public SupportedCapabilities withArchitecture(Architecture architecture)
Set the architecture property: CPU architecture supported by an OS disk.
Parameters:
Returns:
withDiskControllerTypes
public SupportedCapabilities withDiskControllerTypes(String diskControllerTypes)
Set the diskControllerTypes property: The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
Parameters:
Returns: