swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector GetOperationResult API schemes: - https tags: - name: GetOperationResult paths: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationResults/{operationId}: get: tags: - GetOperationResult description: Gets the operation result for a resource operationId: microsoftAzureOperationresultGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - name: operationId in: path required: true type: string - name: location in: path required: true type: string responses: '200': description: Contains additional information like job Id schema: $ref: '#/definitions/OperationJobExtendedInfo' '202': description: Accepted headers: Location: description: The URL of the resource used to check the status of the asynchronous operation. type: string Azure-AsyncOperation: description: The URL of the resource used to check the status of the asynchronous operation. type: string Retry-After: description: Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. type: integer format: int32 default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Gets The Operation Status For A Resource x-ms-examples: Get OperationResult: $ref: ./examples/GetOperationResult.json definitions: OperationJobExtendedInfo: allOf: - $ref: '#/definitions/OperationExtendedInfo' description: Operation Job Extended Info properties: jobId: description: Name or Arm Id of the job created for this operation. type: string title: OperationJobExtendedInfo type: object x-ms-discriminator-value: OperationJobExtendedInfo CloudError: description: An error response from Azure Backup. properties: error: $ref: '#/definitions/Error' title: CloudError x-ms-external: true OperationExtendedInfo: description: Operation Extended Info properties: objectType: description: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. type: string title: OperationExtendedInfo discriminator: objectType type: object required: - objectType Error: description: The resource management error response. properties: additionalInfo: description: The error additional info. items: $ref: '#/definitions/ErrorAdditionalInfo' x-ms-identifiers: [] readOnly: true type: array code: description: The error code. readOnly: true type: string details: description: The error details. items: $ref: '#/definitions/Error' x-ms-identifiers: [] readOnly: true type: array message: description: The error message. readOnly: true type: string target: description: The error target. readOnly: true type: string ErrorAdditionalInfo: description: The resource management error additional info. properties: info: description: The additional info. readOnly: true type: object type: description: The additional info type. readOnly: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'