다음을 통해 공유


Releases - Create

릴리스를 만듭니다.

POST https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?api-version=7.1-preview.8

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
organization
path True

string

Azure DevOps 조직의 이름입니다.

project
path True

string

프로젝트 ID 또는 프로젝트 이름

api-version
query True

string

사용할 API의 버전입니다. 이 API 버전을 사용하려면 '7.1-preview.8'로 설정해야 합니다.

요청 본문

Name 형식 Description
artifacts

ArtifactMetadata[]

아티팩트 목록을 설정하여 릴리스를 만듭니다.

definitionId

integer

릴리스를 만들 정의 ID를 설정합니다.

description

string

설명을 설정하여 릴리스를 만듭니다.

environmentsMetadata

ReleaseStartEnvironmentMetadata[]

환경 메타 데이터 목록을 설정합니다.

isDraft

boolean

초안 모드에서 릴리스를 만들려면 'true'를 설정하고, 그렇지 않으면 'false'를 설정합니다.

manualEnvironments

string[]

환경 목록을 수동으로 조건으로 설정합니다.

properties

PropertiesCollection

클래스는 키-값 쌍의 컬렉션으로 속성 모음을 나타냅니다. 를 제외한 모든 기본 형식의 값(을 TypeCode != TypeCode.Object제외한 DBNull 모든 형식)이 허용됩니다. Byte[], Int32, Double, DateType 및 String 형식의 값은 해당 형식을 유지하며 다른 기본 형식은 String으로 다시 조정됩니다. byte[] base64로 인코딩된 문자열로 예상됩니다.

reason

ReleaseReason

릴리스를 만드는 이유를 설정합니다.

variables

<string,  ConfigurationVariableValue>

배포 시 재정의할 릴리스 변수 목록을 설정합니다.

응답

Name 형식 Description
200 OK

Release

성공적인 작업

보안

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token 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

Scopes

Name Description
vso.release_execute 폴더, 릴리스, 릴리스 정의 및 릴리스 환경, 새 릴리스 큐에 대기하는 기능을 포함하여 릴리스 아티팩트 읽기 및 업데이트 기능을 부여합니다.

예제

Sample Request

POST https://vsrm.dev.azure.com/fabrikam/MyFirstProject/_apis/release/releases?api-version=7.1-preview.8

{
  "definitionId": 1,
  "description": "Creating Sample release",
  "artifacts": [
    {
      "alias": "Fabrikam.CI",
      "instanceReference": {
        "id": "2",
        "name": null
      }
    }
  ],
  "isDraft": false,
  "reason": "none",
  "manualEnvironments": null
}

Sample Response

