IWithOSDiskImageSource.WithWindowsFromSnapshot 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
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes) |
Specifies the Windows source snapshot for the OS disk image. |
WithWindowsFromSnapshot(String, OperatingSystemStateTypes) |
Specifies the Windows source snapshot for the OS disk image. |
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes)
Specifies the Windows source snapshot for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromSnapshot (Microsoft.Azure.Management.Compute.Fluent.ISnapshot sourceSnapshot, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromSnapshot : Microsoft.Azure.Management.Compute.Fluent.ISnapshot * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromSnapshot (sourceSnapshot As ISnapshot, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceSnapshot
- ISnapshot
Source snapshot resource.
- osState
- OperatingSystemStateTypes
Operating system state.
Returns
Applies to
WithWindowsFromSnapshot(String, OperatingSystemStateTypes)
Specifies the Windows source snapshot for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromSnapshot (string sourceSnapshotId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromSnapshot : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromSnapshot (sourceSnapshotId As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceSnapshotId
- String
Source snapshot resource ID.
- osState
- OperatingSystemStateTypes
Operating system state.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET