public final class VM
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VM() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: Resource ID.
|
void |
validate()
Validates the instance.
|
VM |
withId(String id)
Set the id property: Resource ID.
|
VM |
withLocation(String location) |
VM |
withTags(Map<String,String> tags) |
public String id()
id in class com.azure.core.management.ProxyResourcepublic VM withId(String id)
id - the id value to set.public VM withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic VM withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.