Share via


SourceControlCreateOrUpdateParameters Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class SourceControlCreateOrUpdateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SourceControlCreateOrUpdateParameters = class
Public Class SourceControlCreateOrUpdateParameters
Inheritance
SourceControlCreateOrUpdateParameters
Attributes

Constructors

SourceControlCreateOrUpdateParameters()

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

SourceControlCreateOrUpdateParameters(String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, SourceControlSecurityTokenProperties, String)

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

Properties

AutoSync

Gets or sets the auto async of the source control. Default is false.

Branch

Gets or sets the repo branch of the source control. Include branch as empty string for VsoTfvc.

Description

Gets or sets the user description of the source control.

FolderPath

Gets or sets the folder path of the source control. Path must be relative.

PublishRunbook

Gets or sets the auto publish of the source control. Default is true.

RepoUrl

Gets or sets the repo url of the source control.

SecurityToken

Gets or sets the authorization token for the repo of the source control.

SourceType

Gets or sets the source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'

Methods

Validate()

Validate the object.

Applies to