Azure DevOps¶
The Azure DevOps connector is a Palantir-provided driver for Azure DevOps.
To create a new Azure DevOps source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Azure DevOps-specific configuration and networking. For the complete property reference, see the official Azure DevOps driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AzureDevOpsEdition ↗ |
Mandatory | The edition of AzureDevOps being used. Set either [AzureDevOps Online] or [AzureDevOps OnPremise]. | AzureDevOps Online |
Organization ↗ |
Mandatory | The name of the Organization or Collection, depending upon the value of AzureDevOpsEdition . | — |
AuthScheme ↗ |
Recommended | The type of authentication to use when connecting to Azure DevOps. Azure DevOps OnPremise connections support only Basic authentication. | Basic |
Catalog ↗ |
Recommended | Specify this property to connect with a particular catalog. | — |
IncludeCustomFields ↗ |
Recommended | A boolean indicating if you would like to include custom fields in the column listing. | TRUE |
InitiateOAuth ↗ |
Recommended | Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. | REFRESH |
OAuthClientId ↗ |
Recommended | Specifies the client Id that was assigned when the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server. | — |
OAuthClientSecret ↗ |
Recommended | Specifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret). This secret registers the custom application with the OAuth authorization server. | — |
PersonalAccessToken ↗ |
Recommended | The personal access token used for accessing the data in your organization. | — |
Schema ↗ |
Recommended | Specify this property to connect with a particular schema. | REST |
Networking¶
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| dev.azure.com | If Schema=REST (default) AND AzureDevOpsEdition='AzureDevOps Online' (default) |
| analytics.dev.azure.com | If Schema=Analytics AND AzureDevOpsEdition='AzureDevOps Online' (default) |
| \ |
If AzureDevOpsEdition='AzureDevOps OnPremise' |
| login.microsoftonline.com | If AuthScheme=AzureAD (default) AND AzureEnvironment=GLOBAL (default) |
| login.chinacloudapi.cn | If AuthScheme=AzureAD (default) AND AzureEnvironment=CHINA |
| login.microsoftonline.us | If AuthScheme=AzureAD (default) AND AzureEnvironment=USGOVT or USGOVTDOD |
中文翻译¶
Azure DevOps¶
Azure DevOps 连接器是 Palantir 为 Azure DevOps 提供的驱动。
要创建新的 Azure DevOps 数据源,请遵循Palantir 提供驱动的标准设置流程,然后使用以下各节进行 Azure DevOps 特定的配置和网络设置。有关完整的属性参考,请参阅官方 Azure DevOps 驱动文档 ↗。
配置¶
以下属性为必填或推荐项。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
AzureDevOpsEdition ↗ |
必填 | 所使用的 Azure DevOps 版本。设置为 [AzureDevOps Online] 或 [AzureDevOps OnPremise]。 | AzureDevOps Online |
Organization ↗ |
必填 | 组织或集合的名称,具体取决于 AzureDevOpsEdition 的值。 | — |
AuthScheme ↗ |
推荐 | 连接到 Azure DevOps 时使用的身份验证类型。Azure DevOps OnPremise 连接仅支持基本身份验证。 | Basic |
Catalog ↗ |
推荐 | 指定此属性以连接到特定目录。 | — |
IncludeCustomFields ↗ |
推荐 | 一个布尔值,指示是否在列列表中包含自定义字段。 | TRUE |
InitiateOAuth ↗ |
推荐 | 指定获取或刷新 OAuth 访问令牌的过程,该令牌在已认证授权的用户工作时维护其访问权限。 | REFRESH |
OAuthClientId ↗ |
推荐 | 指定创建自定义 OAuth 应用程序时分配的客户端 ID(也称为消费者密钥)。此 ID 将自定义应用程序注册到 OAuth 授权服务器。 | — |
OAuthClientSecret ↗ |
推荐 | 指定创建自定义 OAuth 应用程序时分配的客户端密钥(也称为消费者密钥)。此密钥将自定义应用程序注册到 OAuth 授权服务器。 | — |
PersonalAccessToken ↗ |
推荐 | 用于访问组织中数据的个人访问令牌。 | — |
Schema ↗ |
推荐 | 指定此属性以连接到特定模式。 | REST |
网络设置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,添加相应的出口策略。如果数据源托管在本地且无法从 Foundry 直接访问,请改用代理出口策略;代理主机本身也必须能够访问列出的域名。有关详细信息,请参阅使用代理作为代理。
| 域名 | 必需条件 |
|---|---|
| dev.azure.com | 如果 Schema=REST(默认)且 AzureDevOpsEdition='AzureDevOps Online'(默认) |
| analytics.dev.azure.com | 如果 Schema=Analytics 且 AzureDevOpsEdition='AzureDevOps Online'(默认) |
| \ |
如果 AzureDevOpsEdition='AzureDevOps OnPremise' |
| login.microsoftonline.com | 如果 AuthScheme=AzureAD(默认)且 AzureEnvironment=GLOBAL(默认) |
| login.chinacloudapi.cn | 如果 AuthScheme=AzureAD(默认)且 AzureEnvironment=CHINA |
| login.microsoftonline.us | 如果 AuthScheme=AzureAD(默认)且 AzureEnvironment=USGOVT 或 USGOVTDOD |