@azure/arm-appservice 13.0.3-alpha.20221101.1 → 13.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +2 -8
  2. package/dist/index.js +3061 -1189
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/index.d.ts +1 -0
  7. package/dist-esm/src/index.d.ts.map +1 -1
  8. package/dist-esm/src/index.js +1 -0
  9. package/dist-esm/src/index.js.map +1 -1
  10. package/dist-esm/src/operations/appServiceCertificateOrders.d.ts.map +1 -1
  11. package/dist-esm/src/operations/appServiceCertificateOrders.js +55 -21
  12. package/dist-esm/src/operations/appServiceCertificateOrders.js.map +1 -1
  13. package/dist-esm/src/operations/appServiceEnvironments.d.ts.map +1 -1
  14. package/dist-esm/src/operations/appServiceEnvironments.js +400 -157
  15. package/dist-esm/src/operations/appServiceEnvironments.js.map +1 -1
  16. package/dist-esm/src/operations/appServicePlans.d.ts.map +1 -1
  17. package/dist-esm/src/operations/appServicePlans.js +109 -42
  18. package/dist-esm/src/operations/appServicePlans.js.map +1 -1
  19. package/dist-esm/src/operations/certificateOrdersDiagnostics.d.ts.map +1 -1
  20. package/dist-esm/src/operations/certificateOrdersDiagnostics.js +19 -7
  21. package/dist-esm/src/operations/certificateOrdersDiagnostics.js.map +1 -1
  22. package/dist-esm/src/operations/certificateRegistrationProvider.d.ts.map +1 -1
  23. package/dist-esm/src/operations/certificateRegistrationProvider.js +19 -7
  24. package/dist-esm/src/operations/certificateRegistrationProvider.js.map +1 -1
  25. package/dist-esm/src/operations/certificates.d.ts.map +1 -1
  26. package/dist-esm/src/operations/certificates.js +37 -14
  27. package/dist-esm/src/operations/certificates.js.map +1 -1
  28. package/dist-esm/src/operations/containerApps.d.ts.map +1 -1
  29. package/dist-esm/src/operations/containerApps.js +37 -14
  30. package/dist-esm/src/operations/containerApps.js.map +1 -1
  31. package/dist-esm/src/operations/containerAppsRevisions.d.ts.map +1 -1
  32. package/dist-esm/src/operations/containerAppsRevisions.js +19 -7
  33. package/dist-esm/src/operations/containerAppsRevisions.js.map +1 -1
  34. package/dist-esm/src/operations/deletedWebApps.d.ts.map +1 -1
  35. package/dist-esm/src/operations/deletedWebApps.js +37 -14
  36. package/dist-esm/src/operations/deletedWebApps.js.map +1 -1
  37. package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
  38. package/dist-esm/src/operations/diagnostics.js +163 -63
  39. package/dist-esm/src/operations/diagnostics.js.map +1 -1
  40. package/dist-esm/src/operations/domainRegistrationProvider.d.ts.map +1 -1
  41. package/dist-esm/src/operations/domainRegistrationProvider.js +19 -7
  42. package/dist-esm/src/operations/domainRegistrationProvider.js.map +1 -1
  43. package/dist-esm/src/operations/domains.d.ts.map +1 -1
  44. package/dist-esm/src/operations/domains.js +73 -28
  45. package/dist-esm/src/operations/domains.js.map +1 -1
  46. package/dist-esm/src/operations/kubeEnvironments.d.ts.map +1 -1
  47. package/dist-esm/src/operations/kubeEnvironments.js +37 -14
  48. package/dist-esm/src/operations/kubeEnvironments.js.map +1 -1
  49. package/dist-esm/src/operations/provider.d.ts.map +1 -1
  50. package/dist-esm/src/operations/provider.js +127 -49
  51. package/dist-esm/src/operations/provider.js.map +1 -1
  52. package/dist-esm/src/operations/recommendations.d.ts.map +1 -1
  53. package/dist-esm/src/operations/recommendations.js +91 -35
  54. package/dist-esm/src/operations/recommendations.js.map +1 -1
  55. package/dist-esm/src/operations/resourceHealthMetadataOperations.d.ts.map +1 -1
  56. package/dist-esm/src/operations/resourceHealthMetadataOperations.js +73 -28
  57. package/dist-esm/src/operations/resourceHealthMetadataOperations.js.map +1 -1
  58. package/dist-esm/src/operations/staticSites.d.ts.map +1 -1
  59. package/dist-esm/src/operations/staticSites.js +217 -84
  60. package/dist-esm/src/operations/staticSites.js.map +1 -1
  61. package/dist-esm/src/operations/topLevelDomains.d.ts.map +1 -1
  62. package/dist-esm/src/operations/topLevelDomains.js +37 -14
  63. package/dist-esm/src/operations/topLevelDomains.js.map +1 -1
  64. package/dist-esm/src/operations/webApps.d.ts.map +1 -1
  65. package/dist-esm/src/operations/webApps.js +1171 -455
  66. package/dist-esm/src/operations/webApps.js.map +1 -1
  67. package/dist-esm/src/operations/workflowRunActionRepetitions.d.ts.map +1 -1
  68. package/dist-esm/src/operations/workflowRunActionRepetitions.js +37 -14
  69. package/dist-esm/src/operations/workflowRunActionRepetitions.js.map +1 -1
  70. package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.d.ts.map +1 -1
  71. package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.js +19 -7
  72. package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.js.map +1 -1
  73. package/dist-esm/src/operations/workflowRunActionScopeRepetitions.d.ts.map +1 -1
  74. package/dist-esm/src/operations/workflowRunActionScopeRepetitions.js +19 -7
  75. package/dist-esm/src/operations/workflowRunActionScopeRepetitions.js.map +1 -1
  76. package/dist-esm/src/operations/workflowRunActions.d.ts.map +1 -1
  77. package/dist-esm/src/operations/workflowRunActions.js +37 -14
  78. package/dist-esm/src/operations/workflowRunActions.js.map +1 -1
  79. package/dist-esm/src/operations/workflowRuns.d.ts.map +1 -1
  80. package/dist-esm/src/operations/workflowRuns.js +19 -7
  81. package/dist-esm/src/operations/workflowRuns.js.map +1 -1
  82. package/dist-esm/src/operations/workflowTriggerHistories.d.ts.map +1 -1
  83. package/dist-esm/src/operations/workflowTriggerHistories.js +19 -7
  84. package/dist-esm/src/operations/workflowTriggerHistories.js.map +1 -1
  85. package/dist-esm/src/operations/workflowTriggers.d.ts.map +1 -1
  86. package/dist-esm/src/operations/workflowTriggers.js +19 -7
  87. package/dist-esm/src/operations/workflowTriggers.js.map +1 -1
  88. package/dist-esm/src/operations/workflowVersions.d.ts.map +1 -1
  89. package/dist-esm/src/operations/workflowVersions.js +19 -7
  90. package/dist-esm/src/operations/workflowVersions.js.map +1 -1
  91. package/dist-esm/src/pagingHelper.d.ts +13 -0
  92. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  93. package/dist-esm/src/pagingHelper.js +32 -0
  94. package/dist-esm/src/pagingHelper.js.map +1 -0
  95. package/dist-esm/src/webSiteManagementClient.d.ts.map +1 -1
  96. package/dist-esm/src/webSiteManagementClient.js +128 -59
  97. package/dist-esm/src/webSiteManagementClient.js.map +1 -1
  98. package/dist-esm/test/web_examples.js +2 -2
  99. package/dist-esm/test/web_examples.js.map +1 -1
  100. package/package.json +7 -6
  101. package/review/arm-appservice.api.md +3 -0
  102. package/src/index.ts +1 -0
  103. package/src/operations/appServiceCertificateOrders.ts +71 -29
  104. package/src/operations/appServiceEnvironments.ts +552 -243
  105. package/src/operations/appServicePlans.ts +148 -59
  106. package/src/operations/certificateOrdersDiagnostics.ts +26 -12
  107. package/src/operations/certificateRegistrationProvider.ts +21 -8
  108. package/src/operations/certificates.ts +45 -16
  109. package/src/operations/containerApps.ts +45 -16
  110. package/src/operations/containerAppsRevisions.ts +26 -12
  111. package/src/operations/deletedWebApps.ts +41 -16
  112. package/src/operations/diagnostics.ts +235 -117
  113. package/src/operations/domainRegistrationProvider.ts +21 -8
  114. package/src/operations/domains.ts +95 -37
  115. package/src/operations/kubeEnvironments.ts +45 -16
  116. package/src/operations/provider.ts +146 -56
  117. package/src/operations/recommendations.ts +122 -57
  118. package/src/operations/resourceHealthMetadataOperations.ts +97 -38
  119. package/src/operations/staticSites.ts +296 -144
  120. package/src/operations/topLevelDomains.ts +47 -17
  121. package/src/operations/webApps.ts +1667 -791
  122. package/src/operations/workflowRunActionRepetitions.ts +59 -32
  123. package/src/operations/workflowRunActionRepetitionsRequestHistories.ts +30 -16
  124. package/src/operations/workflowRunActionScopeRepetitions.ts +29 -15
  125. package/src/operations/workflowRunActions.ts +57 -30
  126. package/src/operations/workflowRuns.ts +22 -13
  127. package/src/operations/workflowTriggerHistories.ts +28 -14
  128. package/src/operations/workflowTriggers.ts +22 -13
  129. package/src/operations/workflowVersions.ts +22 -13
  130. package/src/pagingHelper.ts +39 -0
  131. package/src/webSiteManagementClient.ts +151 -71
  132. package/types/arm-appservice.d.ts +9 -0
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { WebApps } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -18,162 +19,225 @@ import {
18
19
  Site,
19
20
  WebAppsListNextOptionalParams,
20
21
  WebAppsListOptionalParams,
22
+ WebAppsListResponse,
21
23
  WebAppsListByResourceGroupNextOptionalParams,
22
24
  WebAppsListByResourceGroupOptionalParams,
25
+ WebAppsListByResourceGroupResponse,
23
26
  BackupItem,
24
27
  WebAppsListBackupsNextOptionalParams,
25
28
  WebAppsListBackupsOptionalParams,
29
+ WebAppsListBackupsResponse,
26
30
  CsmPublishingCredentialsPoliciesEntity,
27
31
  WebAppsListBasicPublishingCredentialsPoliciesNextOptionalParams,
28
32
  WebAppsListBasicPublishingCredentialsPoliciesOptionalParams,
33
+ WebAppsListBasicPublishingCredentialsPoliciesResponse,
29
34
  SiteConfigResource,
30
35
  WebAppsListConfigurationsNextOptionalParams,
31
36
  WebAppsListConfigurationsOptionalParams,
37
+ WebAppsListConfigurationsResponse,
32
38
  ApiKVReference,
33
39
  WebAppsGetAppSettingsKeyVaultReferencesNextOptionalParams,
34
40
  WebAppsGetAppSettingsKeyVaultReferencesOptionalParams,
41
+ WebAppsGetAppSettingsKeyVaultReferencesResponse,
35
42
  WebAppsGetSiteConnectionStringKeyVaultReferencesNextOptionalParams,
36
43
  WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams,
44
+ WebAppsGetSiteConnectionStringKeyVaultReferencesResponse,
37
45
  SiteConfigurationSnapshotInfo,
38
46
  WebAppsListConfigurationSnapshotInfoNextOptionalParams,
39
47
  WebAppsListConfigurationSnapshotInfoOptionalParams,
48
+ WebAppsListConfigurationSnapshotInfoResponse,
40
49
  ContinuousWebJob,
41
50
  WebAppsListContinuousWebJobsNextOptionalParams,
42
51
  WebAppsListContinuousWebJobsOptionalParams,
52
+ WebAppsListContinuousWebJobsResponse,
43
53
  CsmDeploymentStatus,
44
54
  WebAppsListProductionSiteDeploymentStatusesNextOptionalParams,
45
55
  WebAppsListProductionSiteDeploymentStatusesOptionalParams,
56
+ WebAppsListProductionSiteDeploymentStatusesResponse,
46
57
  Deployment,
47
58
  WebAppsListDeploymentsNextOptionalParams,
48
59
  WebAppsListDeploymentsOptionalParams,
60
+ WebAppsListDeploymentsResponse,
49
61
  Identifier,
50
62
  WebAppsListDomainOwnershipIdentifiersNextOptionalParams,
51
63
  WebAppsListDomainOwnershipIdentifiersOptionalParams,
64
+ WebAppsListDomainOwnershipIdentifiersResponse,
52
65
  FunctionEnvelope,
53
66
  WebAppsListFunctionsNextOptionalParams,
54
67
  WebAppsListFunctionsOptionalParams,
68
+ WebAppsListFunctionsResponse,
55
69
  HostNameBinding,
56
70
  WebAppsListHostNameBindingsNextOptionalParams,
57
71
  WebAppsListHostNameBindingsOptionalParams,
72
+ WebAppsListHostNameBindingsResponse,
58
73
  WebSiteInstanceStatus,
59
74
  WebAppsListInstanceIdentifiersNextOptionalParams,
60
75
  WebAppsListInstanceIdentifiersOptionalParams,
76
+ WebAppsListInstanceIdentifiersResponse,
61
77
  ProcessInfo,
62
78
  WebAppsListInstanceProcessesNextOptionalParams,
63
79
  WebAppsListInstanceProcessesOptionalParams,
80
+ WebAppsListInstanceProcessesResponse,
64
81
  ProcessModuleInfo,
65
82
  WebAppsListInstanceProcessModulesNextOptionalParams,
66
83
  WebAppsListInstanceProcessModulesOptionalParams,
84
+ WebAppsListInstanceProcessModulesResponse,
67
85
  ProcessThreadInfo,
68
86
  WebAppsListInstanceProcessThreadsNextOptionalParams,
69
87
  WebAppsListInstanceProcessThreadsOptionalParams,
88
+ WebAppsListInstanceProcessThreadsResponse,
70
89
  WebAppsListSiteBackupsNextOptionalParams,
71
90
  WebAppsListSiteBackupsOptionalParams,
91
+ WebAppsListSiteBackupsResponse,
72
92
  PerfMonResponse,
73
93
  WebAppsListPerfMonCountersNextOptionalParams,
74
94
  WebAppsListPerfMonCountersOptionalParams,
95
+ WebAppsListPerfMonCountersResponse,
75
96
  RemotePrivateEndpointConnectionARMResource,
76
97
  WebAppsGetPrivateEndpointConnectionListNextOptionalParams,
77
98
  WebAppsGetPrivateEndpointConnectionListOptionalParams,
99
+ WebAppsGetPrivateEndpointConnectionListResponse,
78
100
  WebAppsListProcessesNextOptionalParams,
79
101
  WebAppsListProcessesOptionalParams,
102
+ WebAppsListProcessesResponse,
80
103
  WebAppsListProcessModulesNextOptionalParams,
81
104
  WebAppsListProcessModulesOptionalParams,
105
+ WebAppsListProcessModulesResponse,
82
106
  WebAppsListProcessThreadsNextOptionalParams,
83
107
  WebAppsListProcessThreadsOptionalParams,
108
+ WebAppsListProcessThreadsResponse,
84
109
  PublicCertificate,
85
110
  WebAppsListPublicCertificatesNextOptionalParams,
86
111
  WebAppsListPublicCertificatesOptionalParams,
112
+ WebAppsListPublicCertificatesResponse,
87
113
  SiteExtensionInfo,
88
114
  WebAppsListSiteExtensionsNextOptionalParams,
89
115
  WebAppsListSiteExtensionsOptionalParams,
116
+ WebAppsListSiteExtensionsResponse,
90
117
  WebAppsListSlotsNextOptionalParams,
91
118
  WebAppsListSlotsOptionalParams,
119
+ WebAppsListSlotsResponse,
92
120
  WebAppsListBackupsSlotNextOptionalParams,
93
121
  WebAppsListBackupsSlotOptionalParams,
122
+ WebAppsListBackupsSlotResponse,
94
123
  WebAppsListBasicPublishingCredentialsPoliciesSlotNextOptionalParams,
95
124
  WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams,
125
+ WebAppsListBasicPublishingCredentialsPoliciesSlotResponse,
96
126
  WebAppsListConfigurationsSlotNextOptionalParams,
97
127
  WebAppsListConfigurationsSlotOptionalParams,
128
+ WebAppsListConfigurationsSlotResponse,
98
129
  WebAppsGetAppSettingsKeyVaultReferencesSlotNextOptionalParams,
99
130
  WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams,
131
+ WebAppsGetAppSettingsKeyVaultReferencesSlotResponse,
100
132
  WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextOptionalParams,
101
133
  WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams,
134
+ WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse,
102
135
  WebAppsListConfigurationSnapshotInfoSlotNextOptionalParams,
103
136
  WebAppsListConfigurationSnapshotInfoSlotOptionalParams,
137
+ WebAppsListConfigurationSnapshotInfoSlotResponse,
104
138
  WebAppsListContinuousWebJobsSlotNextOptionalParams,
105
139
  WebAppsListContinuousWebJobsSlotOptionalParams,
140
+ WebAppsListContinuousWebJobsSlotResponse,
106
141
  WebAppsListSlotSiteDeploymentStatusesSlotNextOptionalParams,
107
142
  WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams,
143
+ WebAppsListSlotSiteDeploymentStatusesSlotResponse,
108
144
  WebAppsListDeploymentsSlotNextOptionalParams,
109
145
  WebAppsListDeploymentsSlotOptionalParams,
146
+ WebAppsListDeploymentsSlotResponse,
110
147
  WebAppsListDomainOwnershipIdentifiersSlotNextOptionalParams,
111
148
  WebAppsListDomainOwnershipIdentifiersSlotOptionalParams,
149
+ WebAppsListDomainOwnershipIdentifiersSlotResponse,
112
150
  WebAppsListInstanceFunctionsSlotNextOptionalParams,
113
151
  WebAppsListInstanceFunctionsSlotOptionalParams,
152
+ WebAppsListInstanceFunctionsSlotResponse,
114
153
  WebAppsListHostNameBindingsSlotNextOptionalParams,
115
154
  WebAppsListHostNameBindingsSlotOptionalParams,
155
+ WebAppsListHostNameBindingsSlotResponse,
116
156
  WebAppsListInstanceIdentifiersSlotNextOptionalParams,
117
157
  WebAppsListInstanceIdentifiersSlotOptionalParams,
158
+ WebAppsListInstanceIdentifiersSlotResponse,
118
159
  WebAppsListInstanceProcessesSlotNextOptionalParams,
119
160
  WebAppsListInstanceProcessesSlotOptionalParams,
161
+ WebAppsListInstanceProcessesSlotResponse,
120
162
  WebAppsListInstanceProcessModulesSlotNextOptionalParams,
121
163
  WebAppsListInstanceProcessModulesSlotOptionalParams,
164
+ WebAppsListInstanceProcessModulesSlotResponse,
122
165
  WebAppsListInstanceProcessThreadsSlotNextOptionalParams,
123
166
  WebAppsListInstanceProcessThreadsSlotOptionalParams,
167
+ WebAppsListInstanceProcessThreadsSlotResponse,
124
168
  WebAppsListSiteBackupsSlotNextOptionalParams,
125
169
  WebAppsListSiteBackupsSlotOptionalParams,
170
+ WebAppsListSiteBackupsSlotResponse,
126
171
  WebAppsListPerfMonCountersSlotNextOptionalParams,
127
172
  WebAppsListPerfMonCountersSlotOptionalParams,
173
+ WebAppsListPerfMonCountersSlotResponse,
128
174
  WebAppsGetPrivateEndpointConnectionListSlotNextOptionalParams,
129
175
  WebAppsGetPrivateEndpointConnectionListSlotOptionalParams,
176
+ WebAppsGetPrivateEndpointConnectionListSlotResponse,
130
177
  WebAppsListProcessesSlotNextOptionalParams,
131
178
  WebAppsListProcessesSlotOptionalParams,
179
+ WebAppsListProcessesSlotResponse,
132
180
  WebAppsListProcessModulesSlotNextOptionalParams,
133
181
  WebAppsListProcessModulesSlotOptionalParams,
182
+ WebAppsListProcessModulesSlotResponse,
134
183
  WebAppsListProcessThreadsSlotNextOptionalParams,
135
184
  WebAppsListProcessThreadsSlotOptionalParams,
185
+ WebAppsListProcessThreadsSlotResponse,
136
186
  WebAppsListPublicCertificatesSlotNextOptionalParams,
137
187
  WebAppsListPublicCertificatesSlotOptionalParams,
188
+ WebAppsListPublicCertificatesSlotResponse,
138
189
  WebAppsListSiteExtensionsSlotNextOptionalParams,
139
190
  WebAppsListSiteExtensionsSlotOptionalParams,
191
+ WebAppsListSiteExtensionsSlotResponse,
140
192
  SlotDifference,
141
193
  CsmSlotEntity,
142
194
  WebAppsListSlotDifferencesSlotNextOptionalParams,
143
195
  WebAppsListSlotDifferencesSlotOptionalParams,
196
+ WebAppsListSlotDifferencesSlotResponse,
144
197
  Snapshot,
145
198
  WebAppsListSnapshotsSlotNextOptionalParams,
146
199
  WebAppsListSnapshotsSlotOptionalParams,
200
+ WebAppsListSnapshotsSlotResponse,
147
201
  WebAppsListSnapshotsFromDRSecondarySlotNextOptionalParams,
148
202
  WebAppsListSnapshotsFromDRSecondarySlotOptionalParams,
203
+ WebAppsListSnapshotsFromDRSecondarySlotResponse,
149
204
  TriggeredWebJob,
150
205
  WebAppsListTriggeredWebJobsSlotNextOptionalParams,
151
206
  WebAppsListTriggeredWebJobsSlotOptionalParams,
207
+ WebAppsListTriggeredWebJobsSlotResponse,
152
208
  TriggeredJobHistory,
153
209
  WebAppsListTriggeredWebJobHistorySlotNextOptionalParams,
154
210
  WebAppsListTriggeredWebJobHistorySlotOptionalParams,
211
+ WebAppsListTriggeredWebJobHistorySlotResponse,
155
212
  CsmUsageQuota,
156
213
  WebAppsListUsagesSlotNextOptionalParams,
157
214
  WebAppsListUsagesSlotOptionalParams,
215
+ WebAppsListUsagesSlotResponse,
158
216
  WebJob,
159
217
  WebAppsListWebJobsSlotNextOptionalParams,
160
218
  WebAppsListWebJobsSlotOptionalParams,
219
+ WebAppsListWebJobsSlotResponse,
161
220
  WebAppsListSlotDifferencesFromProductionNextOptionalParams,
162
221
  WebAppsListSlotDifferencesFromProductionOptionalParams,
222
+ WebAppsListSlotDifferencesFromProductionResponse,
163
223
  WebAppsListSnapshotsNextOptionalParams,
164
224
  WebAppsListSnapshotsOptionalParams,
225
+ WebAppsListSnapshotsResponse,
165
226
  WebAppsListSnapshotsFromDRSecondaryNextOptionalParams,
166
227
  WebAppsListSnapshotsFromDRSecondaryOptionalParams,
228
+ WebAppsListSnapshotsFromDRSecondaryResponse,
167
229
  WebAppsListTriggeredWebJobsNextOptionalParams,
168
230
  WebAppsListTriggeredWebJobsOptionalParams,
231
+ WebAppsListTriggeredWebJobsResponse,
169
232
  WebAppsListTriggeredWebJobHistoryNextOptionalParams,
170
233
  WebAppsListTriggeredWebJobHistoryOptionalParams,
234
+ WebAppsListTriggeredWebJobHistoryResponse,
171
235
  WebAppsListUsagesNextOptionalParams,
172
236
  WebAppsListUsagesOptionalParams,
237
+ WebAppsListUsagesResponse,
173
238
  WebAppsListWebJobsNextOptionalParams,
174
239
  WebAppsListWebJobsOptionalParams,
175
- WebAppsListResponse,
176
- WebAppsListByResourceGroupResponse,
240
+ WebAppsListWebJobsResponse,
177
241
  WebAppsGetOptionalParams,
178
242
  WebAppsGetResponse,
179
243
  WebAppsCreateOrUpdateOptionalParams,
@@ -188,7 +252,6 @@ import {
188
252
  BackupRequest,
189
253
  WebAppsBackupOptionalParams,
190
254
  WebAppsBackupResponse,
191
- WebAppsListBackupsResponse,
192
255
  WebAppsGetBackupStatusOptionalParams,
193
256
  WebAppsGetBackupStatusResponse,
194
257
  WebAppsDeleteBackupOptionalParams,
@@ -196,7 +259,6 @@ import {
196
259
  WebAppsListBackupStatusSecretsResponse,
197
260
  RestoreRequest,
198
261
  WebAppsRestoreOptionalParams,
199
- WebAppsListBasicPublishingCredentialsPoliciesResponse,
200
262
  WebAppsGetFtpAllowedOptionalParams,
201
263
  WebAppsGetFtpAllowedResponse,
202
264
  WebAppsUpdateFtpAllowedOptionalParams,
@@ -205,7 +267,6 @@ import {
205
267
  WebAppsGetScmAllowedResponse,
206
268
  WebAppsUpdateScmAllowedOptionalParams,
207
269
  WebAppsUpdateScmAllowedResponse,
208
- WebAppsListConfigurationsResponse,
209
270
  StringDictionary,
210
271
  WebAppsUpdateApplicationSettingsOptionalParams,
211
272
  WebAppsUpdateApplicationSettingsResponse,
@@ -233,10 +294,8 @@ import {
233
294
  WebAppsDeleteBackupConfigurationOptionalParams,
234
295
  WebAppsGetBackupConfigurationOptionalParams,
235
296
  WebAppsGetBackupConfigurationResponse,
236
- WebAppsGetAppSettingsKeyVaultReferencesResponse,
237
297
  WebAppsGetAppSettingKeyVaultReferenceOptionalParams,
238
298
  WebAppsGetAppSettingKeyVaultReferenceResponse,
239
- WebAppsGetSiteConnectionStringKeyVaultReferencesResponse,
240
299
  WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams,
241
300
  WebAppsGetSiteConnectionStringKeyVaultReferenceResponse,
242
301
  ConnectionStringDictionary,
@@ -271,7 +330,6 @@ import {
271
330
  WebAppsCreateOrUpdateConfigurationResponse,
272
331
  WebAppsUpdateConfigurationOptionalParams,
273
332
  WebAppsUpdateConfigurationResponse,
274
- WebAppsListConfigurationSnapshotInfoResponse,
275
333
  WebAppsGetConfigurationSnapshotOptionalParams,
276
334
  WebAppsGetConfigurationSnapshotResponse,
277
335
  WebAppsRecoverSiteConfigurationSnapshotOptionalParams,
@@ -279,16 +337,13 @@ import {
279
337
  WebAppsGetWebSiteContainerLogsResponse,
280
338
  WebAppsGetContainerLogsZipOptionalParams,
281
339
  WebAppsGetContainerLogsZipResponse,
282
- WebAppsListContinuousWebJobsResponse,
283
340
  WebAppsGetContinuousWebJobOptionalParams,
284
341
  WebAppsGetContinuousWebJobResponse,
285
342
  WebAppsDeleteContinuousWebJobOptionalParams,
286
343
  WebAppsStartContinuousWebJobOptionalParams,
287
344
  WebAppsStopContinuousWebJobOptionalParams,
288
- WebAppsListProductionSiteDeploymentStatusesResponse,
289
345
  WebAppsGetProductionSiteDeploymentStatusOptionalParams,
290
346
  WebAppsGetProductionSiteDeploymentStatusResponse,
291
- WebAppsListDeploymentsResponse,
292
347
  WebAppsGetDeploymentOptionalParams,
293
348
  WebAppsGetDeploymentResponse,
294
349
  WebAppsCreateDeploymentOptionalParams,
@@ -298,7 +353,6 @@ import {
298
353
  WebAppsListDeploymentLogResponse,
299
354
  WebAppsDiscoverBackupOptionalParams,
300
355
  WebAppsDiscoverBackupResponse,
301
- WebAppsListDomainOwnershipIdentifiersResponse,
302
356
  WebAppsGetDomainOwnershipIdentifierOptionalParams,
303
357
  WebAppsGetDomainOwnershipIdentifierResponse,
304
358
  WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams,
@@ -317,7 +371,6 @@ import {
317
371
  WebAppsGetOneDeployStatusResponse,
318
372
  WebAppsCreateOneDeployOperationOptionalParams,
319
373
  WebAppsCreateOneDeployOperationResponse,
320
- WebAppsListFunctionsResponse,
321
374
  WebAppsGetFunctionsAdminTokenOptionalParams,
322
375
  WebAppsGetFunctionsAdminTokenResponse,
323
376
  WebAppsGetFunctionOptionalParams,
@@ -340,7 +393,6 @@ import {
340
393
  WebAppsCreateOrUpdateHostSecretOptionalParams,
341
394
  WebAppsCreateOrUpdateHostSecretResponse,
342
395
  WebAppsDeleteHostSecretOptionalParams,
343
- WebAppsListHostNameBindingsResponse,
344
396
  WebAppsGetHostNameBindingOptionalParams,
345
397
  WebAppsGetHostNameBindingResponse,
346
398
  WebAppsCreateOrUpdateHostNameBindingOptionalParams,
@@ -366,7 +418,6 @@ import {
366
418
  WebAppsDeleteRelayServiceConnectionOptionalParams,
367
419
  WebAppsUpdateRelayServiceConnectionOptionalParams,
368
420
  WebAppsUpdateRelayServiceConnectionResponse,
369
- WebAppsListInstanceIdentifiersResponse,
370
421
  WebAppsGetInstanceInfoOptionalParams,
371
422
  WebAppsGetInstanceInfoResponse,
372
423
  WebAppsGetInstanceMsDeployStatusOptionalParams,
@@ -375,19 +426,15 @@ import {
375
426
  WebAppsCreateInstanceMSDeployOperationResponse,
376
427
  WebAppsGetInstanceMSDeployLogOptionalParams,
377
428
  WebAppsGetInstanceMSDeployLogResponse,
378
- WebAppsListInstanceProcessesResponse,
379
429
  WebAppsGetInstanceProcessOptionalParams,
380
430
  WebAppsGetInstanceProcessResponse,
381
431
  WebAppsDeleteInstanceProcessOptionalParams,
382
432
  WebAppsGetInstanceProcessDumpOptionalParams,
383
433
  WebAppsGetInstanceProcessDumpResponse,
384
- WebAppsListInstanceProcessModulesResponse,
385
434
  WebAppsGetInstanceProcessModuleOptionalParams,
386
435
  WebAppsGetInstanceProcessModuleResponse,
387
- WebAppsListInstanceProcessThreadsResponse,
388
436
  WebAppsIsCloneableOptionalParams,
389
437
  WebAppsIsCloneableResponse,
390
- WebAppsListSiteBackupsResponse,
391
438
  WebAppsListSyncFunctionTriggersOptionalParams,
392
439
  WebAppsListSyncFunctionTriggersResponse,
393
440
  StorageMigrationOptions,
@@ -422,7 +469,6 @@ import {
422
469
  WebAppsGetNetworkTracesV2OptionalParams,
423
470
  WebAppsGetNetworkTracesV2Response,
424
471
  WebAppsGenerateNewSitePublishingPasswordOptionalParams,
425
- WebAppsListPerfMonCountersResponse,
426
472
  WebAppsGetSitePhpErrorLogFlagOptionalParams,
427
473
  WebAppsGetSitePhpErrorLogFlagResponse,
428
474
  WebAppsListPremierAddOnsOptionalParams,
@@ -441,7 +487,6 @@ import {
441
487
  PrivateAccess,
442
488
  WebAppsPutPrivateAccessVnetOptionalParams,
443
489
  WebAppsPutPrivateAccessVnetResponse,
444
- WebAppsGetPrivateEndpointConnectionListResponse,
445
490
  WebAppsGetPrivateEndpointConnectionOptionalParams,
446
491
  WebAppsGetPrivateEndpointConnectionResponse,
447
492
  PrivateLinkConnectionApprovalRequestResource,
@@ -451,17 +496,13 @@ import {
451
496
  WebAppsDeletePrivateEndpointConnectionResponse,
452
497
  WebAppsGetPrivateLinkResourcesOptionalParams,
453
498
  WebAppsGetPrivateLinkResourcesResponse,
454
- WebAppsListProcessesResponse,
455
499
  WebAppsGetProcessOptionalParams,
456
500
  WebAppsGetProcessResponse,
457
501
  WebAppsDeleteProcessOptionalParams,
458
502
  WebAppsGetProcessDumpOptionalParams,
459
503
  WebAppsGetProcessDumpResponse,
460
- WebAppsListProcessModulesResponse,
461
504
  WebAppsGetProcessModuleOptionalParams,
462
505
  WebAppsGetProcessModuleResponse,
463
- WebAppsListProcessThreadsResponse,
464
- WebAppsListPublicCertificatesResponse,
465
506
  WebAppsGetPublicCertificateOptionalParams,
466
507
  WebAppsGetPublicCertificateResponse,
467
508
  WebAppsCreateOrUpdatePublicCertificateOptionalParams,
@@ -477,13 +518,11 @@ import {
477
518
  WebAppsRestoreFromDeletedAppOptionalParams,
478
519
  SnapshotRestoreRequest,
479
520
  WebAppsRestoreSnapshotOptionalParams,
480
- WebAppsListSiteExtensionsResponse,
481
521
  WebAppsGetSiteExtensionOptionalParams,
482
522
  WebAppsGetSiteExtensionResponse,
483
523
  WebAppsInstallSiteExtensionOptionalParams,
484
524
  WebAppsInstallSiteExtensionResponse,
485
525
  WebAppsDeleteSiteExtensionOptionalParams,
486
- WebAppsListSlotsResponse,
487
526
  WebAppsGetSlotOptionalParams,
488
527
  WebAppsGetSlotResponse,
489
528
  WebAppsCreateOrUpdateSlotOptionalParams,
@@ -496,14 +535,12 @@ import {
496
535
  WebAppsApplySlotConfigurationSlotOptionalParams,
497
536
  WebAppsBackupSlotOptionalParams,
498
537
  WebAppsBackupSlotResponse,
499
- WebAppsListBackupsSlotResponse,
500
538
  WebAppsGetBackupStatusSlotOptionalParams,
501
539
  WebAppsGetBackupStatusSlotResponse,
502
540
  WebAppsDeleteBackupSlotOptionalParams,
503
541
  WebAppsListBackupStatusSecretsSlotOptionalParams,
504
542
  WebAppsListBackupStatusSecretsSlotResponse,
505
543
  WebAppsRestoreSlotOptionalParams,
506
- WebAppsListBasicPublishingCredentialsPoliciesSlotResponse,
507
544
  WebAppsGetFtpAllowedSlotOptionalParams,
508
545
  WebAppsGetFtpAllowedSlotResponse,
509
546
  WebAppsUpdateFtpAllowedSlotOptionalParams,
@@ -512,7 +549,6 @@ import {
512
549
  WebAppsGetScmAllowedSlotResponse,
513
550
  WebAppsUpdateScmAllowedSlotOptionalParams,
514
551
  WebAppsUpdateScmAllowedSlotResponse,
515
- WebAppsListConfigurationsSlotResponse,
516
552
  WebAppsUpdateApplicationSettingsSlotOptionalParams,
517
553
  WebAppsUpdateApplicationSettingsSlotResponse,
518
554
  WebAppsListApplicationSettingsSlotOptionalParams,
@@ -536,10 +572,8 @@ import {
536
572
  WebAppsDeleteBackupConfigurationSlotOptionalParams,
537
573
  WebAppsGetBackupConfigurationSlotOptionalParams,
538
574
  WebAppsGetBackupConfigurationSlotResponse,
539
- WebAppsGetAppSettingsKeyVaultReferencesSlotResponse,
540
575
  WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams,
541
576
  WebAppsGetAppSettingKeyVaultReferenceSlotResponse,
542
- WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse,
543
577
  WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams,
544
578
  WebAppsGetSiteConnectionStringKeyVaultReferenceSlotResponse,
545
579
  WebAppsUpdateConnectionStringsSlotOptionalParams,
@@ -566,7 +600,6 @@ import {
566
600
  WebAppsCreateOrUpdateConfigurationSlotResponse,
567
601
  WebAppsUpdateConfigurationSlotOptionalParams,
568
602
  WebAppsUpdateConfigurationSlotResponse,
569
- WebAppsListConfigurationSnapshotInfoSlotResponse,
570
603
  WebAppsGetConfigurationSnapshotSlotOptionalParams,
571
604
  WebAppsGetConfigurationSnapshotSlotResponse,
572
605
  WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams,
@@ -574,16 +607,13 @@ import {
574
607
  WebAppsGetWebSiteContainerLogsSlotResponse,
575
608
  WebAppsGetContainerLogsZipSlotOptionalParams,
576
609
  WebAppsGetContainerLogsZipSlotResponse,
577
- WebAppsListContinuousWebJobsSlotResponse,
578
610
  WebAppsGetContinuousWebJobSlotOptionalParams,
579
611
  WebAppsGetContinuousWebJobSlotResponse,
580
612
  WebAppsDeleteContinuousWebJobSlotOptionalParams,
581
613
  WebAppsStartContinuousWebJobSlotOptionalParams,
582
614
  WebAppsStopContinuousWebJobSlotOptionalParams,
583
- WebAppsListSlotSiteDeploymentStatusesSlotResponse,
584
615
  WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams,
585
616
  WebAppsGetSlotSiteDeploymentStatusSlotResponse,
586
- WebAppsListDeploymentsSlotResponse,
587
617
  WebAppsGetDeploymentSlotOptionalParams,
588
618
  WebAppsGetDeploymentSlotResponse,
589
619
  WebAppsCreateDeploymentSlotOptionalParams,
@@ -593,7 +623,6 @@ import {
593
623
  WebAppsListDeploymentLogSlotResponse,
594
624
  WebAppsDiscoverBackupSlotOptionalParams,
595
625
  WebAppsDiscoverBackupSlotResponse,
596
- WebAppsListDomainOwnershipIdentifiersSlotResponse,
597
626
  WebAppsGetDomainOwnershipIdentifierSlotOptionalParams,
598
627
  WebAppsGetDomainOwnershipIdentifierSlotResponse,
599
628
  WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams,
@@ -607,7 +636,6 @@ import {
607
636
  WebAppsCreateMSDeployOperationSlotResponse,
608
637
  WebAppsGetMSDeployLogSlotOptionalParams,
609
638
  WebAppsGetMSDeployLogSlotResponse,
610
- WebAppsListInstanceFunctionsSlotResponse,
611
639
  WebAppsGetFunctionsAdminTokenSlotOptionalParams,
612
640
  WebAppsGetFunctionsAdminTokenSlotResponse,
613
641
  WebAppsGetInstanceFunctionSlotOptionalParams,
@@ -629,7 +657,6 @@ import {
629
657
  WebAppsCreateOrUpdateHostSecretSlotOptionalParams,
630
658
  WebAppsCreateOrUpdateHostSecretSlotResponse,
631
659
  WebAppsDeleteHostSecretSlotOptionalParams,
632
- WebAppsListHostNameBindingsSlotResponse,
633
660
  WebAppsGetHostNameBindingSlotOptionalParams,
634
661
  WebAppsGetHostNameBindingSlotResponse,
635
662
  WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams,
@@ -653,7 +680,6 @@ import {
653
680
  WebAppsDeleteRelayServiceConnectionSlotOptionalParams,
654
681
  WebAppsUpdateRelayServiceConnectionSlotOptionalParams,
655
682
  WebAppsUpdateRelayServiceConnectionSlotResponse,
656
- WebAppsListInstanceIdentifiersSlotResponse,
657
683
  WebAppsGetInstanceInfoSlotOptionalParams,
658
684
  WebAppsGetInstanceInfoSlotResponse,
659
685
  WebAppsGetInstanceMsDeployStatusSlotOptionalParams,
@@ -662,19 +688,15 @@ import {
662
688
  WebAppsCreateInstanceMSDeployOperationSlotResponse,
663
689
  WebAppsGetInstanceMSDeployLogSlotOptionalParams,
664
690
  WebAppsGetInstanceMSDeployLogSlotResponse,
665
- WebAppsListInstanceProcessesSlotResponse,
666
691
  WebAppsGetInstanceProcessSlotOptionalParams,
667
692
  WebAppsGetInstanceProcessSlotResponse,
668
693
  WebAppsDeleteInstanceProcessSlotOptionalParams,
669
694
  WebAppsGetInstanceProcessDumpSlotOptionalParams,
670
695
  WebAppsGetInstanceProcessDumpSlotResponse,
671
- WebAppsListInstanceProcessModulesSlotResponse,
672
696
  WebAppsGetInstanceProcessModuleSlotOptionalParams,
673
697
  WebAppsGetInstanceProcessModuleSlotResponse,
674
- WebAppsListInstanceProcessThreadsSlotResponse,
675
698
  WebAppsIsCloneableSlotOptionalParams,
676
699
  WebAppsIsCloneableSlotResponse,
677
- WebAppsListSiteBackupsSlotResponse,
678
700
  WebAppsListSyncFunctionTriggersSlotOptionalParams,
679
701
  WebAppsListSyncFunctionTriggersSlotResponse,
680
702
  WebAppsGetMigrateMySqlStatusSlotOptionalParams,
@@ -702,7 +724,6 @@ import {
702
724
  WebAppsGetNetworkTracesSlotV2OptionalParams,
703
725
  WebAppsGetNetworkTracesSlotV2Response,
704
726
  WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams,
705
- WebAppsListPerfMonCountersSlotResponse,
706
727
  WebAppsGetSitePhpErrorLogFlagSlotOptionalParams,
707
728
  WebAppsGetSitePhpErrorLogFlagSlotResponse,
708
729
  WebAppsListPremierAddOnsSlotOptionalParams,
@@ -718,7 +739,6 @@ import {
718
739
  WebAppsGetPrivateAccessSlotResponse,
719
740
  WebAppsPutPrivateAccessVnetSlotOptionalParams,
720
741
  WebAppsPutPrivateAccessVnetSlotResponse,
721
- WebAppsGetPrivateEndpointConnectionListSlotResponse,
722
742
  WebAppsGetPrivateEndpointConnectionSlotOptionalParams,
723
743
  WebAppsGetPrivateEndpointConnectionSlotResponse,
724
744
  WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams,
@@ -727,17 +747,13 @@ import {
727
747
  WebAppsDeletePrivateEndpointConnectionSlotResponse,
728
748
  WebAppsGetPrivateLinkResourcesSlotOptionalParams,
729
749
  WebAppsGetPrivateLinkResourcesSlotResponse,
730
- WebAppsListProcessesSlotResponse,
731
750
  WebAppsGetProcessSlotOptionalParams,
732
751
  WebAppsGetProcessSlotResponse,
733
752
  WebAppsDeleteProcessSlotOptionalParams,
734
753
  WebAppsGetProcessDumpSlotOptionalParams,
735
754
  WebAppsGetProcessDumpSlotResponse,
736
- WebAppsListProcessModulesSlotResponse,
737
755
  WebAppsGetProcessModuleSlotOptionalParams,
738
756
  WebAppsGetProcessModuleSlotResponse,
739
- WebAppsListProcessThreadsSlotResponse,
740
- WebAppsListPublicCertificatesSlotResponse,
741
757
  WebAppsGetPublicCertificateSlotOptionalParams,
742
758
  WebAppsGetPublicCertificateSlotResponse,
743
759
  WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams,
@@ -750,16 +766,12 @@ import {
750
766
  WebAppsRestoreFromBackupBlobSlotOptionalParams,
751
767
  WebAppsRestoreFromDeletedAppSlotOptionalParams,
752
768
  WebAppsRestoreSnapshotSlotOptionalParams,
753
- WebAppsListSiteExtensionsSlotResponse,
754
769
  WebAppsGetSiteExtensionSlotOptionalParams,
755
770
  WebAppsGetSiteExtensionSlotResponse,
756
771
  WebAppsInstallSiteExtensionSlotOptionalParams,
757
772
  WebAppsInstallSiteExtensionSlotResponse,
758
773
  WebAppsDeleteSiteExtensionSlotOptionalParams,
759
- WebAppsListSlotDifferencesSlotResponse,
760
774
  WebAppsSwapSlotOptionalParams,
761
- WebAppsListSnapshotsSlotResponse,
762
- WebAppsListSnapshotsFromDRSecondarySlotResponse,
763
775
  WebAppsGetSourceControlSlotOptionalParams,
764
776
  WebAppsGetSourceControlSlotResponse,
765
777
  SiteSourceControl,
@@ -775,15 +787,12 @@ import {
775
787
  WebAppsStopNetworkTraceSlotOptionalParams,
776
788
  WebAppsSyncRepositorySlotOptionalParams,
777
789
  WebAppsSyncFunctionTriggersSlotOptionalParams,
778
- WebAppsListTriggeredWebJobsSlotResponse,
779
790
  WebAppsGetTriggeredWebJobSlotOptionalParams,
780
791
  WebAppsGetTriggeredWebJobSlotResponse,
781
792
  WebAppsDeleteTriggeredWebJobSlotOptionalParams,
782
- WebAppsListTriggeredWebJobHistorySlotResponse,
783
793
  WebAppsGetTriggeredWebJobHistorySlotOptionalParams,
784
794
  WebAppsGetTriggeredWebJobHistorySlotResponse,
785
795
  WebAppsRunTriggeredWebJobSlotOptionalParams,
786
- WebAppsListUsagesSlotResponse,
787
796
  WebAppsListVnetConnectionsSlotOptionalParams,
788
797
  WebAppsListVnetConnectionsSlotResponse,
789
798
  WebAppsGetVnetConnectionSlotOptionalParams,
@@ -801,13 +810,9 @@ import {
801
810
  WebAppsCreateOrUpdateVnetConnectionGatewaySlotResponse,
802
811
  WebAppsUpdateVnetConnectionGatewaySlotOptionalParams,
803
812
  WebAppsUpdateVnetConnectionGatewaySlotResponse,
804
- WebAppsListWebJobsSlotResponse,
805
813
  WebAppsGetWebJobSlotOptionalParams,
806
814
  WebAppsGetWebJobSlotResponse,
807
- WebAppsListSlotDifferencesFromProductionResponse,
808
815
  WebAppsSwapSlotWithProductionOptionalParams,
809
- WebAppsListSnapshotsResponse,
810
- WebAppsListSnapshotsFromDRSecondaryResponse,
811
816
  WebAppsGetSourceControlOptionalParams,
812
817
  WebAppsGetSourceControlResponse,
813
818
  WebAppsCreateOrUpdateSourceControlOptionalParams,
@@ -822,15 +827,12 @@ import {
822
827
  WebAppsStopNetworkTraceOptionalParams,
823
828
  WebAppsSyncRepositoryOptionalParams,
824
829
  WebAppsSyncFunctionTriggersOptionalParams,
825
- WebAppsListTriggeredWebJobsResponse,
826
830
  WebAppsGetTriggeredWebJobOptionalParams,
827
831
  WebAppsGetTriggeredWebJobResponse,
828
832
  WebAppsDeleteTriggeredWebJobOptionalParams,
829
- WebAppsListTriggeredWebJobHistoryResponse,
830
833
  WebAppsGetTriggeredWebJobHistoryOptionalParams,
831
834
  WebAppsGetTriggeredWebJobHistoryResponse,
832
835
  WebAppsRunTriggeredWebJobOptionalParams,
833
- WebAppsListUsagesResponse,
834
836
  WebAppsListVnetConnectionsOptionalParams,
835
837
  WebAppsListVnetConnectionsResponse,
836
838
  WebAppsGetVnetConnectionOptionalParams,
@@ -846,7 +848,6 @@ import {
846
848
  WebAppsCreateOrUpdateVnetConnectionGatewayResponse,
847
849
  WebAppsUpdateVnetConnectionGatewayOptionalParams,
848
850
  WebAppsUpdateVnetConnectionGatewayResponse,
849
- WebAppsListWebJobsResponse,
850
851
  WebAppsGetWebJobOptionalParams,
851
852
  WebAppsGetWebJobResponse,
852
853
  WebAppsListNextResponse,
@@ -944,22 +945,34 @@ export class WebAppsImpl implements WebApps {
944
945
  [Symbol.asyncIterator]() {
945
946
  return this;
946
947
  },
947
- byPage: () => {
948
- return this.listPagingPage(options);
948
+ byPage: (settings?: PageSettings) => {
949
+ if (settings?.maxPageSize) {
950
+ throw new Error("maxPageSize is not supported by this operation.");
951
+ }
952
+ return this.listPagingPage(options, settings);
949
953
  }
950
954
  };
951
955
  }
952
956
 
953
957
  private async *listPagingPage(
954
- options?: WebAppsListOptionalParams
958
+ options?: WebAppsListOptionalParams,
959
+ settings?: PageSettings
955
960
  ): AsyncIterableIterator<Site[]> {
956
- let result = await this._list(options);
957
- yield result.value || [];
958
- let continuationToken = result.nextLink;
961
+ let result: WebAppsListResponse;
962
+ let continuationToken = settings?.continuationToken;
963
+ if (!continuationToken) {
964
+ result = await this._list(options);
965
+ let page = result.value || [];
966
+ continuationToken = result.nextLink;
967
+ setContinuationToken(page, continuationToken);
968
+ yield page;
969
+ }
959
970
  while (continuationToken) {
960
971
  result = await this._listNext(continuationToken, options);
961
972
  continuationToken = result.nextLink;
962
- yield result.value || [];
973
+ let page = result.value || [];
974
+ setContinuationToken(page, continuationToken);
975
+ yield page;
963
976
  }
964
977
  }
965
978
 
@@ -988,19 +1001,33 @@ export class WebAppsImpl implements WebApps {
988
1001
  [Symbol.asyncIterator]() {
989
1002
  return this;
990
1003
  },
991
- byPage: () => {
992
- return this.listByResourceGroupPagingPage(resourceGroupName, options);
1004
+ byPage: (settings?: PageSettings) => {
1005
+ if (settings?.maxPageSize) {
1006
+ throw new Error("maxPageSize is not supported by this operation.");
1007
+ }
1008
+ return this.listByResourceGroupPagingPage(
1009
+ resourceGroupName,
1010
+ options,
1011
+ settings
1012
+ );
993
1013
  }
994
1014
  };
995
1015
  }
996
1016
 
997
1017
  private async *listByResourceGroupPagingPage(
998
1018
  resourceGroupName: string,
999
- options?: WebAppsListByResourceGroupOptionalParams
1019
+ options?: WebAppsListByResourceGroupOptionalParams,
1020
+ settings?: PageSettings
1000
1021
  ): AsyncIterableIterator<Site[]> {
1001
- let result = await this._listByResourceGroup(resourceGroupName, options);
1002
- yield result.value || [];
1003
- let continuationToken = result.nextLink;
1022
+ let result: WebAppsListByResourceGroupResponse;
1023
+ let continuationToken = settings?.continuationToken;
1024
+ if (!continuationToken) {
1025
+ result = await this._listByResourceGroup(resourceGroupName, options);
1026
+ let page = result.value || [];
1027
+ continuationToken = result.nextLink;
1028
+ setContinuationToken(page, continuationToken);
1029
+ yield page;
1030
+ }
1004
1031
  while (continuationToken) {
1005
1032
  result = await this._listByResourceGroupNext(
1006
1033
  resourceGroupName,
@@ -1008,7 +1035,9 @@ export class WebAppsImpl implements WebApps {
1008
1035
  options
1009
1036
  );
1010
1037
  continuationToken = result.nextLink;
1011
- yield result.value || [];
1038
+ let page = result.value || [];
1039
+ setContinuationToken(page, continuationToken);
1040
+ yield page;
1012
1041
  }
1013
1042
  }
1014
1043
 
@@ -1043,8 +1072,16 @@ export class WebAppsImpl implements WebApps {
1043
1072
  [Symbol.asyncIterator]() {
1044
1073
  return this;
1045
1074
  },
1046
- byPage: () => {
1047
- return this.listBackupsPagingPage(resourceGroupName, name, options);
1075
+ byPage: (settings?: PageSettings) => {
1076
+ if (settings?.maxPageSize) {
1077
+ throw new Error("maxPageSize is not supported by this operation.");
1078
+ }
1079
+ return this.listBackupsPagingPage(
1080
+ resourceGroupName,
1081
+ name,
1082
+ options,
1083
+ settings
1084
+ );
1048
1085
  }
1049
1086
  };
1050
1087
  }
@@ -1052,11 +1089,18 @@ export class WebAppsImpl implements WebApps {
1052
1089
  private async *listBackupsPagingPage(
1053
1090
  resourceGroupName: string,
1054
1091
  name: string,
1055
- options?: WebAppsListBackupsOptionalParams
1092
+ options?: WebAppsListBackupsOptionalParams,
1093
+ settings?: PageSettings
1056
1094
  ): AsyncIterableIterator<BackupItem[]> {
1057
- let result = await this._listBackups(resourceGroupName, name, options);
1058
- yield result.value || [];
1059
- let continuationToken = result.nextLink;
1095
+ let result: WebAppsListBackupsResponse;
1096
+ let continuationToken = settings?.continuationToken;
1097
+ if (!continuationToken) {
1098
+ result = await this._listBackups(resourceGroupName, name, options);
1099
+ let page = result.value || [];
1100
+ continuationToken = result.nextLink;
1101
+ setContinuationToken(page, continuationToken);
1102
+ yield page;
1103
+ }
1060
1104
  while (continuationToken) {
1061
1105
  result = await this._listBackupsNext(
1062
1106
  resourceGroupName,
@@ -1065,7 +1109,9 @@ export class WebAppsImpl implements WebApps {
1065
1109
  options
1066
1110
  );
1067
1111
  continuationToken = result.nextLink;
1068
- yield result.value || [];
1112
+ let page = result.value || [];
1113
+ setContinuationToken(page, continuationToken);
1114
+ yield page;
1069
1115
  }
1070
1116
  }
1071
1117
 
@@ -1107,11 +1153,15 @@ export class WebAppsImpl implements WebApps {
1107
1153
  [Symbol.asyncIterator]() {
1108
1154
  return this;
1109
1155
  },
1110
- byPage: () => {
1156
+ byPage: (settings?: PageSettings) => {
1157
+ if (settings?.maxPageSize) {
1158
+ throw new Error("maxPageSize is not supported by this operation.");
1159
+ }
1111
1160
  return this.listBasicPublishingCredentialsPoliciesPagingPage(
1112
1161
  resourceGroupName,
1113
1162
  name,
1114
- options
1163
+ options,
1164
+ settings
1115
1165
  );
1116
1166
  }
1117
1167
  };
@@ -1120,15 +1170,22 @@ export class WebAppsImpl implements WebApps {
1120
1170
  private async *listBasicPublishingCredentialsPoliciesPagingPage(
1121
1171
  resourceGroupName: string,
1122
1172
  name: string,
1123
- options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams
1173
+ options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams,
1174
+ settings?: PageSettings
1124
1175
  ): AsyncIterableIterator<CsmPublishingCredentialsPoliciesEntity[]> {
1125
- let result = await this._listBasicPublishingCredentialsPolicies(
1126
- resourceGroupName,
1127
- name,
1128
- options
1129
- );
1130
- yield result.value || [];
1131
- let continuationToken = result.nextLink;
1176
+ let result: WebAppsListBasicPublishingCredentialsPoliciesResponse;
1177
+ let continuationToken = settings?.continuationToken;
1178
+ if (!continuationToken) {
1179
+ result = await this._listBasicPublishingCredentialsPolicies(
1180
+ resourceGroupName,
1181
+ name,
1182
+ options
1183
+ );
1184
+ let page = result.value || [];
1185
+ continuationToken = result.nextLink;
1186
+ setContinuationToken(page, continuationToken);
1187
+ yield page;
1188
+ }
1132
1189
  while (continuationToken) {
1133
1190
  result = await this._listBasicPublishingCredentialsPoliciesNext(
1134
1191
  resourceGroupName,
@@ -1137,7 +1194,9 @@ export class WebAppsImpl implements WebApps {
1137
1194
  options
1138
1195
  );
1139
1196
  continuationToken = result.nextLink;
1140
- yield result.value || [];
1197
+ let page = result.value || [];
1198
+ setContinuationToken(page, continuationToken);
1199
+ yield page;
1141
1200
  }
1142
1201
  }
1143
1202
 
@@ -1178,11 +1237,15 @@ export class WebAppsImpl implements WebApps {
1178
1237
  [Symbol.asyncIterator]() {
1179
1238
  return this;
1180
1239
  },
1181
- byPage: () => {
1240
+ byPage: (settings?: PageSettings) => {
1241
+ if (settings?.maxPageSize) {
1242
+ throw new Error("maxPageSize is not supported by this operation.");
1243
+ }
1182
1244
  return this.listConfigurationsPagingPage(
1183
1245
  resourceGroupName,
1184
1246
  name,
1185
- options
1247
+ options,
1248
+ settings
1186
1249
  );
1187
1250
  }
1188
1251
  };
@@ -1191,15 +1254,18 @@ export class WebAppsImpl implements WebApps {
1191
1254
  private async *listConfigurationsPagingPage(
1192
1255
  resourceGroupName: string,
1193
1256
  name: string,
1194
- options?: WebAppsListConfigurationsOptionalParams
1257
+ options?: WebAppsListConfigurationsOptionalParams,
1258
+ settings?: PageSettings
1195
1259
  ): AsyncIterableIterator<SiteConfigResource[]> {
1196
- let result = await this._listConfigurations(
1197
- resourceGroupName,
1198
- name,
1199
- options
1200
- );
1201
- yield result.value || [];
1202
- let continuationToken = result.nextLink;
1260
+ let result: WebAppsListConfigurationsResponse;
1261
+ let continuationToken = settings?.continuationToken;
1262
+ if (!continuationToken) {
1263
+ result = await this._listConfigurations(resourceGroupName, name, options);
1264
+ let page = result.value || [];
1265
+ continuationToken = result.nextLink;
1266
+ setContinuationToken(page, continuationToken);
1267
+ yield page;
1268
+ }
1203
1269
  while (continuationToken) {
1204
1270
  result = await this._listConfigurationsNext(
1205
1271
  resourceGroupName,
@@ -1208,7 +1274,9 @@ export class WebAppsImpl implements WebApps {
1208
1274
  options
1209
1275
  );
1210
1276
  continuationToken = result.nextLink;
1211
- yield result.value || [];
1277
+ let page = result.value || [];
1278
+ setContinuationToken(page, continuationToken);
1279
+ yield page;
1212
1280
  }
1213
1281
  }
1214
1282
 
@@ -1249,11 +1317,15 @@ export class WebAppsImpl implements WebApps {
1249
1317
  [Symbol.asyncIterator]() {
1250
1318
  return this;
1251
1319
  },
1252
- byPage: () => {
1320
+ byPage: (settings?: PageSettings) => {
1321
+ if (settings?.maxPageSize) {
1322
+ throw new Error("maxPageSize is not supported by this operation.");
1323
+ }
1253
1324
  return this.getAppSettingsKeyVaultReferencesPagingPage(
1254
1325
  resourceGroupName,
1255
1326
  name,
1256
- options
1327
+ options,
1328
+ settings
1257
1329
  );
1258
1330
  }
1259
1331
  };
@@ -1262,15 +1334,22 @@ export class WebAppsImpl implements WebApps {
1262
1334
  private async *getAppSettingsKeyVaultReferencesPagingPage(
1263
1335
  resourceGroupName: string,
1264
1336
  name: string,
1265
- options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams
1337
+ options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams,
1338
+ settings?: PageSettings
1266
1339
  ): AsyncIterableIterator<ApiKVReference[]> {
1267
- let result = await this._getAppSettingsKeyVaultReferences(
1268
- resourceGroupName,
1269
- name,
1270
- options
1271
- );
1272
- yield result.value || [];
1273
- let continuationToken = result.nextLink;
1340
+ let result: WebAppsGetAppSettingsKeyVaultReferencesResponse;
1341
+ let continuationToken = settings?.continuationToken;
1342
+ if (!continuationToken) {
1343
+ result = await this._getAppSettingsKeyVaultReferences(
1344
+ resourceGroupName,
1345
+ name,
1346
+ options
1347
+ );
1348
+ let page = result.value || [];
1349
+ continuationToken = result.nextLink;
1350
+ setContinuationToken(page, continuationToken);
1351
+ yield page;
1352
+ }
1274
1353
  while (continuationToken) {
1275
1354
  result = await this._getAppSettingsKeyVaultReferencesNext(
1276
1355
  resourceGroupName,
@@ -1279,7 +1358,9 @@ export class WebAppsImpl implements WebApps {
1279
1358
  options
1280
1359
  );
1281
1360
  continuationToken = result.nextLink;
1282
- yield result.value || [];
1361
+ let page = result.value || [];
1362
+ setContinuationToken(page, continuationToken);
1363
+ yield page;
1283
1364
  }
1284
1365
  }
1285
1366
 
@@ -1320,11 +1401,15 @@ export class WebAppsImpl implements WebApps {
1320
1401
  [Symbol.asyncIterator]() {
1321
1402
  return this;
1322
1403
  },
1323
- byPage: () => {
1404
+ byPage: (settings?: PageSettings) => {
1405
+ if (settings?.maxPageSize) {
1406
+ throw new Error("maxPageSize is not supported by this operation.");
1407
+ }
1324
1408
  return this.getSiteConnectionStringKeyVaultReferencesPagingPage(
1325
1409
  resourceGroupName,
1326
1410
  name,
1327
- options
1411
+ options,
1412
+ settings
1328
1413
  );
1329
1414
  }
1330
1415
  };
@@ -1333,15 +1418,22 @@ export class WebAppsImpl implements WebApps {
1333
1418
  private async *getSiteConnectionStringKeyVaultReferencesPagingPage(
1334
1419
  resourceGroupName: string,
1335
1420
  name: string,
1336
- options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams
1421
+ options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams,
1422
+ settings?: PageSettings
1337
1423
  ): AsyncIterableIterator<ApiKVReference[]> {
1338
- let result = await this._getSiteConnectionStringKeyVaultReferences(
1339
- resourceGroupName,
1340
- name,
1341
- options
1342
- );
1343
- yield result.value || [];
1344
- let continuationToken = result.nextLink;
1424
+ let result: WebAppsGetSiteConnectionStringKeyVaultReferencesResponse;
1425
+ let continuationToken = settings?.continuationToken;
1426
+ if (!continuationToken) {
1427
+ result = await this._getSiteConnectionStringKeyVaultReferences(
1428
+ resourceGroupName,
1429
+ name,
1430
+ options
1431
+ );
1432
+ let page = result.value || [];
1433
+ continuationToken = result.nextLink;
1434
+ setContinuationToken(page, continuationToken);
1435
+ yield page;
1436
+ }
1345
1437
  while (continuationToken) {
1346
1438
  result = await this._getSiteConnectionStringKeyVaultReferencesNext(
1347
1439
  resourceGroupName,
@@ -1350,7 +1442,9 @@ export class WebAppsImpl implements WebApps {
1350
1442
  options
1351
1443
  );
1352
1444
  continuationToken = result.nextLink;
1353
- yield result.value || [];
1445
+ let page = result.value || [];
1446
+ setContinuationToken(page, continuationToken);
1447
+ yield page;
1354
1448
  }
1355
1449
  }
1356
1450
 
@@ -1392,11 +1486,15 @@ export class WebAppsImpl implements WebApps {
1392
1486
  [Symbol.asyncIterator]() {
1393
1487
  return this;
1394
1488
  },
1395
- byPage: () => {
1489
+ byPage: (settings?: PageSettings) => {
1490
+ if (settings?.maxPageSize) {
1491
+ throw new Error("maxPageSize is not supported by this operation.");
1492
+ }
1396
1493
  return this.listConfigurationSnapshotInfoPagingPage(
1397
1494
  resourceGroupName,
1398
1495
  name,
1399
- options
1496
+ options,
1497
+ settings
1400
1498
  );
1401
1499
  }
1402
1500
  };
@@ -1405,15 +1503,22 @@ export class WebAppsImpl implements WebApps {
1405
1503
  private async *listConfigurationSnapshotInfoPagingPage(
1406
1504
  resourceGroupName: string,
1407
1505
  name: string,
1408
- options?: WebAppsListConfigurationSnapshotInfoOptionalParams
1506
+ options?: WebAppsListConfigurationSnapshotInfoOptionalParams,
1507
+ settings?: PageSettings
1409
1508
  ): AsyncIterableIterator<SiteConfigurationSnapshotInfo[]> {
1410
- let result = await this._listConfigurationSnapshotInfo(
1411
- resourceGroupName,
1412
- name,
1413
- options
1414
- );
1415
- yield result.value || [];
1416
- let continuationToken = result.nextLink;
1509
+ let result: WebAppsListConfigurationSnapshotInfoResponse;
1510
+ let continuationToken = settings?.continuationToken;
1511
+ if (!continuationToken) {
1512
+ result = await this._listConfigurationSnapshotInfo(
1513
+ resourceGroupName,
1514
+ name,
1515
+ options
1516
+ );
1517
+ let page = result.value || [];
1518
+ continuationToken = result.nextLink;
1519
+ setContinuationToken(page, continuationToken);
1520
+ yield page;
1521
+ }
1417
1522
  while (continuationToken) {
1418
1523
  result = await this._listConfigurationSnapshotInfoNext(
1419
1524
  resourceGroupName,
@@ -1422,7 +1527,9 @@ export class WebAppsImpl implements WebApps {
1422
1527
  options
1423
1528
  );
1424
1529
  continuationToken = result.nextLink;
1425
- yield result.value || [];
1530
+ let page = result.value || [];
1531
+ setContinuationToken(page, continuationToken);
1532
+ yield page;
1426
1533
  }
1427
1534
  }
1428
1535
 
@@ -1463,11 +1570,15 @@ export class WebAppsImpl implements WebApps {
1463
1570
  [Symbol.asyncIterator]() {
1464
1571
  return this;
1465
1572
  },
1466
- byPage: () => {
1573
+ byPage: (settings?: PageSettings) => {
1574
+ if (settings?.maxPageSize) {
1575
+ throw new Error("maxPageSize is not supported by this operation.");
1576
+ }
1467
1577
  return this.listContinuousWebJobsPagingPage(
1468
1578
  resourceGroupName,
1469
1579
  name,
1470
- options
1580
+ options,
1581
+ settings
1471
1582
  );
1472
1583
  }
1473
1584
  };
@@ -1476,15 +1587,22 @@ export class WebAppsImpl implements WebApps {
1476
1587
  private async *listContinuousWebJobsPagingPage(
1477
1588
  resourceGroupName: string,
1478
1589
  name: string,
1479
- options?: WebAppsListContinuousWebJobsOptionalParams
1590
+ options?: WebAppsListContinuousWebJobsOptionalParams,
1591
+ settings?: PageSettings
1480
1592
  ): AsyncIterableIterator<ContinuousWebJob[]> {
1481
- let result = await this._listContinuousWebJobs(
1482
- resourceGroupName,
1483
- name,
1484
- options
1485
- );
1486
- yield result.value || [];
1487
- let continuationToken = result.nextLink;
1593
+ let result: WebAppsListContinuousWebJobsResponse;
1594
+ let continuationToken = settings?.continuationToken;
1595
+ if (!continuationToken) {
1596
+ result = await this._listContinuousWebJobs(
1597
+ resourceGroupName,
1598
+ name,
1599
+ options
1600
+ );
1601
+ let page = result.value || [];
1602
+ continuationToken = result.nextLink;
1603
+ setContinuationToken(page, continuationToken);
1604
+ yield page;
1605
+ }
1488
1606
  while (continuationToken) {
1489
1607
  result = await this._listContinuousWebJobsNext(
1490
1608
  resourceGroupName,
@@ -1493,7 +1611,9 @@ export class WebAppsImpl implements WebApps {
1493
1611
  options
1494
1612
  );
1495
1613
  continuationToken = result.nextLink;
1496
- yield result.value || [];
1614
+ let page = result.value || [];
1615
+ setContinuationToken(page, continuationToken);
1616
+ yield page;
1497
1617
  }
1498
1618
  }
1499
1619
 
@@ -1534,11 +1654,15 @@ export class WebAppsImpl implements WebApps {
1534
1654
  [Symbol.asyncIterator]() {
1535
1655
  return this;
1536
1656
  },
1537
- byPage: () => {
1657
+ byPage: (settings?: PageSettings) => {
1658
+ if (settings?.maxPageSize) {
1659
+ throw new Error("maxPageSize is not supported by this operation.");
1660
+ }
1538
1661
  return this.listProductionSiteDeploymentStatusesPagingPage(
1539
1662
  resourceGroupName,
1540
1663
  name,
1541
- options
1664
+ options,
1665
+ settings
1542
1666
  );
1543
1667
  }
1544
1668
  };
@@ -1547,15 +1671,22 @@ export class WebAppsImpl implements WebApps {
1547
1671
  private async *listProductionSiteDeploymentStatusesPagingPage(
1548
1672
  resourceGroupName: string,
1549
1673
  name: string,
1550
- options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams
1674
+ options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams,
1675
+ settings?: PageSettings
1551
1676
  ): AsyncIterableIterator<CsmDeploymentStatus[]> {
1552
- let result = await this._listProductionSiteDeploymentStatuses(
1553
- resourceGroupName,
1554
- name,
1555
- options
1556
- );
1557
- yield result.value || [];
1558
- let continuationToken = result.nextLink;
1677
+ let result: WebAppsListProductionSiteDeploymentStatusesResponse;
1678
+ let continuationToken = settings?.continuationToken;
1679
+ if (!continuationToken) {
1680
+ result = await this._listProductionSiteDeploymentStatuses(
1681
+ resourceGroupName,
1682
+ name,
1683
+ options
1684
+ );
1685
+ let page = result.value || [];
1686
+ continuationToken = result.nextLink;
1687
+ setContinuationToken(page, continuationToken);
1688
+ yield page;
1689
+ }
1559
1690
  while (continuationToken) {
1560
1691
  result = await this._listProductionSiteDeploymentStatusesNext(
1561
1692
  resourceGroupName,
@@ -1564,7 +1695,9 @@ export class WebAppsImpl implements WebApps {
1564
1695
  options
1565
1696
  );
1566
1697
  continuationToken = result.nextLink;
1567
- yield result.value || [];
1698
+ let page = result.value || [];
1699
+ setContinuationToken(page, continuationToken);
1700
+ yield page;
1568
1701
  }
1569
1702
  }
1570
1703
 
@@ -1605,8 +1738,16 @@ export class WebAppsImpl implements WebApps {
1605
1738
  [Symbol.asyncIterator]() {
1606
1739
  return this;
1607
1740
  },
1608
- byPage: () => {
1609
- return this.listDeploymentsPagingPage(resourceGroupName, name, options);
1741
+ byPage: (settings?: PageSettings) => {
1742
+ if (settings?.maxPageSize) {
1743
+ throw new Error("maxPageSize is not supported by this operation.");
1744
+ }
1745
+ return this.listDeploymentsPagingPage(
1746
+ resourceGroupName,
1747
+ name,
1748
+ options,
1749
+ settings
1750
+ );
1610
1751
  }
1611
1752
  };
1612
1753
  }
@@ -1614,11 +1755,18 @@ export class WebAppsImpl implements WebApps {
1614
1755
  private async *listDeploymentsPagingPage(
1615
1756
  resourceGroupName: string,
1616
1757
  name: string,
1617
- options?: WebAppsListDeploymentsOptionalParams
1758
+ options?: WebAppsListDeploymentsOptionalParams,
1759
+ settings?: PageSettings
1618
1760
  ): AsyncIterableIterator<Deployment[]> {
1619
- let result = await this._listDeployments(resourceGroupName, name, options);
1620
- yield result.value || [];
1621
- let continuationToken = result.nextLink;
1761
+ let result: WebAppsListDeploymentsResponse;
1762
+ let continuationToken = settings?.continuationToken;
1763
+ if (!continuationToken) {
1764
+ result = await this._listDeployments(resourceGroupName, name, options);
1765
+ let page = result.value || [];
1766
+ continuationToken = result.nextLink;
1767
+ setContinuationToken(page, continuationToken);
1768
+ yield page;
1769
+ }
1622
1770
  while (continuationToken) {
1623
1771
  result = await this._listDeploymentsNext(
1624
1772
  resourceGroupName,
@@ -1627,7 +1775,9 @@ export class WebAppsImpl implements WebApps {
1627
1775
  options
1628
1776
  );
1629
1777
  continuationToken = result.nextLink;
1630
- yield result.value || [];
1778
+ let page = result.value || [];
1779
+ setContinuationToken(page, continuationToken);
1780
+ yield page;
1631
1781
  }
1632
1782
  }
1633
1783
 
@@ -1668,11 +1818,15 @@ export class WebAppsImpl implements WebApps {
1668
1818
  [Symbol.asyncIterator]() {
1669
1819
  return this;
1670
1820
  },
1671
- byPage: () => {
1821
+ byPage: (settings?: PageSettings) => {
1822
+ if (settings?.maxPageSize) {
1823
+ throw new Error("maxPageSize is not supported by this operation.");
1824
+ }
1672
1825
  return this.listDomainOwnershipIdentifiersPagingPage(
1673
1826
  resourceGroupName,
1674
1827
  name,
1675
- options
1828
+ options,
1829
+ settings
1676
1830
  );
1677
1831
  }
1678
1832
  };
@@ -1681,15 +1835,22 @@ export class WebAppsImpl implements WebApps {
1681
1835
  private async *listDomainOwnershipIdentifiersPagingPage(
1682
1836
  resourceGroupName: string,
1683
1837
  name: string,
1684
- options?: WebAppsListDomainOwnershipIdentifiersOptionalParams
1838
+ options?: WebAppsListDomainOwnershipIdentifiersOptionalParams,
1839
+ settings?: PageSettings
1685
1840
  ): AsyncIterableIterator<Identifier[]> {
1686
- let result = await this._listDomainOwnershipIdentifiers(
1687
- resourceGroupName,
1688
- name,
1689
- options
1690
- );
1691
- yield result.value || [];
1692
- let continuationToken = result.nextLink;
1841
+ let result: WebAppsListDomainOwnershipIdentifiersResponse;
1842
+ let continuationToken = settings?.continuationToken;
1843
+ if (!continuationToken) {
1844
+ result = await this._listDomainOwnershipIdentifiers(
1845
+ resourceGroupName,
1846
+ name,
1847
+ options
1848
+ );
1849
+ let page = result.value || [];
1850
+ continuationToken = result.nextLink;
1851
+ setContinuationToken(page, continuationToken);
1852
+ yield page;
1853
+ }
1693
1854
  while (continuationToken) {
1694
1855
  result = await this._listDomainOwnershipIdentifiersNext(
1695
1856
  resourceGroupName,
@@ -1698,7 +1859,9 @@ export class WebAppsImpl implements WebApps {
1698
1859
  options
1699
1860
  );
1700
1861
  continuationToken = result.nextLink;
1701
- yield result.value || [];
1862
+ let page = result.value || [];
1863
+ setContinuationToken(page, continuationToken);
1864
+ yield page;
1702
1865
  }
1703
1866
  }
1704
1867
 
@@ -1735,8 +1898,16 @@ export class WebAppsImpl implements WebApps {
1735
1898
  [Symbol.asyncIterator]() {
1736
1899
  return this;
1737
1900
  },
1738
- byPage: () => {
1739
- return this.listFunctionsPagingPage(resourceGroupName, name, options);
1901
+ byPage: (settings?: PageSettings) => {
1902
+ if (settings?.maxPageSize) {
1903
+ throw new Error("maxPageSize is not supported by this operation.");
1904
+ }
1905
+ return this.listFunctionsPagingPage(
1906
+ resourceGroupName,
1907
+ name,
1908
+ options,
1909
+ settings
1910
+ );
1740
1911
  }
1741
1912
  };
1742
1913
  }
@@ -1744,11 +1915,18 @@ export class WebAppsImpl implements WebApps {
1744
1915
  private async *listFunctionsPagingPage(
1745
1916
  resourceGroupName: string,
1746
1917
  name: string,
1747
- options?: WebAppsListFunctionsOptionalParams
1918
+ options?: WebAppsListFunctionsOptionalParams,
1919
+ settings?: PageSettings
1748
1920
  ): AsyncIterableIterator<FunctionEnvelope[]> {
1749
- let result = await this._listFunctions(resourceGroupName, name, options);
1750
- yield result.value || [];
1751
- let continuationToken = result.nextLink;
1921
+ let result: WebAppsListFunctionsResponse;
1922
+ let continuationToken = settings?.continuationToken;
1923
+ if (!continuationToken) {
1924
+ result = await this._listFunctions(resourceGroupName, name, options);
1925
+ let page = result.value || [];
1926
+ continuationToken = result.nextLink;
1927
+ setContinuationToken(page, continuationToken);
1928
+ yield page;
1929
+ }
1752
1930
  while (continuationToken) {
1753
1931
  result = await this._listFunctionsNext(
1754
1932
  resourceGroupName,
@@ -1757,7 +1935,9 @@ export class WebAppsImpl implements WebApps {
1757
1935
  options
1758
1936
  );
1759
1937
  continuationToken = result.nextLink;
1760
- yield result.value || [];
1938
+ let page = result.value || [];
1939
+ setContinuationToken(page, continuationToken);
1940
+ yield page;
1761
1941
  }
1762
1942
  }
1763
1943
 
@@ -1798,11 +1978,15 @@ export class WebAppsImpl implements WebApps {
1798
1978
  [Symbol.asyncIterator]() {
1799
1979
  return this;
1800
1980
  },
1801
- byPage: () => {
1981
+ byPage: (settings?: PageSettings) => {
1982
+ if (settings?.maxPageSize) {
1983
+ throw new Error("maxPageSize is not supported by this operation.");
1984
+ }
1802
1985
  return this.listHostNameBindingsPagingPage(
1803
1986
  resourceGroupName,
1804
1987
  name,
1805
- options
1988
+ options,
1989
+ settings
1806
1990
  );
1807
1991
  }
1808
1992
  };
@@ -1811,15 +1995,22 @@ export class WebAppsImpl implements WebApps {
1811
1995
  private async *listHostNameBindingsPagingPage(
1812
1996
  resourceGroupName: string,
1813
1997
  name: string,
1814
- options?: WebAppsListHostNameBindingsOptionalParams
1998
+ options?: WebAppsListHostNameBindingsOptionalParams,
1999
+ settings?: PageSettings
1815
2000
  ): AsyncIterableIterator<HostNameBinding[]> {
1816
- let result = await this._listHostNameBindings(
1817
- resourceGroupName,
1818
- name,
1819
- options
1820
- );
1821
- yield result.value || [];
1822
- let continuationToken = result.nextLink;
2001
+ let result: WebAppsListHostNameBindingsResponse;
2002
+ let continuationToken = settings?.continuationToken;
2003
+ if (!continuationToken) {
2004
+ result = await this._listHostNameBindings(
2005
+ resourceGroupName,
2006
+ name,
2007
+ options
2008
+ );
2009
+ let page = result.value || [];
2010
+ continuationToken = result.nextLink;
2011
+ setContinuationToken(page, continuationToken);
2012
+ yield page;
2013
+ }
1823
2014
  while (continuationToken) {
1824
2015
  result = await this._listHostNameBindingsNext(
1825
2016
  resourceGroupName,
@@ -1828,7 +2019,9 @@ export class WebAppsImpl implements WebApps {
1828
2019
  options
1829
2020
  );
1830
2021
  continuationToken = result.nextLink;
1831
- yield result.value || [];
2022
+ let page = result.value || [];
2023
+ setContinuationToken(page, continuationToken);
2024
+ yield page;
1832
2025
  }
1833
2026
  }
1834
2027
 
@@ -1869,11 +2062,15 @@ export class WebAppsImpl implements WebApps {
1869
2062
  [Symbol.asyncIterator]() {
1870
2063
  return this;
1871
2064
  },
1872
- byPage: () => {
2065
+ byPage: (settings?: PageSettings) => {
2066
+ if (settings?.maxPageSize) {
2067
+ throw new Error("maxPageSize is not supported by this operation.");
2068
+ }
1873
2069
  return this.listInstanceIdentifiersPagingPage(
1874
2070
  resourceGroupName,
1875
2071
  name,
1876
- options
2072
+ options,
2073
+ settings
1877
2074
  );
1878
2075
  }
1879
2076
  };
@@ -1882,15 +2079,22 @@ export class WebAppsImpl implements WebApps {
1882
2079
  private async *listInstanceIdentifiersPagingPage(
1883
2080
  resourceGroupName: string,
1884
2081
  name: string,
1885
- options?: WebAppsListInstanceIdentifiersOptionalParams
2082
+ options?: WebAppsListInstanceIdentifiersOptionalParams,
2083
+ settings?: PageSettings
1886
2084
  ): AsyncIterableIterator<WebSiteInstanceStatus[]> {
1887
- let result = await this._listInstanceIdentifiers(
1888
- resourceGroupName,
1889
- name,
1890
- options
1891
- );
1892
- yield result.value || [];
1893
- let continuationToken = result.nextLink;
2085
+ let result: WebAppsListInstanceIdentifiersResponse;
2086
+ let continuationToken = settings?.continuationToken;
2087
+ if (!continuationToken) {
2088
+ result = await this._listInstanceIdentifiers(
2089
+ resourceGroupName,
2090
+ name,
2091
+ options
2092
+ );
2093
+ let page = result.value || [];
2094
+ continuationToken = result.nextLink;
2095
+ setContinuationToken(page, continuationToken);
2096
+ yield page;
2097
+ }
1894
2098
  while (continuationToken) {
1895
2099
  result = await this._listInstanceIdentifiersNext(
1896
2100
  resourceGroupName,
@@ -1899,7 +2103,9 @@ export class WebAppsImpl implements WebApps {
1899
2103
  options
1900
2104
  );
1901
2105
  continuationToken = result.nextLink;
1902
- yield result.value || [];
2106
+ let page = result.value || [];
2107
+ setContinuationToken(page, continuationToken);
2108
+ yield page;
1903
2109
  }
1904
2110
  }
1905
2111
 
@@ -1945,12 +2151,16 @@ export class WebAppsImpl implements WebApps {
1945
2151
  [Symbol.asyncIterator]() {
1946
2152
  return this;
1947
2153
  },
1948
- byPage: () => {
2154
+ byPage: (settings?: PageSettings) => {
2155
+ if (settings?.maxPageSize) {
2156
+ throw new Error("maxPageSize is not supported by this operation.");
2157
+ }
1949
2158
  return this.listInstanceProcessesPagingPage(
1950
2159
  resourceGroupName,
1951
2160
  name,
1952
2161
  instanceId,
1953
- options
2162
+ options,
2163
+ settings
1954
2164
  );
1955
2165
  }
1956
2166
  };
@@ -1960,16 +2170,23 @@ export class WebAppsImpl implements WebApps {
1960
2170
  resourceGroupName: string,
1961
2171
  name: string,
1962
2172
  instanceId: string,
1963
- options?: WebAppsListInstanceProcessesOptionalParams
2173
+ options?: WebAppsListInstanceProcessesOptionalParams,
2174
+ settings?: PageSettings
1964
2175
  ): AsyncIterableIterator<ProcessInfo[]> {
1965
- let result = await this._listInstanceProcesses(
1966
- resourceGroupName,
1967
- name,
1968
- instanceId,
1969
- options
1970
- );
1971
- yield result.value || [];
1972
- let continuationToken = result.nextLink;
2176
+ let result: WebAppsListInstanceProcessesResponse;
2177
+ let continuationToken = settings?.continuationToken;
2178
+ if (!continuationToken) {
2179
+ result = await this._listInstanceProcesses(
2180
+ resourceGroupName,
2181
+ name,
2182
+ instanceId,
2183
+ options
2184
+ );
2185
+ let page = result.value || [];
2186
+ continuationToken = result.nextLink;
2187
+ setContinuationToken(page, continuationToken);
2188
+ yield page;
2189
+ }
1973
2190
  while (continuationToken) {
1974
2191
  result = await this._listInstanceProcessesNext(
1975
2192
  resourceGroupName,
@@ -1979,7 +2196,9 @@ export class WebAppsImpl implements WebApps {
1979
2196
  options
1980
2197
  );
1981
2198
  continuationToken = result.nextLink;
1982
- yield result.value || [];
2199
+ let page = result.value || [];
2200
+ setContinuationToken(page, continuationToken);
2201
+ yield page;
1983
2202
  }
1984
2203
  }
1985
2204
 
@@ -2030,13 +2249,17 @@ export class WebAppsImpl implements WebApps {
2030
2249
  [Symbol.asyncIterator]() {
2031
2250
  return this;
2032
2251
  },
2033
- byPage: () => {
2252
+ byPage: (settings?: PageSettings) => {
2253
+ if (settings?.maxPageSize) {
2254
+ throw new Error("maxPageSize is not supported by this operation.");
2255
+ }
2034
2256
  return this.listInstanceProcessModulesPagingPage(
2035
2257
  resourceGroupName,
2036
2258
  name,
2037
2259
  processId,
2038
2260
  instanceId,
2039
- options
2261
+ options,
2262
+ settings
2040
2263
  );
2041
2264
  }
2042
2265
  };
@@ -2047,17 +2270,24 @@ export class WebAppsImpl implements WebApps {
2047
2270
  name: string,
2048
2271
  processId: string,
2049
2272
  instanceId: string,
2050
- options?: WebAppsListInstanceProcessModulesOptionalParams
2273
+ options?: WebAppsListInstanceProcessModulesOptionalParams,
2274
+ settings?: PageSettings
2051
2275
  ): AsyncIterableIterator<ProcessModuleInfo[]> {
2052
- let result = await this._listInstanceProcessModules(
2053
- resourceGroupName,
2054
- name,
2055
- processId,
2056
- instanceId,
2057
- options
2058
- );
2059
- yield result.value || [];
2060
- let continuationToken = result.nextLink;
2276
+ let result: WebAppsListInstanceProcessModulesResponse;
2277
+ let continuationToken = settings?.continuationToken;
2278
+ if (!continuationToken) {
2279
+ result = await this._listInstanceProcessModules(
2280
+ resourceGroupName,
2281
+ name,
2282
+ processId,
2283
+ instanceId,
2284
+ options
2285
+ );
2286
+ let page = result.value || [];
2287
+ continuationToken = result.nextLink;
2288
+ setContinuationToken(page, continuationToken);
2289
+ yield page;
2290
+ }
2061
2291
  while (continuationToken) {
2062
2292
  result = await this._listInstanceProcessModulesNext(
2063
2293
  resourceGroupName,
@@ -2068,7 +2298,9 @@ export class WebAppsImpl implements WebApps {
2068
2298
  options
2069
2299
  );
2070
2300
  continuationToken = result.nextLink;
2071
- yield result.value || [];
2301
+ let page = result.value || [];
2302
+ setContinuationToken(page, continuationToken);
2303
+ yield page;
2072
2304
  }
2073
2305
  }
2074
2306
 
@@ -2121,13 +2353,17 @@ export class WebAppsImpl implements WebApps {
2121
2353
  [Symbol.asyncIterator]() {
2122
2354
  return this;
2123
2355
  },
2124
- byPage: () => {
2356
+ byPage: (settings?: PageSettings) => {
2357
+ if (settings?.maxPageSize) {
2358
+ throw new Error("maxPageSize is not supported by this operation.");
2359
+ }
2125
2360
  return this.listInstanceProcessThreadsPagingPage(
2126
2361
  resourceGroupName,
2127
2362
  name,
2128
2363
  processId,
2129
2364
  instanceId,
2130
- options
2365
+ options,
2366
+ settings
2131
2367
  );
2132
2368
  }
2133
2369
  };
@@ -2138,17 +2374,24 @@ export class WebAppsImpl implements WebApps {
2138
2374
  name: string,
2139
2375
  processId: string,
2140
2376
  instanceId: string,
2141
- options?: WebAppsListInstanceProcessThreadsOptionalParams
2377
+ options?: WebAppsListInstanceProcessThreadsOptionalParams,
2378
+ settings?: PageSettings
2142
2379
  ): AsyncIterableIterator<ProcessThreadInfo[]> {
2143
- let result = await this._listInstanceProcessThreads(
2144
- resourceGroupName,
2145
- name,
2146
- processId,
2147
- instanceId,
2148
- options
2149
- );
2150
- yield result.value || [];
2151
- let continuationToken = result.nextLink;
2380
+ let result: WebAppsListInstanceProcessThreadsResponse;
2381
+ let continuationToken = settings?.continuationToken;
2382
+ if (!continuationToken) {
2383
+ result = await this._listInstanceProcessThreads(
2384
+ resourceGroupName,
2385
+ name,
2386
+ processId,
2387
+ instanceId,
2388
+ options
2389
+ );
2390
+ let page = result.value || [];
2391
+ continuationToken = result.nextLink;
2392
+ setContinuationToken(page, continuationToken);
2393
+ yield page;
2394
+ }
2152
2395
  while (continuationToken) {
2153
2396
  result = await this._listInstanceProcessThreadsNext(
2154
2397
  resourceGroupName,
@@ -2159,7 +2402,9 @@ export class WebAppsImpl implements WebApps {
2159
2402
  options
2160
2403
  );
2161
2404
  continuationToken = result.nextLink;
2162
- yield result.value || [];
2405
+ let page = result.value || [];
2406
+ setContinuationToken(page, continuationToken);
2407
+ yield page;
2163
2408
  }
2164
2409
  }
2165
2410
 
@@ -2204,8 +2449,16 @@ export class WebAppsImpl implements WebApps {
2204
2449
  [Symbol.asyncIterator]() {
2205
2450
  return this;
2206
2451
  },
2207
- byPage: () => {
2208
- return this.listSiteBackupsPagingPage(resourceGroupName, name, options);
2452
+ byPage: (settings?: PageSettings) => {
2453
+ if (settings?.maxPageSize) {
2454
+ throw new Error("maxPageSize is not supported by this operation.");
2455
+ }
2456
+ return this.listSiteBackupsPagingPage(
2457
+ resourceGroupName,
2458
+ name,
2459
+ options,
2460
+ settings
2461
+ );
2209
2462
  }
2210
2463
  };
2211
2464
  }
@@ -2213,11 +2466,18 @@ export class WebAppsImpl implements WebApps {
2213
2466
  private async *listSiteBackupsPagingPage(
2214
2467
  resourceGroupName: string,
2215
2468
  name: string,
2216
- options?: WebAppsListSiteBackupsOptionalParams
2469
+ options?: WebAppsListSiteBackupsOptionalParams,
2470
+ settings?: PageSettings
2217
2471
  ): AsyncIterableIterator<BackupItem[]> {
2218
- let result = await this._listSiteBackups(resourceGroupName, name, options);
2219
- yield result.value || [];
2220
- let continuationToken = result.nextLink;
2472
+ let result: WebAppsListSiteBackupsResponse;
2473
+ let continuationToken = settings?.continuationToken;
2474
+ if (!continuationToken) {
2475
+ result = await this._listSiteBackups(resourceGroupName, name, options);
2476
+ let page = result.value || [];
2477
+ continuationToken = result.nextLink;
2478
+ setContinuationToken(page, continuationToken);
2479
+ yield page;
2480
+ }
2221
2481
  while (continuationToken) {
2222
2482
  result = await this._listSiteBackupsNext(
2223
2483
  resourceGroupName,
@@ -2226,7 +2486,9 @@ export class WebAppsImpl implements WebApps {
2226
2486
  options
2227
2487
  );
2228
2488
  continuationToken = result.nextLink;
2229
- yield result.value || [];
2489
+ let page = result.value || [];
2490
+ setContinuationToken(page, continuationToken);
2491
+ yield page;
2230
2492
  }
2231
2493
  }
2232
2494
 
@@ -2267,11 +2529,15 @@ export class WebAppsImpl implements WebApps {
2267
2529
  [Symbol.asyncIterator]() {
2268
2530
  return this;
2269
2531
  },
2270
- byPage: () => {
2532
+ byPage: (settings?: PageSettings) => {
2533
+ if (settings?.maxPageSize) {
2534
+ throw new Error("maxPageSize is not supported by this operation.");
2535
+ }
2271
2536
  return this.listPerfMonCountersPagingPage(
2272
2537
  resourceGroupName,
2273
2538
  name,
2274
- options
2539
+ options,
2540
+ settings
2275
2541
  );
2276
2542
  }
2277
2543
  };
@@ -2280,15 +2546,22 @@ export class WebAppsImpl implements WebApps {
2280
2546
  private async *listPerfMonCountersPagingPage(
2281
2547
  resourceGroupName: string,
2282
2548
  name: string,
2283
- options?: WebAppsListPerfMonCountersOptionalParams
2549
+ options?: WebAppsListPerfMonCountersOptionalParams,
2550
+ settings?: PageSettings
2284
2551
  ): AsyncIterableIterator<PerfMonResponse[]> {
2285
- let result = await this._listPerfMonCounters(
2286
- resourceGroupName,
2287
- name,
2288
- options
2289
- );
2290
- yield result.value || [];
2291
- let continuationToken = result.nextLink;
2552
+ let result: WebAppsListPerfMonCountersResponse;
2553
+ let continuationToken = settings?.continuationToken;
2554
+ if (!continuationToken) {
2555
+ result = await this._listPerfMonCounters(
2556
+ resourceGroupName,
2557
+ name,
2558
+ options
2559
+ );
2560
+ let page = result.value || [];
2561
+ continuationToken = result.nextLink;
2562
+ setContinuationToken(page, continuationToken);
2563
+ yield page;
2564
+ }
2292
2565
  while (continuationToken) {
2293
2566
  result = await this._listPerfMonCountersNext(
2294
2567
  resourceGroupName,
@@ -2297,7 +2570,9 @@ export class WebAppsImpl implements WebApps {
2297
2570
  options
2298
2571
  );
2299
2572
  continuationToken = result.nextLink;
2300
- yield result.value || [];
2573
+ let page = result.value || [];
2574
+ setContinuationToken(page, continuationToken);
2575
+ yield page;
2301
2576
  }
2302
2577
  }
2303
2578
 
@@ -2338,11 +2613,15 @@ export class WebAppsImpl implements WebApps {
2338
2613
  [Symbol.asyncIterator]() {
2339
2614
  return this;
2340
2615
  },
2341
- byPage: () => {
2616
+ byPage: (settings?: PageSettings) => {
2617
+ if (settings?.maxPageSize) {
2618
+ throw new Error("maxPageSize is not supported by this operation.");
2619
+ }
2342
2620
  return this.getPrivateEndpointConnectionListPagingPage(
2343
2621
  resourceGroupName,
2344
2622
  name,
2345
- options
2623
+ options,
2624
+ settings
2346
2625
  );
2347
2626
  }
2348
2627
  };
@@ -2351,15 +2630,22 @@ export class WebAppsImpl implements WebApps {
2351
2630
  private async *getPrivateEndpointConnectionListPagingPage(
2352
2631
  resourceGroupName: string,
2353
2632
  name: string,
2354
- options?: WebAppsGetPrivateEndpointConnectionListOptionalParams
2633
+ options?: WebAppsGetPrivateEndpointConnectionListOptionalParams,
2634
+ settings?: PageSettings
2355
2635
  ): AsyncIterableIterator<RemotePrivateEndpointConnectionARMResource[]> {
2356
- let result = await this._getPrivateEndpointConnectionList(
2357
- resourceGroupName,
2358
- name,
2359
- options
2360
- );
2361
- yield result.value || [];
2362
- let continuationToken = result.nextLink;
2636
+ let result: WebAppsGetPrivateEndpointConnectionListResponse;
2637
+ let continuationToken = settings?.continuationToken;
2638
+ if (!continuationToken) {
2639
+ result = await this._getPrivateEndpointConnectionList(
2640
+ resourceGroupName,
2641
+ name,
2642
+ options
2643
+ );
2644
+ let page = result.value || [];
2645
+ continuationToken = result.nextLink;
2646
+ setContinuationToken(page, continuationToken);
2647
+ yield page;
2648
+ }
2363
2649
  while (continuationToken) {
2364
2650
  result = await this._getPrivateEndpointConnectionListNext(
2365
2651
  resourceGroupName,
@@ -2368,7 +2654,9 @@ export class WebAppsImpl implements WebApps {
2368
2654
  options
2369
2655
  );
2370
2656
  continuationToken = result.nextLink;
2371
- yield result.value || [];
2657
+ let page = result.value || [];
2658
+ setContinuationToken(page, continuationToken);
2659
+ yield page;
2372
2660
  }
2373
2661
  }
2374
2662
 
@@ -2406,8 +2694,16 @@ export class WebAppsImpl implements WebApps {
2406
2694
  [Symbol.asyncIterator]() {
2407
2695
  return this;
2408
2696
  },
2409
- byPage: () => {
2410
- return this.listProcessesPagingPage(resourceGroupName, name, options);
2697
+ byPage: (settings?: PageSettings) => {
2698
+ if (settings?.maxPageSize) {
2699
+ throw new Error("maxPageSize is not supported by this operation.");
2700
+ }
2701
+ return this.listProcessesPagingPage(
2702
+ resourceGroupName,
2703
+ name,
2704
+ options,
2705
+ settings
2706
+ );
2411
2707
  }
2412
2708
  };
2413
2709
  }
@@ -2415,11 +2711,18 @@ export class WebAppsImpl implements WebApps {
2415
2711
  private async *listProcessesPagingPage(
2416
2712
  resourceGroupName: string,
2417
2713
  name: string,
2418
- options?: WebAppsListProcessesOptionalParams
2714
+ options?: WebAppsListProcessesOptionalParams,
2715
+ settings?: PageSettings
2419
2716
  ): AsyncIterableIterator<ProcessInfo[]> {
2420
- let result = await this._listProcesses(resourceGroupName, name, options);
2421
- yield result.value || [];
2422
- let continuationToken = result.nextLink;
2717
+ let result: WebAppsListProcessesResponse;
2718
+ let continuationToken = settings?.continuationToken;
2719
+ if (!continuationToken) {
2720
+ result = await this._listProcesses(resourceGroupName, name, options);
2721
+ let page = result.value || [];
2722
+ continuationToken = result.nextLink;
2723
+ setContinuationToken(page, continuationToken);
2724
+ yield page;
2725
+ }
2423
2726
  while (continuationToken) {
2424
2727
  result = await this._listProcessesNext(
2425
2728
  resourceGroupName,
@@ -2428,7 +2731,9 @@ export class WebAppsImpl implements WebApps {
2428
2731
  options
2429
2732
  );
2430
2733
  continuationToken = result.nextLink;
2431
- yield result.value || [];
2734
+ let page = result.value || [];
2735
+ setContinuationToken(page, continuationToken);
2736
+ yield page;
2432
2737
  }
2433
2738
  }
2434
2739
 
@@ -2473,12 +2778,16 @@ export class WebAppsImpl implements WebApps {
2473
2778
  [Symbol.asyncIterator]() {
2474
2779
  return this;
2475
2780
  },
2476
- byPage: () => {
2781
+ byPage: (settings?: PageSettings) => {
2782
+ if (settings?.maxPageSize) {
2783
+ throw new Error("maxPageSize is not supported by this operation.");
2784
+ }
2477
2785
  return this.listProcessModulesPagingPage(
2478
2786
  resourceGroupName,
2479
2787
  name,
2480
2788
  processId,
2481
- options
2789
+ options,
2790
+ settings
2482
2791
  );
2483
2792
  }
2484
2793
  };
@@ -2488,16 +2797,23 @@ export class WebAppsImpl implements WebApps {
2488
2797
  resourceGroupName: string,
2489
2798
  name: string,
2490
2799
  processId: string,
2491
- options?: WebAppsListProcessModulesOptionalParams
2800
+ options?: WebAppsListProcessModulesOptionalParams,
2801
+ settings?: PageSettings
2492
2802
  ): AsyncIterableIterator<ProcessModuleInfo[]> {
2493
- let result = await this._listProcessModules(
2494
- resourceGroupName,
2495
- name,
2496
- processId,
2497
- options
2498
- );
2499
- yield result.value || [];
2500
- let continuationToken = result.nextLink;
2803
+ let result: WebAppsListProcessModulesResponse;
2804
+ let continuationToken = settings?.continuationToken;
2805
+ if (!continuationToken) {
2806
+ result = await this._listProcessModules(
2807
+ resourceGroupName,
2808
+ name,
2809
+ processId,
2810
+ options
2811
+ );
2812
+ let page = result.value || [];
2813
+ continuationToken = result.nextLink;
2814
+ setContinuationToken(page, continuationToken);
2815
+ yield page;
2816
+ }
2501
2817
  while (continuationToken) {
2502
2818
  result = await this._listProcessModulesNext(
2503
2819
  resourceGroupName,
@@ -2507,7 +2823,9 @@ export class WebAppsImpl implements WebApps {
2507
2823
  options
2508
2824
  );
2509
2825
  continuationToken = result.nextLink;
2510
- yield result.value || [];
2826
+ let page = result.value || [];
2827
+ setContinuationToken(page, continuationToken);
2828
+ yield page;
2511
2829
  }
2512
2830
  }
2513
2831
 
@@ -2554,12 +2872,16 @@ export class WebAppsImpl implements WebApps {
2554
2872
  [Symbol.asyncIterator]() {
2555
2873
  return this;
2556
2874
  },
2557
- byPage: () => {
2875
+ byPage: (settings?: PageSettings) => {
2876
+ if (settings?.maxPageSize) {
2877
+ throw new Error("maxPageSize is not supported by this operation.");
2878
+ }
2558
2879
  return this.listProcessThreadsPagingPage(
2559
2880
  resourceGroupName,
2560
2881
  name,
2561
2882
  processId,
2562
- options
2883
+ options,
2884
+ settings
2563
2885
  );
2564
2886
  }
2565
2887
  };
@@ -2569,16 +2891,23 @@ export class WebAppsImpl implements WebApps {
2569
2891
  resourceGroupName: string,
2570
2892
  name: string,
2571
2893
  processId: string,
2572
- options?: WebAppsListProcessThreadsOptionalParams
2894
+ options?: WebAppsListProcessThreadsOptionalParams,
2895
+ settings?: PageSettings
2573
2896
  ): AsyncIterableIterator<ProcessThreadInfo[]> {
2574
- let result = await this._listProcessThreads(
2575
- resourceGroupName,
2576
- name,
2577
- processId,
2578
- options
2579
- );
2580
- yield result.value || [];
2581
- let continuationToken = result.nextLink;
2897
+ let result: WebAppsListProcessThreadsResponse;
2898
+ let continuationToken = settings?.continuationToken;
2899
+ if (!continuationToken) {
2900
+ result = await this._listProcessThreads(
2901
+ resourceGroupName,
2902
+ name,
2903
+ processId,
2904
+ options
2905
+ );
2906
+ let page = result.value || [];
2907
+ continuationToken = result.nextLink;
2908
+ setContinuationToken(page, continuationToken);
2909
+ yield page;
2910
+ }
2582
2911
  while (continuationToken) {
2583
2912
  result = await this._listProcessThreadsNext(
2584
2913
  resourceGroupName,
@@ -2588,7 +2917,9 @@ export class WebAppsImpl implements WebApps {
2588
2917
  options
2589
2918
  );
2590
2919
  continuationToken = result.nextLink;
2591
- yield result.value || [];
2920
+ let page = result.value || [];
2921
+ setContinuationToken(page, continuationToken);
2922
+ yield page;
2592
2923
  }
2593
2924
  }
2594
2925
 
@@ -2631,11 +2962,15 @@ export class WebAppsImpl implements WebApps {
2631
2962
  [Symbol.asyncIterator]() {
2632
2963
  return this;
2633
2964
  },
2634
- byPage: () => {
2965
+ byPage: (settings?: PageSettings) => {
2966
+ if (settings?.maxPageSize) {
2967
+ throw new Error("maxPageSize is not supported by this operation.");
2968
+ }
2635
2969
  return this.listPublicCertificatesPagingPage(
2636
2970
  resourceGroupName,
2637
2971
  name,
2638
- options
2972
+ options,
2973
+ settings
2639
2974
  );
2640
2975
  }
2641
2976
  };
@@ -2644,15 +2979,22 @@ export class WebAppsImpl implements WebApps {
2644
2979
  private async *listPublicCertificatesPagingPage(
2645
2980
  resourceGroupName: string,
2646
2981
  name: string,
2647
- options?: WebAppsListPublicCertificatesOptionalParams
2982
+ options?: WebAppsListPublicCertificatesOptionalParams,
2983
+ settings?: PageSettings
2648
2984
  ): AsyncIterableIterator<PublicCertificate[]> {
2649
- let result = await this._listPublicCertificates(
2650
- resourceGroupName,
2651
- name,
2652
- options
2653
- );
2654
- yield result.value || [];
2655
- let continuationToken = result.nextLink;
2985
+ let result: WebAppsListPublicCertificatesResponse;
2986
+ let continuationToken = settings?.continuationToken;
2987
+ if (!continuationToken) {
2988
+ result = await this._listPublicCertificates(
2989
+ resourceGroupName,
2990
+ name,
2991
+ options
2992
+ );
2993
+ let page = result.value || [];
2994
+ continuationToken = result.nextLink;
2995
+ setContinuationToken(page, continuationToken);
2996
+ yield page;
2997
+ }
2656
2998
  while (continuationToken) {
2657
2999
  result = await this._listPublicCertificatesNext(
2658
3000
  resourceGroupName,
@@ -2661,7 +3003,9 @@ export class WebAppsImpl implements WebApps {
2661
3003
  options
2662
3004
  );
2663
3005
  continuationToken = result.nextLink;
2664
- yield result.value || [];
3006
+ let page = result.value || [];
3007
+ setContinuationToken(page, continuationToken);
3008
+ yield page;
2665
3009
  }
2666
3010
  }
2667
3011
 
@@ -2702,11 +3046,15 @@ export class WebAppsImpl implements WebApps {
2702
3046
  [Symbol.asyncIterator]() {
2703
3047
  return this;
2704
3048
  },
2705
- byPage: () => {
3049
+ byPage: (settings?: PageSettings) => {
3050
+ if (settings?.maxPageSize) {
3051
+ throw new Error("maxPageSize is not supported by this operation.");
3052
+ }
2706
3053
  return this.listSiteExtensionsPagingPage(
2707
3054
  resourceGroupName,
2708
3055
  name,
2709
- options
3056
+ options,
3057
+ settings
2710
3058
  );
2711
3059
  }
2712
3060
  };
@@ -2715,15 +3063,18 @@ export class WebAppsImpl implements WebApps {
2715
3063
  private async *listSiteExtensionsPagingPage(
2716
3064
  resourceGroupName: string,
2717
3065
  name: string,
2718
- options?: WebAppsListSiteExtensionsOptionalParams
3066
+ options?: WebAppsListSiteExtensionsOptionalParams,
3067
+ settings?: PageSettings
2719
3068
  ): AsyncIterableIterator<SiteExtensionInfo[]> {
2720
- let result = await this._listSiteExtensions(
2721
- resourceGroupName,
2722
- name,
2723
- options
2724
- );
2725
- yield result.value || [];
2726
- let continuationToken = result.nextLink;
3069
+ let result: WebAppsListSiteExtensionsResponse;
3070
+ let continuationToken = settings?.continuationToken;
3071
+ if (!continuationToken) {
3072
+ result = await this._listSiteExtensions(resourceGroupName, name, options);
3073
+ let page = result.value || [];
3074
+ continuationToken = result.nextLink;
3075
+ setContinuationToken(page, continuationToken);
3076
+ yield page;
3077
+ }
2727
3078
  while (continuationToken) {
2728
3079
  result = await this._listSiteExtensionsNext(
2729
3080
  resourceGroupName,
@@ -2732,7 +3083,9 @@ export class WebAppsImpl implements WebApps {
2732
3083
  options
2733
3084
  );
2734
3085
  continuationToken = result.nextLink;
2735
- yield result.value || [];
3086
+ let page = result.value || [];
3087
+ setContinuationToken(page, continuationToken);
3088
+ yield page;
2736
3089
  }
2737
3090
  }
2738
3091
 
@@ -2769,8 +3122,16 @@ export class WebAppsImpl implements WebApps {
2769
3122
  [Symbol.asyncIterator]() {
2770
3123
  return this;
2771
3124
  },
2772
- byPage: () => {
2773
- return this.listSlotsPagingPage(resourceGroupName, name, options);
3125
+ byPage: (settings?: PageSettings) => {
3126
+ if (settings?.maxPageSize) {
3127
+ throw new Error("maxPageSize is not supported by this operation.");
3128
+ }
3129
+ return this.listSlotsPagingPage(
3130
+ resourceGroupName,
3131
+ name,
3132
+ options,
3133
+ settings
3134
+ );
2774
3135
  }
2775
3136
  };
2776
3137
  }
@@ -2778,11 +3139,18 @@ export class WebAppsImpl implements WebApps {
2778
3139
  private async *listSlotsPagingPage(
2779
3140
  resourceGroupName: string,
2780
3141
  name: string,
2781
- options?: WebAppsListSlotsOptionalParams
3142
+ options?: WebAppsListSlotsOptionalParams,
3143
+ settings?: PageSettings
2782
3144
  ): AsyncIterableIterator<Site[]> {
2783
- let result = await this._listSlots(resourceGroupName, name, options);
2784
- yield result.value || [];
2785
- let continuationToken = result.nextLink;
3145
+ let result: WebAppsListSlotsResponse;
3146
+ let continuationToken = settings?.continuationToken;
3147
+ if (!continuationToken) {
3148
+ result = await this._listSlots(resourceGroupName, name, options);
3149
+ let page = result.value || [];
3150
+ continuationToken = result.nextLink;
3151
+ setContinuationToken(page, continuationToken);
3152
+ yield page;
3153
+ }
2786
3154
  while (continuationToken) {
2787
3155
  result = await this._listSlotsNext(
2788
3156
  resourceGroupName,
@@ -2791,7 +3159,9 @@ export class WebAppsImpl implements WebApps {
2791
3159
  options
2792
3160
  );
2793
3161
  continuationToken = result.nextLink;
2794
- yield result.value || [];
3162
+ let page = result.value || [];
3163
+ setContinuationToken(page, continuationToken);
3164
+ yield page;
2795
3165
  }
2796
3166
  }
2797
3167
 
@@ -2836,12 +3206,16 @@ export class WebAppsImpl implements WebApps {
2836
3206
  [Symbol.asyncIterator]() {
2837
3207
  return this;
2838
3208
  },
2839
- byPage: () => {
3209
+ byPage: (settings?: PageSettings) => {
3210
+ if (settings?.maxPageSize) {
3211
+ throw new Error("maxPageSize is not supported by this operation.");
3212
+ }
2840
3213
  return this.listBackupsSlotPagingPage(
2841
3214
  resourceGroupName,
2842
3215
  name,
2843
3216
  slot,
2844
- options
3217
+ options,
3218
+ settings
2845
3219
  );
2846
3220
  }
2847
3221
  };
@@ -2851,16 +3225,23 @@ export class WebAppsImpl implements WebApps {
2851
3225
  resourceGroupName: string,
2852
3226
  name: string,
2853
3227
  slot: string,
2854
- options?: WebAppsListBackupsSlotOptionalParams
3228
+ options?: WebAppsListBackupsSlotOptionalParams,
3229
+ settings?: PageSettings
2855
3230
  ): AsyncIterableIterator<BackupItem[]> {
2856
- let result = await this._listBackupsSlot(
2857
- resourceGroupName,
2858
- name,
2859
- slot,
2860
- options
2861
- );
2862
- yield result.value || [];
2863
- let continuationToken = result.nextLink;
3231
+ let result: WebAppsListBackupsSlotResponse;
3232
+ let continuationToken = settings?.continuationToken;
3233
+ if (!continuationToken) {
3234
+ result = await this._listBackupsSlot(
3235
+ resourceGroupName,
3236
+ name,
3237
+ slot,
3238
+ options
3239
+ );
3240
+ let page = result.value || [];
3241
+ continuationToken = result.nextLink;
3242
+ setContinuationToken(page, continuationToken);
3243
+ yield page;
3244
+ }
2864
3245
  while (continuationToken) {
2865
3246
  result = await this._listBackupsSlotNext(
2866
3247
  resourceGroupName,
@@ -2870,7 +3251,9 @@ export class WebAppsImpl implements WebApps {
2870
3251
  options
2871
3252
  );
2872
3253
  continuationToken = result.nextLink;
2873
- yield result.value || [];
3254
+ let page = result.value || [];
3255
+ setContinuationToken(page, continuationToken);
3256
+ yield page;
2874
3257
  }
2875
3258
  }
2876
3259
 
@@ -2917,12 +3300,16 @@ export class WebAppsImpl implements WebApps {
2917
3300
  [Symbol.asyncIterator]() {
2918
3301
  return this;
2919
3302
  },
2920
- byPage: () => {
3303
+ byPage: (settings?: PageSettings) => {
3304
+ if (settings?.maxPageSize) {
3305
+ throw new Error("maxPageSize is not supported by this operation.");
3306
+ }
2921
3307
  return this.listBasicPublishingCredentialsPoliciesSlotPagingPage(
2922
3308
  resourceGroupName,
2923
3309
  name,
2924
3310
  slot,
2925
- options
3311
+ options,
3312
+ settings
2926
3313
  );
2927
3314
  }
2928
3315
  };
@@ -2932,16 +3319,23 @@ export class WebAppsImpl implements WebApps {
2932
3319
  resourceGroupName: string,
2933
3320
  name: string,
2934
3321
  slot: string,
2935
- options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams
3322
+ options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams,
3323
+ settings?: PageSettings
2936
3324
  ): AsyncIterableIterator<CsmPublishingCredentialsPoliciesEntity[]> {
2937
- let result = await this._listBasicPublishingCredentialsPoliciesSlot(
2938
- resourceGroupName,
2939
- name,
2940
- slot,
2941
- options
2942
- );
2943
- yield result.value || [];
2944
- let continuationToken = result.nextLink;
3325
+ let result: WebAppsListBasicPublishingCredentialsPoliciesSlotResponse;
3326
+ let continuationToken = settings?.continuationToken;
3327
+ if (!continuationToken) {
3328
+ result = await this._listBasicPublishingCredentialsPoliciesSlot(
3329
+ resourceGroupName,
3330
+ name,
3331
+ slot,
3332
+ options
3333
+ );
3334
+ let page = result.value || [];
3335
+ continuationToken = result.nextLink;
3336
+ setContinuationToken(page, continuationToken);
3337
+ yield page;
3338
+ }
2945
3339
  while (continuationToken) {
2946
3340
  result = await this._listBasicPublishingCredentialsPoliciesSlotNext(
2947
3341
  resourceGroupName,
@@ -2951,7 +3345,9 @@ export class WebAppsImpl implements WebApps {
2951
3345
  options
2952
3346
  );
2953
3347
  continuationToken = result.nextLink;
2954
- yield result.value || [];
3348
+ let page = result.value || [];
3349
+ setContinuationToken(page, continuationToken);
3350
+ yield page;
2955
3351
  }
2956
3352
  }
2957
3353
 
@@ -2998,12 +3394,16 @@ export class WebAppsImpl implements WebApps {
2998
3394
  [Symbol.asyncIterator]() {
2999
3395
  return this;
3000
3396
  },
3001
- byPage: () => {
3397
+ byPage: (settings?: PageSettings) => {
3398
+ if (settings?.maxPageSize) {
3399
+ throw new Error("maxPageSize is not supported by this operation.");
3400
+ }
3002
3401
  return this.listConfigurationsSlotPagingPage(
3003
3402
  resourceGroupName,
3004
3403
  name,
3005
3404
  slot,
3006
- options
3405
+ options,
3406
+ settings
3007
3407
  );
3008
3408
  }
3009
3409
  };
@@ -3013,16 +3413,23 @@ export class WebAppsImpl implements WebApps {
3013
3413
  resourceGroupName: string,
3014
3414
  name: string,
3015
3415
  slot: string,
3016
- options?: WebAppsListConfigurationsSlotOptionalParams
3416
+ options?: WebAppsListConfigurationsSlotOptionalParams,
3417
+ settings?: PageSettings
3017
3418
  ): AsyncIterableIterator<SiteConfigResource[]> {
3018
- let result = await this._listConfigurationsSlot(
3019
- resourceGroupName,
3020
- name,
3021
- slot,
3022
- options
3023
- );
3024
- yield result.value || [];
3025
- let continuationToken = result.nextLink;
3419
+ let result: WebAppsListConfigurationsSlotResponse;
3420
+ let continuationToken = settings?.continuationToken;
3421
+ if (!continuationToken) {
3422
+ result = await this._listConfigurationsSlot(
3423
+ resourceGroupName,
3424
+ name,
3425
+ slot,
3426
+ options
3427
+ );
3428
+ let page = result.value || [];
3429
+ continuationToken = result.nextLink;
3430
+ setContinuationToken(page, continuationToken);
3431
+ yield page;
3432
+ }
3026
3433
  while (continuationToken) {
3027
3434
  result = await this._listConfigurationsSlotNext(
3028
3435
  resourceGroupName,
@@ -3032,7 +3439,9 @@ export class WebAppsImpl implements WebApps {
3032
3439
  options
3033
3440
  );
3034
3441
  continuationToken = result.nextLink;
3035
- yield result.value || [];
3442
+ let page = result.value || [];
3443
+ setContinuationToken(page, continuationToken);
3444
+ yield page;
3036
3445
  }
3037
3446
  }
3038
3447
 
@@ -3078,12 +3487,16 @@ export class WebAppsImpl implements WebApps {
3078
3487
  [Symbol.asyncIterator]() {
3079
3488
  return this;
3080
3489
  },
3081
- byPage: () => {
3490
+ byPage: (settings?: PageSettings) => {
3491
+ if (settings?.maxPageSize) {
3492
+ throw new Error("maxPageSize is not supported by this operation.");
3493
+ }
3082
3494
  return this.getAppSettingsKeyVaultReferencesSlotPagingPage(
3083
3495
  resourceGroupName,
3084
3496
  name,
3085
3497
  slot,
3086
- options
3498
+ options,
3499
+ settings
3087
3500
  );
3088
3501
  }
3089
3502
  };
@@ -3093,16 +3506,23 @@ export class WebAppsImpl implements WebApps {
3093
3506
  resourceGroupName: string,
3094
3507
  name: string,
3095
3508
  slot: string,
3096
- options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams
3509
+ options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams,
3510
+ settings?: PageSettings
3097
3511
  ): AsyncIterableIterator<ApiKVReference[]> {
3098
- let result = await this._getAppSettingsKeyVaultReferencesSlot(
3099
- resourceGroupName,
3100
- name,
3101
- slot,
3102
- options
3103
- );
3104
- yield result.value || [];
3105
- let continuationToken = result.nextLink;
3512
+ let result: WebAppsGetAppSettingsKeyVaultReferencesSlotResponse;
3513
+ let continuationToken = settings?.continuationToken;
3514
+ if (!continuationToken) {
3515
+ result = await this._getAppSettingsKeyVaultReferencesSlot(
3516
+ resourceGroupName,
3517
+ name,
3518
+ slot,
3519
+ options
3520
+ );
3521
+ let page = result.value || [];
3522
+ continuationToken = result.nextLink;
3523
+ setContinuationToken(page, continuationToken);
3524
+ yield page;
3525
+ }
3106
3526
  while (continuationToken) {
3107
3527
  result = await this._getAppSettingsKeyVaultReferencesSlotNext(
3108
3528
  resourceGroupName,
@@ -3112,7 +3532,9 @@ export class WebAppsImpl implements WebApps {
3112
3532
  options
3113
3533
  );
3114
3534
  continuationToken = result.nextLink;
3115
- yield result.value || [];
3535
+ let page = result.value || [];
3536
+ setContinuationToken(page, continuationToken);
3537
+ yield page;
3116
3538
  }
3117
3539
  }
3118
3540
 
@@ -3158,12 +3580,16 @@ export class WebAppsImpl implements WebApps {
3158
3580
  [Symbol.asyncIterator]() {
3159
3581
  return this;
3160
3582
  },
3161
- byPage: () => {
3583
+ byPage: (settings?: PageSettings) => {
3584
+ if (settings?.maxPageSize) {
3585
+ throw new Error("maxPageSize is not supported by this operation.");
3586
+ }
3162
3587
  return this.getSiteConnectionStringKeyVaultReferencesSlotPagingPage(
3163
3588
  resourceGroupName,
3164
3589
  name,
3165
3590
  slot,
3166
- options
3591
+ options,
3592
+ settings
3167
3593
  );
3168
3594
  }
3169
3595
  };
@@ -3173,16 +3599,23 @@ export class WebAppsImpl implements WebApps {
3173
3599
  resourceGroupName: string,
3174
3600
  name: string,
3175
3601
  slot: string,
3176
- options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams
3602
+ options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams,
3603
+ settings?: PageSettings
3177
3604
  ): AsyncIterableIterator<ApiKVReference[]> {
3178
- let result = await this._getSiteConnectionStringKeyVaultReferencesSlot(
3179
- resourceGroupName,
3180
- name,
3181
- slot,
3182
- options
3183
- );
3184
- yield result.value || [];
3185
- let continuationToken = result.nextLink;
3605
+ let result: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse;
3606
+ let continuationToken = settings?.continuationToken;
3607
+ if (!continuationToken) {
3608
+ result = await this._getSiteConnectionStringKeyVaultReferencesSlot(
3609
+ resourceGroupName,
3610
+ name,
3611
+ slot,
3612
+ options
3613
+ );
3614
+ let page = result.value || [];
3615
+ continuationToken = result.nextLink;
3616
+ setContinuationToken(page, continuationToken);
3617
+ yield page;
3618
+ }
3186
3619
  while (continuationToken) {
3187
3620
  result = await this._getSiteConnectionStringKeyVaultReferencesSlotNext(
3188
3621
  resourceGroupName,
@@ -3192,7 +3625,9 @@ export class WebAppsImpl implements WebApps {
3192
3625
  options
3193
3626
  );
3194
3627
  continuationToken = result.nextLink;
3195
- yield result.value || [];
3628
+ let page = result.value || [];
3629
+ setContinuationToken(page, continuationToken);
3630
+ yield page;
3196
3631
  }
3197
3632
  }
3198
3633
 
@@ -3240,12 +3675,16 @@ export class WebAppsImpl implements WebApps {
3240
3675
  [Symbol.asyncIterator]() {
3241
3676
  return this;
3242
3677
  },
3243
- byPage: () => {
3678
+ byPage: (settings?: PageSettings) => {
3679
+ if (settings?.maxPageSize) {
3680
+ throw new Error("maxPageSize is not supported by this operation.");
3681
+ }
3244
3682
  return this.listConfigurationSnapshotInfoSlotPagingPage(
3245
3683
  resourceGroupName,
3246
3684
  name,
3247
3685
  slot,
3248
- options
3686
+ options,
3687
+ settings
3249
3688
  );
3250
3689
  }
3251
3690
  };
@@ -3255,16 +3694,23 @@ export class WebAppsImpl implements WebApps {
3255
3694
  resourceGroupName: string,
3256
3695
  name: string,
3257
3696
  slot: string,
3258
- options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams
3697
+ options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams,
3698
+ settings?: PageSettings
3259
3699
  ): AsyncIterableIterator<SiteConfigurationSnapshotInfo[]> {
3260
- let result = await this._listConfigurationSnapshotInfoSlot(
3261
- resourceGroupName,
3262
- name,
3263
- slot,
3264
- options
3265
- );
3266
- yield result.value || [];
3267
- let continuationToken = result.nextLink;
3700
+ let result: WebAppsListConfigurationSnapshotInfoSlotResponse;
3701
+ let continuationToken = settings?.continuationToken;
3702
+ if (!continuationToken) {
3703
+ result = await this._listConfigurationSnapshotInfoSlot(
3704
+ resourceGroupName,
3705
+ name,
3706
+ slot,
3707
+ options
3708
+ );
3709
+ let page = result.value || [];
3710
+ continuationToken = result.nextLink;
3711
+ setContinuationToken(page, continuationToken);
3712
+ yield page;
3713
+ }
3268
3714
  while (continuationToken) {
3269
3715
  result = await this._listConfigurationSnapshotInfoSlotNext(
3270
3716
  resourceGroupName,
@@ -3274,7 +3720,9 @@ export class WebAppsImpl implements WebApps {
3274
3720
  options
3275
3721
  );
3276
3722
  continuationToken = result.nextLink;
3277
- yield result.value || [];
3723
+ let page = result.value || [];
3724
+ setContinuationToken(page, continuationToken);
3725
+ yield page;
3278
3726
  }
3279
3727
  }
3280
3728
 
@@ -3321,12 +3769,16 @@ export class WebAppsImpl implements WebApps {
3321
3769
  [Symbol.asyncIterator]() {
3322
3770
  return this;
3323
3771
  },
3324
- byPage: () => {
3772
+ byPage: (settings?: PageSettings) => {
3773
+ if (settings?.maxPageSize) {
3774
+ throw new Error("maxPageSize is not supported by this operation.");
3775
+ }
3325
3776
  return this.listContinuousWebJobsSlotPagingPage(
3326
3777
  resourceGroupName,
3327
3778
  name,
3328
3779
  slot,
3329
- options
3780
+ options,
3781
+ settings
3330
3782
  );
3331
3783
  }
3332
3784
  };
@@ -3336,29 +3788,38 @@ export class WebAppsImpl implements WebApps {
3336
3788
  resourceGroupName: string,
3337
3789
  name: string,
3338
3790
  slot: string,
3339
- options?: WebAppsListContinuousWebJobsSlotOptionalParams
3791
+ options?: WebAppsListContinuousWebJobsSlotOptionalParams,
3792
+ settings?: PageSettings
3340
3793
  ): AsyncIterableIterator<ContinuousWebJob[]> {
3341
- let result = await this._listContinuousWebJobsSlot(
3342
- resourceGroupName,
3343
- name,
3344
- slot,
3345
- options
3346
- );
3347
- yield result.value || [];
3348
- let continuationToken = result.nextLink;
3349
- while (continuationToken) {
3350
- result = await this._listContinuousWebJobsSlotNext(
3794
+ let result: WebAppsListContinuousWebJobsSlotResponse;
3795
+ let continuationToken = settings?.continuationToken;
3796
+ if (!continuationToken) {
3797
+ result = await this._listContinuousWebJobsSlot(
3351
3798
  resourceGroupName,
3352
3799
  name,
3353
3800
  slot,
3354
- continuationToken,
3355
3801
  options
3356
3802
  );
3803
+ let page = result.value || [];
3357
3804
  continuationToken = result.nextLink;
3358
- yield result.value || [];
3805
+ setContinuationToken(page, continuationToken);
3806
+ yield page;
3359
3807
  }
3360
- }
3361
-
3808
+ while (continuationToken) {
3809
+ result = await this._listContinuousWebJobsSlotNext(
3810
+ resourceGroupName,
3811
+ name,
3812
+ slot,
3813
+ continuationToken,
3814
+ options
3815
+ );
3816
+ continuationToken = result.nextLink;
3817
+ let page = result.value || [];
3818
+ setContinuationToken(page, continuationToken);
3819
+ yield page;
3820
+ }
3821
+ }
3822
+
3362
3823
  private async *listContinuousWebJobsSlotPagingAll(
3363
3824
  resourceGroupName: string,
3364
3825
  name: string,
@@ -3402,12 +3863,16 @@ export class WebAppsImpl implements WebApps {
3402
3863
  [Symbol.asyncIterator]() {
3403
3864
  return this;
3404
3865
  },
3405
- byPage: () => {
3866
+ byPage: (settings?: PageSettings) => {
3867
+ if (settings?.maxPageSize) {
3868
+ throw new Error("maxPageSize is not supported by this operation.");
3869
+ }
3406
3870
  return this.listSlotSiteDeploymentStatusesSlotPagingPage(
3407
3871
  resourceGroupName,
3408
3872
  name,
3409
3873
  slot,
3410
- options
3874
+ options,
3875
+ settings
3411
3876
  );
3412
3877
  }
3413
3878
  };
@@ -3417,16 +3882,23 @@ export class WebAppsImpl implements WebApps {
3417
3882
  resourceGroupName: string,
3418
3883
  name: string,
3419
3884
  slot: string,
3420
- options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams
3885
+ options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams,
3886
+ settings?: PageSettings
3421
3887
  ): AsyncIterableIterator<CsmDeploymentStatus[]> {
3422
- let result = await this._listSlotSiteDeploymentStatusesSlot(
3423
- resourceGroupName,
3424
- name,
3425
- slot,
3426
- options
3427
- );
3428
- yield result.value || [];
3429
- let continuationToken = result.nextLink;
3888
+ let result: WebAppsListSlotSiteDeploymentStatusesSlotResponse;
3889
+ let continuationToken = settings?.continuationToken;
3890
+ if (!continuationToken) {
3891
+ result = await this._listSlotSiteDeploymentStatusesSlot(
3892
+ resourceGroupName,
3893
+ name,
3894
+ slot,
3895
+ options
3896
+ );
3897
+ let page = result.value || [];
3898
+ continuationToken = result.nextLink;
3899
+ setContinuationToken(page, continuationToken);
3900
+ yield page;
3901
+ }
3430
3902
  while (continuationToken) {
3431
3903
  result = await this._listSlotSiteDeploymentStatusesSlotNext(
3432
3904
  resourceGroupName,
@@ -3436,7 +3908,9 @@ export class WebAppsImpl implements WebApps {
3436
3908
  options
3437
3909
  );
3438
3910
  continuationToken = result.nextLink;
3439
- yield result.value || [];
3911
+ let page = result.value || [];
3912
+ setContinuationToken(page, continuationToken);
3913
+ yield page;
3440
3914
  }
3441
3915
  }
3442
3916
 
@@ -3483,12 +3957,16 @@ export class WebAppsImpl implements WebApps {
3483
3957
  [Symbol.asyncIterator]() {
3484
3958
  return this;
3485
3959
  },
3486
- byPage: () => {
3960
+ byPage: (settings?: PageSettings) => {
3961
+ if (settings?.maxPageSize) {
3962
+ throw new Error("maxPageSize is not supported by this operation.");
3963
+ }
3487
3964
  return this.listDeploymentsSlotPagingPage(
3488
3965
  resourceGroupName,
3489
3966
  name,
3490
3967
  slot,
3491
- options
3968
+ options,
3969
+ settings
3492
3970
  );
3493
3971
  }
3494
3972
  };
@@ -3498,16 +3976,23 @@ export class WebAppsImpl implements WebApps {
3498
3976
  resourceGroupName: string,
3499
3977
  name: string,
3500
3978
  slot: string,
3501
- options?: WebAppsListDeploymentsSlotOptionalParams
3979
+ options?: WebAppsListDeploymentsSlotOptionalParams,
3980
+ settings?: PageSettings
3502
3981
  ): AsyncIterableIterator<Deployment[]> {
3503
- let result = await this._listDeploymentsSlot(
3504
- resourceGroupName,
3505
- name,
3506
- slot,
3507
- options
3508
- );
3509
- yield result.value || [];
3510
- let continuationToken = result.nextLink;
3982
+ let result: WebAppsListDeploymentsSlotResponse;
3983
+ let continuationToken = settings?.continuationToken;
3984
+ if (!continuationToken) {
3985
+ result = await this._listDeploymentsSlot(
3986
+ resourceGroupName,
3987
+ name,
3988
+ slot,
3989
+ options
3990
+ );
3991
+ let page = result.value || [];
3992
+ continuationToken = result.nextLink;
3993
+ setContinuationToken(page, continuationToken);
3994
+ yield page;
3995
+ }
3511
3996
  while (continuationToken) {
3512
3997
  result = await this._listDeploymentsSlotNext(
3513
3998
  resourceGroupName,
@@ -3517,7 +4002,9 @@ export class WebAppsImpl implements WebApps {
3517
4002
  options
3518
4003
  );
3519
4004
  continuationToken = result.nextLink;
3520
- yield result.value || [];
4005
+ let page = result.value || [];
4006
+ setContinuationToken(page, continuationToken);
4007
+ yield page;
3521
4008
  }
3522
4009
  }
3523
4010
 
@@ -3564,12 +4051,16 @@ export class WebAppsImpl implements WebApps {
3564
4051
  [Symbol.asyncIterator]() {
3565
4052
  return this;
3566
4053
  },
3567
- byPage: () => {
4054
+ byPage: (settings?: PageSettings) => {
4055
+ if (settings?.maxPageSize) {
4056
+ throw new Error("maxPageSize is not supported by this operation.");
4057
+ }
3568
4058
  return this.listDomainOwnershipIdentifiersSlotPagingPage(
3569
4059
  resourceGroupName,
3570
4060
  name,
3571
4061
  slot,
3572
- options
4062
+ options,
4063
+ settings
3573
4064
  );
3574
4065
  }
3575
4066
  };
@@ -3579,16 +4070,23 @@ export class WebAppsImpl implements WebApps {
3579
4070
  resourceGroupName: string,
3580
4071
  name: string,
3581
4072
  slot: string,
3582
- options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams
4073
+ options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams,
4074
+ settings?: PageSettings
3583
4075
  ): AsyncIterableIterator<Identifier[]> {
3584
- let result = await this._listDomainOwnershipIdentifiersSlot(
3585
- resourceGroupName,
3586
- name,
3587
- slot,
3588
- options
3589
- );
3590
- yield result.value || [];
3591
- let continuationToken = result.nextLink;
4076
+ let result: WebAppsListDomainOwnershipIdentifiersSlotResponse;
4077
+ let continuationToken = settings?.continuationToken;
4078
+ if (!continuationToken) {
4079
+ result = await this._listDomainOwnershipIdentifiersSlot(
4080
+ resourceGroupName,
4081
+ name,
4082
+ slot,
4083
+ options
4084
+ );
4085
+ let page = result.value || [];
4086
+ continuationToken = result.nextLink;
4087
+ setContinuationToken(page, continuationToken);
4088
+ yield page;
4089
+ }
3592
4090
  while (continuationToken) {
3593
4091
  result = await this._listDomainOwnershipIdentifiersSlotNext(
3594
4092
  resourceGroupName,
@@ -3598,7 +4096,9 @@ export class WebAppsImpl implements WebApps {
3598
4096
  options
3599
4097
  );
3600
4098
  continuationToken = result.nextLink;
3601
- yield result.value || [];
4099
+ let page = result.value || [];
4100
+ setContinuationToken(page, continuationToken);
4101
+ yield page;
3602
4102
  }
3603
4103
  }
3604
4104
 
@@ -3644,12 +4144,16 @@ export class WebAppsImpl implements WebApps {
3644
4144
  [Symbol.asyncIterator]() {
3645
4145
  return this;
3646
4146
  },
3647
- byPage: () => {
4147
+ byPage: (settings?: PageSettings) => {
4148
+ if (settings?.maxPageSize) {
4149
+ throw new Error("maxPageSize is not supported by this operation.");
4150
+ }
3648
4151
  return this.listInstanceFunctionsSlotPagingPage(
3649
4152
  resourceGroupName,
3650
4153
  name,
3651
4154
  slot,
3652
- options
4155
+ options,
4156
+ settings
3653
4157
  );
3654
4158
  }
3655
4159
  };
@@ -3659,16 +4163,23 @@ export class WebAppsImpl implements WebApps {
3659
4163
  resourceGroupName: string,
3660
4164
  name: string,
3661
4165
  slot: string,
3662
- options?: WebAppsListInstanceFunctionsSlotOptionalParams
4166
+ options?: WebAppsListInstanceFunctionsSlotOptionalParams,
4167
+ settings?: PageSettings
3663
4168
  ): AsyncIterableIterator<FunctionEnvelope[]> {
3664
- let result = await this._listInstanceFunctionsSlot(
3665
- resourceGroupName,
3666
- name,
3667
- slot,
3668
- options
3669
- );
3670
- yield result.value || [];
3671
- let continuationToken = result.nextLink;
4169
+ let result: WebAppsListInstanceFunctionsSlotResponse;
4170
+ let continuationToken = settings?.continuationToken;
4171
+ if (!continuationToken) {
4172
+ result = await this._listInstanceFunctionsSlot(
4173
+ resourceGroupName,
4174
+ name,
4175
+ slot,
4176
+ options
4177
+ );
4178
+ let page = result.value || [];
4179
+ continuationToken = result.nextLink;
4180
+ setContinuationToken(page, continuationToken);
4181
+ yield page;
4182
+ }
3672
4183
  while (continuationToken) {
3673
4184
  result = await this._listInstanceFunctionsSlotNext(
3674
4185
  resourceGroupName,
@@ -3678,7 +4189,9 @@ export class WebAppsImpl implements WebApps {
3678
4189
  options
3679
4190
  );
3680
4191
  continuationToken = result.nextLink;
3681
- yield result.value || [];
4192
+ let page = result.value || [];
4193
+ setContinuationToken(page, continuationToken);
4194
+ yield page;
3682
4195
  }
3683
4196
  }
3684
4197
 
@@ -3725,12 +4238,16 @@ export class WebAppsImpl implements WebApps {
3725
4238
  [Symbol.asyncIterator]() {
3726
4239
  return this;
3727
4240
  },
3728
- byPage: () => {
4241
+ byPage: (settings?: PageSettings) => {
4242
+ if (settings?.maxPageSize) {
4243
+ throw new Error("maxPageSize is not supported by this operation.");
4244
+ }
3729
4245
  return this.listHostNameBindingsSlotPagingPage(
3730
4246
  resourceGroupName,
3731
4247
  name,
3732
4248
  slot,
3733
- options
4249
+ options,
4250
+ settings
3734
4251
  );
3735
4252
  }
3736
4253
  };
@@ -3740,16 +4257,23 @@ export class WebAppsImpl implements WebApps {
3740
4257
  resourceGroupName: string,
3741
4258
  name: string,
3742
4259
  slot: string,
3743
- options?: WebAppsListHostNameBindingsSlotOptionalParams
4260
+ options?: WebAppsListHostNameBindingsSlotOptionalParams,
4261
+ settings?: PageSettings
3744
4262
  ): AsyncIterableIterator<HostNameBinding[]> {
3745
- let result = await this._listHostNameBindingsSlot(
3746
- resourceGroupName,
3747
- name,
3748
- slot,
3749
- options
3750
- );
3751
- yield result.value || [];
3752
- let continuationToken = result.nextLink;
4263
+ let result: WebAppsListHostNameBindingsSlotResponse;
4264
+ let continuationToken = settings?.continuationToken;
4265
+ if (!continuationToken) {
4266
+ result = await this._listHostNameBindingsSlot(
4267
+ resourceGroupName,
4268
+ name,
4269
+ slot,
4270
+ options
4271
+ );
4272
+ let page = result.value || [];
4273
+ continuationToken = result.nextLink;
4274
+ setContinuationToken(page, continuationToken);
4275
+ yield page;
4276
+ }
3753
4277
  while (continuationToken) {
3754
4278
  result = await this._listHostNameBindingsSlotNext(
3755
4279
  resourceGroupName,
@@ -3759,7 +4283,9 @@ export class WebAppsImpl implements WebApps {
3759
4283
  options
3760
4284
  );
3761
4285
  continuationToken = result.nextLink;
3762
- yield result.value || [];
4286
+ let page = result.value || [];
4287
+ setContinuationToken(page, continuationToken);
4288
+ yield page;
3763
4289
  }
3764
4290
  }
3765
4291
 
@@ -3806,12 +4332,16 @@ export class WebAppsImpl implements WebApps {
3806
4332
  [Symbol.asyncIterator]() {
3807
4333
  return this;
3808
4334
  },
3809
- byPage: () => {
4335
+ byPage: (settings?: PageSettings) => {
4336
+ if (settings?.maxPageSize) {
4337
+ throw new Error("maxPageSize is not supported by this operation.");
4338
+ }
3810
4339
  return this.listInstanceIdentifiersSlotPagingPage(
3811
4340
  resourceGroupName,
3812
4341
  name,
3813
4342
  slot,
3814
- options
4343
+ options,
4344
+ settings
3815
4345
  );
3816
4346
  }
3817
4347
  };
@@ -3821,16 +4351,23 @@ export class WebAppsImpl implements WebApps {
3821
4351
  resourceGroupName: string,
3822
4352
  name: string,
3823
4353
  slot: string,
3824
- options?: WebAppsListInstanceIdentifiersSlotOptionalParams
4354
+ options?: WebAppsListInstanceIdentifiersSlotOptionalParams,
4355
+ settings?: PageSettings
3825
4356
  ): AsyncIterableIterator<WebSiteInstanceStatus[]> {
3826
- let result = await this._listInstanceIdentifiersSlot(
3827
- resourceGroupName,
3828
- name,
3829
- slot,
3830
- options
3831
- );
3832
- yield result.value || [];
3833
- let continuationToken = result.nextLink;
4357
+ let result: WebAppsListInstanceIdentifiersSlotResponse;
4358
+ let continuationToken = settings?.continuationToken;
4359
+ if (!continuationToken) {
4360
+ result = await this._listInstanceIdentifiersSlot(
4361
+ resourceGroupName,
4362
+ name,
4363
+ slot,
4364
+ options
4365
+ );
4366
+ let page = result.value || [];
4367
+ continuationToken = result.nextLink;
4368
+ setContinuationToken(page, continuationToken);
4369
+ yield page;
4370
+ }
3834
4371
  while (continuationToken) {
3835
4372
  result = await this._listInstanceIdentifiersSlotNext(
3836
4373
  resourceGroupName,
@@ -3840,7 +4377,9 @@ export class WebAppsImpl implements WebApps {
3840
4377
  options
3841
4378
  );
3842
4379
  continuationToken = result.nextLink;
3843
- yield result.value || [];
4380
+ let page = result.value || [];
4381
+ setContinuationToken(page, continuationToken);
4382
+ yield page;
3844
4383
  }
3845
4384
  }
3846
4385
 
@@ -3892,13 +4431,17 @@ export class WebAppsImpl implements WebApps {
3892
4431
  [Symbol.asyncIterator]() {
3893
4432
  return this;
3894
4433
  },
3895
- byPage: () => {
4434
+ byPage: (settings?: PageSettings) => {
4435
+ if (settings?.maxPageSize) {
4436
+ throw new Error("maxPageSize is not supported by this operation.");
4437
+ }
3896
4438
  return this.listInstanceProcessesSlotPagingPage(
3897
4439
  resourceGroupName,
3898
4440
  name,
3899
4441
  slot,
3900
4442
  instanceId,
3901
- options
4443
+ options,
4444
+ settings
3902
4445
  );
3903
4446
  }
3904
4447
  };
@@ -3909,17 +4452,24 @@ export class WebAppsImpl implements WebApps {
3909
4452
  name: string,
3910
4453
  slot: string,
3911
4454
  instanceId: string,
3912
- options?: WebAppsListInstanceProcessesSlotOptionalParams
4455
+ options?: WebAppsListInstanceProcessesSlotOptionalParams,
4456
+ settings?: PageSettings
3913
4457
  ): AsyncIterableIterator<ProcessInfo[]> {
3914
- let result = await this._listInstanceProcessesSlot(
3915
- resourceGroupName,
3916
- name,
3917
- slot,
3918
- instanceId,
3919
- options
3920
- );
3921
- yield result.value || [];
3922
- let continuationToken = result.nextLink;
4458
+ let result: WebAppsListInstanceProcessesSlotResponse;
4459
+ let continuationToken = settings?.continuationToken;
4460
+ if (!continuationToken) {
4461
+ result = await this._listInstanceProcessesSlot(
4462
+ resourceGroupName,
4463
+ name,
4464
+ slot,
4465
+ instanceId,
4466
+ options
4467
+ );
4468
+ let page = result.value || [];
4469
+ continuationToken = result.nextLink;
4470
+ setContinuationToken(page, continuationToken);
4471
+ yield page;
4472
+ }
3923
4473
  while (continuationToken) {
3924
4474
  result = await this._listInstanceProcessesSlotNext(
3925
4475
  resourceGroupName,
@@ -3930,7 +4480,9 @@ export class WebAppsImpl implements WebApps {
3930
4480
  options
3931
4481
  );
3932
4482
  continuationToken = result.nextLink;
3933
- yield result.value || [];
4483
+ let page = result.value || [];
4484
+ setContinuationToken(page, continuationToken);
4485
+ yield page;
3934
4486
  }
3935
4487
  }
3936
4488
 
@@ -3987,14 +4539,18 @@ export class WebAppsImpl implements WebApps {
3987
4539
  [Symbol.asyncIterator]() {
3988
4540
  return this;
3989
4541
  },
3990
- byPage: () => {
4542
+ byPage: (settings?: PageSettings) => {
4543
+ if (settings?.maxPageSize) {
4544
+ throw new Error("maxPageSize is not supported by this operation.");
4545
+ }
3991
4546
  return this.listInstanceProcessModulesSlotPagingPage(
3992
4547
  resourceGroupName,
3993
4548
  name,
3994
4549
  processId,
3995
4550
  slot,
3996
4551
  instanceId,
3997
- options
4552
+ options,
4553
+ settings
3998
4554
  );
3999
4555
  }
4000
4556
  };
@@ -4006,18 +4562,25 @@ export class WebAppsImpl implements WebApps {
4006
4562
  processId: string,
4007
4563
  slot: string,
4008
4564
  instanceId: string,
4009
- options?: WebAppsListInstanceProcessModulesSlotOptionalParams
4565
+ options?: WebAppsListInstanceProcessModulesSlotOptionalParams,
4566
+ settings?: PageSettings
4010
4567
  ): AsyncIterableIterator<ProcessModuleInfo[]> {
4011
- let result = await this._listInstanceProcessModulesSlot(
4012
- resourceGroupName,
4013
- name,
4014
- processId,
4015
- slot,
4016
- instanceId,
4017
- options
4018
- );
4019
- yield result.value || [];
4020
- let continuationToken = result.nextLink;
4568
+ let result: WebAppsListInstanceProcessModulesSlotResponse;
4569
+ let continuationToken = settings?.continuationToken;
4570
+ if (!continuationToken) {
4571
+ result = await this._listInstanceProcessModulesSlot(
4572
+ resourceGroupName,
4573
+ name,
4574
+ processId,
4575
+ slot,
4576
+ instanceId,
4577
+ options
4578
+ );
4579
+ let page = result.value || [];
4580
+ continuationToken = result.nextLink;
4581
+ setContinuationToken(page, continuationToken);
4582
+ yield page;
4583
+ }
4021
4584
  while (continuationToken) {
4022
4585
  result = await this._listInstanceProcessModulesSlotNext(
4023
4586
  resourceGroupName,
@@ -4029,7 +4592,9 @@ export class WebAppsImpl implements WebApps {
4029
4592
  options
4030
4593
  );
4031
4594
  continuationToken = result.nextLink;
4032
- yield result.value || [];
4595
+ let page = result.value || [];
4596
+ setContinuationToken(page, continuationToken);
4597
+ yield page;
4033
4598
  }
4034
4599
  }
4035
4600
 
@@ -4088,14 +4653,18 @@ export class WebAppsImpl implements WebApps {
4088
4653
  [Symbol.asyncIterator]() {
4089
4654
  return this;
4090
4655
  },
4091
- byPage: () => {
4656
+ byPage: (settings?: PageSettings) => {
4657
+ if (settings?.maxPageSize) {
4658
+ throw new Error("maxPageSize is not supported by this operation.");
4659
+ }
4092
4660
  return this.listInstanceProcessThreadsSlotPagingPage(
4093
4661
  resourceGroupName,
4094
4662
  name,
4095
4663
  processId,
4096
4664
  slot,
4097
4665
  instanceId,
4098
- options
4666
+ options,
4667
+ settings
4099
4668
  );
4100
4669
  }
4101
4670
  };
@@ -4107,18 +4676,25 @@ export class WebAppsImpl implements WebApps {
4107
4676
  processId: string,
4108
4677
  slot: string,
4109
4678
  instanceId: string,
4110
- options?: WebAppsListInstanceProcessThreadsSlotOptionalParams
4679
+ options?: WebAppsListInstanceProcessThreadsSlotOptionalParams,
4680
+ settings?: PageSettings
4111
4681
  ): AsyncIterableIterator<ProcessThreadInfo[]> {
4112
- let result = await this._listInstanceProcessThreadsSlot(
4113
- resourceGroupName,
4114
- name,
4115
- processId,
4116
- slot,
4117
- instanceId,
4118
- options
4119
- );
4120
- yield result.value || [];
4121
- let continuationToken = result.nextLink;
4682
+ let result: WebAppsListInstanceProcessThreadsSlotResponse;
4683
+ let continuationToken = settings?.continuationToken;
4684
+ if (!continuationToken) {
4685
+ result = await this._listInstanceProcessThreadsSlot(
4686
+ resourceGroupName,
4687
+ name,
4688
+ processId,
4689
+ slot,
4690
+ instanceId,
4691
+ options
4692
+ );
4693
+ let page = result.value || [];
4694
+ continuationToken = result.nextLink;
4695
+ setContinuationToken(page, continuationToken);
4696
+ yield page;
4697
+ }
4122
4698
  while (continuationToken) {
4123
4699
  result = await this._listInstanceProcessThreadsSlotNext(
4124
4700
  resourceGroupName,
@@ -4130,7 +4706,9 @@ export class WebAppsImpl implements WebApps {
4130
4706
  options
4131
4707
  );
4132
4708
  continuationToken = result.nextLink;
4133
- yield result.value || [];
4709
+ let page = result.value || [];
4710
+ setContinuationToken(page, continuationToken);
4711
+ yield page;
4134
4712
  }
4135
4713
  }
4136
4714
 
@@ -4181,12 +4759,16 @@ export class WebAppsImpl implements WebApps {
4181
4759
  [Symbol.asyncIterator]() {
4182
4760
  return this;
4183
4761
  },
4184
- byPage: () => {
4762
+ byPage: (settings?: PageSettings) => {
4763
+ if (settings?.maxPageSize) {
4764
+ throw new Error("maxPageSize is not supported by this operation.");
4765
+ }
4185
4766
  return this.listSiteBackupsSlotPagingPage(
4186
4767
  resourceGroupName,
4187
4768
  name,
4188
4769
  slot,
4189
- options
4770
+ options,
4771
+ settings
4190
4772
  );
4191
4773
  }
4192
4774
  };
@@ -4196,16 +4778,23 @@ export class WebAppsImpl implements WebApps {
4196
4778
  resourceGroupName: string,
4197
4779
  name: string,
4198
4780
  slot: string,
4199
- options?: WebAppsListSiteBackupsSlotOptionalParams
4781
+ options?: WebAppsListSiteBackupsSlotOptionalParams,
4782
+ settings?: PageSettings
4200
4783
  ): AsyncIterableIterator<BackupItem[]> {
4201
- let result = await this._listSiteBackupsSlot(
4202
- resourceGroupName,
4203
- name,
4204
- slot,
4205
- options
4206
- );
4207
- yield result.value || [];
4208
- let continuationToken = result.nextLink;
4784
+ let result: WebAppsListSiteBackupsSlotResponse;
4785
+ let continuationToken = settings?.continuationToken;
4786
+ if (!continuationToken) {
4787
+ result = await this._listSiteBackupsSlot(
4788
+ resourceGroupName,
4789
+ name,
4790
+ slot,
4791
+ options
4792
+ );
4793
+ let page = result.value || [];
4794
+ continuationToken = result.nextLink;
4795
+ setContinuationToken(page, continuationToken);
4796
+ yield page;
4797
+ }
4209
4798
  while (continuationToken) {
4210
4799
  result = await this._listSiteBackupsSlotNext(
4211
4800
  resourceGroupName,
@@ -4215,7 +4804,9 @@ export class WebAppsImpl implements WebApps {
4215
4804
  options
4216
4805
  );
4217
4806
  continuationToken = result.nextLink;
4218
- yield result.value || [];
4807
+ let page = result.value || [];
4808
+ setContinuationToken(page, continuationToken);
4809
+ yield page;
4219
4810
  }
4220
4811
  }
4221
4812
 
@@ -4261,12 +4852,16 @@ export class WebAppsImpl implements WebApps {
4261
4852
  [Symbol.asyncIterator]() {
4262
4853
  return this;
4263
4854
  },
4264
- byPage: () => {
4855
+ byPage: (settings?: PageSettings) => {
4856
+ if (settings?.maxPageSize) {
4857
+ throw new Error("maxPageSize is not supported by this operation.");
4858
+ }
4265
4859
  return this.listPerfMonCountersSlotPagingPage(
4266
4860
  resourceGroupName,
4267
4861
  name,
4268
4862
  slot,
4269
- options
4863
+ options,
4864
+ settings
4270
4865
  );
4271
4866
  }
4272
4867
  };
@@ -4276,16 +4871,23 @@ export class WebAppsImpl implements WebApps {
4276
4871
  resourceGroupName: string,
4277
4872
  name: string,
4278
4873
  slot: string,
4279
- options?: WebAppsListPerfMonCountersSlotOptionalParams
4874
+ options?: WebAppsListPerfMonCountersSlotOptionalParams,
4875
+ settings?: PageSettings
4280
4876
  ): AsyncIterableIterator<PerfMonResponse[]> {
4281
- let result = await this._listPerfMonCountersSlot(
4282
- resourceGroupName,
4283
- name,
4284
- slot,
4285
- options
4286
- );
4287
- yield result.value || [];
4288
- let continuationToken = result.nextLink;
4877
+ let result: WebAppsListPerfMonCountersSlotResponse;
4878
+ let continuationToken = settings?.continuationToken;
4879
+ if (!continuationToken) {
4880
+ result = await this._listPerfMonCountersSlot(
4881
+ resourceGroupName,
4882
+ name,
4883
+ slot,
4884
+ options
4885
+ );
4886
+ let page = result.value || [];
4887
+ continuationToken = result.nextLink;
4888
+ setContinuationToken(page, continuationToken);
4889
+ yield page;
4890
+ }
4289
4891
  while (continuationToken) {
4290
4892
  result = await this._listPerfMonCountersSlotNext(
4291
4893
  resourceGroupName,
@@ -4295,7 +4897,9 @@ export class WebAppsImpl implements WebApps {
4295
4897
  options
4296
4898
  );
4297
4899
  continuationToken = result.nextLink;
4298
- yield result.value || [];
4900
+ let page = result.value || [];
4901
+ setContinuationToken(page, continuationToken);
4902
+ yield page;
4299
4903
  }
4300
4904
  }
4301
4905
 
@@ -4341,12 +4945,16 @@ export class WebAppsImpl implements WebApps {
4341
4945
  [Symbol.asyncIterator]() {
4342
4946
  return this;
4343
4947
  },
4344
- byPage: () => {
4948
+ byPage: (settings?: PageSettings) => {
4949
+ if (settings?.maxPageSize) {
4950
+ throw new Error("maxPageSize is not supported by this operation.");
4951
+ }
4345
4952
  return this.getPrivateEndpointConnectionListSlotPagingPage(
4346
4953
  resourceGroupName,
4347
4954
  name,
4348
4955
  slot,
4349
- options
4956
+ options,
4957
+ settings
4350
4958
  );
4351
4959
  }
4352
4960
  };
@@ -4356,16 +4964,23 @@ export class WebAppsImpl implements WebApps {
4356
4964
  resourceGroupName: string,
4357
4965
  name: string,
4358
4966
  slot: string,
4359
- options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams
4967
+ options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams,
4968
+ settings?: PageSettings
4360
4969
  ): AsyncIterableIterator<RemotePrivateEndpointConnectionARMResource[]> {
4361
- let result = await this._getPrivateEndpointConnectionListSlot(
4362
- resourceGroupName,
4363
- name,
4364
- slot,
4365
- options
4366
- );
4367
- yield result.value || [];
4368
- let continuationToken = result.nextLink;
4970
+ let result: WebAppsGetPrivateEndpointConnectionListSlotResponse;
4971
+ let continuationToken = settings?.continuationToken;
4972
+ if (!continuationToken) {
4973
+ result = await this._getPrivateEndpointConnectionListSlot(
4974
+ resourceGroupName,
4975
+ name,
4976
+ slot,
4977
+ options
4978
+ );
4979
+ let page = result.value || [];
4980
+ continuationToken = result.nextLink;
4981
+ setContinuationToken(page, continuationToken);
4982
+ yield page;
4983
+ }
4369
4984
  while (continuationToken) {
4370
4985
  result = await this._getPrivateEndpointConnectionListSlotNext(
4371
4986
  resourceGroupName,
@@ -4375,7 +4990,9 @@ export class WebAppsImpl implements WebApps {
4375
4990
  options
4376
4991
  );
4377
4992
  continuationToken = result.nextLink;
4378
- yield result.value || [];
4993
+ let page = result.value || [];
4994
+ setContinuationToken(page, continuationToken);
4995
+ yield page;
4379
4996
  }
4380
4997
  }
4381
4998
 
@@ -4423,12 +5040,16 @@ export class WebAppsImpl implements WebApps {
4423
5040
  [Symbol.asyncIterator]() {
4424
5041
  return this;
4425
5042
  },
4426
- byPage: () => {
5043
+ byPage: (settings?: PageSettings) => {
5044
+ if (settings?.maxPageSize) {
5045
+ throw new Error("maxPageSize is not supported by this operation.");
5046
+ }
4427
5047
  return this.listProcessesSlotPagingPage(
4428
5048
  resourceGroupName,
4429
5049
  name,
4430
5050
  slot,
4431
- options
5051
+ options,
5052
+ settings
4432
5053
  );
4433
5054
  }
4434
5055
  };
@@ -4438,16 +5059,23 @@ export class WebAppsImpl implements WebApps {
4438
5059
  resourceGroupName: string,
4439
5060
  name: string,
4440
5061
  slot: string,
4441
- options?: WebAppsListProcessesSlotOptionalParams
5062
+ options?: WebAppsListProcessesSlotOptionalParams,
5063
+ settings?: PageSettings
4442
5064
  ): AsyncIterableIterator<ProcessInfo[]> {
4443
- let result = await this._listProcessesSlot(
4444
- resourceGroupName,
4445
- name,
4446
- slot,
4447
- options
4448
- );
4449
- yield result.value || [];
4450
- let continuationToken = result.nextLink;
5065
+ let result: WebAppsListProcessesSlotResponse;
5066
+ let continuationToken = settings?.continuationToken;
5067
+ if (!continuationToken) {
5068
+ result = await this._listProcessesSlot(
5069
+ resourceGroupName,
5070
+ name,
5071
+ slot,
5072
+ options
5073
+ );
5074
+ let page = result.value || [];
5075
+ continuationToken = result.nextLink;
5076
+ setContinuationToken(page, continuationToken);
5077
+ yield page;
5078
+ }
4451
5079
  while (continuationToken) {
4452
5080
  result = await this._listProcessesSlotNext(
4453
5081
  resourceGroupName,
@@ -4457,7 +5085,9 @@ export class WebAppsImpl implements WebApps {
4457
5085
  options
4458
5086
  );
4459
5087
  continuationToken = result.nextLink;
4460
- yield result.value || [];
5088
+ let page = result.value || [];
5089
+ setContinuationToken(page, continuationToken);
5090
+ yield page;
4461
5091
  }
4462
5092
  }
4463
5093
 
@@ -4508,13 +5138,17 @@ export class WebAppsImpl implements WebApps {
4508
5138
  [Symbol.asyncIterator]() {
4509
5139
  return this;
4510
5140
  },
4511
- byPage: () => {
5141
+ byPage: (settings?: PageSettings) => {
5142
+ if (settings?.maxPageSize) {
5143
+ throw new Error("maxPageSize is not supported by this operation.");
5144
+ }
4512
5145
  return this.listProcessModulesSlotPagingPage(
4513
5146
  resourceGroupName,
4514
5147
  name,
4515
5148
  processId,
4516
5149
  slot,
4517
- options
5150
+ options,
5151
+ settings
4518
5152
  );
4519
5153
  }
4520
5154
  };
@@ -4525,17 +5159,24 @@ export class WebAppsImpl implements WebApps {
4525
5159
  name: string,
4526
5160
  processId: string,
4527
5161
  slot: string,
4528
- options?: WebAppsListProcessModulesSlotOptionalParams
5162
+ options?: WebAppsListProcessModulesSlotOptionalParams,
5163
+ settings?: PageSettings
4529
5164
  ): AsyncIterableIterator<ProcessModuleInfo[]> {
4530
- let result = await this._listProcessModulesSlot(
4531
- resourceGroupName,
4532
- name,
4533
- processId,
4534
- slot,
4535
- options
4536
- );
4537
- yield result.value || [];
4538
- let continuationToken = result.nextLink;
5165
+ let result: WebAppsListProcessModulesSlotResponse;
5166
+ let continuationToken = settings?.continuationToken;
5167
+ if (!continuationToken) {
5168
+ result = await this._listProcessModulesSlot(
5169
+ resourceGroupName,
5170
+ name,
5171
+ processId,
5172
+ slot,
5173
+ options
5174
+ );
5175
+ let page = result.value || [];
5176
+ continuationToken = result.nextLink;
5177
+ setContinuationToken(page, continuationToken);
5178
+ yield page;
5179
+ }
4539
5180
  while (continuationToken) {
4540
5181
  result = await this._listProcessModulesSlotNext(
4541
5182
  resourceGroupName,
@@ -4546,7 +5187,9 @@ export class WebAppsImpl implements WebApps {
4546
5187
  options
4547
5188
  );
4548
5189
  continuationToken = result.nextLink;
4549
- yield result.value || [];
5190
+ let page = result.value || [];
5191
+ setContinuationToken(page, continuationToken);
5192
+ yield page;
4550
5193
  }
4551
5194
  }
4552
5195
 
@@ -4599,13 +5242,17 @@ export class WebAppsImpl implements WebApps {
4599
5242
  [Symbol.asyncIterator]() {
4600
5243
  return this;
4601
5244
  },
4602
- byPage: () => {
5245
+ byPage: (settings?: PageSettings) => {
5246
+ if (settings?.maxPageSize) {
5247
+ throw new Error("maxPageSize is not supported by this operation.");
5248
+ }
4603
5249
  return this.listProcessThreadsSlotPagingPage(
4604
5250
  resourceGroupName,
4605
5251
  name,
4606
5252
  processId,
4607
5253
  slot,
4608
- options
5254
+ options,
5255
+ settings
4609
5256
  );
4610
5257
  }
4611
5258
  };
@@ -4616,17 +5263,24 @@ export class WebAppsImpl implements WebApps {
4616
5263
  name: string,
4617
5264
  processId: string,
4618
5265
  slot: string,
4619
- options?: WebAppsListProcessThreadsSlotOptionalParams
5266
+ options?: WebAppsListProcessThreadsSlotOptionalParams,
5267
+ settings?: PageSettings
4620
5268
  ): AsyncIterableIterator<ProcessThreadInfo[]> {
4621
- let result = await this._listProcessThreadsSlot(
4622
- resourceGroupName,
4623
- name,
4624
- processId,
4625
- slot,
4626
- options
4627
- );
4628
- yield result.value || [];
4629
- let continuationToken = result.nextLink;
5269
+ let result: WebAppsListProcessThreadsSlotResponse;
5270
+ let continuationToken = settings?.continuationToken;
5271
+ if (!continuationToken) {
5272
+ result = await this._listProcessThreadsSlot(
5273
+ resourceGroupName,
5274
+ name,
5275
+ processId,
5276
+ slot,
5277
+ options
5278
+ );
5279
+ let page = result.value || [];
5280
+ continuationToken = result.nextLink;
5281
+ setContinuationToken(page, continuationToken);
5282
+ yield page;
5283
+ }
4630
5284
  while (continuationToken) {
4631
5285
  result = await this._listProcessThreadsSlotNext(
4632
5286
  resourceGroupName,
@@ -4637,7 +5291,9 @@ export class WebAppsImpl implements WebApps {
4637
5291
  options
4638
5292
  );
4639
5293
  continuationToken = result.nextLink;
4640
- yield result.value || [];
5294
+ let page = result.value || [];
5295
+ setContinuationToken(page, continuationToken);
5296
+ yield page;
4641
5297
  }
4642
5298
  }
4643
5299
 
@@ -4686,12 +5342,16 @@ export class WebAppsImpl implements WebApps {
4686
5342
  [Symbol.asyncIterator]() {
4687
5343
  return this;
4688
5344
  },
4689
- byPage: () => {
5345
+ byPage: (settings?: PageSettings) => {
5346
+ if (settings?.maxPageSize) {
5347
+ throw new Error("maxPageSize is not supported by this operation.");
5348
+ }
4690
5349
  return this.listPublicCertificatesSlotPagingPage(
4691
5350
  resourceGroupName,
4692
5351
  name,
4693
5352
  slot,
4694
- options
5353
+ options,
5354
+ settings
4695
5355
  );
4696
5356
  }
4697
5357
  };
@@ -4701,16 +5361,23 @@ export class WebAppsImpl implements WebApps {
4701
5361
  resourceGroupName: string,
4702
5362
  name: string,
4703
5363
  slot: string,
4704
- options?: WebAppsListPublicCertificatesSlotOptionalParams
5364
+ options?: WebAppsListPublicCertificatesSlotOptionalParams,
5365
+ settings?: PageSettings
4705
5366
  ): AsyncIterableIterator<PublicCertificate[]> {
4706
- let result = await this._listPublicCertificatesSlot(
4707
- resourceGroupName,
4708
- name,
4709
- slot,
4710
- options
4711
- );
4712
- yield result.value || [];
4713
- let continuationToken = result.nextLink;
5367
+ let result: WebAppsListPublicCertificatesSlotResponse;
5368
+ let continuationToken = settings?.continuationToken;
5369
+ if (!continuationToken) {
5370
+ result = await this._listPublicCertificatesSlot(
5371
+ resourceGroupName,
5372
+ name,
5373
+ slot,
5374
+ options
5375
+ );
5376
+ let page = result.value || [];
5377
+ continuationToken = result.nextLink;
5378
+ setContinuationToken(page, continuationToken);
5379
+ yield page;
5380
+ }
4714
5381
  while (continuationToken) {
4715
5382
  result = await this._listPublicCertificatesSlotNext(
4716
5383
  resourceGroupName,
@@ -4720,7 +5387,9 @@ export class WebAppsImpl implements WebApps {
4720
5387
  options
4721
5388
  );
4722
5389
  continuationToken = result.nextLink;
4723
- yield result.value || [];
5390
+ let page = result.value || [];
5391
+ setContinuationToken(page, continuationToken);
5392
+ yield page;
4724
5393
  }
4725
5394
  }
4726
5395
 
@@ -4767,12 +5436,16 @@ export class WebAppsImpl implements WebApps {
4767
5436
  [Symbol.asyncIterator]() {
4768
5437
  return this;
4769
5438
  },
4770
- byPage: () => {
5439
+ byPage: (settings?: PageSettings) => {
5440
+ if (settings?.maxPageSize) {
5441
+ throw new Error("maxPageSize is not supported by this operation.");
5442
+ }
4771
5443
  return this.listSiteExtensionsSlotPagingPage(
4772
5444
  resourceGroupName,
4773
5445
  name,
4774
5446
  slot,
4775
- options
5447
+ options,
5448
+ settings
4776
5449
  );
4777
5450
  }
4778
5451
  };
@@ -4782,16 +5455,23 @@ export class WebAppsImpl implements WebApps {
4782
5455
  resourceGroupName: string,
4783
5456
  name: string,
4784
5457
  slot: string,
4785
- options?: WebAppsListSiteExtensionsSlotOptionalParams
5458
+ options?: WebAppsListSiteExtensionsSlotOptionalParams,
5459
+ settings?: PageSettings
4786
5460
  ): AsyncIterableIterator<SiteExtensionInfo[]> {
4787
- let result = await this._listSiteExtensionsSlot(
4788
- resourceGroupName,
4789
- name,
4790
- slot,
4791
- options
4792
- );
4793
- yield result.value || [];
4794
- let continuationToken = result.nextLink;
5461
+ let result: WebAppsListSiteExtensionsSlotResponse;
5462
+ let continuationToken = settings?.continuationToken;
5463
+ if (!continuationToken) {
5464
+ result = await this._listSiteExtensionsSlot(
5465
+ resourceGroupName,
5466
+ name,
5467
+ slot,
5468
+ options
5469
+ );
5470
+ let page = result.value || [];
5471
+ continuationToken = result.nextLink;
5472
+ setContinuationToken(page, continuationToken);
5473
+ yield page;
5474
+ }
4795
5475
  while (continuationToken) {
4796
5476
  result = await this._listSiteExtensionsSlotNext(
4797
5477
  resourceGroupName,
@@ -4801,7 +5481,9 @@ export class WebAppsImpl implements WebApps {
4801
5481
  options
4802
5482
  );
4803
5483
  continuationToken = result.nextLink;
4804
- yield result.value || [];
5484
+ let page = result.value || [];
5485
+ setContinuationToken(page, continuationToken);
5486
+ yield page;
4805
5487
  }
4806
5488
  }
4807
5489
 
@@ -4851,13 +5533,17 @@ export class WebAppsImpl implements WebApps {
4851
5533
  [Symbol.asyncIterator]() {
4852
5534
  return this;
4853
5535
  },
4854
- byPage: () => {
5536
+ byPage: (settings?: PageSettings) => {
5537
+ if (settings?.maxPageSize) {
5538
+ throw new Error("maxPageSize is not supported by this operation.");
5539
+ }
4855
5540
  return this.listSlotDifferencesSlotPagingPage(
4856
5541
  resourceGroupName,
4857
5542
  name,
4858
5543
  slot,
4859
5544
  slotSwapEntity,
4860
- options
5545
+ options,
5546
+ settings
4861
5547
  );
4862
5548
  }
4863
5549
  };
@@ -4868,17 +5554,24 @@ export class WebAppsImpl implements WebApps {
4868
5554
  name: string,
4869
5555
  slot: string,
4870
5556
  slotSwapEntity: CsmSlotEntity,
4871
- options?: WebAppsListSlotDifferencesSlotOptionalParams
5557
+ options?: WebAppsListSlotDifferencesSlotOptionalParams,
5558
+ settings?: PageSettings
4872
5559
  ): AsyncIterableIterator<SlotDifference[]> {
4873
- let result = await this._listSlotDifferencesSlot(
4874
- resourceGroupName,
4875
- name,
4876
- slot,
4877
- slotSwapEntity,
4878
- options
4879
- );
4880
- yield result.value || [];
4881
- let continuationToken = result.nextLink;
5560
+ let result: WebAppsListSlotDifferencesSlotResponse;
5561
+ let continuationToken = settings?.continuationToken;
5562
+ if (!continuationToken) {
5563
+ result = await this._listSlotDifferencesSlot(
5564
+ resourceGroupName,
5565
+ name,
5566
+ slot,
5567
+ slotSwapEntity,
5568
+ options
5569
+ );
5570
+ let page = result.value || [];
5571
+ continuationToken = result.nextLink;
5572
+ setContinuationToken(page, continuationToken);
5573
+ yield page;
5574
+ }
4882
5575
  while (continuationToken) {
4883
5576
  result = await this._listSlotDifferencesSlotNext(
4884
5577
  resourceGroupName,
@@ -4889,7 +5582,9 @@ export class WebAppsImpl implements WebApps {
4889
5582
  options
4890
5583
  );
4891
5584
  continuationToken = result.nextLink;
4892
- yield result.value || [];
5585
+ let page = result.value || [];
5586
+ setContinuationToken(page, continuationToken);
5587
+ yield page;
4893
5588
  }
4894
5589
  }
4895
5590
 
@@ -4937,12 +5632,16 @@ export class WebAppsImpl implements WebApps {
4937
5632
  [Symbol.asyncIterator]() {
4938
5633
  return this;
4939
5634
  },
4940
- byPage: () => {
5635
+ byPage: (settings?: PageSettings) => {
5636
+ if (settings?.maxPageSize) {
5637
+ throw new Error("maxPageSize is not supported by this operation.");
5638
+ }
4941
5639
  return this.listSnapshotsSlotPagingPage(
4942
5640
  resourceGroupName,
4943
5641
  name,
4944
5642
  slot,
4945
- options
5643
+ options,
5644
+ settings
4946
5645
  );
4947
5646
  }
4948
5647
  };
@@ -4952,16 +5651,23 @@ export class WebAppsImpl implements WebApps {
4952
5651
  resourceGroupName: string,
4953
5652
  name: string,
4954
5653
  slot: string,
4955
- options?: WebAppsListSnapshotsSlotOptionalParams
5654
+ options?: WebAppsListSnapshotsSlotOptionalParams,
5655
+ settings?: PageSettings
4956
5656
  ): AsyncIterableIterator<Snapshot[]> {
4957
- let result = await this._listSnapshotsSlot(
4958
- resourceGroupName,
4959
- name,
4960
- slot,
4961
- options
4962
- );
4963
- yield result.value || [];
4964
- let continuationToken = result.nextLink;
5657
+ let result: WebAppsListSnapshotsSlotResponse;
5658
+ let continuationToken = settings?.continuationToken;
5659
+ if (!continuationToken) {
5660
+ result = await this._listSnapshotsSlot(
5661
+ resourceGroupName,
5662
+ name,
5663
+ slot,
5664
+ options
5665
+ );
5666
+ let page = result.value || [];
5667
+ continuationToken = result.nextLink;
5668
+ setContinuationToken(page, continuationToken);
5669
+ yield page;
5670
+ }
4965
5671
  while (continuationToken) {
4966
5672
  result = await this._listSnapshotsSlotNext(
4967
5673
  resourceGroupName,
@@ -4971,7 +5677,9 @@ export class WebAppsImpl implements WebApps {
4971
5677
  options
4972
5678
  );
4973
5679
  continuationToken = result.nextLink;
4974
- yield result.value || [];
5680
+ let page = result.value || [];
5681
+ setContinuationToken(page, continuationToken);
5682
+ yield page;
4975
5683
  }
4976
5684
  }
4977
5685
 
@@ -5017,12 +5725,16 @@ export class WebAppsImpl implements WebApps {
5017
5725
  [Symbol.asyncIterator]() {
5018
5726
  return this;
5019
5727
  },
5020
- byPage: () => {
5728
+ byPage: (settings?: PageSettings) => {
5729
+ if (settings?.maxPageSize) {
5730
+ throw new Error("maxPageSize is not supported by this operation.");
5731
+ }
5021
5732
  return this.listSnapshotsFromDRSecondarySlotPagingPage(
5022
5733
  resourceGroupName,
5023
5734
  name,
5024
5735
  slot,
5025
- options
5736
+ options,
5737
+ settings
5026
5738
  );
5027
5739
  }
5028
5740
  };
@@ -5032,16 +5744,23 @@ export class WebAppsImpl implements WebApps {
5032
5744
  resourceGroupName: string,
5033
5745
  name: string,
5034
5746
  slot: string,
5035
- options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams
5747
+ options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams,
5748
+ settings?: PageSettings
5036
5749
  ): AsyncIterableIterator<Snapshot[]> {
5037
- let result = await this._listSnapshotsFromDRSecondarySlot(
5038
- resourceGroupName,
5039
- name,
5040
- slot,
5041
- options
5042
- );
5043
- yield result.value || [];
5044
- let continuationToken = result.nextLink;
5750
+ let result: WebAppsListSnapshotsFromDRSecondarySlotResponse;
5751
+ let continuationToken = settings?.continuationToken;
5752
+ if (!continuationToken) {
5753
+ result = await this._listSnapshotsFromDRSecondarySlot(
5754
+ resourceGroupName,
5755
+ name,
5756
+ slot,
5757
+ options
5758
+ );
5759
+ let page = result.value || [];
5760
+ continuationToken = result.nextLink;
5761
+ setContinuationToken(page, continuationToken);
5762
+ yield page;
5763
+ }
5045
5764
  while (continuationToken) {
5046
5765
  result = await this._listSnapshotsFromDRSecondarySlotNext(
5047
5766
  resourceGroupName,
@@ -5051,7 +5770,9 @@ export class WebAppsImpl implements WebApps {
5051
5770
  options
5052
5771
  );
5053
5772
  continuationToken = result.nextLink;
5054
- yield result.value || [];
5773
+ let page = result.value || [];
5774
+ setContinuationToken(page, continuationToken);
5775
+ yield page;
5055
5776
  }
5056
5777
  }
5057
5778
 
@@ -5098,12 +5819,16 @@ export class WebAppsImpl implements WebApps {
5098
5819
  [Symbol.asyncIterator]() {
5099
5820
  return this;
5100
5821
  },
5101
- byPage: () => {
5822
+ byPage: (settings?: PageSettings) => {
5823
+ if (settings?.maxPageSize) {
5824
+ throw new Error("maxPageSize is not supported by this operation.");
5825
+ }
5102
5826
  return this.listTriggeredWebJobsSlotPagingPage(
5103
5827
  resourceGroupName,
5104
5828
  name,
5105
5829
  slot,
5106
- options
5830
+ options,
5831
+ settings
5107
5832
  );
5108
5833
  }
5109
5834
  };
@@ -5113,16 +5838,23 @@ export class WebAppsImpl implements WebApps {
5113
5838
  resourceGroupName: string,
5114
5839
  name: string,
5115
5840
  slot: string,
5116
- options?: WebAppsListTriggeredWebJobsSlotOptionalParams
5841
+ options?: WebAppsListTriggeredWebJobsSlotOptionalParams,
5842
+ settings?: PageSettings
5117
5843
  ): AsyncIterableIterator<TriggeredWebJob[]> {
5118
- let result = await this._listTriggeredWebJobsSlot(
5119
- resourceGroupName,
5120
- name,
5121
- slot,
5122
- options
5123
- );
5124
- yield result.value || [];
5125
- let continuationToken = result.nextLink;
5844
+ let result: WebAppsListTriggeredWebJobsSlotResponse;
5845
+ let continuationToken = settings?.continuationToken;
5846
+ if (!continuationToken) {
5847
+ result = await this._listTriggeredWebJobsSlot(
5848
+ resourceGroupName,
5849
+ name,
5850
+ slot,
5851
+ options
5852
+ );
5853
+ let page = result.value || [];
5854
+ continuationToken = result.nextLink;
5855
+ setContinuationToken(page, continuationToken);
5856
+ yield page;
5857
+ }
5126
5858
  while (continuationToken) {
5127
5859
  result = await this._listTriggeredWebJobsSlotNext(
5128
5860
  resourceGroupName,
@@ -5132,7 +5864,9 @@ export class WebAppsImpl implements WebApps {
5132
5864
  options
5133
5865
  );
5134
5866
  continuationToken = result.nextLink;
5135
- yield result.value || [];
5867
+ let page = result.value || [];
5868
+ setContinuationToken(page, continuationToken);
5869
+ yield page;
5136
5870
  }
5137
5871
  }
5138
5872
 
@@ -5182,13 +5916,17 @@ export class WebAppsImpl implements WebApps {
5182
5916
  [Symbol.asyncIterator]() {
5183
5917
  return this;
5184
5918
  },
5185
- byPage: () => {
5919
+ byPage: (settings?: PageSettings) => {
5920
+ if (settings?.maxPageSize) {
5921
+ throw new Error("maxPageSize is not supported by this operation.");
5922
+ }
5186
5923
  return this.listTriggeredWebJobHistorySlotPagingPage(
5187
5924
  resourceGroupName,
5188
5925
  name,
5189
5926
  webJobName,
5190
5927
  slot,
5191
- options
5928
+ options,
5929
+ settings
5192
5930
  );
5193
5931
  }
5194
5932
  };
@@ -5199,17 +5937,24 @@ export class WebAppsImpl implements WebApps {
5199
5937
  name: string,
5200
5938
  webJobName: string,
5201
5939
  slot: string,
5202
- options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams
5940
+ options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams,
5941
+ settings?: PageSettings
5203
5942
  ): AsyncIterableIterator<TriggeredJobHistory[]> {
5204
- let result = await this._listTriggeredWebJobHistorySlot(
5205
- resourceGroupName,
5206
- name,
5207
- webJobName,
5208
- slot,
5209
- options
5210
- );
5211
- yield result.value || [];
5212
- let continuationToken = result.nextLink;
5943
+ let result: WebAppsListTriggeredWebJobHistorySlotResponse;
5944
+ let continuationToken = settings?.continuationToken;
5945
+ if (!continuationToken) {
5946
+ result = await this._listTriggeredWebJobHistorySlot(
5947
+ resourceGroupName,
5948
+ name,
5949
+ webJobName,
5950
+ slot,
5951
+ options
5952
+ );
5953
+ let page = result.value || [];
5954
+ continuationToken = result.nextLink;
5955
+ setContinuationToken(page, continuationToken);
5956
+ yield page;
5957
+ }
5213
5958
  while (continuationToken) {
5214
5959
  result = await this._listTriggeredWebJobHistorySlotNext(
5215
5960
  resourceGroupName,
@@ -5220,7 +5965,9 @@ export class WebAppsImpl implements WebApps {
5220
5965
  options
5221
5966
  );
5222
5967
  continuationToken = result.nextLink;
5223
- yield result.value || [];
5968
+ let page = result.value || [];
5969
+ setContinuationToken(page, continuationToken);
5970
+ yield page;
5224
5971
  }
5225
5972
  }
5226
5973
 
@@ -5269,12 +6016,16 @@ export class WebAppsImpl implements WebApps {
5269
6016
  [Symbol.asyncIterator]() {
5270
6017
  return this;
5271
6018
  },
5272
- byPage: () => {
6019
+ byPage: (settings?: PageSettings) => {
6020
+ if (settings?.maxPageSize) {
6021
+ throw new Error("maxPageSize is not supported by this operation.");
6022
+ }
5273
6023
  return this.listUsagesSlotPagingPage(
5274
6024
  resourceGroupName,
5275
6025
  name,
5276
6026
  slot,
5277
- options
6027
+ options,
6028
+ settings
5278
6029
  );
5279
6030
  }
5280
6031
  };
@@ -5284,16 +6035,23 @@ export class WebAppsImpl implements WebApps {
5284
6035
  resourceGroupName: string,
5285
6036
  name: string,
5286
6037
  slot: string,
5287
- options?: WebAppsListUsagesSlotOptionalParams
6038
+ options?: WebAppsListUsagesSlotOptionalParams,
6039
+ settings?: PageSettings
5288
6040
  ): AsyncIterableIterator<CsmUsageQuota[]> {
5289
- let result = await this._listUsagesSlot(
5290
- resourceGroupName,
5291
- name,
5292
- slot,
5293
- options
5294
- );
5295
- yield result.value || [];
5296
- let continuationToken = result.nextLink;
6041
+ let result: WebAppsListUsagesSlotResponse;
6042
+ let continuationToken = settings?.continuationToken;
6043
+ if (!continuationToken) {
6044
+ result = await this._listUsagesSlot(
6045
+ resourceGroupName,
6046
+ name,
6047
+ slot,
6048
+ options
6049
+ );
6050
+ let page = result.value || [];
6051
+ continuationToken = result.nextLink;
6052
+ setContinuationToken(page, continuationToken);
6053
+ yield page;
6054
+ }
5297
6055
  while (continuationToken) {
5298
6056
  result = await this._listUsagesSlotNext(
5299
6057
  resourceGroupName,
@@ -5303,7 +6061,9 @@ export class WebAppsImpl implements WebApps {
5303
6061
  options
5304
6062
  );
5305
6063
  continuationToken = result.nextLink;
5306
- yield result.value || [];
6064
+ let page = result.value || [];
6065
+ setContinuationToken(page, continuationToken);
6066
+ yield page;
5307
6067
  }
5308
6068
  }
5309
6069
 
@@ -5350,12 +6110,16 @@ export class WebAppsImpl implements WebApps {
5350
6110
  [Symbol.asyncIterator]() {
5351
6111
  return this;
5352
6112
  },
5353
- byPage: () => {
6113
+ byPage: (settings?: PageSettings) => {
6114
+ if (settings?.maxPageSize) {
6115
+ throw new Error("maxPageSize is not supported by this operation.");
6116
+ }
5354
6117
  return this.listWebJobsSlotPagingPage(
5355
6118
  resourceGroupName,
5356
6119
  name,
5357
6120
  slot,
5358
- options
6121
+ options,
6122
+ settings
5359
6123
  );
5360
6124
  }
5361
6125
  };
@@ -5365,16 +6129,23 @@ export class WebAppsImpl implements WebApps {
5365
6129
  resourceGroupName: string,
5366
6130
  name: string,
5367
6131
  slot: string,
5368
- options?: WebAppsListWebJobsSlotOptionalParams
6132
+ options?: WebAppsListWebJobsSlotOptionalParams,
6133
+ settings?: PageSettings
5369
6134
  ): AsyncIterableIterator<WebJob[]> {
5370
- let result = await this._listWebJobsSlot(
5371
- resourceGroupName,
5372
- name,
5373
- slot,
5374
- options
5375
- );
5376
- yield result.value || [];
5377
- let continuationToken = result.nextLink;
6135
+ let result: WebAppsListWebJobsSlotResponse;
6136
+ let continuationToken = settings?.continuationToken;
6137
+ if (!continuationToken) {
6138
+ result = await this._listWebJobsSlot(
6139
+ resourceGroupName,
6140
+ name,
6141
+ slot,
6142
+ options
6143
+ );
6144
+ let page = result.value || [];
6145
+ continuationToken = result.nextLink;
6146
+ setContinuationToken(page, continuationToken);
6147
+ yield page;
6148
+ }
5378
6149
  while (continuationToken) {
5379
6150
  result = await this._listWebJobsSlotNext(
5380
6151
  resourceGroupName,
@@ -5384,7 +6155,9 @@ export class WebAppsImpl implements WebApps {
5384
6155
  options
5385
6156
  );
5386
6157
  continuationToken = result.nextLink;
5387
- yield result.value || [];
6158
+ let page = result.value || [];
6159
+ setContinuationToken(page, continuationToken);
6160
+ yield page;
5388
6161
  }
5389
6162
  }
5390
6163
 
@@ -5430,12 +6203,16 @@ export class WebAppsImpl implements WebApps {
5430
6203
  [Symbol.asyncIterator]() {
5431
6204
  return this;
5432
6205
  },
5433
- byPage: () => {
6206
+ byPage: (settings?: PageSettings) => {
6207
+ if (settings?.maxPageSize) {
6208
+ throw new Error("maxPageSize is not supported by this operation.");
6209
+ }
5434
6210
  return this.listSlotDifferencesFromProductionPagingPage(
5435
6211
  resourceGroupName,
5436
6212
  name,
5437
6213
  slotSwapEntity,
5438
- options
6214
+ options,
6215
+ settings
5439
6216
  );
5440
6217
  }
5441
6218
  };
@@ -5445,16 +6222,23 @@ export class WebAppsImpl implements WebApps {
5445
6222
  resourceGroupName: string,
5446
6223
  name: string,
5447
6224
  slotSwapEntity: CsmSlotEntity,
5448
- options?: WebAppsListSlotDifferencesFromProductionOptionalParams
6225
+ options?: WebAppsListSlotDifferencesFromProductionOptionalParams,
6226
+ settings?: PageSettings
5449
6227
  ): AsyncIterableIterator<SlotDifference[]> {
5450
- let result = await this._listSlotDifferencesFromProduction(
5451
- resourceGroupName,
5452
- name,
5453
- slotSwapEntity,
5454
- options
5455
- );
5456
- yield result.value || [];
5457
- let continuationToken = result.nextLink;
6228
+ let result: WebAppsListSlotDifferencesFromProductionResponse;
6229
+ let continuationToken = settings?.continuationToken;
6230
+ if (!continuationToken) {
6231
+ result = await this._listSlotDifferencesFromProduction(
6232
+ resourceGroupName,
6233
+ name,
6234
+ slotSwapEntity,
6235
+ options
6236
+ );
6237
+ let page = result.value || [];
6238
+ continuationToken = result.nextLink;
6239
+ setContinuationToken(page, continuationToken);
6240
+ yield page;
6241
+ }
5458
6242
  while (continuationToken) {
5459
6243
  result = await this._listSlotDifferencesFromProductionNext(
5460
6244
  resourceGroupName,
@@ -5464,7 +6248,9 @@ export class WebAppsImpl implements WebApps {
5464
6248
  options
5465
6249
  );
5466
6250
  continuationToken = result.nextLink;
5467
- yield result.value || [];
6251
+ let page = result.value || [];
6252
+ setContinuationToken(page, continuationToken);
6253
+ yield page;
5468
6254
  }
5469
6255
  }
5470
6256
 
@@ -5503,8 +6289,16 @@ export class WebAppsImpl implements WebApps {
5503
6289
  [Symbol.asyncIterator]() {
5504
6290
  return this;
5505
6291
  },
5506
- byPage: () => {
5507
- return this.listSnapshotsPagingPage(resourceGroupName, name, options);
6292
+ byPage: (settings?: PageSettings) => {
6293
+ if (settings?.maxPageSize) {
6294
+ throw new Error("maxPageSize is not supported by this operation.");
6295
+ }
6296
+ return this.listSnapshotsPagingPage(
6297
+ resourceGroupName,
6298
+ name,
6299
+ options,
6300
+ settings
6301
+ );
5508
6302
  }
5509
6303
  };
5510
6304
  }
@@ -5512,11 +6306,18 @@ export class WebAppsImpl implements WebApps {
5512
6306
  private async *listSnapshotsPagingPage(
5513
6307
  resourceGroupName: string,
5514
6308
  name: string,
5515
- options?: WebAppsListSnapshotsOptionalParams
6309
+ options?: WebAppsListSnapshotsOptionalParams,
6310
+ settings?: PageSettings
5516
6311
  ): AsyncIterableIterator<Snapshot[]> {
5517
- let result = await this._listSnapshots(resourceGroupName, name, options);
5518
- yield result.value || [];
5519
- let continuationToken = result.nextLink;
6312
+ let result: WebAppsListSnapshotsResponse;
6313
+ let continuationToken = settings?.continuationToken;
6314
+ if (!continuationToken) {
6315
+ result = await this._listSnapshots(resourceGroupName, name, options);
6316
+ let page = result.value || [];
6317
+ continuationToken = result.nextLink;
6318
+ setContinuationToken(page, continuationToken);
6319
+ yield page;
6320
+ }
5520
6321
  while (continuationToken) {
5521
6322
  result = await this._listSnapshotsNext(
5522
6323
  resourceGroupName,
@@ -5525,7 +6326,9 @@ export class WebAppsImpl implements WebApps {
5525
6326
  options
5526
6327
  );
5527
6328
  continuationToken = result.nextLink;
5528
- yield result.value || [];
6329
+ let page = result.value || [];
6330
+ setContinuationToken(page, continuationToken);
6331
+ yield page;
5529
6332
  }
5530
6333
  }
5531
6334
 
@@ -5566,11 +6369,15 @@ export class WebAppsImpl implements WebApps {
5566
6369
  [Symbol.asyncIterator]() {
5567
6370
  return this;
5568
6371
  },
5569
- byPage: () => {
6372
+ byPage: (settings?: PageSettings) => {
6373
+ if (settings?.maxPageSize) {
6374
+ throw new Error("maxPageSize is not supported by this operation.");
6375
+ }
5570
6376
  return this.listSnapshotsFromDRSecondaryPagingPage(
5571
6377
  resourceGroupName,
5572
6378
  name,
5573
- options
6379
+ options,
6380
+ settings
5574
6381
  );
5575
6382
  }
5576
6383
  };
@@ -5579,15 +6386,22 @@ export class WebAppsImpl implements WebApps {
5579
6386
  private async *listSnapshotsFromDRSecondaryPagingPage(
5580
6387
  resourceGroupName: string,
5581
6388
  name: string,
5582
- options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams
6389
+ options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams,
6390
+ settings?: PageSettings
5583
6391
  ): AsyncIterableIterator<Snapshot[]> {
5584
- let result = await this._listSnapshotsFromDRSecondary(
5585
- resourceGroupName,
5586
- name,
5587
- options
5588
- );
5589
- yield result.value || [];
5590
- let continuationToken = result.nextLink;
6392
+ let result: WebAppsListSnapshotsFromDRSecondaryResponse;
6393
+ let continuationToken = settings?.continuationToken;
6394
+ if (!continuationToken) {
6395
+ result = await this._listSnapshotsFromDRSecondary(
6396
+ resourceGroupName,
6397
+ name,
6398
+ options
6399
+ );
6400
+ let page = result.value || [];
6401
+ continuationToken = result.nextLink;
6402
+ setContinuationToken(page, continuationToken);
6403
+ yield page;
6404
+ }
5591
6405
  while (continuationToken) {
5592
6406
  result = await this._listSnapshotsFromDRSecondaryNext(
5593
6407
  resourceGroupName,
@@ -5596,7 +6410,9 @@ export class WebAppsImpl implements WebApps {
5596
6410
  options
5597
6411
  );
5598
6412
  continuationToken = result.nextLink;
5599
- yield result.value || [];
6413
+ let page = result.value || [];
6414
+ setContinuationToken(page, continuationToken);
6415
+ yield page;
5600
6416
  }
5601
6417
  }
5602
6418
 
@@ -5637,11 +6453,15 @@ export class WebAppsImpl implements WebApps {
5637
6453
  [Symbol.asyncIterator]() {
5638
6454
  return this;
5639
6455
  },
5640
- byPage: () => {
6456
+ byPage: (settings?: PageSettings) => {
6457
+ if (settings?.maxPageSize) {
6458
+ throw new Error("maxPageSize is not supported by this operation.");
6459
+ }
5641
6460
  return this.listTriggeredWebJobsPagingPage(
5642
6461
  resourceGroupName,
5643
6462
  name,
5644
- options
6463
+ options,
6464
+ settings
5645
6465
  );
5646
6466
  }
5647
6467
  };
@@ -5650,15 +6470,22 @@ export class WebAppsImpl implements WebApps {
5650
6470
  private async *listTriggeredWebJobsPagingPage(
5651
6471
  resourceGroupName: string,
5652
6472
  name: string,
5653
- options?: WebAppsListTriggeredWebJobsOptionalParams
6473
+ options?: WebAppsListTriggeredWebJobsOptionalParams,
6474
+ settings?: PageSettings
5654
6475
  ): AsyncIterableIterator<TriggeredWebJob[]> {
5655
- let result = await this._listTriggeredWebJobs(
5656
- resourceGroupName,
5657
- name,
5658
- options
5659
- );
5660
- yield result.value || [];
5661
- let continuationToken = result.nextLink;
6476
+ let result: WebAppsListTriggeredWebJobsResponse;
6477
+ let continuationToken = settings?.continuationToken;
6478
+ if (!continuationToken) {
6479
+ result = await this._listTriggeredWebJobs(
6480
+ resourceGroupName,
6481
+ name,
6482
+ options
6483
+ );
6484
+ let page = result.value || [];
6485
+ continuationToken = result.nextLink;
6486
+ setContinuationToken(page, continuationToken);
6487
+ yield page;
6488
+ }
5662
6489
  while (continuationToken) {
5663
6490
  result = await this._listTriggeredWebJobsNext(
5664
6491
  resourceGroupName,
@@ -5667,7 +6494,9 @@ export class WebAppsImpl implements WebApps {
5667
6494
  options
5668
6495
  );
5669
6496
  continuationToken = result.nextLink;
5670
- yield result.value || [];
6497
+ let page = result.value || [];
6498
+ setContinuationToken(page, continuationToken);
6499
+ yield page;
5671
6500
  }
5672
6501
  }
5673
6502
 
@@ -5711,12 +6540,16 @@ export class WebAppsImpl implements WebApps {
5711
6540
  [Symbol.asyncIterator]() {
5712
6541
  return this;
5713
6542
  },
5714
- byPage: () => {
6543
+ byPage: (settings?: PageSettings) => {
6544
+ if (settings?.maxPageSize) {
6545
+ throw new Error("maxPageSize is not supported by this operation.");
6546
+ }
5715
6547
  return this.listTriggeredWebJobHistoryPagingPage(
5716
6548
  resourceGroupName,
5717
6549
  name,
5718
6550
  webJobName,
5719
- options
6551
+ options,
6552
+ settings
5720
6553
  );
5721
6554
  }
5722
6555
  };
@@ -5726,16 +6559,23 @@ export class WebAppsImpl implements WebApps {
5726
6559
  resourceGroupName: string,
5727
6560
  name: string,
5728
6561
  webJobName: string,
5729
- options?: WebAppsListTriggeredWebJobHistoryOptionalParams
6562
+ options?: WebAppsListTriggeredWebJobHistoryOptionalParams,
6563
+ settings?: PageSettings
5730
6564
  ): AsyncIterableIterator<TriggeredJobHistory[]> {
5731
- let result = await this._listTriggeredWebJobHistory(
5732
- resourceGroupName,
5733
- name,
5734
- webJobName,
5735
- options
5736
- );
5737
- yield result.value || [];
5738
- let continuationToken = result.nextLink;
6565
+ let result: WebAppsListTriggeredWebJobHistoryResponse;
6566
+ let continuationToken = settings?.continuationToken;
6567
+ if (!continuationToken) {
6568
+ result = await this._listTriggeredWebJobHistory(
6569
+ resourceGroupName,
6570
+ name,
6571
+ webJobName,
6572
+ options
6573
+ );
6574
+ let page = result.value || [];
6575
+ continuationToken = result.nextLink;
6576
+ setContinuationToken(page, continuationToken);
6577
+ yield page;
6578
+ }
5739
6579
  while (continuationToken) {
5740
6580
  result = await this._listTriggeredWebJobHistoryNext(
5741
6581
  resourceGroupName,
@@ -5745,7 +6585,9 @@ export class WebAppsImpl implements WebApps {
5745
6585
  options
5746
6586
  );
5747
6587
  continuationToken = result.nextLink;
5748
- yield result.value || [];
6588
+ let page = result.value || [];
6589
+ setContinuationToken(page, continuationToken);
6590
+ yield page;
5749
6591
  }
5750
6592
  }
5751
6593
 
@@ -5784,8 +6626,16 @@ export class WebAppsImpl implements WebApps {
5784
6626
  [Symbol.asyncIterator]() {
5785
6627
  return this;
5786
6628
  },
5787
- byPage: () => {
5788
- return this.listUsagesPagingPage(resourceGroupName, name, options);
6629
+ byPage: (settings?: PageSettings) => {
6630
+ if (settings?.maxPageSize) {
6631
+ throw new Error("maxPageSize is not supported by this operation.");
6632
+ }
6633
+ return this.listUsagesPagingPage(
6634
+ resourceGroupName,
6635
+ name,
6636
+ options,
6637
+ settings
6638
+ );
5789
6639
  }
5790
6640
  };
5791
6641
  }
@@ -5793,11 +6643,18 @@ export class WebAppsImpl implements WebApps {
5793
6643
  private async *listUsagesPagingPage(
5794
6644
  resourceGroupName: string,
5795
6645
  name: string,
5796
- options?: WebAppsListUsagesOptionalParams
6646
+ options?: WebAppsListUsagesOptionalParams,
6647
+ settings?: PageSettings
5797
6648
  ): AsyncIterableIterator<CsmUsageQuota[]> {
5798
- let result = await this._listUsages(resourceGroupName, name, options);
5799
- yield result.value || [];
5800
- let continuationToken = result.nextLink;
6649
+ let result: WebAppsListUsagesResponse;
6650
+ let continuationToken = settings?.continuationToken;
6651
+ if (!continuationToken) {
6652
+ result = await this._listUsages(resourceGroupName, name, options);
6653
+ let page = result.value || [];
6654
+ continuationToken = result.nextLink;
6655
+ setContinuationToken(page, continuationToken);
6656
+ yield page;
6657
+ }
5801
6658
  while (continuationToken) {
5802
6659
  result = await this._listUsagesNext(
5803
6660
  resourceGroupName,
@@ -5806,7 +6663,9 @@ export class WebAppsImpl implements WebApps {
5806
6663
  options
5807
6664
  );
5808
6665
  continuationToken = result.nextLink;
5809
- yield result.value || [];
6666
+ let page = result.value || [];
6667
+ setContinuationToken(page, continuationToken);
6668
+ yield page;
5810
6669
  }
5811
6670
  }
5812
6671
 
@@ -5843,8 +6702,16 @@ export class WebAppsImpl implements WebApps {
5843
6702
  [Symbol.asyncIterator]() {
5844
6703
  return this;
5845
6704
  },
5846
- byPage: () => {
5847
- return this.listWebJobsPagingPage(resourceGroupName, name, options);
6705
+ byPage: (settings?: PageSettings) => {
6706
+ if (settings?.maxPageSize) {
6707
+ throw new Error("maxPageSize is not supported by this operation.");
6708
+ }
6709
+ return this.listWebJobsPagingPage(
6710
+ resourceGroupName,
6711
+ name,
6712
+ options,
6713
+ settings
6714
+ );
5848
6715
  }
5849
6716
  };
5850
6717
  }
@@ -5852,11 +6719,18 @@ export class WebAppsImpl implements WebApps {
5852
6719
  private async *listWebJobsPagingPage(
5853
6720
  resourceGroupName: string,
5854
6721
  name: string,
5855
- options?: WebAppsListWebJobsOptionalParams
6722
+ options?: WebAppsListWebJobsOptionalParams,
6723
+ settings?: PageSettings
5856
6724
  ): AsyncIterableIterator<WebJob[]> {
5857
- let result = await this._listWebJobs(resourceGroupName, name, options);
5858
- yield result.value || [];
5859
- let continuationToken = result.nextLink;
6725
+ let result: WebAppsListWebJobsResponse;
6726
+ let continuationToken = settings?.continuationToken;
6727
+ if (!continuationToken) {
6728
+ result = await this._listWebJobs(resourceGroupName, name, options);
6729
+ let page = result.value || [];
6730
+ continuationToken = result.nextLink;
6731
+ setContinuationToken(page, continuationToken);
6732
+ yield page;
6733
+ }
5860
6734
  while (continuationToken) {
5861
6735
  result = await this._listWebJobsNext(
5862
6736
  resourceGroupName,
@@ -5865,7 +6739,9 @@ export class WebAppsImpl implements WebApps {
5865
6739
  options
5866
6740
  );
5867
6741
  continuationToken = result.nextLink;
5868
- yield result.value || [];
6742
+ let page = result.value || [];
6743
+ setContinuationToken(page, continuationToken);
6744
+ yield page;
5869
6745
  }
5870
6746
  }
5871
6747