VirtualMachineVMImageOperationsExtensions.ReplicateAsync 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.
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.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateResponse> ReplicateAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string vmImageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateParameters parameters);
static member ReplicateAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateResponse>
<Extension()>
Public Function ReplicateAsync (operations As IVirtualMachineVMImageOperations, vmImageName As String, parameters As VirtualMachineVMImageReplicateParameters) As Task(Of VirtualMachineVMImageReplicateResponse)
Parameters
- operations
- IVirtualMachineVMImageOperations
Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.
- vmImageName
- String
Required. The name of the virtual machine image to replicate.
- parameters
- VirtualMachineVMImageReplicateParameters
Required. Parameters supplied to the Replicate Virtual Machine Image operation.
Returns
The response body contains the published name of the image.
Applies to
Azure SDK for .NET