IVirtualMachineOSImageOperations.ReplicateAsync Method (String, VirtualMachineOSImageReplicateParameters, CancellationToken)

 

Replicate an OS image to multiple target locations. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Function ReplicateAsync (
	imageName As String,
	parameters As VirtualMachineOSImageReplicateParameters,
	cancellationToken As CancellationToken
) As Task(Of VirtualMachineOSImageReplicateResponse)

Parameters

imageName
Type: System.String

The name of the virtual machine OS image to replicate.

parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateParameters

Parameters supplied to the Replicate Virtual Machine Image operation.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of VirtualMachineOSImageReplicateResponse)

The response body contains the published name of the image.

Return to top
Show: