swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PrivateEndpoint API schemes: - https tags: - name: PrivateEndpoint paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}/operationsStatus/{operationId} : get: tags: - PrivateEndpoint summary: Microsoft Azure Gets The Operation Status For A Private Endpoint Connection operationId: microsoftAzurePrivateendpointGetoperationstatus produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/VaultName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: privateEndpointConnectionName in: path description: The name of the private endpoint connection. required: true type: string - name: operationId in: path description: Operation id required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/OperationStatus' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/NewErrorResponse' x-ms-examples: Get OperationStatus: $ref: ./examples/PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json description: Needs a more full description created. definitions: OperationStatus: description: Operation status. type: object properties: id: description: ID of the operation. type: string name: description: Name of the operation. type: string status: description: Operation status. enum: - Invalid - InProgress - Succeeded - Failed - Canceled type: string x-ms-enum: name: OperationStatusValues modelAsString: true startTime: format: date-time description: 'Operation start time. Format: ISO-8601.' type: string endTime: format: date-time description: 'Operation end time. Format: ISO-8601.' type: string error: $ref: '#/definitions/OperationStatusError' description: Error information related to this operation. properties: $ref: '#/definitions/OperationStatusExtendedInfo' description: Additional information associated with this operation. OperationStatusError: description: Error information associated with operation status call. type: object properties: code: description: Error code of the operation failure. type: string message: description: Error message displayed if the operation failure. type: string NewErrorResponse: properties: error: type: object description: The error object. properties: code: readOnly: true type: string description: The error code. message: readOnly: true type: string description: The error message. target: readOnly: true type: string description: The error target. details: readOnly: true type: array items: $ref: '#/definitions/NewErrorResponse' x-ms-identifiers: - /error/code description: The error details. additionalInfo: readOnly: true type: array items: $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorAdditionalInfo x-ms-identifiers: [] description: The error additional info. description: The resource management error response. OperationStatusExtendedInfo: description: Base class for additional information of operation status. required: - objectType type: object properties: objectType: description: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. type: string discriminator: objectType parameters: ResourceGroupName: name: resourceGroupName in: path description: The name of the resource group where the recovery services vault is present. required: true type: string x-ms-parameter-location: method VaultName: name: vaultName in: path description: The name of the recovery services vault. required: true type: string x-ms-parameter-location: method ApiVersion: name: api-version in: query description: Client Api Version. required: true type: string SubscriptionId: name: subscriptionId in: path description: The subscription Id. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'