{
  "id": 19,
  "name": "Release-19",
  "status": "active",
  "createdOn": "2017-06-16T01:53:32.777Z",
  "modifiedOn": "2017-06-16T01:53:32.777Z",
  "modifiedBy": {
    "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
    "displayName": "Chuck Reinhart",
    "uniqueName": "fabfiber@outlook.com",
    "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
    "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
  },
  "createdBy": {
    "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
    "displayName": "Chuck Reinhart",
    "uniqueName": "fabfiber@outlook.com",
    "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
    "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
  },
  "environments": [
    {
      "id": 73,
      "releaseId": 19,
      "name": "Dev",
      "status": "notStarted",
      "variables": {},
      "preDeployApprovals": [],
      "postDeployApprovals": [],
      "preApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": false,
            "isNotificationOn": false,
            "approver": {
              "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
              "displayName": "Chuck Reinhart",
              "uniqueName": "fabfiber@outlook.com",
              "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
              "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
            },
            "id": 0
          }
        ],
        "approvalOptions": {
          "requiredApproverCount": 0,
          "releaseCreatorCanBeApprover": true,
          "autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped": false,
          "enforceIdentityRevalidation": false,
          "timeoutInMintues": 43200
        }
      },
      "postApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "deploySteps": [],
      "rank": 1,
      "definitionEnvironmentId": 1,
      "environmentOptions": {
        "emailNotificationType": "OnlyOnFailure",
        "emailRecipients": "release.environment.owner;release.creator",
        "skipArtifactsDownload": false,
        "timeoutInMinutes": 0,
        "enableAccessToken": false,
        "publishDeploymentStatus": false
      },
      "demands": [],
      "conditions": [],
      "workflowTasks": [],
      "deployPhasesSnapshot": [
        {
          "deploymentInput": {
            "parallelExecution": {
              "parallelExecutionType": "none"
            },
            "skipArtifactsDownload": false,
            "timeoutInMinutes": 0,
            "queueId": 2,
            "demands": [],
            "enableAccessToken": false
          },
          "rank": 1,
          "phaseType": "agentBasedDeployment",
          "name": "Run on agent",
          "workflowTasks": [
            {
              "taskId": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
              "version": "1.*",
              "name": "PowerShell Script",
              "enabled": true,
              "alwaysRun": false,
              "continueOnError": false,
              "timeoutInMinutes": 0,
              "definitionType": "task",
              "inputs": {
                "scriptType": "inlineScript",
                "scriptName": "",
                "arguments": "",
                "inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
                "workingFolder": "",
                "failOnStandardError": "true"
              }
            }
          ]
        }
      ],
      "owner": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart",
        "uniqueName": "fabfiber@outlook.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
      },
      "schedules": [],
      "release": {
        "id": 19,
        "name": "Release-19",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?releaseId=19&_a=release-summary"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19"
          }
        }
      },
      "releaseDefinition": {
        "id": 1,
        "name": "MyShuttle.CD",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?definitionId=1"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1"
          }
        }
      },
      "releaseCreatedBy": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart"
      },
      "triggerReason": "Manual"
    },
    {
      "id": 74,
      "releaseId": 19,
      "name": "QA",
      "status": "notStarted",
      "variables": {},
      "preDeployApprovals": [],
      "postDeployApprovals": [],
      "preApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "postApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "deploySteps": [],
      "rank": 2,
      "definitionEnvironmentId": 2,
      "environmentOptions": {
        "emailNotificationType": "OnlyOnFailure",
        "emailRecipients": "release.environment.owner;release.creator",
        "skipArtifactsDownload": false,
        "timeoutInMinutes": 0,
        "enableAccessToken": false,
        "publishDeploymentStatus": false
      },
      "demands": [],
      "conditions": [
        {
          "result": false,
          "name": "Dev",
          "conditionType": "environmentState",
          "value": "4"
        }
      ],
      "workflowTasks": [],
      "deployPhasesSnapshot": [
        {
          "deploymentInput": {
            "parallelExecution": {
              "parallelExecutionType": "none"
            },
            "skipArtifactsDownload": false,
            "timeoutInMinutes": 0,
            "queueId": 2,
            "demands": [],
            "enableAccessToken": false
          },
          "rank": 1,
          "phaseType": "agentBasedDeployment",
          "name": "Run on agent",
          "workflowTasks": [
            {
              "taskId": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
              "version": "1.*",
              "name": "PowerShell Script",
              "enabled": true,
              "alwaysRun": false,
              "continueOnError": false,
              "timeoutInMinutes": 0,
              "definitionType": "task",
              "inputs": {
                "scriptType": "inlineScript",
                "scriptName": "",
                "arguments": "",
                "inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
                "workingFolder": "",
                "failOnStandardError": "true"
              }
            }
          ]
        }
      ],
      "owner": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart",
        "uniqueName": "fabfiber@outlook.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
      },
      "schedules": [],
      "release": {
        "id": 19,
        "name": "Release-19",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?releaseId=19&_a=release-summary"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19"
          }
        }
      },
      "releaseDefinition": {
        "id": 1,
        "name": "MyShuttle.CD",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?definitionId=1"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1"
          }
        }
      },
      "releaseCreatedBy": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart"
      },
      "triggerReason": "After successful deployment of Dev"
    },
    {
      "id": 75,
      "releaseId": 19,
      "name": "PPE",
      "status": "notStarted",
      "variables": {},
      "preDeployApprovals": [],
      "postDeployApprovals": [],
      "preApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "postApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "deploySteps": [],
      "rank": 3,
      "definitionEnvironmentId": 3,
      "environmentOptions": {
        "emailNotificationType": "OnlyOnFailure",
        "emailRecipients": "release.environment.owner;release.creator",
        "skipArtifactsDownload": false,
        "timeoutInMinutes": 0,
        "enableAccessToken": false,
        "publishDeploymentStatus": false
      },
      "demands": [],
      "conditions": [
        {
          "result": false,
          "name": "QA",
          "conditionType": "environmentState",
          "value": "4"
        }
      ],
      "workflowTasks": [],
      "deployPhasesSnapshot": [
        {
          "deploymentInput": {
            "parallelExecution": {
              "parallelExecutionType": "none"
            },
            "skipArtifactsDownload": false,
            "timeoutInMinutes": 0,
            "queueId": 2,
            "demands": [],
            "enableAccessToken": false
          },
          "rank": 1,
          "phaseType": "agentBasedDeployment",
          "name": "Run on agent",
          "workflowTasks": [
            {
              "taskId": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
              "version": "1.*",
              "name": "PowerShell Script",
              "enabled": true,
              "alwaysRun": false,
              "continueOnError": false,
              "timeoutInMinutes": 0,
              "definitionType": "task",
              "inputs": {
                "scriptType": "inlineScript",
                "scriptName": "",
                "arguments": "",
                "inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
                "workingFolder": "",
                "failOnStandardError": "true"
              }
            }
          ]
        }
      ],
      "owner": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart",
        "uniqueName": "fabfiber@outlook.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
      },
      "schedules": [],
      "release": {
        "id": 19,
        "name": "Release-19",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?releaseId=19&_a=release-summary"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19"
          }
        }
      },
      "releaseDefinition": {
        "id": 1,
        "name": "MyShuttle.CD",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?definitionId=1"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1"
          }
        }
      },
      "releaseCreatedBy": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart"
      },
      "triggerReason": "After successful deployment of QA"
    },
    {
      "id": 76,
      "releaseId": 19,
      "name": "PROD",
      "status": "notStarted",
      "variables": {},
      "preDeployApprovals": [],
      "postDeployApprovals": [],
      "preApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "postApprovalsSnapshot": {
        "approvals": [
          {
            "rank": 1,
            "isAutomated": true,
            "isNotificationOn": false,
            "id": 0
          }
        ]
      },
      "deploySteps": [],
      "rank": 4,
      "definitionEnvironmentId": 4,
      "environmentOptions": {
        "emailNotificationType": "OnlyOnFailure",
        "emailRecipients": "release.environment.owner;release.creator",
        "skipArtifactsDownload": false,
        "timeoutInMinutes": 0,
        "enableAccessToken": false,
        "publishDeploymentStatus": false
      },
      "demands": [],
      "conditions": [
        {
          "result": false,
          "name": "PPE",
          "conditionType": "environmentState",
          "value": "4"
        }
      ],
      "workflowTasks": [],
      "deployPhasesSnapshot": [
        {
          "deploymentInput": {
            "parallelExecution": {
              "parallelExecutionType": "none"
            },
            "skipArtifactsDownload": false,
            "timeoutInMinutes": 0,
            "queueId": 2,
            "demands": [],
            "enableAccessToken": false
          },
          "rank": 1,
          "phaseType": "agentBasedDeployment",
          "name": "Run on agent",
          "workflowTasks": [
            {
              "taskId": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
              "version": "1.*",
              "name": "PowerShell Script",
              "enabled": true,
              "alwaysRun": false,
              "continueOnError": false,
              "timeoutInMinutes": 0,
              "definitionType": "task",
              "inputs": {
                "scriptType": "inlineScript",
                "scriptName": "",
                "arguments": "",
                "inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
                "workingFolder": "",
                "failOnStandardError": "true"
              }
            }
          ]
        }
      ],
      "owner": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart",
        "uniqueName": "fabfiber@outlook.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=4adb1680-0eac-6149-b5ee-fc8b4f6ca227"
      },
      "schedules": [],
      "release": {
        "id": 19,
        "name": "Release-19",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?releaseId=19&_a=release-summary"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19"
          }
        }
      },
      "releaseDefinition": {
        "id": 1,
        "name": "MyShuttle.CD",
        "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1",
        "_links": {
          "web": {
            "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?definitionId=1"
          },
          "self": {
            "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1"
          }
        }
      },
      "releaseCreatedBy": {
        "id": "4adb1680-0eac-6149-b5ee-fc8b4f6ca227",
        "displayName": "Chuck Reinhart"
      },
      "triggerReason": "After successful deployment of PPE"
    }
  ],
  "variables": {},
  "variableGroups": [],
  "artifacts": [
    {
      "sourceId": "d07908bc-118f-47d2-8a13-ff75601a6b1a:1",
      "type": "Build",
      "alias": "Fabrikam.CI",
      "definitionReference": {
        "artifactSourceDefinitionUrl": {
          "id": "https://dev.azure.com/fabrikam/_permalink/_build/index?collectionId=13d3daac-03b8-4a23-9cc4-2c3de65dab63&projectId=d07908bc-118f-47d2-8a13-ff75601a6b1a&definitionId=1",
          "name": ""
        },
        "defaultVersionBranch": {
          "id": "",
          "name": ""
        },
        "defaultVersionSpecific": {
          "id": "",
          "name": ""
        },
        "defaultVersionTags": {
          "id": "",
          "name": ""
        },
        "defaultVersionType": {
          "id": "latestType",
          "name": "Latest"
        },
        "definition": {
          "id": "1",
          "name": "Fabrikam.CI"
        },
        "project": {
          "id": "d07908bc-118f-47d2-8a13-ff75601a6b1a",
          "name": "MyFirstProject"
        },
        "version": {
          "id": "2",
          "name": ""
        },
        "artifactSourceVersionUrl": {
          "id": "https://dev.azure.com/fabrikam/_permalink/_build/index?collectionId=13d3daac-03b8-4a23-9cc4-2c3de65dab63&projectId=d07908bc-118f-47d2-8a13-ff75601a6b1a&buildId=2",
          "name": ""
        }
      },
      "isPrimary": true
    }
  ],
  "releaseDefinition": {
    "id": 1,
    "name": "MyShuttle.CD",
    "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1",
    "_links": {
      "self": {
        "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/definitions/1"
      },
      "web": {
        "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?definitionId=1"
      }
    }
  },
  "description": "Creating Sample release",
  "reason": "manual",
  "releaseNameFormat": "Release-$(rev:r)",
  "keepForever": false,
  "definitionSnapshotRevision": 1,
  "logsContainerUrl": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19/logs",
  "url": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19",
  "_links": {
    "self": {
      "href": "https://vsrm.dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_apis/Release/releases/19"
    },
    "web": {
      "href": "https://dev.azure.com/fabrikam/d07908bc-118f-47d2-8a13-ff75601a6b1a/_release?releaseId=19&_a=release-summary"
    }
  },
  "tags": [],
  "projectReference": {
    "id": "d07908bc-118f-47d2-8a13-ff75601a6b1a",
    "name": null
  },
  "properties": {}
}

