Share via


VirtualMachineDiskOperationsExtensions.UpdateDisk Method (IVirtualMachineDiskOperations, String, VirtualMachineDiskUpdateParameters)

 

The Add Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see https://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

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

Syntax

public static VirtualMachineDiskUpdateResponse UpdateDisk(
    this IVirtualMachineDiskOperations operations,
    string name,
    VirtualMachineDiskUpdateParameters parameters
)
public:
[ExtensionAttribute]
static VirtualMachineDiskUpdateResponse^ UpdateDisk(
    IVirtualMachineDiskOperations^ operations,
    String^ name,
    VirtualMachineDiskUpdateParameters^ parameters
)
static member UpdateDisk : 
        operations:IVirtualMachineDiskOperations *
        name:string *
        parameters:VirtualMachineDiskUpdateParameters -> VirtualMachineDiskUpdateResponse
<ExtensionAttribute>
Public Shared Function UpdateDisk (
    operations As IVirtualMachineDiskOperations,
    name As String,
    parameters As VirtualMachineDiskUpdateParameters
) As VirtualMachineDiskUpdateResponse

Parameters

  • name
    Type: System.String

    Required. The name of the disk being updated.

Return Value

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

A virtual machine disk associated with your subscription.

See Also

VirtualMachineDiskOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top