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

ImageProperties Class

Definition

Properties of an image resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImagePropertiesTypeConverter))]
public class ImageProperties : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageProperties, Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImagePropertiesTypeConverter))>]
type ImageProperties = class
    interface IImageProperties
    interface IJsonSerializable
    interface IImageUpdateProperties
    interface IValidates
Public Class ImageProperties
Implements IImageProperties, IValidates
Inheritance
ImageProperties
Attributes
Implements

Constructors

ImageProperties()

Creates an new ImageProperties instance.

Properties

Author

The image author.

AvailableRegion

The available regions of the image in the shared gallery.

Description

A description of the image.

DisplayName

The image display name.

EnabledState

Is the image enabled

IconUrl

URL of the image icon.

Offer

The ID of an offer associated with the image.

OSState

The OS State of the image.

OSType

The OS Type of the image.

Plan

The ID of marketplace plan associated with the image (optional).

ProvisioningState

Current provisioning state of the image.

Publisher

The ID of the publisher of the image.

SharedGalleryId

The ID for the image in the shared gallery.

Sku

The image SKU.

TermsStatus

The status of image terms of use (enabled = accepted, disabled = not accepted).

Version

The image version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageProperties.

FromJsonString(String)

Creates a new instance of ImageProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to