Udostępnij za pośrednictwem


VirtualMachineVMImageOperationsExtensions.Replicate Method

Definition

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 Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateResponse Replicate (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string vmImageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateParameters parameters);
static member Replicate : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateParameters -> Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateResponse
<Extension()>
Public Function Replicate (operations As IVirtualMachineVMImageOperations, vmImageName As String, parameters As VirtualMachineVMImageReplicateParameters) As 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