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
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmResource) |
Data |
Gets the data representing this Feature. |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmResource) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmResource) |
HasData |
Gets whether or not the current instance has data. |
Id |
Gets the resource identifier. (Inherited from ArmResource) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmResource) |
Methods
AddTag(String, String, CancellationToken) |
Add a tag to the current resource.
|
AddTagAsync(String, String, CancellationToken) |
Add a tag to the current resource.
|
CanUseTagResource(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
CanUseTagResourceAsync(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
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.
|
GetAvailableLocations(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
GetAvailableLocationsAsync(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
GetManagementLock(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLockAsync(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLocks() |
Gets a collection of ManagementLockResources in the ArmResource. (Inherited from ArmResource) |
GetPolicyAssignment(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignmentAsync(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignments() |
Gets a collection of PolicyAssignmentResources in the ArmResource. (Inherited from ArmResource) |
GetTagResource() |
Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource. (Inherited from ArmResource) |
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.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmResource) |
Update(WaitUntil, ScVmmVirtualMachinePatch, CancellationToken) |
Updates the VirtualMachines resource.
|
UpdateAsync(WaitUntil, ScVmmVirtualMachinePatch, CancellationToken) |
Updates the VirtualMachines resource.
|
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기