Class VMResourcesInner
java.lang.Object
com.azure.resourcemanager.elastic.fluent.models.VMResourcesInner
The vm resource properties that is currently being monitored by the Elastic monitor resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Get the vmResourceId property: The ARM id of the VM resource.withVmResourceId
(String vmResourceId) Set the vmResourceId property: The ARM id of the VM resource.
-
Constructor Details
-
VMResourcesInner
public VMResourcesInner()Creates an instance of VMResourcesInner class.
-
-
Method Details
-
vmResourceId
Get the vmResourceId property: The ARM id of the VM resource.- Returns:
- the vmResourceId value.
-
withVmResourceId
Set the vmResourceId property: The ARM id of the VM resource.- Parameters:
vmResourceId
- the vmResourceId value to set.- Returns:
- the VMResourcesInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-