DevOps Operation Results - Get
Get devops long running operation result.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/operationResults/{operationResultId}?api-version=2024-05-15-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
operation
|
path | True |
string |
The operation result Id. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
security
|
path | True |
string |
The security connector name. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get_Dev |
Get_Dev |
Get_DevOpsOperationResults_Failed
Sample request
Sample response
{
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/8d4caace-e7b3-4b3e-af99-73f76829ebcf?api-version=2024-05-15-preview",
"name": "8d4caace-e7b3-4b3e-af99-73f76829ebcf",
"status": "Failed",
"startTime": "2023-06-21T03:23:15Z",
"endTime": "2023-06-21T03:25:15Z",
"percentComplete": 100,
"error": {
"code": "TokenExchangeFailed",
"message": "AzureDevOps OAuth token exchange failed"
}
}
Get_DevOpsOperationResults_Succeeded
Sample request
Sample response
{
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2024-05-15-preview",
"name": "4e826cf1-5c36-4808-a7d2-fb4f5170978b",
"status": "Succeeded",
"startTime": "2023-06-21T03:23:15Z",
"endTime": "2023-06-21T03:25:15Z",
"percentComplete": 100
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Operation |
The current status of an async operation. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
OperationStatusResult
The current status of an async operation.
Name | Type | Description |
---|---|---|
endTime |
string |
The end time of the operation. |
error |
If present, details of the operation error. |
|
id |
string |
Fully qualified ID for the async operation. |
name |
string |
Name of the async operation. |
operations |
The operations list. |
|
percentComplete |
number |
Percent of the operation that is complete. |
startTime |
string |
The start time of the operation. |
status |
string |
Operation status. |