IWithManagedDataDisk.WithExistingDataDisk 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.
Overloads
WithExistingDataDisk(IDisk) |
Associates an existing source managed disk with the virtual machine. |
WithExistingDataDisk(IDisk, Int32, CachingTypes) |
Associates an existing source managed disk with the virtual machine and specifies additional settings. |
WithExistingDataDisk(IDisk, Int32, Int32, CachingTypes) |
Associates an existing source managed disk with the virtual machine and specifies additional settings. |
WithExistingDataDisk(IDisk)
Associates an existing source managed disk with the virtual machine.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithExistingDataDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk disk);
abstract member WithExistingDataDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithExistingDataDisk (disk As IDisk) As IWithManagedCreate
Parameters
- disk
- IDisk
An existing managed disk.
Returns
Applies to
WithExistingDataDisk(IDisk, Int32, CachingTypes)
Associates an existing source managed disk with the virtual machine and specifies additional settings.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithExistingDataDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk disk, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithExistingDataDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithExistingDataDisk (disk As IDisk, lun As Integer, cachingType As CachingTypes) As IWithManagedCreate
Parameters
- disk
- IDisk
A managed disk.
- lun
- Int32
The disk LUN.
- cachingType
- CachingTypes
A caching type.
Returns
Applies to
WithExistingDataDisk(IDisk, Int32, Int32, CachingTypes)
Associates an existing source managed disk with the virtual machine and specifies additional settings.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithExistingDataDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk disk, int newSizeInGB, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithExistingDataDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk * int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithExistingDataDisk (disk As IDisk, newSizeInGB As Integer, lun As Integer, cachingType As CachingTypes) As IWithManagedCreate
Parameters
- disk
- IDisk
A managed disk.
- newSizeInGB
- Int32
The disk resize size in GB.
- lun
- Int32
The disk LUN.
- cachingType
- CachingTypes
A caching type.
Returns
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기