VirtualMachineVMImageOperationsExtensions.UpdateAsync Method (IVirtualMachineVMImageOperations, String, VirtualMachineVMImageUpdateParameters)
The Update VM Image operation updates a VM image that in your image repository.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
public static Task<AzureOperationResponse> UpdateAsync(
this IVirtualMachineVMImageOperations operations,
string imageName,
VirtualMachineVMImageUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ UpdateAsync(
IVirtualMachineVMImageOperations^ operations,
String^ imageName,
VirtualMachineVMImageUpdateParameters^ parameters
)
static member UpdateAsync :
operations:IVirtualMachineVMImageOperations *
imageName:string *
parameters:VirtualMachineVMImageUpdateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
operations As IVirtualMachineVMImageOperations,
imageName As String,
parameters As VirtualMachineVMImageUpdateParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperationsReference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.
imageName
Type: System.StringRequired. The name of the virtual machine image to be updated.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParametersRequired. Parameters supplied to the Update Virtual Machine Image operation.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
VirtualMachineVMImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top