Condividi tramite


GalleryImagePatch Class

Definition

Specifies information about the gallery image definition that you want to update.

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

Constructors

GalleryImagePatch()

Initializes a new instance of GalleryImagePatch.

Properties

AllowUpdateImage

Optional. Must be set to true if the gallery image features are being updated.

Architecture

CPU architecture supported by an OS disk.

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.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryImagePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryImagePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryImagePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryImagePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryImagePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to