Partager via


PSImage Class

Definition

public class PSImage
public class PSImage : Microsoft.Azure.Management.Compute.Models.Image
type PSImage = class
type PSImage = class
    inherit Image
Public Class PSImage
Public Class PSImage
Inherits Image
Inheritance
PSImage
Inheritance
Derived

Constructors

PSImage()

Properties

ExtendedLocation
ExtendedLocation

Gets or sets the extended location of the Image.

(Inherited from Image)
HyperVGeneration
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'

(Inherited from Image)
Id
Id

Gets resource Id

(Inherited from Resource)
Location
Location

Gets or sets resource location

(Inherited from Resource)
Name
Name

Gets resource name

(Inherited from Resource)
ProvisioningState
ProvisioningState

Gets the provisioning state.

(Inherited from Image)
ResourceGroupName
SourceVirtualMachine
SourceVirtualMachine

Gets or sets the source virtual machine from which Image is created.

(Inherited from Image)
StorageProfile
StorageProfile

Gets or sets specifies the storage settings for the virtual machine disks.

(Inherited from Image)
Tags
Tags

Gets or sets resource tags

(Inherited from Resource)
Type
Type

Gets resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

(Inherited from Image)

Applies to