共用方式為


SharedGalleryImageData Class

Definition

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

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

Properties

Architecture

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

ArtifactTags

The artifact tags of a shared gallery resource.

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

End-user license agreement for the current community gallery image.

Features

A list of gallery image features.

HyperVGeneration

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

Id

The resource identifier.

Identifier

This is the gallery image definition identifier.

Location

Resource location.

(Inherited from PirResourceData)
Name

Resource name.

(Inherited from PirResourceData)
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

Privacy statement uri for the current community gallery image.

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.

UniqueId

The unique id of this shared gallery.

(Inherited from PirSharedGalleryResourceData)

Methods

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

Explicit Interface Implementations

IJsonModel<PirResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from PirResourceData)
IJsonModel<PirResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from PirResourceData)
IJsonModel<PirSharedGalleryResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from PirSharedGalleryResourceData)
IJsonModel<PirSharedGalleryResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from PirSharedGalleryResourceData)
IJsonModel<SharedGalleryImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SharedGalleryImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PirResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from PirResourceData)
IPersistableModel<PirResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from PirResourceData)
IPersistableModel<PirResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from PirResourceData)
IPersistableModel<PirSharedGalleryResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from PirSharedGalleryResourceData)
IPersistableModel<PirSharedGalleryResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from PirSharedGalleryResourceData)
IPersistableModel<PirSharedGalleryResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from PirSharedGalleryResourceData)
IPersistableModel<SharedGalleryImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SharedGalleryImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SharedGalleryImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to