你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiskSku Class
- java.
lang. Object - com.
microsoft. azure. management. compute. DiskSku
- com.
public class DiskSku
The disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.
Method Summary
Modifier and Type | Method and Description |
---|---|
Storage |
name()
Get the name value. |
String |
tier()
Get the tier value. |
Disk |
withName(StorageAccountTypes name)
Set the name value. |
Method Details
name
public StorageAccountTypes name()
Get the name value.
Returns:
the name value
tier
public String tier()
Get the tier value.
Returns:
the tier value
withName
public DiskSku withName(StorageAccountTypes name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the DiskSku object itself.