Share via


AutomationContentSource Class

Definition

Definition of the content source.

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

Constructors

AutomationContentSource()

Initializes a new instance of AutomationContentSource.

Properties

Hash

Gets or sets the hash.

SourceType

Gets or sets the content source type.

Value

Gets or sets the value of the content. This is based on the content source type.

Version

Gets or sets the version of the content.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationContentSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationContentSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationContentSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationContentSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationContentSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to