@azure/arm-frontdoor 5.0.2-alpha.20221128.1 → 5.1.0
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.
- package/CHANGELOG.md +27 -10
- package/dist/index.js +424 -88
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -1
- package/dist-esm/src/frontDoorManagementClient.js +20 -18
- package/dist-esm/src/frontDoorManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +235 -44
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +191 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/experiments.d.ts.map +1 -1
- package/dist-esm/src/operations/experiments.js +19 -7
- package/dist-esm/src/operations/experiments.js.map +1 -1
- package/dist-esm/src/operations/frontDoors.d.ts.map +1 -1
- package/dist-esm/src/operations/frontDoors.js +37 -14
- package/dist-esm/src/operations/frontDoors.js.map +1 -1
- package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/frontendEndpoints.js +19 -7
- package/dist-esm/src/operations/frontendEndpoints.js.map +1 -1
- package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -1
- package/dist-esm/src/operations/managedRuleSets.js +19 -7
- package/dist-esm/src/operations/managedRuleSets.js.map +1 -1
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -1
- package/dist-esm/src/operations/networkExperimentProfiles.js +37 -14
- package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -1
- package/dist-esm/src/operations/policies.d.ts.map +1 -1
- package/dist-esm/src/operations/policies.js +19 -7
- package/dist-esm/src/operations/policies.js.map +1 -1
- package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/preconfiguredEndpoints.js +19 -7
- package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -1
- package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -1
- package/dist-esm/src/operations/rulesEngines.js +19 -7
- package/dist-esm/src/operations/rulesEngines.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +13 -9
- package/review/arm-frontdoor.api.md +107 -295
- package/src/frontDoorManagementClient.ts +26 -20
- package/src/index.ts +1 -0
- package/src/models/index.ts +238 -44
- package/src/operations/experiments.ts +26 -12
- package/src/operations/frontDoors.ts +45 -16
- package/src/operations/frontendEndpoints.ts +26 -12
- package/src/operations/managedRuleSets.ts +21 -8
- package/src/operations/networkExperimentProfiles.ts +45 -16
- package/src/operations/policies.ts +21 -8
- package/src/operations/preconfiguredEndpoints.ts +26 -8
- package/src/operations/rulesEngines.ts +26 -12
- package/src/pagingHelper.ts +39 -0
- package/types/arm-frontdoor.d.ts +244 -44
package/dist/index.js
CHANGED
|
@@ -28,6 +28,38 @@ function _interopNamespace(e) {
|
|
|
28
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
29
|
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
30
|
|
|
31
|
+
/*
|
|
32
|
+
* Copyright (c) Microsoft Corporation.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*
|
|
35
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
+
*/
|
|
38
|
+
const pageMap = new WeakMap();
|
|
39
|
+
/**
|
|
40
|
+
* Given a result page from a pageable operation, returns a
|
|
41
|
+
* continuation token that can be used to begin paging from
|
|
42
|
+
* that point later.
|
|
43
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage().
|
|
45
|
+
*/
|
|
46
|
+
function getContinuationToken(page) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (typeof page !== "object" || page === null) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
52
|
+
}
|
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
|
54
|
+
var _a;
|
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
|
60
|
+
pageMap.set(page, pageInfo);
|
|
61
|
+
}
|
|
62
|
+
|
|
31
63
|
/*
|
|
32
64
|
* Copyright (c) Microsoft Corporation.
|
|
33
65
|
* Licensed under the MIT License.
|
|
@@ -38,392 +70,583 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
|
|
|
38
70
|
/** Known values of {@link NetworkExperimentResourceState} that the service accepts. */
|
|
39
71
|
exports.KnownNetworkExperimentResourceState = void 0;
|
|
40
72
|
(function (KnownNetworkExperimentResourceState) {
|
|
73
|
+
/** Creating */
|
|
41
74
|
KnownNetworkExperimentResourceState["Creating"] = "Creating";
|
|
75
|
+
/** Enabling */
|
|
42
76
|
KnownNetworkExperimentResourceState["Enabling"] = "Enabling";
|
|
77
|
+
/** Enabled */
|
|
43
78
|
KnownNetworkExperimentResourceState["Enabled"] = "Enabled";
|
|
79
|
+
/** Disabling */
|
|
44
80
|
KnownNetworkExperimentResourceState["Disabling"] = "Disabling";
|
|
81
|
+
/** Disabled */
|
|
45
82
|
KnownNetworkExperimentResourceState["Disabled"] = "Disabled";
|
|
83
|
+
/** Deleting */
|
|
46
84
|
KnownNetworkExperimentResourceState["Deleting"] = "Deleting";
|
|
47
85
|
})(exports.KnownNetworkExperimentResourceState || (exports.KnownNetworkExperimentResourceState = {}));
|
|
48
86
|
/** Known values of {@link State} that the service accepts. */
|
|
49
87
|
exports.KnownState = void 0;
|
|
50
88
|
(function (KnownState) {
|
|
89
|
+
/** Enabled */
|
|
51
90
|
KnownState["Enabled"] = "Enabled";
|
|
91
|
+
/** Disabled */
|
|
52
92
|
KnownState["Disabled"] = "Disabled";
|
|
53
93
|
})(exports.KnownState || (exports.KnownState = {}));
|
|
54
94
|
/** Known values of {@link EndpointType} that the service accepts. */
|
|
55
95
|
exports.KnownEndpointType = void 0;
|
|
56
96
|
(function (KnownEndpointType) {
|
|
97
|
+
/** AFD */
|
|
57
98
|
KnownEndpointType["AFD"] = "AFD";
|
|
99
|
+
/** AzureRegion */
|
|
58
100
|
KnownEndpointType["AzureRegion"] = "AzureRegion";
|
|
101
|
+
/** CDN */
|
|
59
102
|
KnownEndpointType["CDN"] = "CDN";
|
|
103
|
+
/** ATM */
|
|
60
104
|
KnownEndpointType["ATM"] = "ATM";
|
|
61
105
|
})(exports.KnownEndpointType || (exports.KnownEndpointType = {}));
|
|
62
106
|
/** Known values of {@link LatencyScorecardAggregationInterval} that the service accepts. */
|
|
63
107
|
exports.KnownLatencyScorecardAggregationInterval = void 0;
|
|
64
108
|
(function (KnownLatencyScorecardAggregationInterval) {
|
|
109
|
+
/** Daily */
|
|
65
110
|
KnownLatencyScorecardAggregationInterval["Daily"] = "Daily";
|
|
111
|
+
/** Weekly */
|
|
66
112
|
KnownLatencyScorecardAggregationInterval["Weekly"] = "Weekly";
|
|
113
|
+
/** Monthly */
|
|
67
114
|
KnownLatencyScorecardAggregationInterval["Monthly"] = "Monthly";
|
|
68
115
|
})(exports.KnownLatencyScorecardAggregationInterval || (exports.KnownLatencyScorecardAggregationInterval = {}));
|
|
69
116
|
/** Known values of {@link TimeseriesAggregationInterval} that the service accepts. */
|
|
70
117
|
exports.KnownTimeseriesAggregationInterval = void 0;
|
|
71
118
|
(function (KnownTimeseriesAggregationInterval) {
|
|
119
|
+
/** Hourly */
|
|
72
120
|
KnownTimeseriesAggregationInterval["Hourly"] = "Hourly";
|
|
121
|
+
/** Daily */
|
|
73
122
|
KnownTimeseriesAggregationInterval["Daily"] = "Daily";
|
|
74
123
|
})(exports.KnownTimeseriesAggregationInterval || (exports.KnownTimeseriesAggregationInterval = {}));
|
|
75
124
|
/** Known values of {@link TimeseriesType} that the service accepts. */
|
|
76
125
|
exports.KnownTimeseriesType = void 0;
|
|
77
126
|
(function (KnownTimeseriesType) {
|
|
127
|
+
/** MeasurementCounts */
|
|
78
128
|
KnownTimeseriesType["MeasurementCounts"] = "MeasurementCounts";
|
|
129
|
+
/** LatencyP50 */
|
|
79
130
|
KnownTimeseriesType["LatencyP50"] = "LatencyP50";
|
|
131
|
+
/** LatencyP75 */
|
|
80
132
|
KnownTimeseriesType["LatencyP75"] = "LatencyP75";
|
|
133
|
+
/** LatencyP95 */
|
|
81
134
|
KnownTimeseriesType["LatencyP95"] = "LatencyP95";
|
|
82
135
|
})(exports.KnownTimeseriesType || (exports.KnownTimeseriesType = {}));
|
|
83
136
|
/** Known values of {@link AggregationInterval} that the service accepts. */
|
|
84
137
|
exports.KnownAggregationInterval = void 0;
|
|
85
138
|
(function (KnownAggregationInterval) {
|
|
139
|
+
/** Hourly */
|
|
86
140
|
KnownAggregationInterval["Hourly"] = "Hourly";
|
|
141
|
+
/** Daily */
|
|
87
142
|
KnownAggregationInterval["Daily"] = "Daily";
|
|
88
143
|
})(exports.KnownAggregationInterval || (exports.KnownAggregationInterval = {}));
|
|
89
144
|
/** Known values of {@link Availability} that the service accepts. */
|
|
90
145
|
exports.KnownAvailability = void 0;
|
|
91
146
|
(function (KnownAvailability) {
|
|
147
|
+
/** Available */
|
|
92
148
|
KnownAvailability["Available"] = "Available";
|
|
149
|
+
/** Unavailable */
|
|
93
150
|
KnownAvailability["Unavailable"] = "Unavailable";
|
|
94
151
|
})(exports.KnownAvailability || (exports.KnownAvailability = {}));
|
|
95
152
|
/** Known values of {@link FrontDoorResourceState} that the service accepts. */
|
|
96
153
|
exports.KnownFrontDoorResourceState = void 0;
|
|
97
154
|
(function (KnownFrontDoorResourceState) {
|
|
155
|
+
/** Creating */
|
|
98
156
|
KnownFrontDoorResourceState["Creating"] = "Creating";
|
|
157
|
+
/** Enabling */
|
|
99
158
|
KnownFrontDoorResourceState["Enabling"] = "Enabling";
|
|
159
|
+
/** Enabled */
|
|
100
160
|
KnownFrontDoorResourceState["Enabled"] = "Enabled";
|
|
161
|
+
/** Disabling */
|
|
101
162
|
KnownFrontDoorResourceState["Disabling"] = "Disabling";
|
|
163
|
+
/** Disabled */
|
|
102
164
|
KnownFrontDoorResourceState["Disabled"] = "Disabled";
|
|
165
|
+
/** Deleting */
|
|
103
166
|
KnownFrontDoorResourceState["Deleting"] = "Deleting";
|
|
104
167
|
})(exports.KnownFrontDoorResourceState || (exports.KnownFrontDoorResourceState = {}));
|
|
105
168
|
/** Known values of {@link HeaderActionType} that the service accepts. */
|
|
106
169
|
exports.KnownHeaderActionType = void 0;
|
|
107
170
|
(function (KnownHeaderActionType) {
|
|
171
|
+
/** Append */
|
|
108
172
|
KnownHeaderActionType["Append"] = "Append";
|
|
173
|
+
/** Delete */
|
|
109
174
|
KnownHeaderActionType["Delete"] = "Delete";
|
|
175
|
+
/** Overwrite */
|
|
110
176
|
KnownHeaderActionType["Overwrite"] = "Overwrite";
|
|
111
177
|
})(exports.KnownHeaderActionType || (exports.KnownHeaderActionType = {}));
|
|
112
178
|
/** Known values of {@link RulesEngineMatchVariable} that the service accepts. */
|
|
113
179
|
exports.KnownRulesEngineMatchVariable = void 0;
|
|
114
180
|
(function (KnownRulesEngineMatchVariable) {
|
|
181
|
+
/** IsMobile */
|
|
115
182
|
KnownRulesEngineMatchVariable["IsMobile"] = "IsMobile";
|
|
183
|
+
/** RemoteAddr */
|
|
116
184
|
KnownRulesEngineMatchVariable["RemoteAddr"] = "RemoteAddr";
|
|
185
|
+
/** RequestMethod */
|
|
117
186
|
KnownRulesEngineMatchVariable["RequestMethod"] = "RequestMethod";
|
|
187
|
+
/** QueryString */
|
|
118
188
|
KnownRulesEngineMatchVariable["QueryString"] = "QueryString";
|
|
189
|
+
/** PostArgs */
|
|
119
190
|
KnownRulesEngineMatchVariable["PostArgs"] = "PostArgs";
|
|
191
|
+
/** RequestUri */
|
|
120
192
|
KnownRulesEngineMatchVariable["RequestUri"] = "RequestUri";
|
|
193
|
+
/** RequestPath */
|
|
121
194
|
KnownRulesEngineMatchVariable["RequestPath"] = "RequestPath";
|
|
195
|
+
/** RequestFilename */
|
|
122
196
|
KnownRulesEngineMatchVariable["RequestFilename"] = "RequestFilename";
|
|
197
|
+
/** RequestFilenameExtension */
|
|
123
198
|
KnownRulesEngineMatchVariable["RequestFilenameExtension"] = "RequestFilenameExtension";
|
|
199
|
+
/** RequestHeader */
|
|
124
200
|
KnownRulesEngineMatchVariable["RequestHeader"] = "RequestHeader";
|
|
201
|
+
/** RequestBody */
|
|
125
202
|
KnownRulesEngineMatchVariable["RequestBody"] = "RequestBody";
|
|
203
|
+
/** RequestScheme */
|
|
126
204
|
KnownRulesEngineMatchVariable["RequestScheme"] = "RequestScheme";
|
|
127
205
|
})(exports.KnownRulesEngineMatchVariable || (exports.KnownRulesEngineMatchVariable = {}));
|
|
128
206
|
/** Known values of {@link RulesEngineOperator} that the service accepts. */
|
|
129
207
|
exports.KnownRulesEngineOperator = void 0;
|
|
130
208
|
(function (KnownRulesEngineOperator) {
|
|
209
|
+
/** Any */
|
|
131
210
|
KnownRulesEngineOperator["Any"] = "Any";
|
|
211
|
+
/** IPMatch */
|
|
132
212
|
KnownRulesEngineOperator["IPMatch"] = "IPMatch";
|
|
213
|
+
/** GeoMatch */
|
|
133
214
|
KnownRulesEngineOperator["GeoMatch"] = "GeoMatch";
|
|
215
|
+
/** Equal */
|
|
134
216
|
KnownRulesEngineOperator["Equal"] = "Equal";
|
|
217
|
+
/** Contains */
|
|
135
218
|
KnownRulesEngineOperator["Contains"] = "Contains";
|
|
219
|
+
/** LessThan */
|
|
136
220
|
KnownRulesEngineOperator["LessThan"] = "LessThan";
|
|
221
|
+
/** GreaterThan */
|
|
137
222
|
KnownRulesEngineOperator["GreaterThan"] = "GreaterThan";
|
|
223
|
+
/** LessThanOrEqual */
|
|
138
224
|
KnownRulesEngineOperator["LessThanOrEqual"] = "LessThanOrEqual";
|
|
225
|
+
/** GreaterThanOrEqual */
|
|
139
226
|
KnownRulesEngineOperator["GreaterThanOrEqual"] = "GreaterThanOrEqual";
|
|
227
|
+
/** BeginsWith */
|
|
140
228
|
KnownRulesEngineOperator["BeginsWith"] = "BeginsWith";
|
|
229
|
+
/** EndsWith */
|
|
141
230
|
KnownRulesEngineOperator["EndsWith"] = "EndsWith";
|
|
142
231
|
})(exports.KnownRulesEngineOperator || (exports.KnownRulesEngineOperator = {}));
|
|
143
232
|
/** Known values of {@link Transform} that the service accepts. */
|
|
144
233
|
exports.KnownTransform = void 0;
|
|
145
234
|
(function (KnownTransform) {
|
|
235
|
+
/** Lowercase */
|
|
146
236
|
KnownTransform["Lowercase"] = "Lowercase";
|
|
237
|
+
/** Uppercase */
|
|
147
238
|
KnownTransform["Uppercase"] = "Uppercase";
|
|
239
|
+
/** Trim */
|
|
148
240
|
KnownTransform["Trim"] = "Trim";
|
|
241
|
+
/** UrlDecode */
|
|
149
242
|
KnownTransform["UrlDecode"] = "UrlDecode";
|
|
243
|
+
/** UrlEncode */
|
|
150
244
|
KnownTransform["UrlEncode"] = "UrlEncode";
|
|
245
|
+
/** RemoveNulls */
|
|
151
246
|
KnownTransform["RemoveNulls"] = "RemoveNulls";
|
|
152
247
|
})(exports.KnownTransform || (exports.KnownTransform = {}));
|
|
153
248
|
/** Known values of {@link MatchProcessingBehavior} that the service accepts. */
|
|
154
249
|
exports.KnownMatchProcessingBehavior = void 0;
|
|
155
250
|
(function (KnownMatchProcessingBehavior) {
|
|
251
|
+
/** Continue */
|
|
156
252
|
KnownMatchProcessingBehavior["Continue"] = "Continue";
|
|
253
|
+
/** Stop */
|
|
157
254
|
KnownMatchProcessingBehavior["Stop"] = "Stop";
|
|
158
255
|
})(exports.KnownMatchProcessingBehavior || (exports.KnownMatchProcessingBehavior = {}));
|
|
159
256
|
/** Known values of {@link FrontDoorProtocol} that the service accepts. */
|
|
160
257
|
exports.KnownFrontDoorProtocol = void 0;
|
|
161
258
|
(function (KnownFrontDoorProtocol) {
|
|
259
|
+
/** Http */
|
|
162
260
|
KnownFrontDoorProtocol["Http"] = "Http";
|
|
261
|
+
/** Https */
|
|
163
262
|
KnownFrontDoorProtocol["Https"] = "Https";
|
|
164
263
|
})(exports.KnownFrontDoorProtocol || (exports.KnownFrontDoorProtocol = {}));
|
|
165
264
|
/** Known values of {@link RoutingRuleEnabledState} that the service accepts. */
|
|
166
265
|
exports.KnownRoutingRuleEnabledState = void 0;
|
|
167
266
|
(function (KnownRoutingRuleEnabledState) {
|
|
267
|
+
/** Enabled */
|
|
168
268
|
KnownRoutingRuleEnabledState["Enabled"] = "Enabled";
|
|
269
|
+
/** Disabled */
|
|
169
270
|
KnownRoutingRuleEnabledState["Disabled"] = "Disabled";
|
|
170
271
|
})(exports.KnownRoutingRuleEnabledState || (exports.KnownRoutingRuleEnabledState = {}));
|
|
171
272
|
/** Known values of {@link FrontDoorHealthProbeMethod} that the service accepts. */
|
|
172
273
|
exports.KnownFrontDoorHealthProbeMethod = void 0;
|
|
173
274
|
(function (KnownFrontDoorHealthProbeMethod) {
|
|
275
|
+
/** GET */
|
|
174
276
|
KnownFrontDoorHealthProbeMethod["GET"] = "GET";
|
|
277
|
+
/** Head */
|
|
175
278
|
KnownFrontDoorHealthProbeMethod["Head"] = "HEAD";
|
|
176
279
|
})(exports.KnownFrontDoorHealthProbeMethod || (exports.KnownFrontDoorHealthProbeMethod = {}));
|
|
177
280
|
/** Known values of {@link HealthProbeEnabled} that the service accepts. */
|
|
178
281
|
exports.KnownHealthProbeEnabled = void 0;
|
|
179
282
|
(function (KnownHealthProbeEnabled) {
|
|
283
|
+
/** Enabled */
|
|
180
284
|
KnownHealthProbeEnabled["Enabled"] = "Enabled";
|
|
285
|
+
/** Disabled */
|
|
181
286
|
KnownHealthProbeEnabled["Disabled"] = "Disabled";
|
|
182
287
|
})(exports.KnownHealthProbeEnabled || (exports.KnownHealthProbeEnabled = {}));
|
|
183
288
|
/** Known values of {@link PrivateEndpointStatus} that the service accepts. */
|
|
184
289
|
exports.KnownPrivateEndpointStatus = void 0;
|
|
185
290
|
(function (KnownPrivateEndpointStatus) {
|
|
291
|
+
/** Pending */
|
|
186
292
|
KnownPrivateEndpointStatus["Pending"] = "Pending";
|
|
293
|
+
/** Approved */
|
|
187
294
|
KnownPrivateEndpointStatus["Approved"] = "Approved";
|
|
295
|
+
/** Rejected */
|
|
188
296
|
KnownPrivateEndpointStatus["Rejected"] = "Rejected";
|
|
297
|
+
/** Disconnected */
|
|
189
298
|
KnownPrivateEndpointStatus["Disconnected"] = "Disconnected";
|
|
299
|
+
/** Timeout */
|
|
190
300
|
KnownPrivateEndpointStatus["Timeout"] = "Timeout";
|
|
191
301
|
})(exports.KnownPrivateEndpointStatus || (exports.KnownPrivateEndpointStatus = {}));
|
|
192
302
|
/** Known values of {@link BackendEnabledState} that the service accepts. */
|
|
193
303
|
exports.KnownBackendEnabledState = void 0;
|
|
194
304
|
(function (KnownBackendEnabledState) {
|
|
305
|
+
/** Enabled */
|
|
195
306
|
KnownBackendEnabledState["Enabled"] = "Enabled";
|
|
307
|
+
/** Disabled */
|
|
196
308
|
KnownBackendEnabledState["Disabled"] = "Disabled";
|
|
197
309
|
})(exports.KnownBackendEnabledState || (exports.KnownBackendEnabledState = {}));
|
|
198
310
|
/** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */
|
|
199
311
|
exports.KnownCustomHttpsProvisioningState = void 0;
|
|
200
312
|
(function (KnownCustomHttpsProvisioningState) {
|
|
313
|
+
/** Enabling */
|
|
201
314
|
KnownCustomHttpsProvisioningState["Enabling"] = "Enabling";
|
|
315
|
+
/** Enabled */
|
|
202
316
|
KnownCustomHttpsProvisioningState["Enabled"] = "Enabled";
|
|
317
|
+
/** Disabling */
|
|
203
318
|
KnownCustomHttpsProvisioningState["Disabling"] = "Disabling";
|
|
319
|
+
/** Disabled */
|
|
204
320
|
KnownCustomHttpsProvisioningState["Disabled"] = "Disabled";
|
|
321
|
+
/** Failed */
|
|
205
322
|
KnownCustomHttpsProvisioningState["Failed"] = "Failed";
|
|
206
323
|
})(exports.KnownCustomHttpsProvisioningState || (exports.KnownCustomHttpsProvisioningState = {}));
|
|
207
324
|
/** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */
|
|
208
325
|
exports.KnownCustomHttpsProvisioningSubstate = void 0;
|
|
209
326
|
(function (KnownCustomHttpsProvisioningSubstate) {
|
|
327
|
+
/** SubmittingDomainControlValidationRequest */
|
|
210
328
|
KnownCustomHttpsProvisioningSubstate["SubmittingDomainControlValidationRequest"] = "SubmittingDomainControlValidationRequest";
|
|
329
|
+
/** PendingDomainControlValidationREquestApproval */
|
|
211
330
|
KnownCustomHttpsProvisioningSubstate["PendingDomainControlValidationREquestApproval"] = "PendingDomainControlValidationREquestApproval";
|
|
331
|
+
/** DomainControlValidationRequestApproved */
|
|
212
332
|
KnownCustomHttpsProvisioningSubstate["DomainControlValidationRequestApproved"] = "DomainControlValidationRequestApproved";
|
|
333
|
+
/** DomainControlValidationRequestRejected */
|
|
213
334
|
KnownCustomHttpsProvisioningSubstate["DomainControlValidationRequestRejected"] = "DomainControlValidationRequestRejected";
|
|
335
|
+
/** DomainControlValidationRequestTimedOut */
|
|
214
336
|
KnownCustomHttpsProvisioningSubstate["DomainControlValidationRequestTimedOut"] = "DomainControlValidationRequestTimedOut";
|
|
337
|
+
/** IssuingCertificate */
|
|
215
338
|
KnownCustomHttpsProvisioningSubstate["IssuingCertificate"] = "IssuingCertificate";
|
|
339
|
+
/** DeployingCertificate */
|
|
216
340
|
KnownCustomHttpsProvisioningSubstate["DeployingCertificate"] = "DeployingCertificate";
|
|
341
|
+
/** CertificateDeployed */
|
|
217
342
|
KnownCustomHttpsProvisioningSubstate["CertificateDeployed"] = "CertificateDeployed";
|
|
343
|
+
/** DeletingCertificate */
|
|
218
344
|
KnownCustomHttpsProvisioningSubstate["DeletingCertificate"] = "DeletingCertificate";
|
|
345
|
+
/** CertificateDeleted */
|
|
219
346
|
KnownCustomHttpsProvisioningSubstate["CertificateDeleted"] = "CertificateDeleted";
|
|
220
347
|
})(exports.KnownCustomHttpsProvisioningSubstate || (exports.KnownCustomHttpsProvisioningSubstate = {}));
|
|
221
348
|
/** Known values of {@link FrontDoorCertificateSource} that the service accepts. */
|
|
222
349
|
exports.KnownFrontDoorCertificateSource = void 0;
|
|
223
350
|
(function (KnownFrontDoorCertificateSource) {
|
|
351
|
+
/** AzureKeyVault */
|
|
224
352
|
KnownFrontDoorCertificateSource["AzureKeyVault"] = "AzureKeyVault";
|
|
353
|
+
/** FrontDoor */
|
|
225
354
|
KnownFrontDoorCertificateSource["FrontDoor"] = "FrontDoor";
|
|
226
355
|
})(exports.KnownFrontDoorCertificateSource || (exports.KnownFrontDoorCertificateSource = {}));
|
|
227
356
|
/** Known values of {@link FrontDoorTlsProtocolType} that the service accepts. */
|
|
228
357
|
exports.KnownFrontDoorTlsProtocolType = void 0;
|
|
229
358
|
(function (KnownFrontDoorTlsProtocolType) {
|
|
359
|
+
/** ServerNameIndication */
|
|
230
360
|
KnownFrontDoorTlsProtocolType["ServerNameIndication"] = "ServerNameIndication";
|
|
231
361
|
})(exports.KnownFrontDoorTlsProtocolType || (exports.KnownFrontDoorTlsProtocolType = {}));
|
|
232
362
|
/** Known values of {@link MinimumTLSVersion} that the service accepts. */
|
|
233
363
|
exports.KnownMinimumTLSVersion = void 0;
|
|
234
364
|
(function (KnownMinimumTLSVersion) {
|
|
365
|
+
/** One0 */
|
|
235
366
|
KnownMinimumTLSVersion["One0"] = "1.0";
|
|
367
|
+
/** One2 */
|
|
236
368
|
KnownMinimumTLSVersion["One2"] = "1.2";
|
|
237
369
|
})(exports.KnownMinimumTLSVersion || (exports.KnownMinimumTLSVersion = {}));
|
|
238
370
|
/** Known values of {@link FrontDoorCertificateType} that the service accepts. */
|
|
239
371
|
exports.KnownFrontDoorCertificateType = void 0;
|
|
240
372
|
(function (KnownFrontDoorCertificateType) {
|
|
373
|
+
/** Dedicated */
|
|
241
374
|
KnownFrontDoorCertificateType["Dedicated"] = "Dedicated";
|
|
242
375
|
})(exports.KnownFrontDoorCertificateType || (exports.KnownFrontDoorCertificateType = {}));
|
|
243
376
|
/** Known values of {@link SessionAffinityEnabledState} that the service accepts. */
|
|
244
377
|
exports.KnownSessionAffinityEnabledState = void 0;
|
|
245
378
|
(function (KnownSessionAffinityEnabledState) {
|
|
379
|
+
/** Enabled */
|
|
246
380
|
KnownSessionAffinityEnabledState["Enabled"] = "Enabled";
|
|
381
|
+
/** Disabled */
|
|
247
382
|
KnownSessionAffinityEnabledState["Disabled"] = "Disabled";
|
|
248
383
|
})(exports.KnownSessionAffinityEnabledState || (exports.KnownSessionAffinityEnabledState = {}));
|
|
249
384
|
/** Known values of {@link EnforceCertificateNameCheckEnabledState} that the service accepts. */
|
|
250
385
|
exports.KnownEnforceCertificateNameCheckEnabledState = void 0;
|
|
251
386
|
(function (KnownEnforceCertificateNameCheckEnabledState) {
|
|
387
|
+
/** Enabled */
|
|
252
388
|
KnownEnforceCertificateNameCheckEnabledState["Enabled"] = "Enabled";
|
|
389
|
+
/** Disabled */
|
|
253
390
|
KnownEnforceCertificateNameCheckEnabledState["Disabled"] = "Disabled";
|
|
254
391
|
})(exports.KnownEnforceCertificateNameCheckEnabledState || (exports.KnownEnforceCertificateNameCheckEnabledState = {}));
|
|
255
392
|
/** Known values of {@link FrontDoorEnabledState} that the service accepts. */
|
|
256
393
|
exports.KnownFrontDoorEnabledState = void 0;
|
|
257
394
|
(function (KnownFrontDoorEnabledState) {
|
|
395
|
+
/** Enabled */
|
|
258
396
|
KnownFrontDoorEnabledState["Enabled"] = "Enabled";
|
|
397
|
+
/** Disabled */
|
|
259
398
|
KnownFrontDoorEnabledState["Disabled"] = "Disabled";
|
|
260
399
|
})(exports.KnownFrontDoorEnabledState || (exports.KnownFrontDoorEnabledState = {}));
|
|
261
400
|
/** Known values of {@link PolicyEnabledState} that the service accepts. */
|
|
262
401
|
exports.KnownPolicyEnabledState = void 0;
|
|
263
402
|
(function (KnownPolicyEnabledState) {
|
|
403
|
+
/** Disabled */
|
|
264
404
|
KnownPolicyEnabledState["Disabled"] = "Disabled";
|
|
405
|
+
/** Enabled */
|
|
265
406
|
KnownPolicyEnabledState["Enabled"] = "Enabled";
|
|
266
407
|
})(exports.KnownPolicyEnabledState || (exports.KnownPolicyEnabledState = {}));
|
|
267
408
|
/** Known values of {@link PolicyMode} that the service accepts. */
|
|
268
409
|
exports.KnownPolicyMode = void 0;
|
|
269
410
|
(function (KnownPolicyMode) {
|
|
411
|
+
/** Prevention */
|
|
270
412
|
KnownPolicyMode["Prevention"] = "Prevention";
|
|
413
|
+
/** Detection */
|
|
271
414
|
KnownPolicyMode["Detection"] = "Detection";
|
|
272
415
|
})(exports.KnownPolicyMode || (exports.KnownPolicyMode = {}));
|
|
273
416
|
/** Known values of {@link PolicyRequestBodyCheck} that the service accepts. */
|
|
274
417
|
exports.KnownPolicyRequestBodyCheck = void 0;
|
|
275
418
|
(function (KnownPolicyRequestBodyCheck) {
|
|
419
|
+
/** Disabled */
|
|
276
420
|
KnownPolicyRequestBodyCheck["Disabled"] = "Disabled";
|
|
421
|
+
/** Enabled */
|
|
277
422
|
KnownPolicyRequestBodyCheck["Enabled"] = "Enabled";
|
|
278
423
|
})(exports.KnownPolicyRequestBodyCheck || (exports.KnownPolicyRequestBodyCheck = {}));
|
|
279
424
|
/** Known values of {@link CustomRuleEnabledState} that the service accepts. */
|
|
280
425
|
exports.KnownCustomRuleEnabledState = void 0;
|
|
281
426
|
(function (KnownCustomRuleEnabledState) {
|
|
427
|
+
/** Disabled */
|
|
282
428
|
KnownCustomRuleEnabledState["Disabled"] = "Disabled";
|
|
429
|
+
/** Enabled */
|
|
283
430
|
KnownCustomRuleEnabledState["Enabled"] = "Enabled";
|
|
284
431
|
})(exports.KnownCustomRuleEnabledState || (exports.KnownCustomRuleEnabledState = {}));
|
|
285
432
|
/** Known values of {@link RuleType} that the service accepts. */
|
|
286
433
|
exports.KnownRuleType = void 0;
|
|
287
434
|
(function (KnownRuleType) {
|
|
435
|
+
/** MatchRule */
|
|
288
436
|
KnownRuleType["MatchRule"] = "MatchRule";
|
|
437
|
+
/** RateLimitRule */
|
|
289
438
|
KnownRuleType["RateLimitRule"] = "RateLimitRule";
|
|
290
439
|
})(exports.KnownRuleType || (exports.KnownRuleType = {}));
|
|
291
440
|
/** Known values of {@link MatchVariable} that the service accepts. */
|
|
292
441
|
exports.KnownMatchVariable = void 0;
|
|
293
442
|
(function (KnownMatchVariable) {
|
|
443
|
+
/** RemoteAddr */
|
|
294
444
|
KnownMatchVariable["RemoteAddr"] = "RemoteAddr";
|
|
445
|
+
/** RequestMethod */
|
|
295
446
|
KnownMatchVariable["RequestMethod"] = "RequestMethod";
|
|
447
|
+
/** QueryString */
|
|
296
448
|
KnownMatchVariable["QueryString"] = "QueryString";
|
|
449
|
+
/** PostArgs */
|
|
297
450
|
KnownMatchVariable["PostArgs"] = "PostArgs";
|
|
451
|
+
/** RequestUri */
|
|
298
452
|
KnownMatchVariable["RequestUri"] = "RequestUri";
|
|
453
|
+
/** RequestHeader */
|
|
299
454
|
KnownMatchVariable["RequestHeader"] = "RequestHeader";
|
|
455
|
+
/** RequestBody */
|
|
300
456
|
KnownMatchVariable["RequestBody"] = "RequestBody";
|
|
457
|
+
/** Cookies */
|
|
301
458
|
KnownMatchVariable["Cookies"] = "Cookies";
|
|
459
|
+
/** SocketAddr */
|
|
302
460
|
KnownMatchVariable["SocketAddr"] = "SocketAddr";
|
|
303
461
|
})(exports.KnownMatchVariable || (exports.KnownMatchVariable = {}));
|
|
304
462
|
/** Known values of {@link Operator} that the service accepts. */
|
|
305
463
|
exports.KnownOperator = void 0;
|
|
306
464
|
(function (KnownOperator) {
|
|
465
|
+
/** Any */
|
|
307
466
|
KnownOperator["Any"] = "Any";
|
|
467
|
+
/** IPMatch */
|
|
308
468
|
KnownOperator["IPMatch"] = "IPMatch";
|
|
469
|
+
/** GeoMatch */
|
|
309
470
|
KnownOperator["GeoMatch"] = "GeoMatch";
|
|
471
|
+
/** Equal */
|
|
310
472
|
KnownOperator["Equal"] = "Equal";
|
|
473
|
+
/** Contains */
|
|
311
474
|
KnownOperator["Contains"] = "Contains";
|
|
475
|
+
/** LessThan */
|
|
312
476
|
KnownOperator["LessThan"] = "LessThan";
|
|
477
|
+
/** GreaterThan */
|
|
313
478
|
KnownOperator["GreaterThan"] = "GreaterThan";
|
|
479
|
+
/** LessThanOrEqual */
|
|
314
480
|
KnownOperator["LessThanOrEqual"] = "LessThanOrEqual";
|
|
481
|
+
/** GreaterThanOrEqual */
|
|
315
482
|
KnownOperator["GreaterThanOrEqual"] = "GreaterThanOrEqual";
|
|
483
|
+
/** BeginsWith */
|
|
316
484
|
KnownOperator["BeginsWith"] = "BeginsWith";
|
|
485
|
+
/** EndsWith */
|
|
317
486
|
KnownOperator["EndsWith"] = "EndsWith";
|
|
487
|
+
/** RegEx */
|
|
318
488
|
KnownOperator["RegEx"] = "RegEx";
|
|
319
489
|
})(exports.KnownOperator || (exports.KnownOperator = {}));
|
|
320
490
|
/** Known values of {@link TransformType} that the service accepts. */
|
|
321
491
|
exports.KnownTransformType = void 0;
|
|
322
492
|
(function (KnownTransformType) {
|
|
493
|
+
/** Lowercase */
|
|
323
494
|
KnownTransformType["Lowercase"] = "Lowercase";
|
|
495
|
+
/** Uppercase */
|
|
324
496
|
KnownTransformType["Uppercase"] = "Uppercase";
|
|
497
|
+
/** Trim */
|
|
325
498
|
KnownTransformType["Trim"] = "Trim";
|
|
499
|
+
/** UrlDecode */
|
|
326
500
|
KnownTransformType["UrlDecode"] = "UrlDecode";
|
|
501
|
+
/** UrlEncode */
|
|
327
502
|
KnownTransformType["UrlEncode"] = "UrlEncode";
|
|
503
|
+
/** RemoveNulls */
|
|
328
504
|
KnownTransformType["RemoveNulls"] = "RemoveNulls";
|
|
329
505
|
})(exports.KnownTransformType || (exports.KnownTransformType = {}));
|
|
330
506
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
331
507
|
exports.KnownActionType = void 0;
|
|
332
508
|
(function (KnownActionType) {
|
|
509
|
+
/** Allow */
|
|
333
510
|
KnownActionType["Allow"] = "Allow";
|
|
511
|
+
/** Block */
|
|
334
512
|
KnownActionType["Block"] = "Block";
|
|
513
|
+
/** Log */
|
|
335
514
|
KnownActionType["Log"] = "Log";
|
|
515
|
+
/** Redirect */
|
|
336
516
|
KnownActionType["Redirect"] = "Redirect";
|
|
337
517
|
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
338
518
|
/** Known values of {@link ManagedRuleSetActionType} that the service accepts. */
|
|
339
519
|
exports.KnownManagedRuleSetActionType = void 0;
|
|
340
520
|
(function (KnownManagedRuleSetActionType) {
|
|
521
|
+
/** Block */
|
|
341
522
|
KnownManagedRuleSetActionType["Block"] = "Block";
|
|
523
|
+
/** Log */
|
|
342
524
|
KnownManagedRuleSetActionType["Log"] = "Log";
|
|
525
|
+
/** Redirect */
|
|
343
526
|
KnownManagedRuleSetActionType["Redirect"] = "Redirect";
|
|
344
527
|
})(exports.KnownManagedRuleSetActionType || (exports.KnownManagedRuleSetActionType = {}));
|
|
345
528
|
/** Known values of {@link ManagedRuleExclusionMatchVariable} that the service accepts. */
|
|
346
529
|
exports.KnownManagedRuleExclusionMatchVariable = void 0;
|
|
347
530
|
(function (KnownManagedRuleExclusionMatchVariable) {
|
|
531
|
+
/** RequestHeaderNames */
|
|
348
532
|
KnownManagedRuleExclusionMatchVariable["RequestHeaderNames"] = "RequestHeaderNames";
|
|
533
|
+
/** RequestCookieNames */
|
|
349
534
|
KnownManagedRuleExclusionMatchVariable["RequestCookieNames"] = "RequestCookieNames";
|
|
535
|
+
/** QueryStringArgNames */
|
|
350
536
|
KnownManagedRuleExclusionMatchVariable["QueryStringArgNames"] = "QueryStringArgNames";
|
|
537
|
+
/** RequestBodyPostArgNames */
|
|
351
538
|
KnownManagedRuleExclusionMatchVariable["RequestBodyPostArgNames"] = "RequestBodyPostArgNames";
|
|
539
|
+
/** RequestBodyJsonArgNames */
|
|
352
540
|
KnownManagedRuleExclusionMatchVariable["RequestBodyJsonArgNames"] = "RequestBodyJsonArgNames";
|
|
353
541
|
})(exports.KnownManagedRuleExclusionMatchVariable || (exports.KnownManagedRuleExclusionMatchVariable = {}));
|
|
354
542
|
/** Known values of {@link ManagedRuleExclusionSelectorMatchOperator} that the service accepts. */
|
|
355
543
|
exports.KnownManagedRuleExclusionSelectorMatchOperator = void 0;
|
|
356
544
|
(function (KnownManagedRuleExclusionSelectorMatchOperator) {
|
|
545
|
+
/** Equals */
|
|
357
546
|
KnownManagedRuleExclusionSelectorMatchOperator["Equals"] = "Equals";
|
|
547
|
+
/** Contains */
|
|
358
548
|
KnownManagedRuleExclusionSelectorMatchOperator["Contains"] = "Contains";
|
|
549
|
+
/** StartsWith */
|
|
359
550
|
KnownManagedRuleExclusionSelectorMatchOperator["StartsWith"] = "StartsWith";
|
|
551
|
+
/** EndsWith */
|
|
360
552
|
KnownManagedRuleExclusionSelectorMatchOperator["EndsWith"] = "EndsWith";
|
|
553
|
+
/** EqualsAny */
|
|
361
554
|
KnownManagedRuleExclusionSelectorMatchOperator["EqualsAny"] = "EqualsAny";
|
|
362
555
|
})(exports.KnownManagedRuleExclusionSelectorMatchOperator || (exports.KnownManagedRuleExclusionSelectorMatchOperator = {}));
|
|
363
556
|
/** Known values of {@link ManagedRuleEnabledState} that the service accepts. */
|
|
364
557
|
exports.KnownManagedRuleEnabledState = void 0;
|
|
365
558
|
(function (KnownManagedRuleEnabledState) {
|
|
559
|
+
/** Disabled */
|
|
366
560
|
KnownManagedRuleEnabledState["Disabled"] = "Disabled";
|
|
561
|
+
/** Enabled */
|
|
367
562
|
KnownManagedRuleEnabledState["Enabled"] = "Enabled";
|
|
368
563
|
})(exports.KnownManagedRuleEnabledState || (exports.KnownManagedRuleEnabledState = {}));
|
|
369
564
|
/** Known values of {@link PolicyResourceState} that the service accepts. */
|
|
370
565
|
exports.KnownPolicyResourceState = void 0;
|
|
371
566
|
(function (KnownPolicyResourceState) {
|
|
567
|
+
/** Creating */
|
|
372
568
|
KnownPolicyResourceState["Creating"] = "Creating";
|
|
569
|
+
/** Enabling */
|
|
373
570
|
KnownPolicyResourceState["Enabling"] = "Enabling";
|
|
571
|
+
/** Enabled */
|
|
374
572
|
KnownPolicyResourceState["Enabled"] = "Enabled";
|
|
573
|
+
/** Disabling */
|
|
375
574
|
KnownPolicyResourceState["Disabling"] = "Disabling";
|
|
575
|
+
/** Disabled */
|
|
376
576
|
KnownPolicyResourceState["Disabled"] = "Disabled";
|
|
577
|
+
/** Deleting */
|
|
377
578
|
KnownPolicyResourceState["Deleting"] = "Deleting";
|
|
378
579
|
})(exports.KnownPolicyResourceState || (exports.KnownPolicyResourceState = {}));
|
|
379
580
|
/** Known values of {@link SkuName} that the service accepts. */
|
|
380
581
|
exports.KnownSkuName = void 0;
|
|
381
582
|
(function (KnownSkuName) {
|
|
583
|
+
/** ClassicAzureFrontDoor */
|
|
382
584
|
KnownSkuName["ClassicAzureFrontDoor"] = "Classic_AzureFrontDoor";
|
|
585
|
+
/** StandardAzureFrontDoor */
|
|
383
586
|
KnownSkuName["StandardAzureFrontDoor"] = "Standard_AzureFrontDoor";
|
|
587
|
+
/** PremiumAzureFrontDoor */
|
|
384
588
|
KnownSkuName["PremiumAzureFrontDoor"] = "Premium_AzureFrontDoor";
|
|
385
589
|
})(exports.KnownSkuName || (exports.KnownSkuName = {}));
|
|
386
590
|
/** Known values of {@link NetworkOperationStatus} that the service accepts. */
|
|
387
591
|
exports.KnownNetworkOperationStatus = void 0;
|
|
388
592
|
(function (KnownNetworkOperationStatus) {
|
|
593
|
+
/** InProgress */
|
|
389
594
|
KnownNetworkOperationStatus["InProgress"] = "InProgress";
|
|
595
|
+
/** Succeeded */
|
|
390
596
|
KnownNetworkOperationStatus["Succeeded"] = "Succeeded";
|
|
597
|
+
/** Failed */
|
|
391
598
|
KnownNetworkOperationStatus["Failed"] = "Failed";
|
|
392
599
|
})(exports.KnownNetworkOperationStatus || (exports.KnownNetworkOperationStatus = {}));
|
|
393
600
|
/** Known values of {@link FrontDoorForwardingProtocol} that the service accepts. */
|
|
394
601
|
exports.KnownFrontDoorForwardingProtocol = void 0;
|
|
395
602
|
(function (KnownFrontDoorForwardingProtocol) {
|
|
603
|
+
/** HttpOnly */
|
|
396
604
|
KnownFrontDoorForwardingProtocol["HttpOnly"] = "HttpOnly";
|
|
605
|
+
/** HttpsOnly */
|
|
397
606
|
KnownFrontDoorForwardingProtocol["HttpsOnly"] = "HttpsOnly";
|
|
607
|
+
/** MatchRequest */
|
|
398
608
|
KnownFrontDoorForwardingProtocol["MatchRequest"] = "MatchRequest";
|
|
399
609
|
})(exports.KnownFrontDoorForwardingProtocol || (exports.KnownFrontDoorForwardingProtocol = {}));
|
|
400
610
|
/** Known values of {@link FrontDoorQuery} that the service accepts. */
|
|
401
611
|
exports.KnownFrontDoorQuery = void 0;
|
|
402
612
|
(function (KnownFrontDoorQuery) {
|
|
613
|
+
/** StripNone */
|
|
403
614
|
KnownFrontDoorQuery["StripNone"] = "StripNone";
|
|
615
|
+
/** StripAll */
|
|
404
616
|
KnownFrontDoorQuery["StripAll"] = "StripAll";
|
|
617
|
+
/** StripOnly */
|
|
405
618
|
KnownFrontDoorQuery["StripOnly"] = "StripOnly";
|
|
619
|
+
/** StripAllExcept */
|
|
406
620
|
KnownFrontDoorQuery["StripAllExcept"] = "StripAllExcept";
|
|
407
621
|
})(exports.KnownFrontDoorQuery || (exports.KnownFrontDoorQuery = {}));
|
|
408
622
|
/** Known values of {@link DynamicCompressionEnabled} that the service accepts. */
|
|
409
623
|
exports.KnownDynamicCompressionEnabled = void 0;
|
|
410
624
|
(function (KnownDynamicCompressionEnabled) {
|
|
625
|
+
/** Enabled */
|
|
411
626
|
KnownDynamicCompressionEnabled["Enabled"] = "Enabled";
|
|
627
|
+
/** Disabled */
|
|
412
628
|
KnownDynamicCompressionEnabled["Disabled"] = "Disabled";
|
|
413
629
|
})(exports.KnownDynamicCompressionEnabled || (exports.KnownDynamicCompressionEnabled = {}));
|
|
414
630
|
/** Known values of {@link FrontDoorRedirectType} that the service accepts. */
|
|
415
631
|
exports.KnownFrontDoorRedirectType = void 0;
|
|
416
632
|
(function (KnownFrontDoorRedirectType) {
|
|
633
|
+
/** Moved */
|
|
417
634
|
KnownFrontDoorRedirectType["Moved"] = "Moved";
|
|
635
|
+
/** Found */
|
|
418
636
|
KnownFrontDoorRedirectType["Found"] = "Found";
|
|
637
|
+
/** TemporaryRedirect */
|
|
419
638
|
KnownFrontDoorRedirectType["TemporaryRedirect"] = "TemporaryRedirect";
|
|
639
|
+
/** PermanentRedirect */
|
|
420
640
|
KnownFrontDoorRedirectType["PermanentRedirect"] = "PermanentRedirect";
|
|
421
641
|
})(exports.KnownFrontDoorRedirectType || (exports.KnownFrontDoorRedirectType = {}));
|
|
422
642
|
/** Known values of {@link FrontDoorRedirectProtocol} that the service accepts. */
|
|
423
643
|
exports.KnownFrontDoorRedirectProtocol = void 0;
|
|
424
644
|
(function (KnownFrontDoorRedirectProtocol) {
|
|
645
|
+
/** HttpOnly */
|
|
425
646
|
KnownFrontDoorRedirectProtocol["HttpOnly"] = "HttpOnly";
|
|
647
|
+
/** HttpsOnly */
|
|
426
648
|
KnownFrontDoorRedirectProtocol["HttpsOnly"] = "HttpsOnly";
|
|
649
|
+
/** MatchRequest */
|
|
427
650
|
KnownFrontDoorRedirectProtocol["MatchRequest"] = "MatchRequest";
|
|
428
651
|
})(exports.KnownFrontDoorRedirectProtocol || (exports.KnownFrontDoorRedirectProtocol = {}));
|
|
429
652
|
|
|
@@ -3939,20 +4162,31 @@ class NetworkExperimentProfilesImpl {
|
|
|
3939
4162
|
[Symbol.asyncIterator]() {
|
|
3940
4163
|
return this;
|
|
3941
4164
|
},
|
|
3942
|
-
byPage: () => {
|
|
3943
|
-
|
|
4165
|
+
byPage: (settings) => {
|
|
4166
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4167
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4168
|
+
}
|
|
4169
|
+
return this.listPagingPage(options, settings);
|
|
3944
4170
|
}
|
|
3945
4171
|
};
|
|
3946
4172
|
}
|
|
3947
|
-
listPagingPage(options) {
|
|
4173
|
+
listPagingPage(options, settings) {
|
|
3948
4174
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3949
|
-
let result
|
|
3950
|
-
|
|
3951
|
-
|
|
4175
|
+
let result;
|
|
4176
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4177
|
+
if (!continuationToken) {
|
|
4178
|
+
result = yield tslib.__await(this._list(options));
|
|
4179
|
+
let page = result.value || [];
|
|
4180
|
+
continuationToken = result.nextLink;
|
|
4181
|
+
setContinuationToken(page, continuationToken);
|
|
4182
|
+
yield yield tslib.__await(page);
|
|
4183
|
+
}
|
|
3952
4184
|
while (continuationToken) {
|
|
3953
4185
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
3954
4186
|
continuationToken = result.nextLink;
|
|
3955
|
-
|
|
4187
|
+
let page = result.value || [];
|
|
4188
|
+
setContinuationToken(page, continuationToken);
|
|
4189
|
+
yield yield tslib.__await(page);
|
|
3956
4190
|
}
|
|
3957
4191
|
});
|
|
3958
4192
|
}
|
|
@@ -3988,20 +4222,31 @@ class NetworkExperimentProfilesImpl {
|
|
|
3988
4222
|
[Symbol.asyncIterator]() {
|
|
3989
4223
|
return this;
|
|
3990
4224
|
},
|
|
3991
|
-
byPage: () => {
|
|
3992
|
-
|
|
4225
|
+
byPage: (settings) => {
|
|
4226
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4227
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4228
|
+
}
|
|
4229
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
3993
4230
|
}
|
|
3994
4231
|
};
|
|
3995
4232
|
}
|
|
3996
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
4233
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
3997
4234
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
3998
|
-
let result
|
|
3999
|
-
|
|
4000
|
-
|
|
4235
|
+
let result;
|
|
4236
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4237
|
+
if (!continuationToken) {
|
|
4238
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
4239
|
+
let page = result.value || [];
|
|
4240
|
+
continuationToken = result.nextLink;
|
|
4241
|
+
setContinuationToken(page, continuationToken);
|
|
4242
|
+
yield yield tslib.__await(page);
|
|
4243
|
+
}
|
|
4001
4244
|
while (continuationToken) {
|
|
4002
4245
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
4003
4246
|
continuationToken = result.nextLink;
|
|
4004
|
-
|
|
4247
|
+
let page = result.value || [];
|
|
4248
|
+
setContinuationToken(page, continuationToken);
|
|
4249
|
+
yield yield tslib.__await(page);
|
|
4005
4250
|
}
|
|
4006
4251
|
});
|
|
4007
4252
|
}
|
|
@@ -4441,20 +4686,31 @@ class PreconfiguredEndpointsImpl {
|
|
|
4441
4686
|
[Symbol.asyncIterator]() {
|
|
4442
4687
|
return this;
|
|
4443
4688
|
},
|
|
4444
|
-
byPage: () => {
|
|
4445
|
-
|
|
4689
|
+
byPage: (settings) => {
|
|
4690
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4691
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4692
|
+
}
|
|
4693
|
+
return this.listPagingPage(resourceGroupName, profileName, options, settings);
|
|
4446
4694
|
}
|
|
4447
4695
|
};
|
|
4448
4696
|
}
|
|
4449
|
-
listPagingPage(resourceGroupName, profileName, options) {
|
|
4697
|
+
listPagingPage(resourceGroupName, profileName, options, settings) {
|
|
4450
4698
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4451
|
-
let result
|
|
4452
|
-
|
|
4453
|
-
|
|
4699
|
+
let result;
|
|
4700
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4701
|
+
if (!continuationToken) {
|
|
4702
|
+
result = yield tslib.__await(this._list(resourceGroupName, profileName, options));
|
|
4703
|
+
let page = result.value || [];
|
|
4704
|
+
continuationToken = result.nextLink;
|
|
4705
|
+
setContinuationToken(page, continuationToken);
|
|
4706
|
+
yield yield tslib.__await(page);
|
|
4707
|
+
}
|
|
4454
4708
|
while (continuationToken) {
|
|
4455
4709
|
result = yield tslib.__await(this._listNext(resourceGroupName, profileName, continuationToken, options));
|
|
4456
4710
|
continuationToken = result.nextLink;
|
|
4457
|
-
|
|
4711
|
+
let page = result.value || [];
|
|
4712
|
+
setContinuationToken(page, continuationToken);
|
|
4713
|
+
yield yield tslib.__await(page);
|
|
4458
4714
|
}
|
|
4459
4715
|
});
|
|
4460
4716
|
}
|
|
@@ -4574,20 +4830,31 @@ class ExperimentsImpl {
|
|
|
4574
4830
|
[Symbol.asyncIterator]() {
|
|
4575
4831
|
return this;
|
|
4576
4832
|
},
|
|
4577
|
-
byPage: () => {
|
|
4578
|
-
|
|
4833
|
+
byPage: (settings) => {
|
|
4834
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4835
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4836
|
+
}
|
|
4837
|
+
return this.listByProfilePagingPage(resourceGroupName, profileName, options, settings);
|
|
4579
4838
|
}
|
|
4580
4839
|
};
|
|
4581
4840
|
}
|
|
4582
|
-
listByProfilePagingPage(resourceGroupName, profileName, options) {
|
|
4841
|
+
listByProfilePagingPage(resourceGroupName, profileName, options, settings) {
|
|
4583
4842
|
return tslib.__asyncGenerator(this, arguments, function* listByProfilePagingPage_1() {
|
|
4584
|
-
let result
|
|
4585
|
-
|
|
4586
|
-
|
|
4843
|
+
let result;
|
|
4844
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4845
|
+
if (!continuationToken) {
|
|
4846
|
+
result = yield tslib.__await(this._listByProfile(resourceGroupName, profileName, options));
|
|
4847
|
+
let page = result.value || [];
|
|
4848
|
+
continuationToken = result.nextLink;
|
|
4849
|
+
setContinuationToken(page, continuationToken);
|
|
4850
|
+
yield yield tslib.__await(page);
|
|
4851
|
+
}
|
|
4587
4852
|
while (continuationToken) {
|
|
4588
4853
|
result = yield tslib.__await(this._listByProfileNext(resourceGroupName, profileName, continuationToken, options));
|
|
4589
4854
|
continuationToken = result.nextLink;
|
|
4590
|
-
|
|
4855
|
+
let page = result.value || [];
|
|
4856
|
+
setContinuationToken(page, continuationToken);
|
|
4857
|
+
yield yield tslib.__await(page);
|
|
4591
4858
|
}
|
|
4592
4859
|
});
|
|
4593
4860
|
}
|
|
@@ -5198,20 +5465,31 @@ class FrontDoorsImpl {
|
|
|
5198
5465
|
[Symbol.asyncIterator]() {
|
|
5199
5466
|
return this;
|
|
5200
5467
|
},
|
|
5201
|
-
byPage: () => {
|
|
5202
|
-
|
|
5468
|
+
byPage: (settings) => {
|
|
5469
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5470
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5471
|
+
}
|
|
5472
|
+
return this.listPagingPage(options, settings);
|
|
5203
5473
|
}
|
|
5204
5474
|
};
|
|
5205
5475
|
}
|
|
5206
|
-
listPagingPage(options) {
|
|
5476
|
+
listPagingPage(options, settings) {
|
|
5207
5477
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
5208
|
-
let result
|
|
5209
|
-
|
|
5210
|
-
|
|
5478
|
+
let result;
|
|
5479
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5480
|
+
if (!continuationToken) {
|
|
5481
|
+
result = yield tslib.__await(this._list(options));
|
|
5482
|
+
let page = result.value || [];
|
|
5483
|
+
continuationToken = result.nextLink;
|
|
5484
|
+
setContinuationToken(page, continuationToken);
|
|
5485
|
+
yield yield tslib.__await(page);
|
|
5486
|
+
}
|
|
5211
5487
|
while (continuationToken) {
|
|
5212
5488
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
5213
5489
|
continuationToken = result.nextLink;
|
|
5214
|
-
|
|
5490
|
+
let page = result.value || [];
|
|
5491
|
+
setContinuationToken(page, continuationToken);
|
|
5492
|
+
yield yield tslib.__await(page);
|
|
5215
5493
|
}
|
|
5216
5494
|
});
|
|
5217
5495
|
}
|
|
@@ -5247,20 +5525,31 @@ class FrontDoorsImpl {
|
|
|
5247
5525
|
[Symbol.asyncIterator]() {
|
|
5248
5526
|
return this;
|
|
5249
5527
|
},
|
|
5250
|
-
byPage: () => {
|
|
5251
|
-
|
|
5528
|
+
byPage: (settings) => {
|
|
5529
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5530
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5531
|
+
}
|
|
5532
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
5252
5533
|
}
|
|
5253
5534
|
};
|
|
5254
5535
|
}
|
|
5255
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
5536
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
5256
5537
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
5257
|
-
let result
|
|
5258
|
-
|
|
5259
|
-
|
|
5538
|
+
let result;
|
|
5539
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5540
|
+
if (!continuationToken) {
|
|
5541
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
5542
|
+
let page = result.value || [];
|
|
5543
|
+
continuationToken = result.nextLink;
|
|
5544
|
+
setContinuationToken(page, continuationToken);
|
|
5545
|
+
yield yield tslib.__await(page);
|
|
5546
|
+
}
|
|
5260
5547
|
while (continuationToken) {
|
|
5261
5548
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
5262
5549
|
continuationToken = result.nextLink;
|
|
5263
|
-
|
|
5550
|
+
let page = result.value || [];
|
|
5551
|
+
setContinuationToken(page, continuationToken);
|
|
5552
|
+
yield yield tslib.__await(page);
|
|
5264
5553
|
}
|
|
5265
5554
|
});
|
|
5266
5555
|
}
|
|
@@ -5651,20 +5940,31 @@ class FrontendEndpointsImpl {
|
|
|
5651
5940
|
[Symbol.asyncIterator]() {
|
|
5652
5941
|
return this;
|
|
5653
5942
|
},
|
|
5654
|
-
byPage: () => {
|
|
5655
|
-
|
|
5943
|
+
byPage: (settings) => {
|
|
5944
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5945
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5946
|
+
}
|
|
5947
|
+
return this.listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options, settings);
|
|
5656
5948
|
}
|
|
5657
5949
|
};
|
|
5658
5950
|
}
|
|
5659
|
-
listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options) {
|
|
5951
|
+
listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options, settings) {
|
|
5660
5952
|
return tslib.__asyncGenerator(this, arguments, function* listByFrontDoorPagingPage_1() {
|
|
5661
|
-
let result
|
|
5662
|
-
|
|
5663
|
-
|
|
5953
|
+
let result;
|
|
5954
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5955
|
+
if (!continuationToken) {
|
|
5956
|
+
result = yield tslib.__await(this._listByFrontDoor(resourceGroupName, frontDoorName, options));
|
|
5957
|
+
let page = result.value || [];
|
|
5958
|
+
continuationToken = result.nextLink;
|
|
5959
|
+
setContinuationToken(page, continuationToken);
|
|
5960
|
+
yield yield tslib.__await(page);
|
|
5961
|
+
}
|
|
5664
5962
|
while (continuationToken) {
|
|
5665
5963
|
result = yield tslib.__await(this._listByFrontDoorNext(resourceGroupName, frontDoorName, continuationToken, options));
|
|
5666
5964
|
continuationToken = result.nextLink;
|
|
5667
|
-
|
|
5965
|
+
let page = result.value || [];
|
|
5966
|
+
setContinuationToken(page, continuationToken);
|
|
5967
|
+
yield yield tslib.__await(page);
|
|
5668
5968
|
}
|
|
5669
5969
|
});
|
|
5670
5970
|
}
|
|
@@ -6082,20 +6382,31 @@ class RulesEnginesImpl {
|
|
|
6082
6382
|
[Symbol.asyncIterator]() {
|
|
6083
6383
|
return this;
|
|
6084
6384
|
},
|
|
6085
|
-
byPage: () => {
|
|
6086
|
-
|
|
6385
|
+
byPage: (settings) => {
|
|
6386
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6387
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6388
|
+
}
|
|
6389
|
+
return this.listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options, settings);
|
|
6087
6390
|
}
|
|
6088
6391
|
};
|
|
6089
6392
|
}
|
|
6090
|
-
listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options) {
|
|
6393
|
+
listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options, settings) {
|
|
6091
6394
|
return tslib.__asyncGenerator(this, arguments, function* listByFrontDoorPagingPage_1() {
|
|
6092
|
-
let result
|
|
6093
|
-
|
|
6094
|
-
|
|
6395
|
+
let result;
|
|
6396
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6397
|
+
if (!continuationToken) {
|
|
6398
|
+
result = yield tslib.__await(this._listByFrontDoor(resourceGroupName, frontDoorName, options));
|
|
6399
|
+
let page = result.value || [];
|
|
6400
|
+
continuationToken = result.nextLink;
|
|
6401
|
+
setContinuationToken(page, continuationToken);
|
|
6402
|
+
yield yield tslib.__await(page);
|
|
6403
|
+
}
|
|
6095
6404
|
while (continuationToken) {
|
|
6096
6405
|
result = yield tslib.__await(this._listByFrontDoorNext(resourceGroupName, frontDoorName, continuationToken, options));
|
|
6097
6406
|
continuationToken = result.nextLink;
|
|
6098
|
-
|
|
6407
|
+
let page = result.value || [];
|
|
6408
|
+
setContinuationToken(page, continuationToken);
|
|
6409
|
+
yield yield tslib.__await(page);
|
|
6099
6410
|
}
|
|
6100
6411
|
});
|
|
6101
6412
|
}
|
|
@@ -6420,20 +6731,31 @@ class PoliciesImpl {
|
|
|
6420
6731
|
[Symbol.asyncIterator]() {
|
|
6421
6732
|
return this;
|
|
6422
6733
|
},
|
|
6423
|
-
byPage: () => {
|
|
6424
|
-
|
|
6734
|
+
byPage: (settings) => {
|
|
6735
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6736
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6737
|
+
}
|
|
6738
|
+
return this.listPagingPage(resourceGroupName, options, settings);
|
|
6425
6739
|
}
|
|
6426
6740
|
};
|
|
6427
6741
|
}
|
|
6428
|
-
listPagingPage(resourceGroupName, options) {
|
|
6742
|
+
listPagingPage(resourceGroupName, options, settings) {
|
|
6429
6743
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
6430
|
-
let result
|
|
6431
|
-
|
|
6432
|
-
|
|
6744
|
+
let result;
|
|
6745
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6746
|
+
if (!continuationToken) {
|
|
6747
|
+
result = yield tslib.__await(this._list(resourceGroupName, options));
|
|
6748
|
+
let page = result.value || [];
|
|
6749
|
+
continuationToken = result.nextLink;
|
|
6750
|
+
setContinuationToken(page, continuationToken);
|
|
6751
|
+
yield yield tslib.__await(page);
|
|
6752
|
+
}
|
|
6433
6753
|
while (continuationToken) {
|
|
6434
6754
|
result = yield tslib.__await(this._listNext(resourceGroupName, continuationToken, options));
|
|
6435
6755
|
continuationToken = result.nextLink;
|
|
6436
|
-
|
|
6756
|
+
let page = result.value || [];
|
|
6757
|
+
setContinuationToken(page, continuationToken);
|
|
6758
|
+
yield yield tslib.__await(page);
|
|
6437
6759
|
}
|
|
6438
6760
|
});
|
|
6439
6761
|
}
|
|
@@ -6726,20 +7048,31 @@ class ManagedRuleSetsImpl {
|
|
|
6726
7048
|
[Symbol.asyncIterator]() {
|
|
6727
7049
|
return this;
|
|
6728
7050
|
},
|
|
6729
|
-
byPage: () => {
|
|
6730
|
-
|
|
7051
|
+
byPage: (settings) => {
|
|
7052
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7053
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7054
|
+
}
|
|
7055
|
+
return this.listPagingPage(options, settings);
|
|
6731
7056
|
}
|
|
6732
7057
|
};
|
|
6733
7058
|
}
|
|
6734
|
-
listPagingPage(options) {
|
|
7059
|
+
listPagingPage(options, settings) {
|
|
6735
7060
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
6736
|
-
let result
|
|
6737
|
-
|
|
6738
|
-
|
|
7061
|
+
let result;
|
|
7062
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7063
|
+
if (!continuationToken) {
|
|
7064
|
+
result = yield tslib.__await(this._list(options));
|
|
7065
|
+
let page = result.value || [];
|
|
7066
|
+
continuationToken = result.nextLink;
|
|
7067
|
+
setContinuationToken(page, continuationToken);
|
|
7068
|
+
yield yield tslib.__await(page);
|
|
7069
|
+
}
|
|
6739
7070
|
while (continuationToken) {
|
|
6740
7071
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
6741
7072
|
continuationToken = result.nextLink;
|
|
6742
|
-
|
|
7073
|
+
let page = result.value || [];
|
|
7074
|
+
setContinuationToken(page, continuationToken);
|
|
7075
|
+
yield yield tslib.__await(page);
|
|
6743
7076
|
}
|
|
6744
7077
|
});
|
|
6745
7078
|
}
|
|
@@ -6832,7 +7165,7 @@ class FrontDoorManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
6832
7165
|
* @param options The parameter options
|
|
6833
7166
|
*/
|
|
6834
7167
|
constructor(credentials, subscriptionId, options) {
|
|
6835
|
-
var _a, _b;
|
|
7168
|
+
var _a, _b, _c;
|
|
6836
7169
|
if (credentials === undefined) {
|
|
6837
7170
|
throw new Error("'credentials' cannot be null");
|
|
6838
7171
|
}
|
|
@@ -6847,32 +7180,34 @@ class FrontDoorManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
6847
7180
|
requestContentType: "application/json; charset=utf-8",
|
|
6848
7181
|
credential: credentials
|
|
6849
7182
|
};
|
|
6850
|
-
const packageDetails = `azsdk-js-arm-frontdoor/5.0
|
|
7183
|
+
const packageDetails = `azsdk-js-arm-frontdoor/5.1.0`;
|
|
6851
7184
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
6852
7185
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
6853
7186
|
: `${packageDetails}`;
|
|
6854
|
-
if (!options.credentialScopes) {
|
|
6855
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
6856
|
-
}
|
|
6857
7187
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
6858
7188
|
userAgentPrefix
|
|
6859
|
-
},
|
|
7189
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
6860
7190
|
super(optionsWithDefaults);
|
|
7191
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
6861
7192
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
6862
7193
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
6863
|
-
|
|
7194
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
6864
7195
|
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
7196
|
+
}
|
|
7197
|
+
if (!options ||
|
|
7198
|
+
!options.pipeline ||
|
|
7199
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
7200
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
7201
|
+
this.pipeline.removePolicy({
|
|
7202
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
7203
|
+
});
|
|
7204
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
7205
|
+
credential: credentials,
|
|
7206
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
7207
|
+
challengeCallbacks: {
|
|
7208
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
7209
|
+
}
|
|
7210
|
+
}));
|
|
6876
7211
|
}
|
|
6877
7212
|
// Parameter assignments
|
|
6878
7213
|
this.subscriptionId = subscriptionId;
|
|
@@ -6894,4 +7229,5 @@ class FrontDoorManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
6894
7229
|
}
|
|
6895
7230
|
|
|
6896
7231
|
exports.FrontDoorManagementClient = FrontDoorManagementClient;
|
|
7232
|
+
exports.getContinuationToken = getContinuationToken;
|
|
6897
7233
|
//# sourceMappingURL=index.js.map
|