@@ -2312,14 +2312,16 @@ LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourc
23122312 * @param locationName The location of the database.
23132313 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23142314 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2315+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2316+ * @param top The number of elements to return from the collection.
23152317 * @throws IllegalArgumentException thrown if parameters fail the validation.
23162318 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
23172319 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
23182320 * @return a list of long term retention backups as paginated response with {@link PagedFlux}.
23192321 */
23202322 @ ServiceMethod (returns = ReturnType .COLLECTION )
23212323 PagedFlux <LongTermRetentionBackupInner > listByLocationAsync (String locationName , Boolean onlyLatestPerDatabase ,
2322- DatabaseState databaseState );
2324+ DatabaseState databaseState , String skiptoken , Long top );
23232325
23242326 /**
23252327 * Lists the long term retention backups for a given location.
@@ -2351,6 +2353,8 @@ PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName,
23512353 * @param locationName The location of the database.
23522354 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23532355 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2356+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2357+ * @param top The number of elements to return from the collection.
23542358 * @param context The context to associate with this operation.
23552359 * @throws IllegalArgumentException thrown if parameters fail the validation.
23562360 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2359,7 +2363,7 @@ PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName,
23592363 */
23602364 @ ServiceMethod (returns = ReturnType .COLLECTION )
23612365 PagedIterable <LongTermRetentionBackupInner > listByLocation (String locationName , Boolean onlyLatestPerDatabase ,
2362- DatabaseState databaseState , Context context );
2366+ DatabaseState databaseState , String skiptoken , Long top , Context context );
23632367
23642368 /**
23652369 * Lists the long term retention backups for a given server.
@@ -2368,14 +2372,16 @@ PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName,
23682372 * @param longTermRetentionServerName The name of the server.
23692373 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23702374 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2375+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2376+ * @param top The number of elements to return from the collection.
23712377 * @throws IllegalArgumentException thrown if parameters fail the validation.
23722378 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
23732379 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
23742380 * @return a list of long term retention backups as paginated response with {@link PagedFlux}.
23752381 */
23762382 @ ServiceMethod (returns = ReturnType .COLLECTION )
23772383 PagedFlux <LongTermRetentionBackupInner > listByServerAsync (String locationName , String longTermRetentionServerName ,
2378- Boolean onlyLatestPerDatabase , DatabaseState databaseState );
2384+ Boolean onlyLatestPerDatabase , DatabaseState databaseState , String skiptoken , Long top );
23792385
23802386 /**
23812387 * Lists the long term retention backups for a given server.
@@ -2410,6 +2416,8 @@ PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, S
24102416 * @param longTermRetentionServerName The name of the server.
24112417 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24122418 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2419+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2420+ * @param top The number of elements to return from the collection.
24132421 * @param context The context to associate with this operation.
24142422 * @throws IllegalArgumentException thrown if parameters fail the validation.
24152423 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2418,7 +2426,7 @@ PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, S
24182426 */
24192427 @ ServiceMethod (returns = ReturnType .COLLECTION )
24202428 PagedIterable <LongTermRetentionBackupInner > listByServer (String locationName , String longTermRetentionServerName ,
2421- Boolean onlyLatestPerDatabase , DatabaseState databaseState , Context context );
2429+ Boolean onlyLatestPerDatabase , DatabaseState databaseState , String skiptoken , Long top , Context context );
24222430
24232431 /**
24242432 * Lists the long term retention backups for a given location based on resource group.
@@ -2427,14 +2435,16 @@ PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, St
24272435 * @param locationName The location of the database.
24282436 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24292437 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2438+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2439+ * @param top The number of elements to return from the collection.
24302440 * @throws IllegalArgumentException thrown if parameters fail the validation.
24312441 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
24322442 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
24332443 * @return a list of long term retention backups as paginated response with {@link PagedFlux}.
24342444 */
24352445 @ ServiceMethod (returns = ReturnType .COLLECTION )
24362446 PagedFlux <LongTermRetentionBackupInner > listByResourceGroupLocationAsync (String resourceGroupName ,
2437- String locationName , Boolean onlyLatestPerDatabase , DatabaseState databaseState );
2447+ String locationName , Boolean onlyLatestPerDatabase , DatabaseState databaseState , String skiptoken , Long top );
24382448
24392449 /**
24402450 * Lists the long term retention backups for a given location based on resource group.
@@ -2471,6 +2481,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24712481 * @param locationName The location of the database.
24722482 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24732483 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2484+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2485+ * @param top The number of elements to return from the collection.
24742486 * @param context The context to associate with this operation.
24752487 * @throws IllegalArgumentException thrown if parameters fail the validation.
24762488 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2479,7 +2491,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24792491 */
24802492 @ ServiceMethod (returns = ReturnType .COLLECTION )
24812493 PagedIterable <LongTermRetentionBackupInner > listByResourceGroupLocation (String resourceGroupName ,
2482- String locationName , Boolean onlyLatestPerDatabase , DatabaseState databaseState , Context context );
2494+ String locationName , Boolean onlyLatestPerDatabase , DatabaseState databaseState , String skiptoken , Long top ,
2495+ Context context );
24832496
24842497 /**
24852498 * Lists the long term retention backups for a given server based on resource groups.
@@ -2489,6 +2502,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24892502 * @param longTermRetentionServerName The name of the server.
24902503 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24912504 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2505+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2506+ * @param top The number of elements to return from the collection.
24922507 * @throws IllegalArgumentException thrown if parameters fail the validation.
24932508 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
24942509 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2497,7 +2512,7 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24972512 @ ServiceMethod (returns = ReturnType .COLLECTION )
24982513 PagedFlux <LongTermRetentionBackupInner > listByResourceGroupServerAsync (String resourceGroupName ,
24992514 String locationName , String longTermRetentionServerName , Boolean onlyLatestPerDatabase ,
2500- DatabaseState databaseState );
2515+ DatabaseState databaseState , String skiptoken , Long top );
25012516
25022517 /**
25032518 * Lists the long term retention backups for a given server based on resource groups.
@@ -2537,6 +2552,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String res
25372552 * @param longTermRetentionServerName The name of the server.
25382553 * @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
25392554 * @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2555+ * @param skiptoken An opaque token that identifies a starting point in the collection.
2556+ * @param top The number of elements to return from the collection.
25402557 * @param context The context to associate with this operation.
25412558 * @throws IllegalArgumentException thrown if parameters fail the validation.
25422559 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2546,5 +2563,5 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String res
25462563 @ ServiceMethod (returns = ReturnType .COLLECTION )
25472564 PagedIterable <LongTermRetentionBackupInner > listByResourceGroupServer (String resourceGroupName , String locationName ,
25482565 String longTermRetentionServerName , Boolean onlyLatestPerDatabase , DatabaseState databaseState ,
2549- Context context );
2566+ String skiptoken , Long top , Context context );
25502567}
0 commit comments