你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Operation Results - Get
获取 Data Manager For Agriculture 资源的 operationResults。
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/locations/{locations}/operationResults/{operationResultsId}?api-version=2023-06-01-preview
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
locations
|
path | True |
string |
位置。 |
operation
|
path | True |
string |
特定位置的 operationResultsId。 |
subscription
|
path | True |
string uuid |
目标订阅的 ID。 该值必须是 UUID。 |
api-version
|
query | True |
string |
要用于此操作的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
错误 |
安全性
azure_auth
Azure Active Directory OAuth2 流。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
OperationResults_Get
Sample Request
GET https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/providers/Microsoft.AgFoodPlatform/locations/westus/operationResults/resource-provisioning-id-farmBeatsResourceName?api-version=2023-06-01-preview
Sample Response
{
"status": "Failed",
"error": {
"code": "BadArgument",
"message": "The provided database 'foo' has an invalid username."
}
}
定义
ArmAsyncOperation
Arm 异步操作类。 参考:https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/async-operations。
名称 | 类型 | 说明 |
---|---|---|
error |
Arm 异步操作错误类。 参考:https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#azure-asyncoperation-resource-format。 |
|
status |
string |
异步操作的状态。 |
ArmAsyncOperationError
Arm 异步操作错误类。 参考:https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#azure-asyncoperation-resource-format。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
异步操作的状态。 |
message |
string |
异步操作的状态。 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |