共用方式為


GalleryArtifactPublishingProfileBase Class

Definition

Describes the basic gallery artifact publishing profile.

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

Constructors

GalleryArtifactPublishingProfileBase()

Initializes a new instance of GalleryArtifactPublishingProfileBase.

Properties

EndOfLifeOn

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

IsExcludedFromLatest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

PublishedOn

The timestamp for when the gallery image version is published.

ReplicaCount

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

ReplicationMode

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetExtendedLocations

The target extended locations where the Image Version is going to be replicated to. This property is updatable.

TargetRegions

The target regions where the Image Version is going to be replicated to. This property is updatable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryArtifactPublishingProfileBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryArtifactPublishingProfileBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryArtifactPublishingProfileBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryArtifactPublishingProfileBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryArtifactPublishingProfileBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to