정의

Name Description
ApprovalExecutionOrder

승인 실행 순서입니다.

ApprovalOptions
ApprovalStatus

승인의 상태 가져오거나 설정합니다.

ApprovalType

승인 유형을 가져오거나 설정합니다.

Artifact
ArtifactMetadata
ArtifactSourceReference
AuthorizationHeader
BuildVersion
ConditionType

조건 유형을 가져오거나 설정합니다.

ConfigurationVariableValue
DataSourceBindingBase

서비스 엔드포인트 요청에 대한 데이터 원본의 바인딩을 나타냅니다.

DeploymentAttempt
DeploymentJob
DeploymentOperationStatus

배포의 작업 상태 가져옵니다.

DeploymentReason

배포 이유를 가져옵니다.

DeploymentStatus

배포의 상태 가져옵니다.

DeployPhase
DeployPhaseStatus

단계의 상태입니다.

DeployPhaseTypes

배포 단계 유형을 나타냅니다.

EnvironmentOptions
EnvironmentStatus

환경 상태 가져옵니다.

GateStatus

릴리스 게이트의 상태입니다.

IdentityRef
IgnoredGate
Issue
ManualIntervention
ManualInterventionStatus

수동 개입의 상태 가져오거나 설정합니다.

ProcessParameters
ProjectReference
PropertiesCollection

클래스는 속성 모음을 키-값 쌍의 컬렉션으로 나타냅니다. 를 제외한 DBNull 모든 기본 형식의 값(가 있는 TypeCode != TypeCode.Object모든 형식)이 허용됩니다. Byte[], Int32, Double, DateType 및 String 형식의 값은 해당 형식을 유지하며, 다른 기본 형식은 String으로 다시 조정됩니다. base64로 인코딩된 문자열로 예상되는 바이트[]

ReferenceLinks

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

Release
ReleaseApproval
ReleaseApprovalHistory
ReleaseCondition
ReleaseDefinitionApprovals
ReleaseDefinitionApprovalStep
ReleaseDefinitionGate
ReleaseDefinitionGatesOptions
ReleaseDefinitionGatesStep
ReleaseDefinitionShallowReference
ReleaseDeployPhase
ReleaseEnvironment
ReleaseEnvironmentShallowReference
ReleaseGates
ReleaseReason

릴리스 이유를 가져옵니다.

ReleaseSchedule
ReleaseShallowReference
ReleaseStartEnvironmentMetadata
ReleaseStartMetadata
ReleaseStatus

상태 가져옵니다.

ReleaseTask
ScheduleDays

릴리스할 요일입니다.

SourcePullRequestVersion
TaskInputDefinitionBase
TaskInputValidation
TaskSourceDefinitionBase
TaskStatus

릴리스 작업의 상태입니다.

VariableGroup
VariableGroupProjectReference

변수 그룹 참조는 변수 그룹에 대한 단순 참조입니다.

VariableGroupProviderData
VariableValue
WorkflowTask
WorkflowTaskReference

ApprovalExecutionOrder

승인 실행 순서입니다.

Name 형식 Description
afterGatesAlways

string

승인은 게이트 실행 후 항상 표시됩니다.

afterSuccessfulGates

string

게이트를 성공적으로 실행한 후 표시되는 승인입니다.

beforeGates

string

게이트 앞에 표시된 승인입니다.

ApprovalOptions

Name 형식 Description
autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped

boolean

동일한 승인자가 이전 단계를 승인한 경우 승인을 건너뛸 수 있는지 여부를 지정합니다.

enforceIdentityRevalidation

boolean

승인을 완료하기 전에 승인자의 ID 유효성을 다시 검사할지 여부를 지정합니다.

executionOrder

ApprovalExecutionOrder

승인 실행 순서입니다.

releaseCreatorCanBeApprover

boolean

릴리스 또는 배포를 요청하는 사용자가 승인자를 허용할지 여부를 지정합니다.

requiredApproverCount

integer

릴리스를 진행하는 데 필요한 승인 수입니다. '0'은 필요한 모든 승인을 의미합니다.

timeoutInMinutes

integer

승인 시간 제한. 승인 기본 시간 제한은 30일입니다. 허용되는 최대 제한 시간은 365일입니다. '0'은 기본 시간 제한(예: 30일)을 의미합니다.

ApprovalStatus

승인의 상태 가져오거나 설정합니다.

Name 형식 Description
approved

string

승인이 승인되었음을 나타냅니다.

canceled

string

승인이 취소되었음을 나타냅니다.

pending

string

승인이 보류 중임을 나타냅니다.

reassigned

string

승인이 다시 할당되었음을 나타냅니다.

rejected

string

승인이 거부되었음을 나타냅니다.

skipped

string

승인을 건너뛰었다는 것을 나타냅니다.

undefined

string

승인에 상태 집합이 없음을 나타냅니다.

ApprovalType

승인 유형을 가져오거나 설정합니다.

Name 형식 Description
all

string

모든 승인을 나타냅니다.

postDeploy

string

배포 후 실행된 승인을 나타냅니다.

preDeploy

string

배포 전에 실행된 승인을 나타냅니다.

undefined

string

승인 유형이 설정되지 않음을 나타냅니다.

Artifact

Name 형식 Description
alias

string

별칭을 가져오거나 설정합니다.

definitionReference

<string,  ArtifactSourceReference>

정의 참조를 가져오거나 설정합니다. 예: {"project":{"id":"fed755ea-49c5-4399-acea-fd5b5aa90a6c","name":"myProject"},"definition":{"id":"1","name":"mybuildDefinition"},"connection":{"id":"1","name":"myConnection"}}.

isPrimary

boolean

아티팩트가 주 아티팩트인지 여부를 나타냅니다.

isRetained

boolean

아티팩트가 릴리스에서 보존되는지 여부를 나타냅니다.

type

string

형식을 가져오거나 설정합니다. 값은 'Build', 'Jenkins', 'GitHub', 'Nuget', 'Team Build(external)', 'ExternalTFSBuild', 'Git', 'TFVC', 'ExternalTfsXamlBuild'입니다.

ArtifactMetadata

Name 형식 Description
alias

string

아티팩트 별칭을 설정합니다.

instanceReference

BuildVersion

