Targets - List
デプロイ グループ内のデプロイ ターゲットの一覧を取得します。
GET https://dev.azure.com/{organization}/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
GET https://dev.azure.com/{organization}/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?tags={tags}&name={name}&partialNameMatch={partialNameMatch}&$expand={$expand}&agentStatus={agentStatus}&agentJobResult={agentJobResult}&continuationToken={continuationToken}&$top={$top}&enabled={enabled}&propertyFilters={propertyFilters}&api-version=7.1
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
deployment
|
path | True |
integer (int32) |
デプロイ グループの ID。 |
organization
|
path | True |
string |
Azure DevOps 組織の名前。 |
project
|
path | True |
string |
プロジェクト ID またはプロジェクト名 |
api-version
|
query | True |
string |
使用する API のバージョン。 このバージョンの API を使用するには、これを '7.1' に設定する必要があります。 |
$expand
|
query |
返されるオブジェクトに、これらの追加の詳細を含めます。 |
||
$top
|
query |
integer (int32) |
返されるデプロイ ターゲットの最大数。 既定値は 1000です。 |
|
agent
|
query |
この最後のジョブ結果を持つデプロイ ターゲットのみを取得します。 |
||
agent
|
query |
この状態のデプロイ ターゲットのみを取得します。 |
||
continuation
|
query |
string |
この continuationToken より大きい名前のデプロイ ターゲットを構文的に取得します。 |
|
enabled
|
query |
boolean |
有効または無効になっているデプロイ ターゲットのみを取得します。 既定値は 'null' で、すべてのターゲットを返します。 |
|
name
|
query |
string |
返すデプロイ ターゲットの名前パターン。 |
|
partial
|
query |
boolean |
true に設定すると、名前 パターンとして扱われます。 それ以外の場合は、絶対一致として扱います。 既定値は false です。 |
|
property
|
query |
string (array (string)) |
||
tags
|
query |
string (array (string)) |
タグのコンマ区切りリストをすべて含むデプロイ ターゲットのみを取得します。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功した操作 |
セキュリティ
oauth2
型:
oauth2
フロー:
accessCode
Authorization URL (承認 URL):
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL (トークン URL):
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
スコープ
名前 | 説明 |
---|---|
vso.machinegroup_manage | デプロイ グループとエージェント プールを管理する機能を提供します |
例
Get deployment targets by partial name match
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
{
"count": 1,
"value": [
{
"tags": [
"web"
],
"id": 5,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/5"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=5"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:19:41.053Z",
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "online"
}
}
]
}
Get deployment targets filtered by agent status
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
{
"count": 1,
"value": [
{
"tags": [
"web"
],
"id": 5,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/5"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=5"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:19:41.053Z",
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "online"
}
}
]
}
Get deployment targets having given tags
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
{
"count": 1,
"value": [
{
"tags": [
"db",
"web"
],
"id": 7,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/7"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=7"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:26:48.11Z",
"id": 7,
"name": "demoTarget11",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "offline"
}
}
]
}
Get deployment targets in pages
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
x-MS-ContinuationToken: demoTarget2
{
"count": 2,
"value": [
{
"tags": [
"web"
],
"id": 5,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/5"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=5"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:19:41.053Z",
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "online"
}
},
{
"tags": [
"db",
"web"
],
"id": 7,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/7"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=7"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:26:48.11Z",
"id": 7,
"name": "demoTarget11",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "offline"
}
}
]
}
Get deployment targets including their last job requests
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
{
"count": 1,
"value": [
{
"tags": [
"web"
],
"id": 5,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/5"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=5"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:19:41.053Z",
"lastCompletedRequest": {
"requestId": 1,
"queueTime": "2018-02-19T09:28:48.2633333Z",
"assignTime": "2018-02-19T09:28:48.2633333Z",
"receiveTime": "2018-02-19T09:28:52.2811279Z",
"finishTime": "2018-02-19T09:28:57.7333333Z",
"result": "succeeded",
"serviceOwner": "0000000d-0000-8888-8000-000000000000",
"hostId": "86088ab1-30d8-4526-9663-3406752b8bc6",
"scopeId": "91879ed9-819b-46f3-9e0b-52ed4b20c04c",
"planType": "Deployment",
"planId": "b7245fde-fb04-40f3-b187-78772599f522",
"jobId": "2fd39b55-daaa-499a-ad70-1896ac468a9f",
"demands": [
"DotNetFramework",
"Agent.Version -gtVersion 1.102"
],
"reservedAgent": {
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"enabled": true,
"status": "online"
},
"definition": {
"_links": {
"web": {
"href": "https://dev.azure.com/fabrikam/91879ed9-819b-46f3-9e0b-52ed4b20c04c/_release?definitionId=1"
},
"self": {
"href": "https://https://vsrm.dev.azure.com/fabrikam/91879ed9-819b-46f3-9e0b-52ed4b20c04c/_apis/Release/definitions/1"
}
},
"id": 1,
"name": "New Release Definition"
},
"owner": {
"_links": {
"web": {
"href": "https://dev.azure.com/fabrikam/91879ed9-819b-46f3-9e0b-52ed4b20c04c/_release?releaseId=1&_a=release-summary"
},
"self": {
"href": "https://https://vsrm.dev.azure.com/fabrikam/91879ed9-819b-46f3-9e0b-52ed4b20c04c/_apis/Release/releases/1"
}
},
"id": 1,
"name": "Release-1 / Environment 1"
},
"data": {},
"agentDelays": []
},
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "online"
}
}
]
}
List all deployment targets in a deployment group
要求のサンプル
GET https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}/targets?api-version=7.1
応答のサンプル
{
"count": 3,
"value": [
{
"tags": [
"web"
],
"id": 5,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/5"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=5"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:19:41.053Z",
"id": 5,
"name": "demoTarget1",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "online"
}
},
{
"tags": [
"db",
"web"
],
"id": 7,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/7"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=7"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:26:48.11Z",
"id": 7,
"name": "demoTarget11",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "offline"
}
},
{
"tags": [
"db"
],
"id": 6,
"agent": {
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/_apis/distributedtask/pools/17/agents/6"
},
"web": {
"href": "https://dev.azure.com/fabrikam/_admin/_AgentPool#_a=agents&poolId=17&agentId=6"
}
},
"maxParallelism": 1,
"createdOn": "2018-02-19T09:23:58.267Z",
"id": 6,
"name": "demoTarget2",
"version": "2.127.0",
"osDescription": "Microsoft Windows 10.0.14393 ",
"enabled": true,
"status": "offline"
}
}
]
}
定義
名前 | 説明 |
---|---|
Demand | |
Deployment |
デプロイ ターゲット。 |
Deployment |
返されるオブジェクトに、これらの追加の詳細を含めます。 |
Identity |
|
JObject |
JSON オブジェクトを表します。 |
JToken |
抽象 JSON トークンを表します。 |
Package |
|
Properties |
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
|
Reference |
REST 参照リンクのコレクションを表すクラス。 |
Task |
タスク エージェント。 |
Task |
OAuth 2.0 認証フローを使用してエージェントを承認するために必要なデータを提供します。 |
Task |
|
Task |
エージェントのジョブ要求。 |
Task |
この最後のジョブ結果を持つデプロイ ターゲットのみを取得します。 |
Task |
追加のプールの設定と詳細 |
Task |
|
Task |
プールの種類を取得または設定します。 |
Task |
RSA 非対称キーの公開キー部分を表します。 |
Task |
エージェントへの参照。 |
Task |
エージェントがオンラインかどうか。 |
Task |
この状態のデプロイ ターゲットのみを取得します。 |
Task |
エージェントの更新に関する詳細。 |
Task |
|
Task |
|
Task |
|
Task |
この要求の結果。 |
Demand
名前 | 型 | 説明 |
---|---|---|
name |
string |
|
value |
string |
DeploymentMachine
デプロイ ターゲット。
名前 | 型 | 説明 |
---|---|---|
agent |
デプロイ エージェント。 |
|
id |
integer (int32) |
デプロイ ターゲット識別子。 |
properties |
デプロイ ターゲットのプロパティ。 |
|
tags |
string[] |
デプロイ ターゲットのタグ。 |
DeploymentTargetExpands
返されるオブジェクトに、これらの追加の詳細を含めます。
値 | 説明 |
---|---|
assignedRequest |
デプロイ エージェントに割り当てられたジョブ要求を含めます。 |
capabilities |
デプロイ エージェントの機能を含めます。 |
lastCompletedRequest |
デプロイ エージェントの最後に完了したジョブ要求を含めます。 |
none |
追加のプロパティはありません。 |
IdentityRef
名前 | 型 | 説明 |
---|---|---|
_links |
このフィールドには、グラフの件名に関する興味深いリンクが 0 個以上含まれています。 これらのリンクを呼び出して、このグラフの件名に関する追加のリレーションシップや詳細情報を取得できます。 |
|
descriptor |
string |
記述子は、システムの実行中にグラフの件名を参照する主な方法です。 このフィールドは、アカウントと組織の両方で同じグラフの件名を一意に識別します。 |
directoryAlias |
string |
非推奨 - IdentityRef "_links" ディクショナリの "自己" エントリで参照されている Graph ユーザーにクエリを実行することで取得できます |
displayName |
string |
これは、グラフの件名の一意でない表示名です。 このフィールドを変更するには、ソース プロバイダーでその値を変更する必要があります。 |
id |
string |
|
imageUrl |
string |
非推奨 - IdentityRef "_links" ディクショナリの "アバター" エントリで使用できます |
inactive |
boolean |
非推奨 - GraphUser "_links" ディクショナリの "membershipState" エントリで参照されている Graph メンバーシップの状態を照会することで取得できます |
isAadIdentity |
boolean |
非推奨 - 記述子のサブジェクト型 (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) から推論できます |
isContainer |
boolean |
非推奨 - 記述子のサブジェクト型 (Descriptor.IsGroupType) から推論できます |
isDeletedInOrigin |
boolean |
|
profileUrl |
string |
非推奨 - ToIdentityRef の既存のほとんどの実装では使用されていません |
uniqueName |
string |
非推奨 - 代わりに Domain+PrincipalName を使用する |
url |
string |
この URL は、このグラフの件名のソース リソースへの完全なルートです。 |
JObject
JSON オブジェクトを表します。
名前 | 型 | 説明 |
---|---|---|
item |
抽象 JSON トークンを表します。 |
|
type |
string (JTokenType) |
この JToken のノードの種類を取得します。 |
JToken
抽象 JSON トークンを表します。
名前 | 型 | 説明 |
---|---|---|
first |
このトークンの最初の子トークンを取得します。 |
|
hasValues |
boolean |
このトークンに子トークンがあるかどうかを示す値を取得します。 |
item |
抽象 JSON トークンを表します。 |
|
last |
このトークンの最後の子トークンを取得します。 |
|
next |
このノードの次の兄弟トークンを取得します。 |
|
parent |
string (JContainer) |
親を取得または設定します。 |
path |
string |
JSON トークンのパスを取得します。 |
previous |
このノードの前の兄弟トークンを取得します。 |
|
root |
この JToken のルート JToken を取得します。 |
|
type |
string (JTokenType) |
この JToken のノードの種類を取得します。 |
PackageVersion
名前 | 型 | 説明 |
---|---|---|
major |
integer (int32) |
|
minor |
integer (int32) |
|
patch |
integer (int32) |
PropertiesCollection
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
DBNull
を除くすべてのプリミティブ型 (TypeCode != TypeCode.Object
を持つ任意の型) の値が受け入れられます。 Byte[]、Int32、Double、DateType、String 型の値は型を保持し、他のプリミティブは文字列として再調整されます。 Byte[] は base64 でエンコードされた文字列として必要です。
名前 | 型 | 説明 |
---|---|---|
count |
integer (int32) |
コレクション内のプロパティの数。 |
item |
object |
|
keys |
string[] |
コレクション内のキーのセット。 |
values |
string[] |
コレクション内の値のセット。 |
ReferenceLinks
REST 参照リンクのコレクションを表すクラス。
名前 | 型 | 説明 |
---|---|---|
links |
object |
リンクの読み取りビュー。 参照リンクは読み取り専用であるため、読み取り専用として公開する必要があります。 |
TaskAgent
タスク エージェント。
名前 | 型 | 説明 |
---|---|---|
_links |
REST 参照リンクのコレクションを表すクラス。 |
|
accessPoint |
string |
このエージェントのアクセス ポイント。 |
assignedAgentCloudRequest |
このエージェントに現在関連付けられているエージェント クラウド要求。 |
|
assignedRequest |
このエージェントに現在割り当てられている要求。 |
|
authorization |
このエージェントの認証情報。 |
|
createdOn |
string (date-time) |
このエージェントが作成された日付。 |
enabled |
boolean |
このエージェントがジョブを実行する必要があるかどうか。 |
id |
integer (int32) |
エージェントの識別子。 |
lastCompletedRequest |
このエージェントによって完了された最後の要求。 |
|
maxParallelism |
integer (int32) |
このエージェントで許容される最大ジョブ並列処理。 |
name |
string |
エージェントの名前。 |
osDescription |
string |
エージェント OS。 |
pendingUpdate |
このエージェントの更新が保留中です。 |
|
properties |
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
|
|
provisioningState |
string |
このエージェントのプロビジョニング状態。 |
status |
エージェントがオンラインかどうか。 |
|
statusChangedOn |
string (date-time) |
最後の接続状態の変更が発生した日付。 |
systemCapabilities |
object |
このエージェントのホストでサポートされているシステム定義の機能。 警告: PUT メソッドを使用して機能を設定するには、PUT によって既存の機能が完全に上書きされます。 |
userCapabilities |
object |
このエージェントのホストでサポートされているユーザー定義機能。 警告: PUT メソッドを使用して機能を設定するには、PUT によって既存の機能が完全に上書きされます。 |
version |
string |
エージェントのバージョン。 |
TaskAgentAuthorization
OAuth 2.0 認証フローを使用してエージェントを承認するために必要なデータを提供します。
名前 | 型 | 説明 |
---|---|---|
authorizationUrl |
string |
構成されたトークン サービスからアクセス トークンを取得するために使用されるエンドポイント。 |
clientId |
string (uuid) |
このエージェントのクライアント識別子。 |
publicKey |
このエージェントの ID を確認するために使用される公開キー。 |
TaskAgentCloudRequest
名前 | 型 | 説明 |
---|---|---|
agent |
エージェントへの参照。 |
|
agentCloudId |
integer (int32) |
|
agentConnectedTime |
string (date-time) |
|
agentData |
JSON オブジェクトを表します。 |
|
agentSpecification |
JSON オブジェクトを表します。 |
|
pool | ||
provisionRequestTime |
string (date-time) |
|
provisionedTime |
string (date-time) |
|
releaseRequestTime |
string (date-time) |
|
requestId |
string (uuid) |
TaskAgentJobRequest
エージェントのジョブ要求。
名前 | 型 | 説明 |
---|---|---|
agentSpecification |
JSON オブジェクトを表します。 |
|
assignTime |
string (date-time) |
この要求が割り当てられた日付/時刻。 |
data |
object |
要求に関する追加データ。 |
definition |
この要求に関連付けられているパイプライン定義 |
|
demands |
Demand[] |
この要求を満たすために必要な要求の一覧。 |
finishTime |
string (date-time) |
この要求が完了した日付/時刻。 |
hostId |
string (uuid) |
この要求をトリガーしたホスト。 |
jobId |
string (uuid) |
この要求の結果として得られるジョブの ID。 |
jobName |
string |
この要求の結果として得られるジョブの名前。 |
lockedUntil |
string (date-time) |
エージェントがロックを更新する期限。 |
matchedAgents |
エージェントへの参照。 |
|
matchesAllAgentsInPool |
boolean |
|
orchestrationId |
string |
|
owner |
この要求に関連付けられているパイプライン |
|
planGroup |
string |
|
planId |
string (uuid) |
この要求に接続されているオーケストレーション 計画の内部 ID。 |
planType |
string |
オーケストレーション 計画の種類を表す内部詳細。 |
poolId |
integer (int32) |
この要求が対象とするプールの ID |
priority |
integer (int32) |
|
queueId |
integer (int32) |
この要求が対象とするキューの ID |
queueTime |
string (date-time) |
この要求がキューに登録された日付/時刻。 |
receiveTime |
string (date-time) |
この要求がエージェントによって再要求された日付/時刻。 |
requestId |
integer (int64) |
要求の ID。 |
reservedAgent |
この要求に割り当てられたエージェント。 |
|
result |
この要求の結果。 |
|
scopeId |
string (uuid) |
パイプラインのスコープ。はプロジェクト ID と一致します。 |
serviceOwner |
string (uuid) |
この要求を所有するサービス。 |
statusMessage |
string |
|
userDelayed |
boolean |
TaskAgentJobResultFilter
この最後のジョブ結果を持つデプロイ ターゲットのみを取得します。
値 | 説明 |
---|---|
all |
すべてのデプロイ ターゲット。 |
failed |
最後のジョブが失敗したデプロイ ターゲット (破棄された、キャンセルされた、失敗した、スキップされた)。 |
neverDeployed |
ジョブを実行しなかったデプロイ ターゲットのみ。 |
passed |
最後のジョブが成功したデプロイ ターゲットのみ (成功、問題で成功)。 |
TaskAgentPoolOptions
追加のプールの設定と詳細
値 | 説明 |
---|---|
elasticPool |
エラスティック プール サービスによってサポートされる TaskAgentPool |
none | |
preserveAgentOnJobFailure |
TaskAgentJobRequest エラーの後にエージェントが調査のために保持されている場合は true に設定します |
singleUseAgents |
各 TaskAgentJobRequest の後にエージェントを再イメージ化する場合は true に設定します |
TaskAgentPoolReference
名前 | 型 | 説明 |
---|---|---|
id |
integer (int32) |
|
isHosted |
boolean |
このプールがサービスによって管理されているかどうかを示す値を取得または設定します。 |
isLegacy |
boolean |
プールがレガシであるかどうかを判断します。 |
name |
string |
|
options |
追加のプールの設定と詳細 |
|
poolType |
プールの種類を取得または設定します。 |
|
scope |
string (uuid) |
|
size |
integer (int32) |
プールの現在のサイズを取得します。 |
TaskAgentPoolType
プールの種類を取得または設定します。
値 | 説明 |
---|---|
automation |
タスク エージェントの一般的なプール |
deployment |
デプロイ プール |
TaskAgentPublicKey
RSA 非対称キーの公開キー部分を表します。
名前 | 型 | 説明 |
---|---|---|
exponent |
string[] (byte) |
公開キーの指数を取得または設定します。 |
modulus |
string[] (byte) |
公開キーの剰余を取得または設定します。 |
TaskAgentReference
エージェントへの参照。
名前 | 型 | 説明 |
---|---|---|
_links |
REST 参照リンクのコレクションを表すクラス。 |
|
accessPoint |
string |
このエージェントのアクセス ポイント。 |
enabled |
boolean |
このエージェントがジョブを実行する必要があるかどうか。 |
id |
integer (int32) |
エージェントの識別子。 |
name |
string |
エージェントの名前。 |
osDescription |
string |
エージェント OS。 |
provisioningState |
string |
このエージェントのプロビジョニング状態。 |
status |
エージェントがオンラインかどうか。 |
|
version |
string |
エージェントのバージョン。 |
TaskAgentStatus
エージェントがオンラインかどうか。
値 | 説明 |
---|---|
offline | |
online |
TaskAgentStatusFilter
この状態のデプロイ ターゲットのみを取得します。
値 | 説明 |
---|---|
all |
すべてのデプロイ ターゲット。 |
offline |
オフラインのデプロイ ターゲットのみ。 |
online |
オンラインのデプロイ ターゲットのみ。 |
TaskAgentUpdate
エージェントの更新に関する詳細。
名前 | 型 | 説明 |
---|---|---|
currentState |
string |
このエージェント更新プログラムの現在の状態。 |
reason |
この更新プログラムの理由。 |
|
requestTime |
string (date-time) |
この更新プログラムが要求された日付。 |
requestedBy |
この更新プログラムを要求した ID。 |
|
sourceVersion |
更新プログラムのソース エージェントバージョン。 |
|
targetVersion |
更新プログラムのターゲット エージェント バージョン。 |
TaskAgentUpdateReason
名前 | 型 | 説明 |
---|---|---|
code |
TaskAgentUpdateReasonType
値 | 説明 |
---|---|
downgrade | |
manual | |
minAgentVersionRequired |
TaskOrchestrationOwner
名前 | 型 | 説明 |
---|---|---|
_links |
REST 参照リンクのコレクションを表すクラス。 |
|
id |
integer (int32) |
|
name |
string |
TaskResult
この要求の結果。
値 | 説明 |
---|---|
abandoned | |
canceled | |
failed | |
skipped | |
succeeded | |
succeededWithIssues |