Share via


VirtualMachineVMImageOperationsExtensions.Replicate 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.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static VirtualMachineVMImageReplicateResponse Replicate(
    this IVirtualMachineVMImageOperations operations,
    string vmImageName,
    VirtualMachineVMImageReplicateParameters parameters
)
public:
[ExtensionAttribute]
static VirtualMachineVMImageReplicateResponse^ Replicate(
    IVirtualMachineVMImageOperations^ operations,
    String^ vmImageName,
    VirtualMachineVMImageReplicateParameters^ parameters
)
static member Replicate : 
        operations:IVirtualMachineVMImageOperations *
        vmImageName:string *
        parameters:VirtualMachineVMImageReplicateParameters -> VirtualMachineVMImageReplicateResponse
<ExtensionAttribute>
Public Shared Function Replicate (
    operations As IVirtualMachineVMImageOperations,
    vmImageName As String,
    parameters As VirtualMachineVMImageReplicateParameters
) As VirtualMachineVMImageReplicateResponse

Parameters

  • vmImageName
    Type: System.String

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

Return Value

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

The response body contains the published name of the image.

See Also

VirtualMachineVMImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top