아티팩트 instance 참조를 설정합니다. 예를 들어 빌드 아티팩트인 경우 빌드 번호입니다.

ArtifactSourceReference

Name 형식 Description
id

string

아티팩트 원본의 ID입니다.

name

string

아티팩트 원본의 이름입니다.

AuthorizationHeader

Name 형식 Description
name

string

value

string

BuildVersion

Name 형식 Description
commitMessage

string

아티팩트 커밋 메시지 가져오거나 설정합니다.

definitionId

string

정의 ID를 가져오거나 설정합니다.

definitionName

string

정의 이름을 가져오거나 설정합니다.

id

string

빌드 ID를 가져오거나 설정합니다.

isMultiDefinitionType

boolean

아티팩트가 여러 정의를 지원하는지 여부를 가져오거나 설정합니다.

name

string

빌드 번호를 가져오거나 설정합니다.

sourceBranch

string

아티팩트 원본 분기를 가져오거나 설정합니다.

sourcePullRequestVersion

SourcePullRequestVersion

아티팩트 원본 끌어오기 요청 버전을 가져오거나 설정합니다.

sourceRepositoryId

string

아티팩트용 리포지토리 ID를 가져오거나 설정합니다.

sourceRepositoryType

string

아티팩트용 리포지토리 형식을 가져오거나 설정합니다.

sourceVersion

string

아티팩트 원본 버전을 가져오거나 설정합니다.

ConditionType

조건 유형을 가져오거나 설정합니다.

Name 형식 Description
artifact

string

조건 유형이 아티팩트입니다.

environmentState

string

조건 유형은 환경 상태입니다.

event

string

조건 유형은 이벤트입니다.

undefined

string

조건 유형이 정의되지 않았습니다.

ConfigurationVariableValue

Name 형식 Description
allowOverride

boolean

배포 시 변수를 재정의할 수 있는지 여부를 가져오고 설정합니다.

isSecret

boolean

변수가 비밀인지 여부를 가져오거나 설정합니다.

value

string

구성 변수의 값을 가져오고 설정합니다.

DataSourceBindingBase

서비스 엔드포인트 요청에 대한 데이터 원본의 바인딩을 나타냅니다.

Name 형식 Description
callbackContextTemplate

string

이 데이터 원본에서 지원하는 페이지 매김 형식(ContinuationToken/SkipTop).

callbackRequiredTemplate

string

후속 호출이 필요하신가요?

dataSourceName

string

데이터 원본의 이름을 가져오거나 설정합니다.

endpointId

string

엔드포인트 ID를 가져오거나 설정합니다.

endpointUrl

string

서비스 엔드포인트의 URL을 가져오거나 설정합니다.

headers

AuthorizationHeader[]

권한 부여 헤더를 가져오거나 설정합니다.

initialContextTemplate

string

쿼리 매개 변수의 초기 값을 정의합니다.

parameters

object

데이터 원본에 대한 매개 변수를 가져오거나 설정합니다.

requestContent

string

http 요청 본문을 가져오거나 설정합니다.

requestVerb

string

http 요청 동사를 가져오거나 설정합니다.

resultSelector

string

결과 선택기를 가져오거나 설정합니다.

resultTemplate

string

결과 템플릿을 가져오거나 설정합니다.

target

string

데이터 원본의 대상을 가져오거나 설정합니다.

DeploymentAttempt

Name 형식 Description
attempt

integer

배포 시도.

deploymentId

integer

배포의 ID입니다.

hasStarted

boolean

배포가 시작되었는지 여부를 지정합니다.

id

integer

배포 ID입니다.

issues

Issue[]

배포와 관련된 모든 문제입니다.

lastModifiedBy

IdentityRef

이 배포를 마지막으로 수정한 ID입니다.

lastModifiedOn

string

이 배포가 마지막으로 수정된 시간입니다.

operationStatus

DeploymentOperationStatus

배포 작업 상태.

postDeploymentGates

ReleaseGates

이 배포에서 실행된 배포 게이트를 게시합니다.

preDeploymentGates

ReleaseGates

이 배포에서 실행된 배포 전 게이트입니다.

queuedOn

string

이 배포가 대기 중인 경우.

reason

DeploymentReason

배포 이유입니다.

releaseDeployPhases

ReleaseDeployPhase[]

이 배포에서 실행된 릴리스 배포의 목록입니다.

requestedBy

IdentityRef

이 배포를 요청한 ID입니다.

requestedFor

IdentityRef

요청된 이 배포의 ID입니다.

status

DeploymentStatus

배포의 상태.

DeploymentJob

Name 형식 Description
job

ReleaseTask

실행된 모든 작업의 부모 작업입니다.

tasks

ReleaseTask[]

작업이 있는 실행된 작업 목록입니다.

DeploymentOperationStatus

배포의 작업 상태 가져옵니다.

Name 형식 Description
all

string

배포 작업 상태 모두입니다.

approved

string

배포 작업 상태 승인되었습니다.

canceled

string

배포 작업 상태 취소되었습니다.

cancelling

string

상태 배포 작업이 취소됩니다.

deferred

string

배포 작업 상태 지연됩니다.

evaluatingGates

string

상태 배포 작업은 AssessmentingGates입니다.

gateFailed

string

배포 작업 상태 GateFailed입니다.

manualInterventionPending

string

배포 작업 상태 수동인터벤션 보류 중입니다.

pending

string

배포 작업 상태 보류 중입니다.

phaseCanceled

string

배포 작업 상태 단계가 취소되었습니다.

phaseFailed

string

배포 작업 상태 단계가 실패했습니다.

phaseInProgress

string

배포 작업 상태 단계가 진행 중입니다.

phasePartiallySucceeded

string

배포 작업 상태 단계가 부분적으로 성공했습니다.

phaseSucceeded

string

배포 작업 상태 단계가 성공했습니다.

queued

string

배포 작업 상태 큐에 대기 중입니다.

queuedForAgent

string

배포 작업 상태 에이전트에 대해 큐에 대기됩니다.

queuedForPipeline

string

배포 작업 상태 파이프라인에 대해 큐에 대기됩니다.

rejected

string

배포 작업 상태 거부되었습니다.

scheduled

string

배포 작업 상태 예약됩니다.

undefined

string

배포 작업 상태 정의되지 않았습니다.

DeploymentReason

배포 이유를 가져옵니다.

Name 형식 Description
automated

string

배포 이유는 자동화됩니다.

manual

string

배포 이유는 수동입니다.

none

string

배포 이유는 없습니다.

redeployTrigger

string

배포 이유는 RedeployTrigger입니다.

scheduled

string

배포 이유가 예약되어 있습니다.

DeploymentStatus

배포의 상태 가져옵니다.

Name 형식 Description
all

string

배포 상태 모두입니다.

failed

string

배포 상태 실패했습니다.

inProgress

string

배포 상태 진행 중입니다.

notDeployed

string

배포 상태 배포되지 않습니다.

partiallySucceeded

string

배포 상태 부분적으로 구성됩니다.

succeeded

string

배포 상태 성공했습니다.

undefined

string

배포 상태 정의되지 않았습니다.

DeployPhase

Name 형식 Description
name

string

배포 단계의 이름을 가져오고 설정합니다.

