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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET