IWithOSSnapshotFromImage.FromImage 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
FromImage(IVirtualMachineCustomImage) |
Specifies a custom image containing an operating system. |
FromImage(IVirtualMachineImage) |
Specifies an image containing an operating system. |
FromImage(String, OperatingSystemTypes) |
Specifies an image containing an operating system. |
FromImage(IVirtualMachineCustomImage)
Specifies a custom image containing an operating system.
public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage(Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage image);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (image As IVirtualMachineCustomImage) As IWithCreate
Parameters
The image.
Returns
Applies to
FromImage(IVirtualMachineImage)
Specifies an image containing an operating system.
public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage(Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage image);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (image As IVirtualMachineImage) As IWithCreate
Parameters
- image
- IVirtualMachineImage
The image.
Returns
Applies to
FromImage(String, OperatingSystemTypes)
Specifies an image containing an operating system.
public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage(string imageId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType);
abstract member FromImage : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (imageId As String, osType As OperatingSystemTypes) As IWithCreate
Parameters
- imageId
- String
Image resource ID.
- osType
- OperatingSystemTypes
Operating system type.
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET