VirtualMachineOSImageOperationsExtensions.UpdateAsync Method
The Update OS Image operation updates an OS image that in your image repository. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj157198.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Usage
'Usage
Dim operations As IVirtualMachineOSImageOperations
Dim imageName As String
Dim parameters As VirtualMachineOSImageUpdateParameters
Dim returnValue As Task(Of VirtualMachineOSImageUpdateResponse)
returnValue = VirtualMachineOSImageOperationsExtensions.UpdateAsync(operations, imageName, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function UpdateAsync ( _
operations As IVirtualMachineOSImageOperations, _
imageName As String, _
parameters As VirtualMachineOSImageUpdateParameters _
) As Task(Of VirtualMachineOSImageUpdateResponse)
[ExtensionAttribute]
public static Task<VirtualMachineOSImageUpdateResponse> UpdateAsync (
IVirtualMachineOSImageOperations operations,
string imageName,
VirtualMachineOSImageUpdateParameters parameters
)
[ExtensionAttribute]
public:
static Task<VirtualMachineOSImageUpdateResponse^>^ UpdateAsync (
IVirtualMachineOSImageOperations^ operations,
String^ imageName,
VirtualMachineOSImageUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<VirtualMachineOSImageUpdateResponse> UpdateAsync (
IVirtualMachineOSImageOperations operations,
String imageName,
VirtualMachineOSImageUpdateParameters parameters
)
ExtensionAttribute
public static function UpdateAsync (
operations : IVirtualMachineOSImageOperations,
imageName : String,
parameters : VirtualMachineOSImageUpdateParameters
) : Task<VirtualMachineOSImageUpdateResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.
- imageName
Required. The name of the virtual machine image to be updated.
- parameters
Required. Parameters supplied to the Update Virtual Machine Image operation.
Return Value
Parameters returned from the Create Virtual Machine Image operation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
VirtualMachineOSImageOperationsExtensions Class
VirtualMachineOSImageOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace