IVirtualMachineOperations.BeginCapturingVMImageAsync Method
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.
Begin capturing role as VM template.
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginCapturingVMImageAsync (string serviceName, string deploymentName, string virtualMachineName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineCaptureVMImageParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCapturingVMImageAsync : string * string * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineCaptureVMImageParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function BeginCapturingVMImageAsync (serviceName As String, deploymentName As String, virtualMachineName As String, parameters As VirtualMachineCaptureVMImageParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- serviceName
- String
The name of your service.
- deploymentName
- String
The name of your deployment.
- virtualMachineName
- String
The name of the virtual machine to restart.
- parameters
- VirtualMachineCaptureVMImageParameters
Parameters supplied to the Capture Virtual Machine operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET