Skip to main content

partition_backup_lists

Creates, updates, deletes, gets or lists a partition_backup_lists resource.

Overview

Namepartition_backup_lists
TypeResource
Idazure.service_fabric_dataplane.partition_backup_lists

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ContinuationTokenstring
Itemsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_partition_backup_listselectpartition_id, endpointtimeout, Latest, StartDateTimeFilter, EndDateTimeFilterGets the list of backups available for the specified partition. Returns a list of backups available for the specified partition. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for the partition.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
partition_idstringThe identity of the partition.
EndDateTimeFilterstring (date-time)Specify the end date time till which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, enumeration is done till the most recent backup.
LatestbooleanSpecifies whether to get only the most recent backup available for a partition for the specified time range.
StartDateTimeFilterstring (date-time)Specify the start date time from which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, all backups from the beginning are enumerated.
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

SELECT examples

Gets the list of backups available for the specified partition. Returns a list of backups available for the specified partition. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for the partition.

SELECT
ContinuationToken,
Items
FROM azure.service_fabric_dataplane.partition_backup_lists
WHERE partition_id = '{{ partition_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
AND Latest = '{{ Latest }}'
AND StartDateTimeFilter = '{{ StartDateTimeFilter }}'
AND EndDateTimeFilter = '{{ EndDateTimeFilter }}'
;