Partilhar via


UserArtifactSource Class

Definition

The source image from which the Image Version is going to be created.

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

Constructors

UserArtifactSource(String)

Initializes a new instance of UserArtifactSource.

Properties

DefaultConfigurationLink

Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.

MediaLink

Required. The mediaLink of the artifact, must be a readable storage page blob.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UserArtifactSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserArtifactSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserArtifactSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserArtifactSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserArtifactSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to