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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET