Share via


VirtualMachineOSImageOperationsExtensions.Replicate Method (IVirtualMachineOSImageOperations, String, VirtualMachineOSImageReplicateParameters)

 

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)

Syntax

public static VirtualMachineOSImageReplicateResponse Replicate(
    this IVirtualMachineOSImageOperations operations,
    string imageName,
    VirtualMachineOSImageReplicateParameters parameters
)
public:
[ExtensionAttribute]
static VirtualMachineOSImageReplicateResponse^ Replicate(
    IVirtualMachineOSImageOperations^ operations,
    String^ imageName,
    VirtualMachineOSImageReplicateParameters^ parameters
)
static member Replicate : 
        operations:IVirtualMachineOSImageOperations *
        imageName:string *
        parameters:VirtualMachineOSImageReplicateParameters -> VirtualMachineOSImageReplicateResponse
<ExtensionAttribute>
Public Shared Function Replicate (
    operations As IVirtualMachineOSImageOperations,
    imageName As String,
    parameters As VirtualMachineOSImageReplicateParameters
) As VirtualMachineOSImageReplicateResponse

Parameters

  • imageName
    Type: System.String

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

Return Value

Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageReplicateResponse

The response body contains the published name of the image.

See Also

VirtualMachineOSImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top