phaseType

DeployPhaseTypes

배포 단계 유형을 나타냅니다.

rank

integer

배포 단계의 순위를 가져오고 설정합니다.

refName

string

배포 단계의 참조 이름을 가져오고 설정합니다.

workflowTasks

WorkflowTask[]

배포 단계에 대한 워크플로 작업을 가져오고 설정합니다.

DeployPhaseStatus

단계의 상태입니다.

Name 형식 Description
canceled

string

단계 실행이 취소되었습니다.

cancelling

string

단계가 취소 상태입니다.

failed

string

단계 실행이 실패했습니다.

inProgress

string

단계 실행이 진행 중입니다.

notStarted

string

단계 실행이 시작되지 않았습니다.

partiallySucceeded

string

단계 실행이 부분적으로 성공했습니다.

skipped

string

단계 실행을 건너뛰었다.

succeeded

string

단계 실행이 성공했습니다.

undefined

string

단계 상태 설정되지 않았습니다.

DeployPhaseTypes

배포 단계 유형을 나타냅니다.

Name 형식 Description
agentBasedDeployment

string

에이전트에서 실행되는 작업이 포함된 단계 유형입니다.

deploymentGates

string

배포가 진행되도록 게이트 역할을 하는 작업을 포함하는 단계 유형입니다.

machineGroupBasedDeployment

string

배포 그룹 컴퓨터에서 실행되는 작업을 포함하는 단계 유형입니다.

runOnServer

string

서버에서 실행된 작업을 포함하는 단계 유형입니다.

undefined

string

단계 유형이 정의되지 않았습니다. 이 항목을 사용하지 마세요.

EnvironmentOptions

Name 형식 Description
autoLinkWorkItems

boolean

자동 연결 작업 영역으로 가져오거나 설정합니다.

badgeEnabled

boolean

배지를 사용할지 여부를 가져오고 설정합니다.

publishDeploymentStatus

boolean

게시 배포 상태 여부를 가져오고 설정합니다.

pullRequestDeploymentEnabled

boolean

.pull 요청 배포를 사용하도록 설정했는지 여부를 가져오고 설정합니다.

EnvironmentStatus

환경 상태 가져옵니다.

Name 형식 Description
canceled

string

환경이 취소된 상태입니다.

inProgress

string

환경이 진행 중입니다.

notStarted

string

환경이 시작되지 않은 상태입니다.

partiallySucceeded

string

환경이 부분적으로 성공한 상태입니다.

queued

string

환경이 큐에 대기 상태입니다.

rejected

string

환경이 거부된 상태입니다.

scheduled

string

환경이 예약된 상태입니다.

succeeded

string

환경이 성공 상태입니다.

undefined

string

환경 상태 설정되지 않았습니다.

GateStatus

릴리스 게이트의 상태입니다.

Name 형식 Description
canceled

string

게이트 실행이 취소되었습니다.

failed

string

게이트 실행이 실패했습니다.

inProgress

string

게이트는 현재 진행 중입니다.

none

string

게이트에 상태 집합이 없습니다.

pending

string

게이트가 보류 중입니다.

succeeded

string

게이트가 성공적으로 완료되었습니다.

IdentityRef

Name 형식 Description
_links

ReferenceLinks

이 필드에는 그래프 제목에 대한 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은 이 그래프 주체의 원본 리소스에 대한 전체 경로입니다.

IgnoredGate

Name 형식 Description
lastModifiedOn

string

게이트가 마지막으로 무시된 날짜를 가져옵니다.

name

string

무시된 게이트의 이름입니다.

Issue

Name 형식 Description
data

object

문제 데이터.

issueType

string

문제 유형(예: 오류, 경고 또는 정보).

message

string

문제 메시지.

ManualIntervention

Name 형식 Description
approver

IdentityRef

승인해야 하는 ID를 가져오거나 설정합니다.

comments

string

승인을 위한 주석을 가져오거나 설정합니다.

createdOn

string

만든 날짜를 가져옵니다.

id

integer

수동 개입에 대한 고유 식별자를 가져옵니다.

instructions

string

승인 지침을 가져오거나 설정합니다.

modifiedOn

string

수정된 날짜를 가져옵니다.

name

string

이름을 가져오거나 설정합니다.

release

ReleaseShallowReference

수동 개입에 대한 releaseReference를 가져옵니다.

releaseDefinition

ReleaseDefinitionShallowReference

수동 개입에 대한 releaseDefinitionReference를 가져옵니다.

releaseEnvironment

ReleaseEnvironmentShallowReference

수동 개입에 대한 releaseEnvironmentReference를 가져옵니다.

status

ManualInterventionStatus

수동 개입의 상태 가져오거나 설정합니다.

taskInstanceId

string

작업 instance 식별자를 가져옵니다.

url

string

수동 개입에 액세스하기 위한 URL을 가져옵니다.

ManualInterventionStatus

수동 개입의 상태 가져오거나 설정합니다.

Name 형식 Description
approved

string

수동 개입이 승인되었습니다.

canceled

string

수동 개입이 취소되었습니다.

pending

string

수동 개입이 보류 중입니다.

rejected

string

수동 개입이 거부됩니다.

unknown

string

수동 개입에는 상태 집합이 없습니다.

ProcessParameters

Name 형식 Description
dataSourceBindings

DataSourceBindingBase[]

서비스 엔드포인트 요청에 대한 데이터 원본의 바인딩을 나타냅니다.

inputs

TaskInputDefinitionBase[]

sourceDefinitions

TaskSourceDefinitionBase[]

ProjectReference

Name 형식 Description
id

string

이 필드의 고유 식별자를 가져옵니다.

name

string

프로젝트의 이름을 가져옵니다.

PropertiesCollection

클래스는 속성 모음을 키-값 쌍의 컬렉션으로 나타냅니다. 를 제외한 DBNull 모든 기본 형식의 값(가 있는 TypeCode != TypeCode.Object모든 형식)이 허용됩니다. Byte[], Int32, Double, DateType 및 String 형식의 값은 해당 형식을 유지하며, 다른 기본 형식은 String으로 다시 조정됩니다. base64로 인코딩된 문자열로 예상되는 바이트[]

Name 형식 Description
count

integer

컬렉션의 속성 수입니다.

item

object

keys

string[]

컬렉션의 키 집합입니다.

values

string[]

컬렉션의 값 집합입니다.

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

Name 형식 Description
links

object

링크의 읽기 전용 보기입니다. 참조 링크는 읽기 전용이므로 읽기 전용으로만 노출하려고 합니다.

Release

Name 형식 Description
_links

ReferenceLinks

릴리스에 액세스하기 위한 링크를 가져옵니다.

artifacts

Artifact[]

아티팩트 목록을 가져오거나 설정합니다.

comment

string

주석을 가져오거나 설정합니다.

createdBy

IdentityRef

만든 ID를 가져오거나 설정합니다.

createdFor

IdentityRef

릴리스를 만든 ID를 가져오거나 설정합니다.

createdOn

string

만든 날짜를 가져옵니다.

definitionSnapshotRevision

integer

스냅샷 정의의 수정 번호를 가져옵니다.

description

