Udostępnij za pośrednictwem


GalleryImageData Class

Definition

A class representing the GalleryImage data model. Specifies information about the gallery image definition that you want to create or update.

public class GalleryImageData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.GalleryImageData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.GalleryImageData>
type GalleryImageData = class
    inherit TrackedResourceData
    interface IJsonModel<GalleryImageData>
    interface IPersistableModel<GalleryImageData>
Public Class GalleryImageData
Inherits TrackedResourceData
Implements IJsonModel(Of GalleryImageData), IPersistableModel(Of GalleryImageData)
Inheritance
Implements

Constructors

GalleryImageData(AzureLocation)

Initializes a new instance of GalleryImageData.

Properties

Architecture

The architecture of the image. Applicable to OS disks only.

Description

The description of this gallery image definition resource. This property is updatable.

DisallowedDiskTypes

A list of disk types.

EndOfLifeOn

The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

Eula

The Eula agreement for the gallery image definition.

Features

A list of gallery image features.

HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identifier

This is the gallery image definition identifier.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OSState

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.

OSType

This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows, Linux..

PrivacyStatementUri

The privacy statement uri.

ProvisioningState

The provisioning state, which only appears in the response.

PurchasePlan

Describes the gallery image definition purchase plan. This is used by marketplace images.

Recommended

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

ReleaseNoteUri

The release note uri.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<GalleryImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GalleryImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GalleryImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to