共用方式為


SourceControlCreateOrUpdateParameters interface

提供給建立或更新原始檔控制作業的參數。

屬性

autoSync

原始檔控件的自動異步。 默認值為 false。

branch

原始檔控制的存放庫分支。 將分支納入為 VsoTfvc 的空字串。

description

原始檔控制的使用者描述。

folderPath

原始檔控制的資料夾路徑。 路徑必須是相對的。

publishRunbook

原始檔控制的自動發佈。 默認值為 true。

repoUrl

原始檔控制的存放庫 URL。

securityToken

原始檔控制存放庫的授權令牌。

sourceType

來源類型。 必須是其中一個 VsoGit、VsoTfvc、GitHub、區分大小寫。

屬性詳細資料

autoSync

原始檔控件的自動異步。 默認值為 false。

autoSync?: boolean

屬性值

boolean

branch

原始檔控制的存放庫分支。 將分支納入為 VsoTfvc 的空字串。

branch?: string

屬性值

string

description

原始檔控制的使用者描述。

description?: string

屬性值

string

folderPath

原始檔控制的資料夾路徑。 路徑必須是相對的。

folderPath?: string

屬性值

string

publishRunbook

原始檔控制的自動發佈。 默認值為 true。

publishRunbook?: boolean

屬性值

boolean

repoUrl

原始檔控制的存放庫 URL。

repoUrl?: string

屬性值

string

securityToken

原始檔控制存放庫的授權令牌。

securityToken?: SourceControlSecurityTokenProperties

屬性值

sourceType

來源類型。 必須是其中一個 VsoGit、VsoTfvc、GitHub、區分大小寫。

sourceType?: string

屬性值

string