Class VMCollectionUpdate
java.lang.Object
com.azure.resourcemanager.elastic.models.VMCollectionUpdate
Update VM resource collection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the operationName property: OperationNamevoid
validate()
Validates the instance.Get the vmResourceId property: ARM id of the VM resource.withOperationName
(OperationName operationName) Set the operationName property: OperationNamewithVmResourceId
(String vmResourceId) Set the vmResourceId property: ARM id of the VM resource.
-
Constructor Details
-
VMCollectionUpdate
public VMCollectionUpdate()Creates an instance of VMCollectionUpdate class.
-
-
Method Details
-
vmResourceId
Get the vmResourceId property: ARM id of the VM resource.- Returns:
- the vmResourceId value.
-
withVmResourceId
Set the vmResourceId property: ARM id of the VM resource.- Parameters:
vmResourceId
- the vmResourceId value to set.- Returns:
- the VMCollectionUpdate object itself.
-
operationName
Get the operationName property: OperationNameOperation to be performed for given VM.
- Returns:
- the operationName value.
-
withOperationName
Set the operationName property: OperationNameOperation to be performed for given VM.
- Parameters:
operationName
- the operationName value to set.- Returns:
- the VMCollectionUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-