### YamlMime:JavaType uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk" name: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk" summary: "The stage of a virtual machine definition allowing to specify unmanaged data disk configuration." syntax: "public static interface **VirtualMachine.UpdateStages.WithUnmanagedDataDisk**" methods: - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.defineUnmanagedDataDisk(java.lang.String)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.defineUnmanagedDataDisk(String name)" name: "defineUnmanagedDataDisk(String name)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.defineUnmanagedDataDisk(String name)" summary: "Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration." modifiers: - "abstract" parameters: - description: "the name for the data disk" name: "name" type: "String" syntax: "public abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.Blank defineUnmanagedDataDisk(String name)" desc: "Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration." returns: description: "the first stage of the data disk definition" type: "<>" - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.updateUnmanagedDataDisk(java.lang.String)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.updateUnmanagedDataDisk(String name)" name: "updateUnmanagedDataDisk(String name)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.updateUnmanagedDataDisk(String name)" summary: "Begins the description of an update of an existing unmanaged data disk of this virtual machine." modifiers: - "abstract" parameters: - description: "the name of an existing disk" name: "name" type: "String" syntax: "public abstract VirtualMachineUnmanagedDataDisk.Update updateUnmanagedDataDisk(String name)" desc: "Begins the description of an update of an existing unmanaged data disk of this virtual machine." returns: description: "the first stage of the data disk update" type: "" - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withExistingUnmanagedDataDisk(java.lang.String,java.lang.String,java.lang.String)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)" name: "withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)" summary: "Specifies an existing VHD that needs to be attached to the virtual machine as data disk." modifiers: - "abstract" parameters: - description: "the storage account name" name: "storageAccountName" type: "String" - description: "the name of the container holding the VHD file" name: "containerName" type: "String" - description: "the name for the VHD file" name: "vhdName" type: "String" syntax: "public abstract VirtualMachine.Update withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)" desc: "Specifies an existing VHD that needs to be attached to the virtual machine as data disk." returns: description: "the stage representing creatable VM definition" type: "" - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withNewUnmanagedDataDisk(java.lang.Integer)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withNewUnmanagedDataDisk(Integer sizeInGB)" name: "withNewUnmanagedDataDisk(Integer sizeInGB)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withNewUnmanagedDataDisk(Integer sizeInGB)" summary: "Specifies that a new blank unmanaged data disk needs to be attached to virtual machine." modifiers: - "abstract" parameters: - description: "the disk size in GB" name: "sizeInGB" type: "Integer" syntax: "public abstract VirtualMachine.Update withNewUnmanagedDataDisk(Integer sizeInGB)" desc: "Specifies that a new blank unmanaged data disk needs to be attached to virtual machine." returns: description: "the stage representing creatable VM definition" type: "" - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(int)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(int lun)" name: "withoutUnmanagedDataDisk(int lun)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(int lun)" summary: "Detaches a unmanaged data disk from the virtual machine." modifiers: - "abstract" parameters: - description: "the logical unit number of the data disk to remove" name: "lun" type: "" syntax: "public abstract VirtualMachine.Update withoutUnmanagedDataDisk(int lun)" desc: "Detaches a unmanaged data disk from the virtual machine." returns: description: "the next stage of the update" type: "" - uid: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(java.lang.String)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(String name)" name: "withoutUnmanagedDataDisk(String name)" nameWithType: "VirtualMachine.UpdateStages.WithUnmanagedDataDisk.withoutUnmanagedDataDisk(String name)" summary: "Detaches an unmanaged data disk from the virtual machine." modifiers: - "abstract" parameters: - description: "the name of an existing data disk to remove" name: "name" type: "String" syntax: "public abstract VirtualMachine.Update withoutUnmanagedDataDisk(String name)" desc: "Detaches an unmanaged data disk from the virtual machine." returns: description: "the next stage of the update" type: "" type: "interface" desc: "The stage of a virtual machine definition allowing to specify unmanaged data disk configuration." metadata: {} package: "com.azure.resourcemanager.compute.models" artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0