Поделиться через


AutomationSourceControlPatch Class

Definition

The parameters supplied to the update source control operation.

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

Constructors

AutomationSourceControlPatch()

Initializes a new instance of AutomationSourceControlPatch.

Properties

Branch

The repo branch of the source control.

Description

The user description of the source control.

FolderPath

The folder path of the source control. Path must be relative.

IsAutoPublishRunbookEnabled

The auto publish of the source control. Default is true.

IsAutoSyncEnabled

The auto sync of the source control. Default is false.

SecurityToken

The authorization token for the repo of the source control.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationSourceControlPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationSourceControlPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationSourceControlPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationSourceControlPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationSourceControlPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to