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
Azure SDK for .NET