DiskCreateOptionType Struct
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.
Specifies how the virtual machine disk should be created. Possible values are Attach: This value is used when you are using a specialized disk to create the virtual machine. FromImage: This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. Empty: This value is used when creating an empty data disk. Copy: This value is used to create a data disk from a snapshot or another disk. Restore: This value is used to create a data disk from a disk restore point.
public readonly struct DiskCreateOptionType : IEquatable<Azure.ResourceManager.Compute.Models.DiskCreateOptionType>
type DiskCreateOptionType = struct
Public Structure DiskCreateOptionType
Implements IEquatable(Of DiskCreateOptionType)
- Inheritance
-
DiskCreateOptionType
- Implements
Constructors
DiskCreateOptionType(String) |
Initializes a new instance of DiskCreateOptionType. |
Properties
Attach |
Attach. |
Copy |
Copy. |
Empty |
Empty. |
FromImage |
FromImage. |
Restore |
Restore. |
Methods
Equals(DiskCreateOptionType) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(DiskCreateOptionType, DiskCreateOptionType) |
Determines if two DiskCreateOptionType values are the same. |
Implicit(String to DiskCreateOptionType) |
Converts a string to a DiskCreateOptionType. |
Inequality(DiskCreateOptionType, DiskCreateOptionType) |
Determines if two DiskCreateOptionType values are not the same. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기