string

릴리스에 대한 설명을 가져오거나 설정합니다.

environments

ReleaseEnvironment[]

환경 목록을 가져옵니다.

id

integer

이 필드의 고유 식별자를 가져옵니다.

keepForever

boolean

보존 정책에서 릴리스를 제외할지 여부입니다.

logsContainerUrl

string

로그 컨테이너 URL을 가져옵니다.

modifiedBy

IdentityRef

수정한 ID를 가져오거나 설정합니다.

modifiedOn

string

수정된 날짜를 가져옵니다.

name

string

이름을 가져옵니다.

poolName

string

풀 이름을 가져옵니다.

projectReference

ProjectReference

프로젝트 참조를 가져오거나 설정합니다.

properties

PropertiesCollection

클래스는 속성 모음을 키-값 쌍의 컬렉션으로 나타냅니다. 를 제외한 DBNull 모든 기본 형식의 값(가 있는 TypeCode != TypeCode.Object모든 형식)이 허용됩니다. Byte[], Int32, Double, DateType 및 String 형식의 값은 해당 형식을 유지하며, 다른 기본 형식은 String으로 다시 조정됩니다. base64로 인코딩된 문자열로 예상되는 바이트[]

reason

ReleaseReason

릴리스 이유를 가져옵니다.

releaseDefinition

ReleaseDefinitionShallowReference

이 릴리스가 연결된 릴리스 정의의 참조를 지정하는 releaseDefinitionReference를 가져옵니다.

releaseDefinitionRevision

integer

릴리스 정의 수정 버전을 가져오거나 설정합니다.

releaseNameFormat

string

릴리스 이름 형식을 가져옵니다.

status

ReleaseStatus

상태 가져옵니다.

tags

string[]

태그 목록을 가져오거나 설정합니다.

triggeringArtifactAlias

string

variableGroups

VariableGroup[]

변수 그룹 목록을 가져옵니다.

variables

<string,  ConfigurationVariableValue>

변수 사전을 가져오거나 설정합니다.

ReleaseApproval

Name 형식 Description
approvalType

ApprovalType

승인 유형을 가져오거나 설정합니다.

approvedBy

IdentityRef

승인된 ID를 가져옵니다.

approver

IdentityRef

승인할 ID를 가져오거나 설정합니다.

attempt

integer

속한 배포 시도를 지정하는 시도를 가져오거나 설정합니다.

comments

string

승인을 위한 주석을 가져오거나 설정합니다.

createdOn

string

만든 날짜를 가져옵니다.

history

ReleaseApprovalHistory[]

이 승인과 연결된 모든 승인을 지정하는 기록을 가져옵니다.

id

integer

이 필드의 고유 식별자를 가져옵니다.

isAutomated

boolean

승인이 자동화되어 있는지 여부를 가져오거나 설정합니다.

modifiedOn

string

수정된 날짜를 가져옵니다.

rank

integer

승인 순서를 지정하는 순위를 가져오거나 설정합니다. 예를 들어 동일한 순위는 병렬 승인을 나타내는 것입니다.

release

ReleaseShallowReference

이 승인이 연결된 릴리스의 참조를 지정하는 releaseReference를 가져옵니다.

releaseDefinition

ReleaseDefinitionShallowReference

이 승인이 연결된 릴리스 정의의 참조를 지정하는 releaseDefinitionReference를 가져옵니다.

releaseEnvironment

ReleaseEnvironmentShallowReference

이 승인이 연결된 릴리스 환경의 참조를 지정하는 releaseEnvironmentReference를 가져옵니다.

revision

integer

수정 번호를 가져옵니다.

status

ApprovalStatus

승인의 상태 가져오거나 설정합니다.

url

string

승인에 액세스할 URL을 가져옵니다.

ReleaseApprovalHistory

Name 형식 Description
approver

IdentityRef

승인자의 ID입니다.

changedBy

IdentityRef

승인을 변경한 개체의 ID입니다.

comments

string

승인 기록 주석.

createdOn

string

이 승인이 만들어진 시간입니다.

modifiedOn

string

이 승인이 수정된 시간입니다.

revision

integer

승인 기록 수정.

ReleaseCondition

Name 형식 Description
conditionType

ConditionType

조건 유형을 가져오거나 설정합니다.

name

string

조건의 이름을 가져오거나 설정합니다. 예: 'ReleaseStarted'.

result

boolean

릴리스 조건 결과입니다.

value

string

조건의 값을 가져오거나 설정합니다.

ReleaseDefinitionApprovals

Name 형식 Description
approvalOptions

ApprovalOptions

승인 옵션을 가져오거나 설정합니다.

approvals

ReleaseDefinitionApprovalStep[]

승인을 가져오거나 설정합니다.

ReleaseDefinitionApprovalStep

Name 형식 Description
approver

IdentityRef

승인자를 가져오고 설정합니다.

id

integer

승인 또는 배포 단계의 ID입니다.

isAutomated

boolean

승인이 자동화되었는지 여부를 나타냅니다.

isNotificationOn

boolean

승인 알림 집합 여부를 나타냅니다.

rank

integer

승인 단계의 순위를 가져오거나 설정합니다.

ReleaseDefinitionGate

Name 형식 Description
tasks

WorkflowTask[]

게이트 워크플로를 가져오거나 설정합니다.

ReleaseDefinitionGatesOptions

Name 형식 Description
isEnabled

boolean

게이트 사용 여부를 가져오거나 설정합니다.

minimumSuccessDuration

integer

게이트 평가에 성공한 후 안정적인 결과의 최소 기간을 가져오거나 설정합니다.

samplingInterval

integer

게이트 다시 평가 사이의 시간을 가져오거나 설정합니다.

stabilizationTime

integer

평가 전 지연을 가져오거나 설정합니다.

timeout

integer

게이트가 실패한 시간 제한을 가져오거나 설정합니다.

ReleaseDefinitionGatesStep

Name 형식 Description
gates

ReleaseDefinitionGate[]

게이트를 가져오거나 설정합니다.

gatesOptions

ReleaseDefinitionGatesOptions

게이트 옵션을 가져오거나 설정합니다.

id

integer

ReleaseDefinitionGateStep의 ID입니다.

ReleaseDefinitionShallowReference

Name 형식 Description
_links

ReferenceLinks

릴리스 정의에 대한 관련 리소스, API 및 뷰에 대한 링크를 가져옵니다.

id

integer

릴리스 정의의 고유 식별자를 가져옵니다.

name

string

릴리스 정의의 이름을 가져오거나 설정합니다.

path

string

릴리스 정의의 경로를 가져오거나 설정합니다.

projectReference

ProjectReference

프로젝트 참조를 가져오거나 설정합니다.

url

string

릴리스 정의에 액세스하기 위한 REST API URL을 가져옵니다.

ReleaseDeployPhase

Name 형식 Description
deploymentJobs

DeploymentJob[]

단계의 배포 작업입니다.

errorLog

string

단계 실행 오류 로그.

manualInterventions

ManualIntervention[]

단계별 수동 개입 작업 실행 정보 목록입니다.

name

string

단계의 이름입니다.

phaseId

string

단계의 ID입니다.

phaseType

