Sdílet prostřednictvím


GalleryPatch Class

Definition

Specifies information about the Shared Image Gallery that you want to update.

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

Constructors

GalleryPatch()

Initializes a new instance of GalleryPatch.

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.

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.

Methods

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

Explicit Interface Implementations

IJsonModel<GalleryPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to