public class VirtualMachineImageResourceInner
extends com.azure.core.management.SubResource
Constructor and Description |
---|
VirtualMachineImageResourceInner() |
Modifier and Type | Method and Description |
---|---|
String |
location()
Get the location property: The supported Azure location of the resource.
|
String |
name()
Get the name property: The name of the resource.
|
Map<String,String> |
tags()
Get the tags property: Specifies the tags that are assigned to the virtual machine.
|
void |
validate()
Validates the instance.
|
VirtualMachineImageResourceInner |
withLocation(String location)
Set the location property: The supported Azure location of the resource.
|
VirtualMachineImageResourceInner |
withName(String name)
Set the name property: The name of the resource.
|
VirtualMachineImageResourceInner |
withTags(Map<String,String> tags)
Set the tags property: Specifies the tags that are assigned to the virtual machine.
|
public String name()
public VirtualMachineImageResourceInner withName(String name)
name
- the name value to set.public String location()
public VirtualMachineImageResourceInner withLocation(String location)
location
- the location value to set.public Map<String,String> tags()
public VirtualMachineImageResourceInner withTags(Map<String,String> tags)
tags
- the tags value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.