VirtualMachineVMImageOperationsExtensions::ReplicateAsync Method (IVirtualMachineVMImageOperations^, String^, VirtualMachineVMImageReplicateParameters^)
Replicate an VM 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.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public: [ExtensionAttribute] static Task<VirtualMachineVMImageReplicateResponse^>^ ReplicateAsync( IVirtualMachineVMImageOperations^ operations, String^ vmImageName, VirtualMachineVMImageReplicateParameters^ parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute::IVirtualMachineVMImageOperations^
Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.
- vmImageName
-
Type:
System::String^
Required. The name of the virtual machine image to replicate.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models::VirtualMachineVMImageReplicateParameters^
Required. Parameters supplied to the Replicate Virtual Machine Image operation.
Return Value
Type: System.Threading.Tasks::Task<VirtualMachineVMImageReplicateResponse^>^The response body contains the published name of the image.
Show: