你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceUpdate Class
- java.
lang. Object - com.
microsoft. azure. management. compute. ResourceUpdate
- com.
public class ResourceUpdate
The Resource model definition.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk |
sku()
Get the sku value. |
Map<String, String> |
tags()
Get the tags value. |
Resource |
withSku(DiskSku sku)
Set the sku value. |
Resource |
withTags(Map<String, String> tags)
Set the tags value. |
Method Details
sku
public DiskSku sku()
Get the sku value.
Returns:
the sku value
tags
public Map
Get the tags value.
Returns:
the tags value
withSku
public ResourceUpdate withSku(DiskSku sku)
Set the sku value.
Parameters:
sku
- the sku value to set
Returns:
the ResourceUpdate object itself.
withTags
public ResourceUpdate withTags(Map
Set the tags value.
Parameters:
tags
- the tags value to set
Returns:
the ResourceUpdate object itself.