swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector FetchSecondaryRecoveryPoints API schemes: - https tags: - name: FetchSecondaryRecoveryPoints paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints : post: tags: - FetchSecondaryRecoveryPoints description: Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. operationId: microsoftAzureFetchsecondaryrecoverypointsList produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter - name: parameters in: body description: Request body for operation required: true schema: $ref: '#/definitions/FetchSecondaryRPsRequestParameters' - name: $filter in: query description: OData filter options. required: false type: string - name: $skipToken in: query description: skipToken Filter. required: false type: string responses: '200': description: OK schema: $ref: '#/definitions/AzureBackupRecoveryPointResourceList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-odata: '#/definitions/RecoveryPointsFilters' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Fetch SecondaryRPs: $ref: ./examples/CrossRegionRestore/FetchSecondaryRPs.json summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dataprotection Locations Location Fetchsecondaryrecoverypoints definitions: AzureBackupRecoveryPoint: description: Azure backup recoveryPoint discriminator: objectType properties: objectType: type: string required: - objectType title: AzureBackupRecoveryPoint type: object FetchSecondaryRPsRequestParameters: description: "Information about BI whose secondary RecoveryPoints are requested\r\nSource region and\r\nBI ARM path" type: object properties: sourceRegion: description: Source region in which BackupInstance is located type: string sourceBackupInstanceId: description: ARM Path of BackupInstance type: string CloudError: description: An error response from Azure Backup. properties: error: $ref: '#/definitions/Error' title: CloudError x-ms-external: true AzureBackupRecoveryPointResourceList: allOf: - $ref: '#/definitions/DppResourceList' description: Azure backup recoveryPoint resource list properties: value: description: List of resources. items: $ref: '#/definitions/AzureBackupRecoveryPointResource' type: array title: AzureBackupRecoveryPointResourceList type: object AzureBackupRecoveryPointResource: allOf: - $ref: '#/definitions/DppResource' description: Azure backup recoveryPoint resource properties: properties: $ref: '#/definitions/AzureBackupRecoveryPoint' description: AzureBackupRecoveryPointResource properties title: AzureBackupRecoveryPointResource DppResource: description: Resource class properties: id: description: Resource Id represents the complete path to the resource. readOnly: true type: string name: description: Resource name associated with the resource. readOnly: true type: string type: description: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... readOnly: true type: string systemData: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/systemData title: DppResource type: object x-ms-azure-resource: true DppResourceList: description: ListResource properties: nextLink: description: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. type: string title: List Resource type: object 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'