共用方式為


CommunityGalleryImageData Class

Definition

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

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

Properties

Architecture

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

ArtifactTags

The artifact tags of a community gallery resource.

DisallowedDiskTypes

A list of disk types.

Disclaimer

The disclaimer for a community gallery resource.

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 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.

ImageIdentifier

This is the community gallery image definition identifier.

Location

Resource location.

(Inherited from PirCommunityGalleryResourceData)
Name

Resource name.

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

ResourceType

Resource type.

(Inherited from PirCommunityGalleryResourceData)
UniqueId

The unique id of this community gallery.

(Inherited from PirCommunityGalleryResourceData)

Methods

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

Explicit Interface Implementations

IJsonModel<CommunityGalleryImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommunityGalleryImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<PirCommunityGalleryResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from PirCommunityGalleryResourceData)
IPersistableModel<CommunityGalleryImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommunityGalleryImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommunityGalleryImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<PirCommunityGalleryResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from PirCommunityGalleryResourceData)

Applies to