IWithImageSource<ParentT>.FromManagedDisk 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
FromManagedDisk(IDisk) |
Specifies the source managed disk for the data disk image. |
FromManagedDisk(String) |
Specifies the source managed disk for the data disk image. |
FromManagedDisk(IDisk)
Specifies the source managed disk for the data disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> FromManagedDisk(Microsoft.Azure.Management.Compute.Fluent.IDisk sourceManagedDisk);
abstract member FromManagedDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function FromManagedDisk (sourceManagedDisk As IDisk) As IWithAttach(Of ParentT)
Parameters
- sourceManagedDisk
- IDisk
Source managed disk.
Returns
Applies to
FromManagedDisk(String)
Specifies the source managed disk for the data disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> FromManagedDisk(string sourceManagedDiskId);
abstract member FromManagedDisk : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function FromManagedDisk (sourceManagedDiskId As String) As IWithAttach(Of ParentT)
Parameters
- sourceManagedDiskId
- String
Source managed disk resource ID.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET