你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GitPatternRepository 构造函数

定义

重载

GitPatternRepository()

初始化 GitPatternRepository 类的新实例。

GitPatternRepository(String, String, IList<String>, String, IList<String>, String, String, String, String, String, Nullable<Boolean>)

初始化 GitPatternRepository 类的新实例。

GitPatternRepository()

初始化 GitPatternRepository 类的新实例。

public GitPatternRepository ();
Public Sub New ()

适用于

GitPatternRepository(String, String, IList<String>, String, IList<String>, String, String, String, String, String, Nullable<Boolean>)

初始化 GitPatternRepository 类的新实例。

public GitPatternRepository (string name, string uri, System.Collections.Generic.IList<string> pattern = default, string label = default, System.Collections.Generic.IList<string> searchPaths = default, string username = default, string password = default, string hostKey = default, string hostKeyAlgorithm = default, string privateKey = default, bool? strictHostKeyChecking = default);
new Microsoft.Azure.Management.AppPlatform.Models.GitPatternRepository : string * string * System.Collections.Generic.IList<string> * string * System.Collections.Generic.IList<string> * string * string * string * string * string * Nullable<bool> -> Microsoft.Azure.Management.AppPlatform.Models.GitPatternRepository
Public Sub New (name As String, uri As String, Optional pattern As IList(Of String) = Nothing, Optional label As String = Nothing, Optional searchPaths As IList(Of String) = Nothing, Optional username As String = Nothing, Optional password As String = Nothing, Optional hostKey As String = Nothing, Optional hostKeyAlgorithm As String = Nothing, Optional privateKey As String = Nothing, Optional strictHostKeyChecking As Nullable(Of Boolean) = Nothing)

参数

name
String

存储库名称

uri
String

存储库的 URI

pattern
IList<String>

存储库模式的集合

label
String

存储库的标签

searchPaths
IList<String>

搜索存储库的路径

username
String

git 存储库基本身份验证的用户名。

password
String

git 存储库基本身份验证的密码。

hostKey
String

git 存储库的公共 sshKey。

hostKeyAlgorithm
String

git 存储库的 SshKey 算法。

privateKey
String

git 存储库的专用 sshKey 算法。

strictHostKeyChecking
Nullable<Boolean>

是否严格检查主机密钥。

适用于