DeployPhaseTypes

단계의 유형입니다.

rank

integer

단계의 순위입니다.

runPlanId

string

단계의 계획 ID를 실행합니다.

startedOn

string

단계 시작 시간입니다.

status

DeployPhaseStatus

단계의 상태입니다.

ReleaseEnvironment

Name 형식 Description
conditions

ReleaseCondition[]

조건 목록을 가져옵니다.

createdOn

string

만든 날짜를 가져옵니다.

definitionEnvironmentId

integer

정의 환경 ID를 가져옵니다.

deployPhasesSnapshot

DeployPhase[]

배포 단계 스냅샷 목록을 가져옵니다.

deploySteps

DeploymentAttempt[]

배포 단계를 가져옵니다.

environmentOptions

EnvironmentOptions

환경 옵션을 가져옵니다.

id

integer

이 필드의 고유 식별자를 가져옵니다.

modifiedOn

string

수정된 날짜를 가져옵니다.

name

string

이름을 가져옵니다.

nextScheduledUtcTime

string

예약된 다음 UTC 시간을 가져옵니다.

owner

IdentityRef

릴리스 환경의 소유자인 ID를 가져옵니다.

postApprovalsSnapshot

ReleaseDefinitionApprovals

배포 후 승인 스냅샷 목록을 가져옵니다.

postDeployApprovals

ReleaseApproval[]

배포 후 승인 목록을 가져옵니다.

postDeploymentGatesSnapshot

ReleaseDefinitionGatesStep

배포 게이트 스냅샷 데이터를 게시합니다.

preApprovalsSnapshot

ReleaseDefinitionApprovals

사전 배포 승인 스냅샷 목록을 가져옵니다.

preDeployApprovals

ReleaseApproval[]

사전 배포 승인 목록을 가져옵니다.

preDeploymentGatesSnapshot

ReleaseDefinitionGatesStep

배포 전 게이트는 데이터를 스냅샷.

processParameters

ProcessParameters

프로세스 매개 변수를 가져옵니다.

rank

integer

순위를 가져옵니다.

release

ReleaseShallowReference

이 릴리스 환경이 연결된 릴리스의 참조를 지정하는 릴리스 참조를 가져옵니다.

releaseCreatedBy

IdentityRef

릴리스를 만든 ID를 가져옵니다.

releaseDefinition

ReleaseDefinitionShallowReference

이 릴리스 환경이 연결된 릴리스 정의의 참조를 지정하는 releaseDefinitionReference를 가져옵니다.

releaseId

integer

릴리스 ID를 가져옵니다.

scheduledDeploymentTime

string

릴리스 환경의 일정 배포 시간을 가져옵니다.

schedules

ReleaseSchedule[]

일정 목록을 가져옵니다.

status

EnvironmentStatus

환경 상태 가져옵니다.

timeToDeploy

number

배포할 시간을 가져옵니다.

triggerReason

string

트리거 이유를 가져옵니다.

variableGroups

VariableGroup[]

변수 그룹 목록을 가져옵니다.

variables

<string,  ConfigurationVariableValue>

변수 사전을 가져옵니다.

ReleaseEnvironmentShallowReference

Name 형식 Description
_links

ReferenceLinks

릴리스 환경에 대한 관련 리소스, API 및 뷰에 대한 링크를 가져옵니다.

id

integer

릴리스 환경의 고유 식별자를 가져옵니다.

name

string

릴리스 환경의 이름을 가져오거나 설정합니다.

url

string

릴리스 환경에 액세스하기 위한 REST API URL을 가져옵니다.

ReleaseGates

Name 형식 Description
deploymentJobs

DeploymentJob[]

각 평가의 게이트 작업 세부 정보를 포함합니다.

id

integer

릴리스 게이트의 ID입니다.

ignoredGates

IgnoredGate[]

무시된 게이트 목록입니다.

lastModifiedOn

string

게이트가 마지막으로 수정된 시간입니다.

runPlanId

string

게이트의 계획 ID를 실행합니다.

stabilizationCompletedOn

string

게이트 안정화 완료 날짜 및 시간.

startedOn

string

게이트 평가가 시작된 시간입니다.

status

GateStatus

릴리스 게이트의 상태입니다.

succeedingSince

string

모든 게이트가 성공적으로 실행된 날짜 및 시간입니다.

ReleaseReason

릴리스 이유를 가져옵니다.

Name 형식 Description
continuousIntegration

string

연속 통합에 의해 트리거되는 릴리스를 나타냅니다.

manual

string

수동으로 트리거된 릴리스를 나타냅니다.

none

string

릴리스 트리거 이유를 설정하지 않음을 나타냅니다.

pullRequest

string

PullRequest에 의해 트리거된 릴리스를 나타냅니다.

schedule

string

일정에 따라 트리거되는 릴리스를 나타냅니다.

ReleaseSchedule

Name 형식 Description
daysToRelease

ScheduleDays

릴리스할 요일입니다.

jobId

string

Team Foundation 작업 정의 작업 ID입니다.

scheduleOnlyWithChanges

boolean

연결된 아티팩트가 변경되었거나 릴리스 정의가 변경된 경우에만 이 일정을 해제해야 하는지 여부를 확인하는 플래그입니다.

startHours

integer

시작할 현지 표준 시간대 시간입니다.

startMinutes

integer

시작할 현지 표준 시간대 분입니다.

timeZoneId

string

릴리스 일정의 표준 시간대 ID(예: 'UTC')입니다.

ReleaseShallowReference

Name 형식 Description
_links

ReferenceLinks

릴리스에 대한 관련 리소스, API 및 뷰에 대한 링크를 가져옵니다.

id

integer

릴리스의 고유 식별자를 가져옵니다.

name

string

릴리스의 이름을 가져오거나 설정합니다.

url

string

릴리스에 액세스하기 위한 REST API URL을 가져옵니다.

ReleaseStartEnvironmentMetadata

Name 형식 Description
definitionEnvironmentId

integer

릴리스 정의 환경 ID를 설정합니다.

variables

<string,  ConfigurationVariableValue>

배포 시 재정의할 환경 변수 목록을 설정합니다.

ReleaseStartMetadata

Name 형식 Description
artifacts

ArtifactMetadata[]

아티팩트 목록을 설정하여 릴리스를 만듭니다.

definitionId

integer

정의 ID를 설정하여 릴리스를 만듭니다.

description

string

설명을 설정하여 릴리스를 만듭니다.

environmentsMetadata

ReleaseStartEnvironmentMetadata[]

환경 메타 데이터 목록을 설정합니다.

isDraft

boolean

초안 모드에서 릴리스를 만들려면 'true'를 설정하고, 그렇지 않으면 'false'를 설정합니다.

manualEnvironments

string[]

환경 목록을 수동으로 조건으로 설정합니다.

properties

PropertiesCollection

클래스는 속성 모음을 키-값 쌍의 컬렉션으로 나타냅니다. 를 제외한 DBNull 모든 기본 형식의 값(가 있는 TypeCode != TypeCode.Object모든 형식)이 허용됩니다. Byte[], Int32, Double, DateType 및 String 형식의 값은 해당 형식을 유지하며, 다른 기본 형식은 String으로 다시 조정됩니다. base64로 인코딩된 문자열로 예상되는 바이트[]

