VirtualMachineImageResourceInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineImageResourceInner
- com.
- com.
public class VirtualMachineImageResourceInner
extends SubResource
Virtual machine image resource information.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | VirtualMachineImageResourceInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Extended |
extendedLocation()
Get the extended |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineImageResourceInner
protected VirtualMachineImageResourceInner()
Creates an instance of VirtualMachineImageResourceInner class.
Method Details
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the Virtual Machine.
Returns:
fromJson
public static VirtualMachineImageResourceInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineImageResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The supported Azure location of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineImageResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.