Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.compute; import com.microsoft.azure.management.apigeneration.LangDefinition;
The source type of managed disk or snapshot.
/** * The source type of managed disk or snapshot. */
@LangDefinition public enum CreationSourceType {
Indicates that disk or snapshot is created from OS disk image of a virtual machine platform or virtual machine user image.
/** * Indicates that disk or snapshot is created from OS disk image of a virtual machine * platform or virtual machine user image. */
FROM_OS_DISK_IMAGE,
Indicates that disk or snapshot is created from data disk image of a virtual machine platform or virtual machine user image.
/** * Indicates that disk or snapshot is created from data disk image of a virtual machine * platform or virtual machine user image. */
FROM_DATA_DISK_IMAGE,
Indicates that disk or snapshot is created by importing a blob in a storage account.
/** * Indicates that disk or snapshot is created by importing a blob in a storage account. */
IMPORTED_FROM_VHD,
Indicates that disk or snapshot is created by copying a snapshot.
/** * Indicates that disk or snapshot is created by copying a snapshot. */
COPIED_FROM_SNAPSHOT,
Indicates that disk or snapshot is created by copying another managed disk.
/** * Indicates that disk or snapshot is created by copying another managed disk. */
COPIED_FROM_DISK,
Indicates that disk or snapshot is created as empty disk.
/** * Indicates that disk or snapshot is created as empty disk. */
EMPTY,
Unknown source.
/** * Unknown source. */
UNKNOWN }