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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java