Sdílet prostřednictvím


AutomationSourceControlCreateOrUpdateContent Class

Definition

The parameters supplied to the create or update source control operation.

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

Constructors

AutomationSourceControlCreateOrUpdateContent()

Initializes a new instance of AutomationSourceControlCreateOrUpdateContent.

Properties

Branch

The repo branch of the source control. Include branch as empty string for VsoTfvc.

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 async of the source control. Default is false.

RepoUri

The repo url of the source control.

SecurityToken

The authorization token for the repo of the source control.

SourceType

The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationSourceControlCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationSourceControlCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationSourceControlCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationSourceControlCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationSourceControlCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to