IWithOS.WithSpecializedOSDisk(IDisk, OperatingSystemTypes) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a specialized operating system managed disk to be attached to the virtual machine.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithSpecializedOSDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk disk, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType);
abstract member WithSpecializedOSDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithSpecializedOSDisk (disk As IDisk, osType As OperatingSystemTypes) As IWithManagedCreate
Parameters
- disk
- IDisk
The managed disk to attach.
- osType
- OperatingSystemTypes
The OS type.