Partilhar via


GalleryDiskImageSource Class

Definition

The source for the disk image.

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

Constructors

GalleryDiskImageSource()

Initializes a new instance of GalleryDiskImageSource.

Properties

Id

The id of the gallery artifact version source.

(Inherited from GalleryArtifactVersionSource)
StorageAccountId

The Storage Account Id that contains the vhd blob being used as a source for this artifact version.

Uri

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

(Inherited from GalleryArtifactVersionSource)

Methods

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

Explicit Interface Implementations

IJsonModel<GalleryArtifactVersionSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from GalleryArtifactVersionSource)
IJsonModel<GalleryDiskImageSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryDiskImageSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryArtifactVersionSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from GalleryArtifactVersionSource)
IPersistableModel<GalleryDiskImageSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryDiskImageSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryDiskImageSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to