ScVmmVirtualMachineResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Class representing a ScVmmVirtualMachine along with the instance operations that can be performed on it. If you have a ResourceIdentifier you can construct a ScVmmVirtualMachineResource from an instance of ArmClient using the GetScVmmVirtualMachineResource method. Otherwise you can get one from its parent resource ResourceGroupResource using the GetScVmmVirtualMachine method.
public class ScVmmVirtualMachineResource : Azure.ResourceManager.ArmResource
type ScVmmVirtualMachineResource = class
inherit ArmResource
Public Class ScVmmVirtualMachineResource
Inherits ArmResource
- Inheritance
Constructors
ScVmmVirtualMachineResource() |
Initializes a new instance of the ScVmmVirtualMachineResource class for mocking. |
Fields
ResourceType |
Gets the resource type for the operations. |
Properties
Data |
Gets the data representing this Feature. |
HasData |
Gets whether or not the current instance has data. |
Methods
AddTag(String, String, CancellationToken) |
Add a tag to the current resource.
|
AddTagAsync(String, String, CancellationToken) |
Add a tag to the current resource.
|
CreateCheckpoint(WaitUntil, VirtualMachineCreateCheckpoint, CancellationToken) |
Creates a checkpoint in virtual machine.
|
CreateCheckpointAsync(WaitUntil, VirtualMachineCreateCheckpoint, CancellationToken) |
Creates a checkpoint in virtual machine.
|
CreateResourceIdentifier(String, String, String) |
Generate the resource identifier of a ScVmmVirtualMachineResource instance. |
Delete(WaitUntil, Nullable<Boolean>, Nullable<Boolean>, CancellationToken) |
Deletes a VirtualMachine deployed on ScVmm fabric.
|
DeleteAsync(WaitUntil, Nullable<Boolean>, Nullable<Boolean>, CancellationToken) |
Deletes a VirtualMachine deployed on ScVmm fabric.
|
DeleteCheckpoint(WaitUntil, VirtualMachineDeleteCheckpoint, CancellationToken) |
Deletes a checkpoint in virtual machine.
|
DeleteCheckpointAsync(WaitUntil, VirtualMachineDeleteCheckpoint, CancellationToken) |
Deletes a checkpoint in virtual machine.
|
Get(CancellationToken) |
Implements VirtualMachine GET method.
|
GetAsync(CancellationToken) |
Implements VirtualMachine GET method.
|
RemoveTag(String, CancellationToken) |
Removes a tag by key from the resource.
|
RemoveTagAsync(String, CancellationToken) |
Removes a tag by key from the resource.
|
Restart(WaitUntil, CancellationToken) |
Restart virtual machine.
|
RestartAsync(WaitUntil, CancellationToken) |
Restart virtual machine.
|
RestoreCheckpoint(WaitUntil, VirtualMachineRestoreCheckpoint, CancellationToken) |
Restores to a checkpoint in virtual machine.
|
RestoreCheckpointAsync(WaitUntil, VirtualMachineRestoreCheckpoint, CancellationToken) |
Restores to a checkpoint in virtual machine.
|
SetTags(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
SetTagsAsync(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
Start(WaitUntil, CancellationToken) |
Start virtual machine.
|
StartAsync(WaitUntil, CancellationToken) |
Start virtual machine.
|
Stop(WaitUntil, StopVirtualMachineContent, CancellationToken) |
Stop virtual machine.
|
StopAsync(WaitUntil, StopVirtualMachineContent, CancellationToken) |
Stop virtual machine.
|
Update(WaitUntil, ScVmmVirtualMachinePatch, CancellationToken) |
Updates the VirtualMachines resource.
|
UpdateAsync(WaitUntil, ScVmmVirtualMachinePatch, CancellationToken) |
Updates the VirtualMachines resource.
|
Applies to
Azure SDK for .NET