GalleryData Class

Definition

A class representing the Gallery data model. Specifies information about the Shared Image Gallery that you want to create or update.

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

Constructors

GalleryData(AzureLocation)

Initializes a new instance of GalleryData.

Properties

Description

The description of this Shared Image Gallery resource. This property is updatable.

Id

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

(Inherited from ResourceData)
IdentifierUniqueName

The unique name of the Shared Image Gallery. This name is generated automatically by Azure.

IsSoftDeleteEnabled

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state, which only appears in the response.

ResourceType

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

(Inherited from ResourceData)
SharingProfile

Profile for gallery sharing to subscription or tenant.

SharingStatus

Sharing status of current gallery.

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<GalleryData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to