swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector BackupProtectedItems API schemes: - https tags: - name: BackupProtectedItems paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems : get: tags: - BackupProtectedItems description: Provides a pageable list of all items that are backed up within a vault. operationId: microsoftAzureBackupprotecteditemsList produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/VaultName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - 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/ProtectedItemResourceList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-odata: '#/definitions/ProtectedItemQueryObject' x-ms-pageable: nextLinkName: nextLink x-ms-examples: List protected items with backupManagementType filter as AzureIaasVm: $ref: ./examples/AzureIaasVm/BackupProtectedItems_List.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Recoveryservices Vaults Vaultname Backupprotecteditems definitions: Resource: description: ARM Resource. type: object properties: id: description: Resource Id represents the complete path to the resource. type: string readOnly: true name: description: Resource name associated with the resource. type: string readOnly: true type: description: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... type: string readOnly: true location: description: Resource location. type: string tags: description: Resource tags. type: object additionalProperties: type: string eTag: description: Optional ETag. type: string x-ms-azure-resource: true CloudError: x-ms-external: true properties: error: type: object $ref: '#/definitions/CloudErrorBody' description: The error object. description: An error response from the Container Instance service. 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. ProtectedItem: description: Base class for backup items. required: - protectedItemType type: object properties: protectedItemType: description: backup item type. type: string backupManagementType: description: Type of backup management for the backed up item. enum: - Invalid - AzureIaasVM - MAB - DPM - AzureBackupServer - AzureSql - AzureStorage - AzureWorkload - DefaultBackup type: string x-ms-enum: name: BackupManagementType modelAsString: true readOnly: true workloadType: description: Type of workload this item represents. enum: - Invalid - VM - FileFolder - AzureSqlDb - SQLDB - Exchange - Sharepoint - VMwareVM - SystemState - Client - GenericDataSource - SQLDataBase - AzureFileShare - SAPHanaDatabase - SAPAseDatabase - SAPHanaDBInstance type: string x-ms-enum: name: DataSourceType modelAsString: true readOnly: true containerName: description: Unique name of container type: string sourceResourceId: description: ARM ID of the resource to be backed up. type: string policyId: description: ID of the backup policy with which this item is backed up. type: string lastRecoveryPoint: format: date-time description: Timestamp when the last (latest) backup copy was created for this backup item. type: string backupSetName: description: Name of the backup set the backup item belongs to type: string createMode: description: Create mode to indicate recovery of existing soft deleted data source or creation of new data source. enum: - Invalid - Default - Recover type: string x-ms-enum: name: CreateMode modelAsString: true deferredDeleteTimeInUTC: format: date-time description: Time for deferred deletion in UTC type: string isScheduledForDeferredDelete: description: Flag to identify whether the DS is scheduled for deferred delete type: boolean deferredDeleteTimeRemaining: description: Time remaining before the DS marked for deferred delete is permanently deleted type: string isDeferredDeleteScheduleUpcoming: description: Flag to identify whether the deferred deleted DS is to be purged soon type: boolean isRehydrate: description: Flag to identify that deferred deleted DS is to be moved into Pause state type: boolean resourceGuardOperationRequests: description: ResourceGuardOperationRequests on which LAC check will be performed type: array items: type: string isArchiveEnabled: description: Flag to identify whether datasource is protected in archive type: boolean policyName: description: Name of the policy used for protection type: string softDeleteRetentionPeriod: format: int32 description: Soft delete retention period in days type: integer discriminator: protectedItemType ProtectedItemResource: description: Base class for backup items. allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/ProtectedItem' description: ProtectedItemResource properties ResourceList: description: Base for all lists of resources. type: object properties: nextLink: description: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. type: string ProtectedItemResourceList: description: List of ProtectedItem resources type: object allOf: - $ref: '#/definitions/ResourceList' properties: value: description: List of resources. type: array items: $ref: '#/definitions/ProtectedItemResource' 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'