共用方式為


IWithOS.WithSpecializedOSDisk(IDisk, OperatingSystemTypes) Method

Definition

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.

Returns

Applies to