IWithOSDiskImageSource.WithLinuxFromSnapshot 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
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes) |
Specifies the Linux source snapshot for the OS disk image. |
WithLinuxFromSnapshot(String, OperatingSystemStateTypes) |
Specifies the Linux source snapshot for the OS disk image. |
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)
Specifies the Linux source snapshot for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithLinuxFromSnapshot (Microsoft.Azure.Management.Compute.Fluent.ISnapshot sourceSnapshot, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithLinuxFromSnapshot : Microsoft.Azure.Management.Compute.Fluent.ISnapshot * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithLinuxFromSnapshot (sourceSnapshot As ISnapshot, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceSnapshot
- ISnapshot
Source snapshot resource.
- osState
- OperatingSystemStateTypes
Operating system state.
Returns
Applies to
WithLinuxFromSnapshot(String, OperatingSystemStateTypes)
Specifies the Linux source snapshot for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithLinuxFromSnapshot (string sourceSnapshotId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithLinuxFromSnapshot : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithLinuxFromSnapshot (sourceSnapshotId As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceSnapshotId
- String
Source snapshot resource ID.
- osState
- OperatingSystemStateTypes
Operating system state.
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