你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineCustomImage.Definition Interface

public interface Definition extends VirtualMachineCustomImage.DefinitionStages.Blank,VirtualMachineCustomImage.DefinitionStages.WithGroup,VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSourceAltVirtualMachineSource,VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource,VirtualMachineCustomImage.DefinitionStages.WithSourceVirtualMachine,VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings

The entirety of the image definition.

Inherited Members

Creatable<T>.create() Creatable<T>.createAsync(final ServiceCallback<T> callback) Creatable<T>.createAsync() VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage.defineDataDiskImage() VirtualMachineCustomImage.DefinitionStages.WithSourceVirtualMachine.fromVirtualMachine(String virtualMachineId) VirtualMachineCustomImage.DefinitionStages.WithSourceVirtualMachine.fromVirtualMachine(VirtualMachine virtualMachine) Indexable.key() HasName.name() VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage.withDataDiskImageFromManagedDisk(String sourceManagedDiskId) VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage.withDataDiskImageFromSnapshot(String sourceSnapshotId) VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage.withDataDiskImageFromVhd(String sourceVhdUrl) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType) VirtualMachineCustomImage.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(int diskSizeGB) Resource.DefinitionWithTags<T>.withTag(String key, String value) Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withWindowsFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState) VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withWindowsFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)

Applies to