swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector OperationStatus API schemes: - https tags: - name: OperationStatus paths: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}: get: tags: - OperationStatus summary: Microsoft Azure Gets The Operation Status For A Resource operationId: microsoftAzureOperationstatusGet 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: location in: path required: true type: string - name: operationId in: path required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/OperationResource' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get OperationStatus: $ref: ./examples/GetOperationStatus.json description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationStatus/{operationId} : get: tags: - OperationStatus summary: Microsoft Azure Gets The Operation Status For An Operation Over A Backupvault S Context operationId: microsoftAzureOperationstatusbackupvaultcontextGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultName' - name: operationId in: path required: true type: string - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter responses: '200': description: OK schema: $ref: '#/definitions/OperationResource' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get OperationStatus: $ref: ./examples/GetOperationStatusVaultContext.json description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/operationStatus/{operationId} : get: tags: - OperationStatus summary: Microsoft Azure Gets The Operation Status For An Operation Over A Resourcegroup S Context operationId: microsoftAzureOperationstatusresourcegroupcontextGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - name: operationId in: path required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/OperationResource' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get OperationStatus: $ref: ./examples/GetOperationStatusRGContext.json description: Needs a more full description created. /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/locations/{location}/operationStatuses/{operationId}: get: operationId: microsoftAzureOperationstatusGet tags: - OperationStatus description: Returns the current status of an async operation. parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/OperationIdParameter responses: '200': description: Azure operation completed successfully. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Get the status of an async operation.: $ref: ./examples/Get_OperationStatus.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Deviceregistry Locations Location Operationstatuses Operationid /subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}: get: tags: - OperationStatus operationId: microsoftAzureGetOperationstatus x-ms-examples: OperationStatusGet: $ref: ./examples/OperationStatusGet.json description: Gets the status of operation. parameters: - name: location in: path required: true type: string description: The region the operation is in. - name: operationId in: path required: true type: string description: The operation's unique identifier. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: Success. The detailed status of the operation is in the response. schema: $ref: '#/definitions/OperationStatus' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Cache Locations Location Operationsstatus Operationid definitions: OperationStatus: description: The status of a long-running operation. type: object properties: id: type: string description: The operation's unique id. name: type: string description: The operation's name. startTime: type: string description: The start time of the operation. endTime: type: string description: The end time of the operation. status: type: string description: The current status of the operation. error: $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse description: Error response describing why the operation failed. OperationResource: description: Operation Resource properties: endTime: description: End time of the operation format: date-time type: string error: $ref: '#/definitions/Error' description: "Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.\r\nThe full set of optional properties (e.g. inner errors / details) can be found in the \"Error Response\" section." id: description: It should match what is used to GET the operation result type: string name: description: It must match the last segment of the "id" field, and will typically be a GUID / system generated value type: string properties: $ref: '#/definitions/OperationExtendedInfo' description: End time of the operation startTime: description: Start time of the operation format: date-time type: string status: type: string title: OperationResource type: object 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 parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. VaultName: name: vaultName in: path description: The name of the backup vault. required: true type: string x-ms-parameter-location: method SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'