Image Class
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.
The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
[Microsoft.Rest.Serialization.JsonTransformation]
public class Image : Microsoft.Azure.Management.Compute.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Image = class
inherit Resource
Public Class Image
Inherits Resource
- Inheritance
- Attributes
Constructors
Image() |
Initializes a new instance of the Image class. |
Image(String, String, String, String, IDictionary<String,String>, SubResource, ImageStorageProfile, String, String, ExtendedLocation) |
Initializes a new instance of the Image class. |
Properties
ExtendedLocation |
Gets or sets the extended location of the Image. |
HyperVGeneration |
Gets or sets specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. Possible values include: 'V1', 'V2' |
Id |
Gets resource Id (Inherited from Resource) |
Location |
Gets or sets resource location (Inherited from Resource) |
Name |
Gets resource name (Inherited from Resource) |
ProvisioningState |
Gets the provisioning state. |
SourceVirtualMachine |
Gets or sets the source virtual machine from which Image is created. |
StorageProfile |
Gets or sets specifies the storage settings for the virtual machine disks. |
Tags |
Gets or sets resource tags (Inherited from Resource) |
Type |
Gets resource type (Inherited from Resource) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기