swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector RecoveryPoint API description: Recovery points controller. schemes: - https tags: - name: RecoveryPoint description: Recovery points controller. paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointName} : get: tags: - RecoveryPoint summary: Microsoft Azure Gets The Recovery Point description: Gets the details of the recovery point of a protected item. operationId: microsoftAzureRecoverypointsGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultNameParameter' - $ref: '#/parameters/ProtectedItemNameParameter' - $ref: '#/parameters/RecoveryPointNameParameter' - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/RecoveryPointModel' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: RecoveryPoints_Get: $ref: ./examples/RecoveryPoints_Get.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints : get: tags: - RecoveryPoint summary: Microsoft Azure Lists The Recovery Points description: Gets the list of recovery points of the given protected item. operationId: microsoftAzureRecoverypointsList produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultNameParameter' - $ref: '#/parameters/ProtectedItemNameParameter' - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/RecoveryPointModelCollection' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: RecoveryPoints_List: $ref: ./examples/RecoveryPoints_List.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints : get: tags: - RecoveryPoint description: Returns a list of Recovery Points for a DataSource in a vault. operationId: microsoftAzureRecoverypointsList produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultName' - $ref: '#/parameters/BackupInstanceName' - 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-pageable: nextLinkName: nextLink x-ms-odata: '#/definitions/RecoveryPointsFilters' x-ms-examples: List Recovery Points in a Vault: $ref: ./examples/BackupInstanceOperations/ListRecoveryPoints.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dataprotection Backupvaults Vaultname Backupinstances Backupinstancename Recoverypoints ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId} : get: tags: - RecoveryPoint description: Gets a Recovery Point using recoveryPointId for a Datasource. operationId: microsoftAzureRecoverypointsGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultName' - $ref: '#/parameters/BackupInstanceName' - name: recoveryPointId in: path required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/AzureBackupRecoveryPointResource' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get Recovery Point: $ref: ./examples/BackupInstanceOperations/GetRecoveryPoint.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dataprotection Backupvaults Vaultname Backupinstances Backupinstancename Recoverypoints Recoverypointid ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/move : post: tags: - RecoveryPoint summary: Microsoft Azure Move Recovery Point From One Datastore To Another Store operationId: microsoftAzureMoverecoverypoint produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/VaultName_2' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: fabricName in: path required: true type: string - name: containerName in: path required: true type: string - name: protectedItemName in: path required: true type: string - name: recoveryPointId in: path required: true type: string - name: parameters in: body description: Move Resource Across Tiers Request required: true schema: $ref: '#/definitions/MoveRPAcrossTiersRequest' responses: '202': description: Accepted default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError_2' x-ms-long-running-operation: true x-ms-examples: Trigger RP Move Operation: $ref: ./examples/TriggerRecoveryPointMove_Post.json description: Needs a more full description created. definitions: RecoveryPointModel: description: Recovery point model. required: - properties type: object properties: properties: $ref: '#/definitions/RecoveryPointModelProperties' id: description: Gets or sets the Id of the resource. type: string readOnly: true name: description: Gets or sets the name of the resource. type: string readOnly: true type: description: Gets or sets the type of the resource. type: string readOnly: true systemData: allOf: - $ref: '#/definitions/SystemDataModel' readOnly: true RecoveryPointModelCollection: description: Recovery point model collection. type: object properties: value: description: Gets or sets the list of recovery points. type: array items: $ref: '#/definitions/RecoveryPointModel' x-ms-identifiers: [] nextLink: description: Gets or sets the value of next link. type: string CloudErrorBody: x-ms-external: true properties: code: readOnly: true type: string description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. message: readOnly: true type: string description: A message describing the error, intended to be suitable for display in a user interface. target: readOnly: true type: string description: The target of the particular error. For example, the name of the property in error. details: readOnly: true type: array items: $ref: '#/definitions/CloudErrorBody' x-ms-identifiers: - code description: A list of additional details about the error. 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: An error response from the Container Instance service. 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 SystemDataModel: description: System data required to be defined for Azure resources. type: object properties: createdBy: description: Gets or sets identity that created the resource. type: string createdByType: description: "Gets or sets the type of identity that created the resource: user, application,\r\nmanagedIdentity." type: string createdAt: format: date-time description: Gets or sets the timestamp of resource creation (UTC). type: string lastModifiedBy: description: Gets or sets the identity that last modified the resource. type: string lastModifiedByType: description: "Gets or sets the type of identity that last modified the resource: user, application,\r\nmanagedIdentity." type: string lastModifiedAt: format: date-time description: Gets or sets the timestamp of resource last modification (UTC). type: string 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 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 RecoveryPointModelProperties: description: Recovery point model properties. required: - customProperties - recoveryPointTime - recoveryPointType type: object properties: recoveryPointTime: format: date-time description: Gets or sets the recovery point time. type: string recoveryPointType: description: Gets or sets the recovery point type. enum: - ApplicationConsistent - CrashConsistent type: string x-ms-enum: name: RecoveryPointType modelAsString: true customProperties: $ref: '#/definitions/RecoveryPointModelCustomProperties' AzureBackupRecoveryPoint: description: Azure backup recoveryPoint discriminator: objectType properties: objectType: type: string required: - objectType title: AzureBackupRecoveryPoint type: object 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 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 MoveRPAcrossTiersRequest: type: object properties: objectType: description: Gets the class type. type: string sourceTierType: description: Source tier from where RP needs to be moved enum: - Invalid - InstantRP - HardenedRP - ArchivedRP type: string x-ms-enum: name: RecoveryPointTierType modelAsString: false targetTierType: description: Target tier where RP needs to be moved enum: - Invalid - InstantRP - HardenedRP - ArchivedRP type: string x-ms-enum: name: RecoveryPointTierType modelAsString: false CloudError: description: An error response from Azure Backup. properties: error: $ref: '#/definitions/Error' title: CloudError x-ms-external: true RecoveryPointModelCustomProperties: description: Recovery point model custom properties. required: - instanceType type: object properties: instanceType: description: Gets or sets the instance type. minLength: 1 type: string discriminator: instanceType CloudError_2: x-ms-external: true properties: error: type: object $ref: '#/definitions/CloudErrorBody' description: The error object. description: An error response from the Container Instance service. parameters: BackupInstanceName: name: backupInstanceName in: path description: The name of the backup instance. required: true type: string x-ms-parameter-location: method VaultNameParameter: in: path name: vaultName description: The vault name. required: true type: string pattern: ^[a-zA-Z0-9]*$ x-ms-parameter-location: method VaultName: name: vaultName in: path description: The name of the backup vault. required: true type: string x-ms-parameter-location: method SubscriptionId: name: subscriptionId in: path description: The subscription Id. required: true type: string 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 ApiVersion: name: api-version in: query description: Client Api Version. required: true type: string ProtectedItemNameParameter: in: path name: protectedItemName description: The protected item name. required: true type: string pattern: ^[a-zA-Z0-9]*$ x-ms-parameter-location: method RecoveryPointNameParameter: in: path name: recoveryPointName description: The recovery point name. required: true type: string pattern: ^[a-zA-Z0-9]*$ x-ms-parameter-location: method VaultName_2: name: vaultName in: path description: The name of the recovery services vault. required: true type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'