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
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperationsReference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.
vmImageName
Type: System.StringRequired. The name of the virtual machine image to replicate.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageReplicateParametersRequired. Parameters supplied to the Replicate Virtual Machine Image operation.
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