reason

ReleaseReason

릴리스를 만드는 이유를 설정합니다.

variables

<string,  ConfigurationVariableValue>

배포 시 재정의할 릴리스 변수 목록을 설정합니다.

ReleaseStatus

상태 가져옵니다.

Name 형식 Description
abandoned

string

릴리스 상태 중단되었습니다.

active

string

릴리스 상태 활성 상태입니다.

draft

string

릴리스가 초안 상태입니다.

undefined

string

릴리스 상태 설정되지 않았습니다.

ReleaseTask

Name 형식 Description
agentName

string

작업이 실행된 에이전트 이름입니다.

finishTime

string

릴리스 작업의 완료 시간입니다.

id

integer

릴리스 작업의 ID입니다.

issues

Issue[]

작업을 실행하는 동안 발생한 문제 목록입니다.

lineCount

integer

로그 릴리스 작업에 포함된 줄 수입니다.

logUrl

string

작업의 로그 URL입니다.

name

string

작업의 이름입니다.

percentComplete

integer

작업 실행 완료 사전 처리.

rank

integer

릴리스 작업의 순위입니다.

resultCode

string

작업의 결과 코드입니다.

startTime

string

릴리스 작업의 ID입니다.

status

TaskStatus

릴리스 작업의 상태입니다.

task

WorkflowTaskReference

워크플로 작업 참조입니다.

timelineRecordId

string

릴리스 작업의 타임라인 레코드 ID입니다.

ScheduleDays

릴리스할 요일입니다.

Name 형식 Description
all

string

요일의 모든 날짜에 예약됩니다.

friday

string

금요일에 예약됩니다.

monday

string

월요일에 예약됩니다.

none

string

예약된 날짜가 설정되지 않았습니다.

saturday

string

토요일에 예약됩니다.

sunday

string

일요일에 예약되었습니다.

thursday

string

목요일에 예약됩니다.

tuesday

string

화요일에 예약되었습니다.

wednesday

string

수요일에 예약되었습니다.

SourcePullRequestVersion

Name 형식 Description
iterationId

string

릴리스가 상태 게시할 끌어오기 요청 반복 ID입니다.

pullRequestId

string

릴리스가 상태 게시할 끌어오기 요청 ID입니다.

pullRequestMergedAt

string

끌어오기 요청 병합 만들기의 날짜 및 시간입니다. 끌어오기 요청에서 만든 릴리스의 타임라인 레코드를 유지해야 합니다.

sourceBranch

string

끌어오기 요청의 원본 분기입니다.

sourceBranchCommitId

string

릴리스가 상태 게시할 끌어오기 요청의 원본 분기 커밋 ID입니다.

targetBranch

string

끌어오기 요청의 대상 분기입니다.

TaskInputDefinitionBase

Name 형식 Description
aliases

string[]

defaultValue

string

groupName

string

helpMarkDown

string

label

string

name

string

options

object

properties

object

required

boolean

type

string

validation

TaskInputValidation

visibleRule

string

TaskInputValidation

Name 형식 Description
expression

string

조건 식

message

string

유효성 검사에 실패할 경우 사용자가 수정할 수 있는 방법을 설명하는 메시지

TaskSourceDefinitionBase

Name 형식 Description
authKey

string

endpoint

string

keySelector

string

selector

string

target

string

TaskStatus

릴리스 작업의 상태입니다.

Name 형식 Description
canceled

string

작업 실행이 취소되었습니다.

failed

string

작업 실행이 실패했습니다.

failure

string

작업 실행이 실패했습니다.

inProgress

string

작업이 현재 진행 중입니다.

partiallySucceeded

string

작업 실행이 부분적으로 성공했습니다.

pending

string

작업이 보류 중인 상태.

skipped

string

작업 실행을 건너뛰었다.

succeeded

string

작업이 완료되었습니다.

success

string

작업이 완료되었습니다.

unknown

string

작업에 상태 집합이 없습니다.

VariableGroup

Name 형식 Description
createdBy

IdentityRef

만든 ID를 가져오거나 설정합니다.

createdOn

string

만든 날짜를 가져옵니다.

description

string

설명을 가져오거나 설정합니다.

id

integer

이 필드의 고유 식별자를 가져옵니다.

isShared

boolean

변수 그룹이 다른 프로젝트와 공유되는지 여부를 표시합니다.

modifiedBy

IdentityRef

수정한 ID를 가져오거나 설정합니다.

modifiedOn

string

수정된 날짜를 가져옵니다.

name

string

이름을 가져오거나 설정합니다.

providerData

VariableGroupProviderData

공급자 데이터를 가져오거나 설정합니다.

type

string

형식을 가져오거나 설정합니다.

variableGroupProjectReferences

VariableGroupProjectReference[]

변수 그룹이 다른 프로젝트와 공유되는 모든 프로젝트 참조입니다.

variables

<string,  VariableValue>

변수의 사전을 가져오고 설정합니다.

VariableGroupProjectReference

변수 그룹 참조는 변수 그룹에 대한 단순 참조입니다.

Name 형식 Description
description

string

변수 그룹에 대한 설명을 가져오거나 설정합니다.

name

string

변수 그룹의 이름을 가져오거나 설정합니다.

projectReference

ProjectReference

변수 그룹의 프로젝트 참조를 가져오거나 설정합니다.

VariableGroupProviderData

VariableValue

Name 형식 Description
isReadOnly

boolean

변수가 읽기 전용인지 여부를 가져오거나 설정합니다.

isSecret

boolean

변수가 비밀인지 아닌지 여부를 가져오거나 설정합니다.

value

string

값을 가져오거나 설정합니다.

WorkflowTask

Name 형식 Description
alwaysRun

boolean

작업이 항상 실행되거나 실행되지 않을 때 를 가져오거나 설정합니다.

condition

string

작업 조건을 가져오거나 설정합니다.

continueOnError

boolean

오류가 발생하거나 실행되지 않을 때 작업을 계속 실행할 때 를 가져오거나 설정합니다.

definitionType

string

작업 정의 형식을 가져오거나 설정합니다. 예:- 'Agent', DeploymentGroup', 'Server' 또는 'ServerGate'.

enabled

boolean

작업 사용 여부를 가져오거나 설정합니다.

environment

object

작업 환경 변수를 가져오거나 설정합니다.

inputs

object

작업 입력을 가져오거나 설정합니다.

name

string

태스크 이름을 가져오거나 설정합니다.

overrideInputs

object

태스크 재정의 입력을 가져오거나 설정합니다.

refName

string

작업의 참조 이름을 가져오거나 설정합니다.

retryCountOnTaskFailure

integer

작업 retryCount를 가져오거나 설정합니다.

taskId

string

작업의 ID를 가져오거나 설정합니다.

timeoutInMinutes

integer

작업 시간 제한을 가져오거나 설정합니다.

version

string

작업의 버전을 가져오거나 설정합니다.

WorkflowTaskReference

Name 형식 Description
id

string

작업 식별자입니다.

name

string

작업의 이름입니다.

version

string

작업의 버전입니다.