Udostępnij za pośrednictwem


VirtualMachineOSImageOperationsExtensions.Replicate Method

Definition

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.

public static Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateResponse Replicate (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateParameters parameters);
static member Replicate : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateParameters -> Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateResponse
<Extension()>
Public Function Replicate (operations As IVirtualMachineOSImageOperations, imageName As String, parameters As VirtualMachineOSImageReplicateParameters) As VirtualMachineOSImageReplicateResponse

Parameters

operations
IVirtualMachineOSImageOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.

imageName
String

Required. The name of the virtual machine OS image to replicate.

parameters
VirtualMachineOSImageReplicateParameters

Required. Parameters supplied to the Replicate Virtual Machine Image operation.

Returns

The response body contains the published name of the image.

Applies to