@azure-rest/arm-servicefabric 1.0.0-beta.2 → 1.0.0-beta.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 (37) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +26 -16
  3. package/dist/browser/isUnexpected.js +4 -5
  4. package/dist/browser/isUnexpected.js.map +1 -1
  5. package/dist/browser/paginateHelper.js +43 -73
  6. package/dist/browser/paginateHelper.js.map +1 -1
  7. package/dist/browser/pollingHelper.js +11 -8
  8. package/dist/browser/pollingHelper.js.map +1 -1
  9. package/dist/browser/serviceFabricClient.js +13 -11
  10. package/dist/browser/serviceFabricClient.js.map +1 -1
  11. package/dist/commonjs/isUnexpected.js +4 -5
  12. package/dist/commonjs/isUnexpected.js.map +1 -1
  13. package/dist/commonjs/paginateHelper.js +43 -73
  14. package/dist/commonjs/paginateHelper.js.map +1 -1
  15. package/dist/commonjs/pollingHelper.js +11 -8
  16. package/dist/commonjs/pollingHelper.js.map +1 -1
  17. package/dist/commonjs/serviceFabricClient.js +13 -11
  18. package/dist/commonjs/serviceFabricClient.js.map +1 -1
  19. package/dist/commonjs/tsdoc-metadata.json +11 -11
  20. package/dist/esm/isUnexpected.js +4 -5
  21. package/dist/esm/isUnexpected.js.map +1 -1
  22. package/dist/esm/paginateHelper.js +43 -73
  23. package/dist/esm/paginateHelper.js.map +1 -1
  24. package/dist/esm/pollingHelper.js +11 -8
  25. package/dist/esm/pollingHelper.js.map +1 -1
  26. package/dist/esm/serviceFabricClient.js +13 -11
  27. package/dist/esm/serviceFabricClient.js.map +1 -1
  28. package/dist/react-native/isUnexpected.js +4 -5
  29. package/dist/react-native/isUnexpected.js.map +1 -1
  30. package/dist/react-native/paginateHelper.js +43 -73
  31. package/dist/react-native/paginateHelper.js.map +1 -1
  32. package/dist/react-native/pollingHelper.js +11 -8
  33. package/dist/react-native/pollingHelper.js.map +1 -1
  34. package/dist/react-native/serviceFabricClient.js +13 -11
  35. package/dist/react-native/serviceFabricClient.js.map +1 -1
  36. package/package.json +42 -49
  37. package/review/arm-servicefabric-node.api.md +2066 -0
@@ -0,0 +1,2066 @@
1
+ ## API Report File for "@azure-rest/arm-servicefabric"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { HttpResponse } from '@azure-rest/core-client';
13
+ import type { OperationState } from '@azure/core-lro';
14
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
15
+ import type { RequestParameters } from '@azure-rest/core-client';
16
+ import type { StreamableMethod } from '@azure-rest/core-client';
17
+ import type { TokenCredential } from '@azure/core-auth';
18
+
19
+ // @public
20
+ export interface ApplicationDeltaHealthPolicy {
21
+ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicy;
22
+ serviceTypeDeltaHealthPolicies?: Record<string, ServiceTypeDeltaHealthPolicy>;
23
+ }
24
+
25
+ // @public
26
+ export interface ApplicationDeltaHealthPolicyOutput {
27
+ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput;
28
+ serviceTypeDeltaHealthPolicies?: Record<string, ServiceTypeDeltaHealthPolicyOutput>;
29
+ }
30
+
31
+ // @public
32
+ export interface ApplicationHealthPolicy {
33
+ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicy;
34
+ serviceTypeHealthPolicies?: Record<string, ServiceTypeHealthPolicy>;
35
+ }
36
+
37
+ // @public
38
+ export interface ApplicationHealthPolicyOutput {
39
+ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicyOutput;
40
+ serviceTypeHealthPolicies?: Record<string, ServiceTypeHealthPolicyOutput>;
41
+ }
42
+
43
+ // @public
44
+ export interface ApplicationMetricDescription {
45
+ maximumCapacity?: number;
46
+ name?: string;
47
+ reservationCapacity?: number;
48
+ totalApplicationCapacity?: number;
49
+ }
50
+
51
+ // @public
52
+ export interface ApplicationMetricDescriptionOutput {
53
+ maximumCapacity?: number;
54
+ name?: string;
55
+ reservationCapacity?: number;
56
+ totalApplicationCapacity?: number;
57
+ }
58
+
59
+ // @public
60
+ export interface ApplicationResource extends ProxyResource {
61
+ identity?: ManagedIdentity;
62
+ properties?: ApplicationResourceProperties;
63
+ }
64
+
65
+ // @public
66
+ export interface ApplicationResourceListOutput {
67
+ readonly nextLink?: string;
68
+ // (undocumented)
69
+ value?: Array<ApplicationResourceOutput>;
70
+ }
71
+
72
+ // @public
73
+ export interface ApplicationResourceOutput extends ProxyResourceOutput {
74
+ identity?: ManagedIdentityOutput;
75
+ properties?: ApplicationResourcePropertiesOutput;
76
+ }
77
+
78
+ // @public
79
+ export interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties {
80
+ typeName?: string;
81
+ }
82
+
83
+ // @public
84
+ export interface ApplicationResourcePropertiesOutput extends ApplicationResourceUpdatePropertiesOutput {
85
+ readonly provisioningState?: string;
86
+ typeName?: string;
87
+ }
88
+
89
+ // @public
90
+ export interface ApplicationResourceUpdate extends ProxyResource {
91
+ properties?: ApplicationResourceUpdateProperties;
92
+ }
93
+
94
+ // @public
95
+ export interface ApplicationResourceUpdateOutput extends ProxyResourceOutput {
96
+ properties?: ApplicationResourceUpdatePropertiesOutput;
97
+ }
98
+
99
+ // @public
100
+ export interface ApplicationResourceUpdateProperties {
101
+ managedIdentities?: Array<ApplicationUserAssignedIdentity>;
102
+ maximumNodes?: number;
103
+ metrics?: Array<ApplicationMetricDescription>;
104
+ minimumNodes?: number;
105
+ parameters?: Record<string, string>;
106
+ removeApplicationCapacity?: boolean;
107
+ typeVersion?: string;
108
+ upgradePolicy?: ApplicationUpgradePolicy;
109
+ }
110
+
111
+ // @public
112
+ export interface ApplicationResourceUpdatePropertiesOutput {
113
+ managedIdentities?: Array<ApplicationUserAssignedIdentityOutput>;
114
+ maximumNodes?: number;
115
+ metrics?: Array<ApplicationMetricDescriptionOutput>;
116
+ minimumNodes?: number;
117
+ parameters?: Record<string, string>;
118
+ removeApplicationCapacity?: boolean;
119
+ typeVersion?: string;
120
+ upgradePolicy?: ApplicationUpgradePolicyOutput;
121
+ }
122
+
123
+ // @public
124
+ export interface ApplicationsCreateOrUpdate202Response extends HttpResponse {
125
+ // (undocumented)
126
+ body: ApplicationResourceOutput;
127
+ // (undocumented)
128
+ status: "202";
129
+ }
130
+
131
+ // @public (undocumented)
132
+ export interface ApplicationsCreateOrUpdateBodyParam {
133
+ body: ApplicationResource;
134
+ }
135
+
136
+ // @public
137
+ export interface ApplicationsCreateOrUpdateDefaultResponse extends HttpResponse {
138
+ // (undocumented)
139
+ body: ErrorModelOutput;
140
+ // (undocumented)
141
+ status: string;
142
+ }
143
+
144
+ // @public (undocumented)
145
+ export interface ApplicationsCreateOrUpdateMediaTypesParam {
146
+ contentType?: "application/json";
147
+ }
148
+
149
+ // @public (undocumented)
150
+ export type ApplicationsCreateOrUpdateParameters = ApplicationsCreateOrUpdateMediaTypesParam & ApplicationsCreateOrUpdateBodyParam & RequestParameters;
151
+
152
+ // @public
153
+ export interface ApplicationsDelete202Response extends HttpResponse {
154
+ // (undocumented)
155
+ status: "202";
156
+ }
157
+
158
+ // @public
159
+ export interface ApplicationsDelete204Response extends HttpResponse {
160
+ // (undocumented)
161
+ status: "204";
162
+ }
163
+
164
+ // @public
165
+ export interface ApplicationsDeleteDefaultResponse extends HttpResponse {
166
+ // (undocumented)
167
+ body: ErrorModelOutput;
168
+ // (undocumented)
169
+ status: string;
170
+ }
171
+
172
+ // @public (undocumented)
173
+ export type ApplicationsDeleteParameters = RequestParameters;
174
+
175
+ // @public (undocumented)
176
+ export interface ApplicationsGet {
177
+ delete(options?: ApplicationsDeleteParameters): StreamableMethod<ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeleteDefaultResponse>;
178
+ get(options?: ApplicationsGetParameters): StreamableMethod<ApplicationsGet200Response | ApplicationsGetDefaultResponse>;
179
+ patch(options: ApplicationsUpdateParameters): StreamableMethod<ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse>;
180
+ put(options: ApplicationsCreateOrUpdateParameters): StreamableMethod<ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdateDefaultResponse>;
181
+ }
182
+
183
+ // @public
184
+ export interface ApplicationsGet200Response extends HttpResponse {
185
+ // (undocumented)
186
+ body: ApplicationResourceOutput;
187
+ // (undocumented)
188
+ status: "200";
189
+ }
190
+
191
+ // @public
192
+ export interface ApplicationsGetDefaultResponse extends HttpResponse {
193
+ // (undocumented)
194
+ body: ErrorModelOutput;
195
+ // (undocumented)
196
+ status: string;
197
+ }
198
+
199
+ // @public (undocumented)
200
+ export type ApplicationsGetParameters = RequestParameters;
201
+
202
+ // @public (undocumented)
203
+ export interface ApplicationsList {
204
+ get(options?: ApplicationsListParameters): StreamableMethod<ApplicationsList200Response | ApplicationsListDefaultResponse>;
205
+ }
206
+
207
+ // @public
208
+ export interface ApplicationsList200Response extends HttpResponse {
209
+ // (undocumented)
210
+ body: ApplicationResourceListOutput;
211
+ // (undocumented)
212
+ status: "200";
213
+ }
214
+
215
+ // @public
216
+ export interface ApplicationsListDefaultResponse extends HttpResponse {
217
+ // (undocumented)
218
+ body: ErrorModelOutput;
219
+ // (undocumented)
220
+ status: string;
221
+ }
222
+
223
+ // @public (undocumented)
224
+ export type ApplicationsListParameters = RequestParameters;
225
+
226
+ // @public
227
+ export interface ApplicationsUpdate202Response extends HttpResponse {
228
+ // (undocumented)
229
+ body: ApplicationResourceOutput;
230
+ // (undocumented)
231
+ status: "202";
232
+ }
233
+
234
+ // @public (undocumented)
235
+ export interface ApplicationsUpdateBodyParam {
236
+ body: ApplicationResourceUpdate;
237
+ }
238
+
239
+ // @public
240
+ export interface ApplicationsUpdateDefaultResponse extends HttpResponse {
241
+ // (undocumented)
242
+ body: ErrorModelOutput;
243
+ // (undocumented)
244
+ status: string;
245
+ }
246
+
247
+ // @public (undocumented)
248
+ export interface ApplicationsUpdateMediaTypesParam {
249
+ contentType?: "application/json";
250
+ }
251
+
252
+ // @public (undocumented)
253
+ export type ApplicationsUpdateParameters = ApplicationsUpdateMediaTypesParam & ApplicationsUpdateBodyParam & RequestParameters;
254
+
255
+ // @public
256
+ export interface ApplicationTypeResource extends ProxyResource {
257
+ properties?: ApplicationTypeResourceProperties;
258
+ }
259
+
260
+ // @public
261
+ export interface ApplicationTypeResourceListOutput {
262
+ readonly nextLink?: string;
263
+ // (undocumented)
264
+ value?: Array<ApplicationTypeResourceOutput>;
265
+ }
266
+
267
+ // @public
268
+ export interface ApplicationTypeResourceOutput extends ProxyResourceOutput {
269
+ properties?: ApplicationTypeResourcePropertiesOutput;
270
+ }
271
+
272
+ // @public
273
+ export interface ApplicationTypeResourceProperties {
274
+ }
275
+
276
+ // @public
277
+ export interface ApplicationTypeResourcePropertiesOutput {
278
+ readonly provisioningState?: string;
279
+ }
280
+
281
+ // @public
282
+ export interface ApplicationTypesCreateOrUpdate200Response extends HttpResponse {
283
+ // (undocumented)
284
+ body: ApplicationTypeResourceOutput;
285
+ // (undocumented)
286
+ status: "200";
287
+ }
288
+
289
+ // @public (undocumented)
290
+ export interface ApplicationTypesCreateOrUpdateBodyParam {
291
+ body: ApplicationTypeResource;
292
+ }
293
+
294
+ // @public
295
+ export interface ApplicationTypesCreateOrUpdateDefaultResponse extends HttpResponse {
296
+ // (undocumented)
297
+ body: ErrorModelOutput;
298
+ // (undocumented)
299
+ status: string;
300
+ }
301
+
302
+ // @public (undocumented)
303
+ export interface ApplicationTypesCreateOrUpdateMediaTypesParam {
304
+ contentType?: "application/json";
305
+ }
306
+
307
+ // @public (undocumented)
308
+ export type ApplicationTypesCreateOrUpdateParameters = ApplicationTypesCreateOrUpdateMediaTypesParam & ApplicationTypesCreateOrUpdateBodyParam & RequestParameters;
309
+
310
+ // @public
311
+ export interface ApplicationTypesDelete202Response extends HttpResponse {
312
+ // (undocumented)
313
+ status: "202";
314
+ }
315
+
316
+ // @public
317
+ export interface ApplicationTypesDelete204Response extends HttpResponse {
318
+ // (undocumented)
319
+ status: "204";
320
+ }
321
+
322
+ // @public
323
+ export interface ApplicationTypesDeleteDefaultResponse extends HttpResponse {
324
+ // (undocumented)
325
+ body: ErrorModelOutput;
326
+ // (undocumented)
327
+ status: string;
328
+ }
329
+
330
+ // @public (undocumented)
331
+ export type ApplicationTypesDeleteParameters = RequestParameters;
332
+
333
+ // @public (undocumented)
334
+ export interface ApplicationTypesGet {
335
+ delete(options?: ApplicationTypesDeleteParameters): StreamableMethod<ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeleteDefaultResponse>;
336
+ get(options?: ApplicationTypesGetParameters): StreamableMethod<ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse>;
337
+ put(options: ApplicationTypesCreateOrUpdateParameters): StreamableMethod<ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdateDefaultResponse>;
338
+ }
339
+
340
+ // @public
341
+ export interface ApplicationTypesGet200Response extends HttpResponse {
342
+ // (undocumented)
343
+ body: ApplicationTypeResourceOutput;
344
+ // (undocumented)
345
+ status: "200";
346
+ }
347
+
348
+ // @public
349
+ export interface ApplicationTypesGetDefaultResponse extends HttpResponse {
350
+ // (undocumented)
351
+ body: ErrorModelOutput;
352
+ // (undocumented)
353
+ status: string;
354
+ }
355
+
356
+ // @public (undocumented)
357
+ export type ApplicationTypesGetParameters = RequestParameters;
358
+
359
+ // @public (undocumented)
360
+ export interface ApplicationTypesList {
361
+ get(options?: ApplicationTypesListParameters): StreamableMethod<ApplicationTypesList200Response | ApplicationTypesListDefaultResponse>;
362
+ }
363
+
364
+ // @public
365
+ export interface ApplicationTypesList200Response extends HttpResponse {
366
+ // (undocumented)
367
+ body: ApplicationTypeResourceListOutput;
368
+ // (undocumented)
369
+ status: "200";
370
+ }
371
+
372
+ // @public
373
+ export interface ApplicationTypesListDefaultResponse extends HttpResponse {
374
+ // (undocumented)
375
+ body: ErrorModelOutput;
376
+ // (undocumented)
377
+ status: string;
378
+ }
379
+
380
+ // @public (undocumented)
381
+ export type ApplicationTypesListParameters = RequestParameters;
382
+
383
+ // @public
384
+ export interface ApplicationTypeVersionResource extends ProxyResource {
385
+ properties?: ApplicationTypeVersionResourceProperties;
386
+ }
387
+
388
+ // @public
389
+ export interface ApplicationTypeVersionResourceListOutput {
390
+ readonly nextLink?: string;
391
+ // (undocumented)
392
+ value?: Array<ApplicationTypeVersionResourceOutput>;
393
+ }
394
+
395
+ // @public
396
+ export interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput {
397
+ properties?: ApplicationTypeVersionResourcePropertiesOutput;
398
+ }
399
+
400
+ // @public
401
+ export interface ApplicationTypeVersionResourceProperties {
402
+ appPackageUrl: string;
403
+ }
404
+
405
+ // @public
406
+ export interface ApplicationTypeVersionResourcePropertiesOutput {
407
+ appPackageUrl: string;
408
+ readonly defaultParameterList?: Record<string, string>;
409
+ readonly provisioningState?: string;
410
+ }
411
+
412
+ // @public (undocumented)
413
+ export interface ApplicationTypeVersionsCleanupPolicy {
414
+ maxUnusedVersionsToKeep: number;
415
+ }
416
+
417
+ // @public (undocumented)
418
+ export interface ApplicationTypeVersionsCleanupPolicyOutput {
419
+ maxUnusedVersionsToKeep: number;
420
+ }
421
+
422
+ // @public
423
+ export interface ApplicationTypeVersionsCreateOrUpdate202Response extends HttpResponse {
424
+ // (undocumented)
425
+ body: ApplicationTypeVersionResourceOutput;
426
+ // (undocumented)
427
+ status: "202";
428
+ }
429
+
430
+ // @public (undocumented)
431
+ export interface ApplicationTypeVersionsCreateOrUpdateBodyParam {
432
+ body: ApplicationTypeVersionResource;
433
+ }
434
+
435
+ // @public
436
+ export interface ApplicationTypeVersionsCreateOrUpdateDefaultResponse extends HttpResponse {
437
+ // (undocumented)
438
+ body: ErrorModelOutput;
439
+ // (undocumented)
440
+ status: string;
441
+ }
442
+
443
+ // @public (undocumented)
444
+ export interface ApplicationTypeVersionsCreateOrUpdateMediaTypesParam {
445
+ contentType?: "application/json";
446
+ }
447
+
448
+ // @public (undocumented)
449
+ export type ApplicationTypeVersionsCreateOrUpdateParameters = ApplicationTypeVersionsCreateOrUpdateMediaTypesParam & ApplicationTypeVersionsCreateOrUpdateBodyParam & RequestParameters;
450
+
451
+ // @public
452
+ export interface ApplicationTypeVersionsDelete202Response extends HttpResponse {
453
+ // (undocumented)
454
+ status: "202";
455
+ }
456
+
457
+ // @public
458
+ export interface ApplicationTypeVersionsDelete204Response extends HttpResponse {
459
+ // (undocumented)
460
+ status: "204";
461
+ }
462
+
463
+ // @public
464
+ export interface ApplicationTypeVersionsDeleteDefaultResponse extends HttpResponse {
465
+ // (undocumented)
466
+ body: ErrorModelOutput;
467
+ // (undocumented)
468
+ status: string;
469
+ }
470
+
471
+ // @public (undocumented)
472
+ export type ApplicationTypeVersionsDeleteParameters = RequestParameters;
473
+
474
+ // @public (undocumented)
475
+ export interface ApplicationTypeVersionsGet {
476
+ delete(options?: ApplicationTypeVersionsDeleteParameters): StreamableMethod<ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeleteDefaultResponse>;
477
+ get(options?: ApplicationTypeVersionsGetParameters): StreamableMethod<ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetDefaultResponse>;
478
+ put(options: ApplicationTypeVersionsCreateOrUpdateParameters): StreamableMethod<ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdateDefaultResponse>;
479
+ }
480
+
481
+ // @public
482
+ export interface ApplicationTypeVersionsGet200Response extends HttpResponse {
483
+ // (undocumented)
484
+ body: ApplicationTypeVersionResourceOutput;
485
+ // (undocumented)
486
+ status: "200";
487
+ }
488
+
489
+ // @public
490
+ export interface ApplicationTypeVersionsGetDefaultResponse extends HttpResponse {
491
+ // (undocumented)
492
+ body: ErrorModelOutput;
493
+ // (undocumented)
494
+ status: string;
495
+ }
496
+
497
+ // @public (undocumented)
498
+ export type ApplicationTypeVersionsGetParameters = RequestParameters;
499
+
500
+ // @public (undocumented)
501
+ export interface ApplicationTypeVersionsList {
502
+ get(options?: ApplicationTypeVersionsListParameters): StreamableMethod<ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListDefaultResponse>;
503
+ }
504
+
505
+ // @public
506
+ export interface ApplicationTypeVersionsList200Response extends HttpResponse {
507
+ // (undocumented)
508
+ body: ApplicationTypeVersionResourceListOutput;
509
+ // (undocumented)
510
+ status: "200";
511
+ }
512
+
513
+ // @public
514
+ export interface ApplicationTypeVersionsListDefaultResponse extends HttpResponse {
515
+ // (undocumented)
516
+ body: ErrorModelOutput;
517
+ // (undocumented)
518
+ status: string;
519
+ }
520
+
521
+ // @public (undocumented)
522
+ export type ApplicationTypeVersionsListParameters = RequestParameters;
523
+
524
+ // @public
525
+ export interface ApplicationUpgradePolicy {
526
+ applicationHealthPolicy?: ArmApplicationHealthPolicy;
527
+ forceRestart?: boolean;
528
+ recreateApplication?: boolean;
529
+ rollingUpgradeMonitoringPolicy?: ArmRollingUpgradeMonitoringPolicy;
530
+ upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored";
531
+ upgradeReplicaSetCheckTimeout?: string;
532
+ }
533
+
534
+ // @public
535
+ export interface ApplicationUpgradePolicyOutput {
536
+ applicationHealthPolicy?: ArmApplicationHealthPolicyOutput;
537
+ forceRestart?: boolean;
538
+ recreateApplication?: boolean;
539
+ rollingUpgradeMonitoringPolicy?: ArmRollingUpgradeMonitoringPolicyOutput;
540
+ upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored";
541
+ upgradeReplicaSetCheckTimeout?: string;
542
+ }
543
+
544
+ // @public (undocumented)
545
+ export interface ApplicationUserAssignedIdentity {
546
+ name: string;
547
+ principalId: string;
548
+ }
549
+
550
+ // @public (undocumented)
551
+ export interface ApplicationUserAssignedIdentityOutput {
552
+ name: string;
553
+ principalId: string;
554
+ }
555
+
556
+ // @public
557
+ export interface ArmApplicationHealthPolicy {
558
+ considerWarningAsError?: boolean;
559
+ defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicy;
560
+ maxPercentUnhealthyDeployedApplications?: number;
561
+ serviceTypeHealthPolicyMap?: Record<string, ArmServiceTypeHealthPolicy>;
562
+ }
563
+
564
+ // @public
565
+ export interface ArmApplicationHealthPolicyOutput {
566
+ considerWarningAsError?: boolean;
567
+ defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicyOutput;
568
+ maxPercentUnhealthyDeployedApplications?: number;
569
+ serviceTypeHealthPolicyMap?: Record<string, ArmServiceTypeHealthPolicyOutput>;
570
+ }
571
+
572
+ // @public
573
+ export interface ArmRollingUpgradeMonitoringPolicy {
574
+ failureAction?: "Rollback" | "Manual";
575
+ healthCheckRetryTimeout?: string;
576
+ healthCheckStableDuration?: string;
577
+ healthCheckWaitDuration?: string;
578
+ upgradeDomainTimeout?: string;
579
+ upgradeTimeout?: string;
580
+ }
581
+
582
+ // @public
583
+ export interface ArmRollingUpgradeMonitoringPolicyOutput {
584
+ failureAction?: "Rollback" | "Manual";
585
+ healthCheckRetryTimeout?: string;
586
+ healthCheckStableDuration?: string;
587
+ healthCheckWaitDuration?: string;
588
+ upgradeDomainTimeout?: string;
589
+ upgradeTimeout?: string;
590
+ }
591
+
592
+ // @public
593
+ export interface ArmServiceTypeHealthPolicy {
594
+ maxPercentUnhealthyPartitionsPerService?: number;
595
+ maxPercentUnhealthyReplicasPerPartition?: number;
596
+ maxPercentUnhealthyServices?: number;
597
+ }
598
+
599
+ // @public
600
+ export interface ArmServiceTypeHealthPolicyOutput {
601
+ maxPercentUnhealthyPartitionsPerService?: number;
602
+ maxPercentUnhealthyReplicasPerPartition?: number;
603
+ maxPercentUnhealthyServices?: number;
604
+ }
605
+
606
+ // @public
607
+ export interface AvailableOperationDisplayOutput {
608
+ description?: string;
609
+ operation?: string;
610
+ provider?: string;
611
+ resource?: string;
612
+ }
613
+
614
+ // @public
615
+ export interface AzureActiveDirectory {
616
+ clientApplication?: string;
617
+ clusterApplication?: string;
618
+ tenantId?: string;
619
+ }
620
+
621
+ // @public
622
+ export interface AzureActiveDirectoryOutput {
623
+ clientApplication?: string;
624
+ clusterApplication?: string;
625
+ tenantId?: string;
626
+ }
627
+
628
+ // @public
629
+ export interface CertificateDescription {
630
+ thumbprint: string;
631
+ thumbprintSecondary?: string;
632
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
633
+ }
634
+
635
+ // @public
636
+ export interface CertificateDescriptionOutput {
637
+ thumbprint: string;
638
+ thumbprintSecondary?: string;
639
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
640
+ }
641
+
642
+ // @public
643
+ export interface ClientCertificateCommonName {
644
+ certificateCommonName: string;
645
+ certificateIssuerThumbprint: string;
646
+ isAdmin: boolean;
647
+ }
648
+
649
+ // @public
650
+ export interface ClientCertificateCommonNameOutput {
651
+ certificateCommonName: string;
652
+ certificateIssuerThumbprint: string;
653
+ isAdmin: boolean;
654
+ }
655
+
656
+ // @public
657
+ export interface ClientCertificateThumbprint {
658
+ certificateThumbprint: string;
659
+ isAdmin: boolean;
660
+ }
661
+
662
+ // @public
663
+ export interface ClientCertificateThumbprintOutput {
664
+ certificateThumbprint: string;
665
+ isAdmin: boolean;
666
+ }
667
+
668
+ // @public
669
+ export interface Cluster extends Resource {
670
+ properties?: ClusterProperties;
671
+ }
672
+
673
+ // @public
674
+ export interface ClusterCodeVersionsListResultOutput {
675
+ nextLink?: string;
676
+ // (undocumented)
677
+ value?: Array<ClusterCodeVersionsResultOutput>;
678
+ }
679
+
680
+ // @public
681
+ export interface ClusterCodeVersionsResultOutput {
682
+ id?: string;
683
+ name?: string;
684
+ properties?: ClusterVersionDetailsOutput;
685
+ type?: string;
686
+ }
687
+
688
+ // @public
689
+ export interface ClusterHealthPolicy {
690
+ applicationHealthPolicies?: Record<string, ApplicationHealthPolicy>;
691
+ maxPercentUnhealthyApplications?: number;
692
+ maxPercentUnhealthyNodes?: number;
693
+ }
694
+
695
+ // @public
696
+ export interface ClusterHealthPolicyOutput {
697
+ applicationHealthPolicies?: Record<string, ApplicationHealthPolicyOutput>;
698
+ maxPercentUnhealthyApplications?: number;
699
+ maxPercentUnhealthyNodes?: number;
700
+ }
701
+
702
+ // @public
703
+ export interface ClusterListResultOutput {
704
+ nextLink?: string;
705
+ // (undocumented)
706
+ value?: Array<ClusterOutput>;
707
+ }
708
+
709
+ // @public
710
+ export interface ClusterOutput extends ResourceOutput {
711
+ properties?: ClusterPropertiesOutput;
712
+ }
713
+
714
+ // @public
715
+ export interface ClusterProperties {
716
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
717
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
718
+ azureActiveDirectory?: AzureActiveDirectory;
719
+ certificate?: CertificateDescription;
720
+ certificateCommonNames?: ServerCertificateCommonNames;
721
+ clientCertificateCommonNames?: Array<ClientCertificateCommonName>;
722
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprint>;
723
+ clusterCodeVersion?: string;
724
+ diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig;
725
+ eventStoreServiceEnabled?: boolean;
726
+ fabricSettings?: Array<SettingsSectionDescription>;
727
+ infrastructureServiceManager?: boolean;
728
+ managementEndpoint: string;
729
+ nodeTypes: Array<NodeTypeDescription>;
730
+ notifications?: Array<Notification>;
731
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
732
+ reverseProxyCertificate?: CertificateDescription;
733
+ reverseProxyCertificateCommonNames?: ServerCertificateCommonNames;
734
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
735
+ upgradeDescription?: ClusterUpgradePolicy;
736
+ upgradeMode?: "Automatic" | "Manual";
737
+ upgradePauseEndTimestampUtc?: Date | string;
738
+ upgradePauseStartTimestampUtc?: Date | string;
739
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
740
+ vmImage?: string;
741
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
742
+ waveUpgradePaused?: boolean;
743
+ }
744
+
745
+ // @public
746
+ export interface ClusterPropertiesOutput {
747
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
748
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicyOutput;
749
+ readonly availableClusterVersions?: Array<ClusterVersionDetailsOutput>;
750
+ azureActiveDirectory?: AzureActiveDirectoryOutput;
751
+ certificate?: CertificateDescriptionOutput;
752
+ certificateCommonNames?: ServerCertificateCommonNamesOutput;
753
+ clientCertificateCommonNames?: Array<ClientCertificateCommonNameOutput>;
754
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprintOutput>;
755
+ clusterCodeVersion?: string;
756
+ readonly clusterEndpoint?: string;
757
+ readonly clusterId?: string;
758
+ readonly clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready";
759
+ diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput;
760
+ eventStoreServiceEnabled?: boolean;
761
+ fabricSettings?: Array<SettingsSectionDescriptionOutput>;
762
+ infrastructureServiceManager?: boolean;
763
+ managementEndpoint: string;
764
+ nodeTypes: Array<NodeTypeDescriptionOutput>;
765
+ notifications?: Array<NotificationOutput>;
766
+ readonly provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled";
767
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
768
+ reverseProxyCertificate?: CertificateDescriptionOutput;
769
+ reverseProxyCertificateCommonNames?: ServerCertificateCommonNamesOutput;
770
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
771
+ upgradeDescription?: ClusterUpgradePolicyOutput;
772
+ upgradeMode?: "Automatic" | "Manual";
773
+ upgradePauseEndTimestampUtc?: string;
774
+ upgradePauseStartTimestampUtc?: string;
775
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
776
+ vmImage?: string;
777
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
778
+ waveUpgradePaused?: boolean;
779
+ }
780
+
781
+ // @public
782
+ export interface ClusterPropertiesUpdateParameters {
783
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
784
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
785
+ certificate?: CertificateDescription;
786
+ certificateCommonNames?: ServerCertificateCommonNames;
787
+ clientCertificateCommonNames?: Array<ClientCertificateCommonName>;
788
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprint>;
789
+ clusterCodeVersion?: string;
790
+ eventStoreServiceEnabled?: boolean;
791
+ fabricSettings?: Array<SettingsSectionDescription>;
792
+ infrastructureServiceManager?: boolean;
793
+ nodeTypes?: Array<NodeTypeDescription>;
794
+ notifications?: Array<Notification>;
795
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
796
+ reverseProxyCertificate?: CertificateDescription;
797
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
798
+ upgradeDescription?: ClusterUpgradePolicy;
799
+ upgradeMode?: "Automatic" | "Manual";
800
+ upgradePauseEndTimestampUtc?: Date | string;
801
+ upgradePauseStartTimestampUtc?: Date | string;
802
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
803
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
804
+ waveUpgradePaused?: boolean;
805
+ }
806
+
807
+ // @public
808
+ export interface ClustersCreateOrUpdate200Response extends HttpResponse {
809
+ // (undocumented)
810
+ body: ClusterOutput;
811
+ // (undocumented)
812
+ status: "200";
813
+ }
814
+
815
+ // @public
816
+ export interface ClustersCreateOrUpdate202Response extends HttpResponse {
817
+ // (undocumented)
818
+ body: ClusterOutput;
819
+ // (undocumented)
820
+ status: "202";
821
+ }
822
+
823
+ // @public (undocumented)
824
+ export interface ClustersCreateOrUpdateBodyParam {
825
+ body: Cluster;
826
+ }
827
+
828
+ // @public
829
+ export interface ClustersCreateOrUpdateDefaultResponse extends HttpResponse {
830
+ // (undocumented)
831
+ body: ErrorModelOutput;
832
+ // (undocumented)
833
+ status: string;
834
+ }
835
+
836
+ // @public (undocumented)
837
+ export interface ClustersCreateOrUpdateMediaTypesParam {
838
+ contentType?: "application/json";
839
+ }
840
+
841
+ // @public (undocumented)
842
+ export type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesParam & ClustersCreateOrUpdateBodyParam & RequestParameters;
843
+
844
+ // @public
845
+ export interface ClustersDelete200Response extends HttpResponse {
846
+ // (undocumented)
847
+ status: "200";
848
+ }
849
+
850
+ // @public
851
+ export interface ClustersDelete204Response extends HttpResponse {
852
+ // (undocumented)
853
+ status: "204";
854
+ }
855
+
856
+ // @public
857
+ export interface ClustersDeleteDefaultResponse extends HttpResponse {
858
+ // (undocumented)
859
+ body: ErrorModelOutput;
860
+ // (undocumented)
861
+ status: string;
862
+ }
863
+
864
+ // @public (undocumented)
865
+ export type ClustersDeleteParameters = RequestParameters;
866
+
867
+ // @public (undocumented)
868
+ export interface ClustersGet {
869
+ delete(options?: ClustersDeleteParameters): StreamableMethod<ClustersDelete200Response | ClustersDelete204Response | ClustersDeleteDefaultResponse>;
870
+ get(options?: ClustersGetParameters): StreamableMethod<ClustersGet200Response | ClustersGetDefaultResponse>;
871
+ patch(options: ClustersUpdateParameters): StreamableMethod<ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdateDefaultResponse>;
872
+ put(options: ClustersCreateOrUpdateParameters): StreamableMethod<ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdateDefaultResponse>;
873
+ }
874
+
875
+ // @public
876
+ export interface ClustersGet200Response extends HttpResponse {
877
+ // (undocumented)
878
+ body: ClusterOutput;
879
+ // (undocumented)
880
+ status: "200";
881
+ }
882
+
883
+ // @public
884
+ export interface ClustersGetDefaultResponse extends HttpResponse {
885
+ // (undocumented)
886
+ body: ErrorModelOutput;
887
+ // (undocumented)
888
+ status: string;
889
+ }
890
+
891
+ // @public (undocumented)
892
+ export type ClustersGetParameters = RequestParameters;
893
+
894
+ // @public (undocumented)
895
+ export interface ClustersList {
896
+ get(options?: ClustersListParameters): StreamableMethod<ClustersList200Response | ClustersListDefaultResponse>;
897
+ }
898
+
899
+ // @public
900
+ export interface ClustersList200Response extends HttpResponse {
901
+ // (undocumented)
902
+ body: ClusterListResultOutput;
903
+ // (undocumented)
904
+ status: "200";
905
+ }
906
+
907
+ // @public (undocumented)
908
+ export interface ClustersListByResourceGroup {
909
+ get(options?: ClustersListByResourceGroupParameters): StreamableMethod<ClustersListByResourceGroup200Response | ClustersListByResourceGroupDefaultResponse>;
910
+ }
911
+
912
+ // @public
913
+ export interface ClustersListByResourceGroup200Response extends HttpResponse {
914
+ // (undocumented)
915
+ body: ClusterListResultOutput;
916
+ // (undocumented)
917
+ status: "200";
918
+ }
919
+
920
+ // @public
921
+ export interface ClustersListByResourceGroupDefaultResponse extends HttpResponse {
922
+ // (undocumented)
923
+ body: ErrorModelOutput;
924
+ // (undocumented)
925
+ status: string;
926
+ }
927
+
928
+ // @public (undocumented)
929
+ export type ClustersListByResourceGroupParameters = RequestParameters;
930
+
931
+ // @public
932
+ export interface ClustersListDefaultResponse extends HttpResponse {
933
+ // (undocumented)
934
+ body: ErrorModelOutput;
935
+ // (undocumented)
936
+ status: string;
937
+ }
938
+
939
+ // @public (undocumented)
940
+ export type ClustersListParameters = RequestParameters;
941
+
942
+ // @public (undocumented)
943
+ export interface ClustersListUpgradableVersions {
944
+ post(options?: ClustersListUpgradableVersionsParameters): StreamableMethod<ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsDefaultResponse>;
945
+ }
946
+
947
+ // @public
948
+ export interface ClustersListUpgradableVersions200Response extends HttpResponse {
949
+ // (undocumented)
950
+ body: UpgradableVersionPathResultOutput;
951
+ // (undocumented)
952
+ status: "200";
953
+ }
954
+
955
+ // @public (undocumented)
956
+ export interface ClustersListUpgradableVersionsBodyParam {
957
+ body?: UpgradableVersionsDescription;
958
+ }
959
+
960
+ // @public
961
+ export interface ClustersListUpgradableVersionsDefaultResponse extends HttpResponse {
962
+ // (undocumented)
963
+ body: ErrorModelOutput;
964
+ // (undocumented)
965
+ status: string;
966
+ }
967
+
968
+ // @public (undocumented)
969
+ export interface ClustersListUpgradableVersionsMediaTypesParam {
970
+ contentType?: "application/json";
971
+ }
972
+
973
+ // @public (undocumented)
974
+ export type ClustersListUpgradableVersionsParameters = ClustersListUpgradableVersionsMediaTypesParam & ClustersListUpgradableVersionsBodyParam & RequestParameters;
975
+
976
+ // @public
977
+ export interface ClustersUpdate200Response extends HttpResponse {
978
+ // (undocumented)
979
+ body: ClusterOutput;
980
+ // (undocumented)
981
+ status: "200";
982
+ }
983
+
984
+ // @public
985
+ export interface ClustersUpdate202Response extends HttpResponse {
986
+ // (undocumented)
987
+ body: ClusterOutput;
988
+ // (undocumented)
989
+ status: "202";
990
+ }
991
+
992
+ // @public (undocumented)
993
+ export interface ClustersUpdateBodyParam {
994
+ body: ClusterUpdateParameters;
995
+ }
996
+
997
+ // @public
998
+ export interface ClustersUpdateDefaultResponse extends HttpResponse {
999
+ // (undocumented)
1000
+ body: ErrorModelOutput;
1001
+ // (undocumented)
1002
+ status: string;
1003
+ }
1004
+
1005
+ // @public (undocumented)
1006
+ export interface ClustersUpdateMediaTypesParam {
1007
+ contentType?: "application/json";
1008
+ }
1009
+
1010
+ // @public (undocumented)
1011
+ export type ClustersUpdateParameters = ClustersUpdateMediaTypesParam & ClustersUpdateBodyParam & RequestParameters;
1012
+
1013
+ // @public
1014
+ export interface ClusterUpdateParameters {
1015
+ properties?: ClusterPropertiesUpdateParameters;
1016
+ tags?: Record<string, string>;
1017
+ }
1018
+
1019
+ // @public
1020
+ export interface ClusterUpgradeDeltaHealthPolicy {
1021
+ applicationDeltaHealthPolicies?: Record<string, ApplicationDeltaHealthPolicy>;
1022
+ maxPercentDeltaUnhealthyApplications: number;
1023
+ maxPercentDeltaUnhealthyNodes: number;
1024
+ maxPercentUpgradeDomainDeltaUnhealthyNodes: number;
1025
+ }
1026
+
1027
+ // @public
1028
+ export interface ClusterUpgradeDeltaHealthPolicyOutput {
1029
+ applicationDeltaHealthPolicies?: Record<string, ApplicationDeltaHealthPolicyOutput>;
1030
+ maxPercentDeltaUnhealthyApplications: number;
1031
+ maxPercentDeltaUnhealthyNodes: number;
1032
+ maxPercentUpgradeDomainDeltaUnhealthyNodes: number;
1033
+ }
1034
+
1035
+ // @public
1036
+ export interface ClusterUpgradePolicy {
1037
+ deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicy;
1038
+ forceRestart?: boolean;
1039
+ healthCheckRetryTimeout: string;
1040
+ healthCheckStableDuration: string;
1041
+ healthCheckWaitDuration: string;
1042
+ healthPolicy: ClusterHealthPolicy;
1043
+ upgradeDomainTimeout: string;
1044
+ upgradeReplicaSetCheckTimeout: string;
1045
+ upgradeTimeout: string;
1046
+ }
1047
+
1048
+ // @public
1049
+ export interface ClusterUpgradePolicyOutput {
1050
+ deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicyOutput;
1051
+ forceRestart?: boolean;
1052
+ healthCheckRetryTimeout: string;
1053
+ healthCheckStableDuration: string;
1054
+ healthCheckWaitDuration: string;
1055
+ healthPolicy: ClusterHealthPolicyOutput;
1056
+ upgradeDomainTimeout: string;
1057
+ upgradeReplicaSetCheckTimeout: string;
1058
+ upgradeTimeout: string;
1059
+ }
1060
+
1061
+ // @public
1062
+ export interface ClusterVersionDetails {
1063
+ codeVersion?: string;
1064
+ environment?: "Windows" | "Linux";
1065
+ supportExpiryUtc?: string;
1066
+ }
1067
+
1068
+ // @public
1069
+ export interface ClusterVersionDetailsOutput {
1070
+ codeVersion?: string;
1071
+ environment?: "Windows" | "Linux";
1072
+ supportExpiryUtc?: string;
1073
+ }
1074
+
1075
+ // @public (undocumented)
1076
+ export interface ClusterVersionsGet {
1077
+ get(options?: ClusterVersionsGetParameters): StreamableMethod<ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse>;
1078
+ }
1079
+
1080
+ // @public
1081
+ export interface ClusterVersionsGet200Response extends HttpResponse {
1082
+ // (undocumented)
1083
+ body: ClusterCodeVersionsListResultOutput;
1084
+ // (undocumented)
1085
+ status: "200";
1086
+ }
1087
+
1088
+ // @public (undocumented)
1089
+ export interface ClusterVersionsGetByEnvironment {
1090
+ get(options?: ClusterVersionsGetByEnvironmentParameters): StreamableMethod<ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentDefaultResponse>;
1091
+ }
1092
+
1093
+ // @public
1094
+ export interface ClusterVersionsGetByEnvironment200Response extends HttpResponse {
1095
+ // (undocumented)
1096
+ body: ClusterCodeVersionsListResultOutput;
1097
+ // (undocumented)
1098
+ status: "200";
1099
+ }
1100
+
1101
+ // @public
1102
+ export interface ClusterVersionsGetByEnvironmentDefaultResponse extends HttpResponse {
1103
+ // (undocumented)
1104
+ body: ErrorModelOutput;
1105
+ // (undocumented)
1106
+ status: string;
1107
+ }
1108
+
1109
+ // @public (undocumented)
1110
+ export type ClusterVersionsGetByEnvironmentParameters = RequestParameters;
1111
+
1112
+ // @public
1113
+ export interface ClusterVersionsGetDefaultResponse extends HttpResponse {
1114
+ // (undocumented)
1115
+ body: ErrorModelOutput;
1116
+ // (undocumented)
1117
+ status: string;
1118
+ }
1119
+
1120
+ // @public (undocumented)
1121
+ export type ClusterVersionsGetParameters = RequestParameters;
1122
+
1123
+ // @public (undocumented)
1124
+ export interface ClusterVersionsList {
1125
+ get(options?: ClusterVersionsListParameters): StreamableMethod<ClusterVersionsList200Response | ClusterVersionsListDefaultResponse>;
1126
+ }
1127
+
1128
+ // @public
1129
+ export interface ClusterVersionsList200Response extends HttpResponse {
1130
+ // (undocumented)
1131
+ body: ClusterCodeVersionsListResultOutput;
1132
+ // (undocumented)
1133
+ status: "200";
1134
+ }
1135
+
1136
+ // @public (undocumented)
1137
+ export interface ClusterVersionsListByEnvironment {
1138
+ get(options?: ClusterVersionsListByEnvironmentParameters): StreamableMethod<ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentDefaultResponse>;
1139
+ }
1140
+
1141
+ // @public
1142
+ export interface ClusterVersionsListByEnvironment200Response extends HttpResponse {
1143
+ // (undocumented)
1144
+ body: ClusterCodeVersionsListResultOutput;
1145
+ // (undocumented)
1146
+ status: "200";
1147
+ }
1148
+
1149
+ // @public
1150
+ export interface ClusterVersionsListByEnvironmentDefaultResponse extends HttpResponse {
1151
+ // (undocumented)
1152
+ body: ErrorModelOutput;
1153
+ // (undocumented)
1154
+ status: string;
1155
+ }
1156
+
1157
+ // @public (undocumented)
1158
+ export type ClusterVersionsListByEnvironmentParameters = RequestParameters;
1159
+
1160
+ // @public
1161
+ export interface ClusterVersionsListDefaultResponse extends HttpResponse {
1162
+ // (undocumented)
1163
+ body: ErrorModelOutput;
1164
+ // (undocumented)
1165
+ status: string;
1166
+ }
1167
+
1168
+ // @public (undocumented)
1169
+ export type ClusterVersionsListParameters = RequestParameters;
1170
+
1171
+ // @public
1172
+ function createClient(credentials: TokenCredential, { apiVersion, ...options }?: ServiceFabricClientOptions): ServiceFabricClient;
1173
+ export default createClient;
1174
+
1175
+ // @public
1176
+ export interface DiagnosticsStorageAccountConfig {
1177
+ blobEndpoint: string;
1178
+ protectedAccountKeyName: string;
1179
+ protectedAccountKeyName2?: string;
1180
+ queueEndpoint: string;
1181
+ storageAccountName: string;
1182
+ tableEndpoint: string;
1183
+ }
1184
+
1185
+ // @public
1186
+ export interface DiagnosticsStorageAccountConfigOutput {
1187
+ blobEndpoint: string;
1188
+ protectedAccountKeyName: string;
1189
+ protectedAccountKeyName2?: string;
1190
+ queueEndpoint: string;
1191
+ storageAccountName: string;
1192
+ tableEndpoint: string;
1193
+ }
1194
+
1195
+ // @public
1196
+ export interface EndpointRangeDescription {
1197
+ endPort: number;
1198
+ startPort: number;
1199
+ }
1200
+
1201
+ // @public
1202
+ export interface EndpointRangeDescriptionOutput {
1203
+ endPort: number;
1204
+ startPort: number;
1205
+ }
1206
+
1207
+ // @public
1208
+ export interface ErrorModelErrorOutput {
1209
+ code?: string;
1210
+ message?: string;
1211
+ }
1212
+
1213
+ // @public
1214
+ export interface ErrorModelOutput {
1215
+ error?: ErrorModelErrorOutput;
1216
+ }
1217
+
1218
+ // @public
1219
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1220
+
1221
+ // @public
1222
+ export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1223
+
1224
+ // @public
1225
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
1226
+ page: TPage;
1227
+ nextPageLink?: string;
1228
+ }>;
1229
+
1230
+ // @public (undocumented)
1231
+ export function isUnexpected(response: ClustersGet200Response | ClustersGetDefaultResponse): response is ClustersGetDefaultResponse;
1232
+
1233
+ // @public (undocumented)
1234
+ export function isUnexpected(response: ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdateDefaultResponse): response is ClustersCreateOrUpdateDefaultResponse;
1235
+
1236
+ // @public (undocumented)
1237
+ export function isUnexpected(response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdateDefaultResponse): response is ClustersUpdateDefaultResponse;
1238
+
1239
+ // @public (undocumented)
1240
+ export function isUnexpected(response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeleteDefaultResponse): response is ClustersDeleteDefaultResponse;
1241
+
1242
+ // @public (undocumented)
1243
+ export function isUnexpected(response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupDefaultResponse): response is ClustersListByResourceGroupDefaultResponse;
1244
+
1245
+ // @public (undocumented)
1246
+ export function isUnexpected(response: ClustersList200Response | ClustersListDefaultResponse): response is ClustersListDefaultResponse;
1247
+
1248
+ // @public (undocumented)
1249
+ export function isUnexpected(response: ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsDefaultResponse): response is ClustersListUpgradableVersionsDefaultResponse;
1250
+
1251
+ // @public (undocumented)
1252
+ export function isUnexpected(response: ClusterVersionsGet200Response | ClusterVersionsGetDefaultResponse): response is ClusterVersionsGetDefaultResponse;
1253
+
1254
+ // @public (undocumented)
1255
+ export function isUnexpected(response: ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentDefaultResponse): response is ClusterVersionsGetByEnvironmentDefaultResponse;
1256
+
1257
+ // @public (undocumented)
1258
+ export function isUnexpected(response: ClusterVersionsList200Response | ClusterVersionsListDefaultResponse): response is ClusterVersionsListDefaultResponse;
1259
+
1260
+ // @public (undocumented)
1261
+ export function isUnexpected(response: ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentDefaultResponse): response is ClusterVersionsListByEnvironmentDefaultResponse;
1262
+
1263
+ // @public (undocumented)
1264
+ export function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse;
1265
+
1266
+ // @public (undocumented)
1267
+ export function isUnexpected(response: ApplicationTypesGet200Response | ApplicationTypesGetDefaultResponse): response is ApplicationTypesGetDefaultResponse;
1268
+
1269
+ // @public (undocumented)
1270
+ export function isUnexpected(response: ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdateDefaultResponse): response is ApplicationTypesCreateOrUpdateDefaultResponse;
1271
+
1272
+ // @public (undocumented)
1273
+ export function isUnexpected(response: ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeleteDefaultResponse): response is ApplicationTypesDeleteDefaultResponse;
1274
+
1275
+ // @public (undocumented)
1276
+ export function isUnexpected(response: ApplicationTypesList200Response | ApplicationTypesListDefaultResponse): response is ApplicationTypesListDefaultResponse;
1277
+
1278
+ // @public (undocumented)
1279
+ export function isUnexpected(response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetDefaultResponse): response is ApplicationTypeVersionsGetDefaultResponse;
1280
+
1281
+ // @public (undocumented)
1282
+ export function isUnexpected(response: ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdateDefaultResponse): response is ApplicationTypeVersionsCreateOrUpdateDefaultResponse;
1283
+
1284
+ // @public (undocumented)
1285
+ export function isUnexpected(response: ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeleteDefaultResponse): response is ApplicationTypeVersionsDeleteDefaultResponse;
1286
+
1287
+ // @public (undocumented)
1288
+ export function isUnexpected(response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListDefaultResponse): response is ApplicationTypeVersionsListDefaultResponse;
1289
+
1290
+ // @public (undocumented)
1291
+ export function isUnexpected(response: ApplicationsGet200Response | ApplicationsGetDefaultResponse): response is ApplicationsGetDefaultResponse;
1292
+
1293
+ // @public (undocumented)
1294
+ export function isUnexpected(response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdateDefaultResponse): response is ApplicationsCreateOrUpdateDefaultResponse;
1295
+
1296
+ // @public (undocumented)
1297
+ export function isUnexpected(response: ApplicationsUpdate202Response | ApplicationsUpdateDefaultResponse): response is ApplicationsUpdateDefaultResponse;
1298
+
1299
+ // @public (undocumented)
1300
+ export function isUnexpected(response: ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeleteDefaultResponse): response is ApplicationsDeleteDefaultResponse;
1301
+
1302
+ // @public (undocumented)
1303
+ export function isUnexpected(response: ApplicationsList200Response | ApplicationsListDefaultResponse): response is ApplicationsListDefaultResponse;
1304
+
1305
+ // @public (undocumented)
1306
+ export function isUnexpected(response: ServicesGet200Response | ServicesGetDefaultResponse): response is ServicesGetDefaultResponse;
1307
+
1308
+ // @public (undocumented)
1309
+ export function isUnexpected(response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse): response is ServicesCreateOrUpdateDefaultResponse;
1310
+
1311
+ // @public (undocumented)
1312
+ export function isUnexpected(response: ServicesUpdate202Response | ServicesUpdateDefaultResponse): response is ServicesUpdateDefaultResponse;
1313
+
1314
+ // @public (undocumented)
1315
+ export function isUnexpected(response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse): response is ServicesDeleteDefaultResponse;
1316
+
1317
+ // @public (undocumented)
1318
+ export function isUnexpected(response: ServicesList200Response | ServicesListDefaultResponse): response is ServicesListDefaultResponse;
1319
+
1320
+ // @public
1321
+ export interface ManagedIdentity {
1322
+ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1323
+ userAssignedIdentities?: Record<string, UserAssignedIdentity>;
1324
+ }
1325
+
1326
+ // @public
1327
+ export interface ManagedIdentityOutput {
1328
+ readonly principalId?: string;
1329
+ readonly tenantId?: string;
1330
+ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1331
+ userAssignedIdentities?: Record<string, UserAssignedIdentityOutput>;
1332
+ }
1333
+
1334
+ // @public
1335
+ export interface NamedPartitionSchemeDescription extends PartitionSchemeDescriptionParent {
1336
+ count: number;
1337
+ names: Array<string>;
1338
+ // (undocumented)
1339
+ partitionScheme: "Named";
1340
+ }
1341
+
1342
+ // @public
1343
+ export interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
1344
+ count: number;
1345
+ names: Array<string>;
1346
+ // (undocumented)
1347
+ partitionScheme: "Named";
1348
+ }
1349
+
1350
+ // @public
1351
+ export interface NodeTypeDescription {
1352
+ applicationPorts?: EndpointRangeDescription;
1353
+ capacities?: Record<string, string>;
1354
+ clientConnectionEndpointPort: number;
1355
+ durabilityLevel?: "Bronze" | "Silver" | "Gold";
1356
+ ephemeralPorts?: EndpointRangeDescription;
1357
+ httpGatewayEndpointPort: number;
1358
+ isPrimary: boolean;
1359
+ isStateless?: boolean;
1360
+ multipleAvailabilityZones?: boolean;
1361
+ name: string;
1362
+ placementProperties?: Record<string, string>;
1363
+ reverseProxyEndpointPort?: number;
1364
+ vmInstanceCount: number;
1365
+ }
1366
+
1367
+ // @public
1368
+ export interface NodeTypeDescriptionOutput {
1369
+ applicationPorts?: EndpointRangeDescriptionOutput;
1370
+ capacities?: Record<string, string>;
1371
+ clientConnectionEndpointPort: number;
1372
+ durabilityLevel?: "Bronze" | "Silver" | "Gold";
1373
+ ephemeralPorts?: EndpointRangeDescriptionOutput;
1374
+ httpGatewayEndpointPort: number;
1375
+ isPrimary: boolean;
1376
+ isStateless?: boolean;
1377
+ multipleAvailabilityZones?: boolean;
1378
+ name: string;
1379
+ placementProperties?: Record<string, string>;
1380
+ reverseProxyEndpointPort?: number;
1381
+ vmInstanceCount: number;
1382
+ }
1383
+
1384
+ // @public
1385
+ export interface Notification {
1386
+ isEnabled: boolean;
1387
+ notificationCategory: "WaveProgress";
1388
+ notificationLevel: "Critical" | "All";
1389
+ notificationTargets: Array<NotificationTarget>;
1390
+ }
1391
+
1392
+ // @public
1393
+ export interface NotificationOutput {
1394
+ isEnabled: boolean;
1395
+ notificationCategory: "WaveProgress";
1396
+ notificationLevel: "Critical" | "All";
1397
+ notificationTargets: Array<NotificationTargetOutput>;
1398
+ }
1399
+
1400
+ // @public
1401
+ export interface NotificationTarget {
1402
+ notificationChannel: "EmailUser" | "EmailSubscription";
1403
+ receivers: Array<string>;
1404
+ }
1405
+
1406
+ // @public
1407
+ export interface NotificationTargetOutput {
1408
+ notificationChannel: "EmailUser" | "EmailSubscription";
1409
+ receivers: Array<string>;
1410
+ }
1411
+
1412
+ // @public
1413
+ export interface OperationListResultOutput {
1414
+ readonly nextLink?: string;
1415
+ value?: Array<OperationResultOutput>;
1416
+ }
1417
+
1418
+ // @public
1419
+ export interface OperationResultOutput {
1420
+ display?: AvailableOperationDisplayOutput;
1421
+ isDataAction?: boolean;
1422
+ name?: string;
1423
+ nextLink?: string;
1424
+ origin?: string;
1425
+ }
1426
+
1427
+ // @public (undocumented)
1428
+ export interface OperationsList {
1429
+ get(options?: OperationsListParameters): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse>;
1430
+ }
1431
+
1432
+ // @public
1433
+ export interface OperationsList200Response extends HttpResponse {
1434
+ // (undocumented)
1435
+ body: OperationListResultOutput;
1436
+ // (undocumented)
1437
+ status: "200";
1438
+ }
1439
+
1440
+ // @public
1441
+ export interface OperationsListDefaultResponse extends HttpResponse {
1442
+ // (undocumented)
1443
+ body: ErrorModelOutput;
1444
+ // (undocumented)
1445
+ status: string;
1446
+ }
1447
+
1448
+ // @public (undocumented)
1449
+ export type OperationsListParameters = RequestParameters;
1450
+
1451
+ // @public
1452
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1453
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1454
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1455
+ next(): Promise<IteratorResult<TElement>>;
1456
+ }
1457
+
1458
+ // @public
1459
+ export interface PageSettings {
1460
+ continuationToken?: string;
1461
+ }
1462
+
1463
+ // @public
1464
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1465
+
1466
+ // @public
1467
+ export type PaginateReturn<TResult> = TResult extends {
1468
+ body: {
1469
+ value?: infer TPage;
1470
+ };
1471
+ } ? GetArrayType<TPage> : Array<unknown>;
1472
+
1473
+ // @public
1474
+ export interface PagingOptions<TResponse> {
1475
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1476
+ }
1477
+
1478
+ // @public
1479
+ export type PartitionSchemeDescription = NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription;
1480
+
1481
+ // @public
1482
+ export type PartitionSchemeDescriptionOutput = NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput;
1483
+
1484
+ // @public
1485
+ export interface PartitionSchemeDescriptionOutputParent {
1486
+ // (undocumented)
1487
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1488
+ }
1489
+
1490
+ // @public
1491
+ export interface PartitionSchemeDescriptionParent {
1492
+ // (undocumented)
1493
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1494
+ }
1495
+
1496
+ // @public
1497
+ export interface ProxyResource {
1498
+ location?: string;
1499
+ tags?: Record<string, string>;
1500
+ }
1501
+
1502
+ // @public
1503
+ export interface ProxyResourceOutput {
1504
+ readonly etag?: string;
1505
+ readonly id?: string;
1506
+ location?: string;
1507
+ readonly name?: string;
1508
+ readonly systemData?: SystemDataOutput;
1509
+ tags?: Record<string, string>;
1510
+ readonly type?: string;
1511
+ }
1512
+
1513
+ // @public
1514
+ export interface Resource {
1515
+ location: string;
1516
+ tags?: Record<string, string>;
1517
+ }
1518
+
1519
+ // @public
1520
+ export interface ResourceOutput {
1521
+ readonly etag?: string;
1522
+ readonly id?: string;
1523
+ location: string;
1524
+ readonly name?: string;
1525
+ readonly systemData?: SystemDataOutput;
1526
+ tags?: Record<string, string>;
1527
+ readonly type?: string;
1528
+ }
1529
+
1530
+ // @public (undocumented)
1531
+ export interface Routes {
1532
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersGet;
1533
+ (path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string, resourceGroupName: string): ClustersListByResourceGroup;
1534
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string): ClustersList;
1535
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersListUpgradableVersions;
1536
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, clusterVersion: string): ClusterVersionsGet;
1537
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, environment: "Windows" | "Linux", clusterVersion: string): ClusterVersionsGetByEnvironment;
1538
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions", subscriptionId: string, location: string): ClusterVersionsList;
1539
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions", subscriptionId: string, location: string, environment: "Windows" | "Linux"): ClusterVersionsListByEnvironment;
1540
+ (path: "/providers/Microsoft.ServiceFabric/operations"): OperationsList;
1541
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypesGet;
1542
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationTypesList;
1543
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string): ApplicationTypeVersionsGet;
1544
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypeVersionsList;
1545
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ApplicationsGet;
1546
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationsList;
1547
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string): ServicesGet;
1548
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ServicesList;
1549
+ }
1550
+
1551
+ // @public
1552
+ export interface ServerCertificateCommonName {
1553
+ certificateCommonName: string;
1554
+ certificateIssuerThumbprint: string;
1555
+ }
1556
+
1557
+ // @public
1558
+ export interface ServerCertificateCommonNameOutput {
1559
+ certificateCommonName: string;
1560
+ certificateIssuerThumbprint: string;
1561
+ }
1562
+
1563
+ // @public
1564
+ export interface ServerCertificateCommonNames {
1565
+ commonNames?: Array<ServerCertificateCommonName>;
1566
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1567
+ }
1568
+
1569
+ // @public
1570
+ export interface ServerCertificateCommonNamesOutput {
1571
+ commonNames?: Array<ServerCertificateCommonNameOutput>;
1572
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1573
+ }
1574
+
1575
+ // @public
1576
+ export interface ServiceCorrelationDescription {
1577
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1578
+ serviceName: string;
1579
+ }
1580
+
1581
+ // @public
1582
+ export interface ServiceCorrelationDescriptionOutput {
1583
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1584
+ serviceName: string;
1585
+ }
1586
+
1587
+ // @public (undocumented)
1588
+ export type ServiceFabricClient = Client & {
1589
+ path: Routes;
1590
+ };
1591
+
1592
+ // @public
1593
+ export interface ServiceFabricClientOptions extends ClientOptions {
1594
+ apiVersion?: string;
1595
+ }
1596
+
1597
+ // @public
1598
+ export interface ServiceLoadMetricDescription {
1599
+ defaultLoad?: number;
1600
+ name: string;
1601
+ primaryDefaultLoad?: number;
1602
+ secondaryDefaultLoad?: number;
1603
+ weight?: "Zero" | "Low" | "Medium" | "High";
1604
+ }
1605
+
1606
+ // @public
1607
+ export interface ServiceLoadMetricDescriptionOutput {
1608
+ defaultLoad?: number;
1609
+ name: string;
1610
+ primaryDefaultLoad?: number;
1611
+ secondaryDefaultLoad?: number;
1612
+ weight?: "Zero" | "Low" | "Medium" | "High";
1613
+ }
1614
+
1615
+ // @public
1616
+ export interface ServicePlacementPolicyDescription {
1617
+ // (undocumented)
1618
+ type: "ServicePlacementPolicyDescription";
1619
+ }
1620
+
1621
+ // @public
1622
+ export interface ServicePlacementPolicyDescriptionOutput {
1623
+ // (undocumented)
1624
+ type: "ServicePlacementPolicyDescription";
1625
+ }
1626
+
1627
+ // @public
1628
+ export interface ServiceResource extends ProxyResource {
1629
+ properties?: ServiceResourceProperties;
1630
+ }
1631
+
1632
+ // @public
1633
+ export interface ServiceResourceListOutput {
1634
+ readonly nextLink?: string;
1635
+ // (undocumented)
1636
+ value?: Array<ServiceResourceOutput>;
1637
+ }
1638
+
1639
+ // @public
1640
+ export interface ServiceResourceOutput extends ProxyResourceOutput {
1641
+ properties?: ServiceResourcePropertiesOutput;
1642
+ }
1643
+
1644
+ // @public
1645
+ export type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties;
1646
+
1647
+ // @public
1648
+ export interface ServiceResourcePropertiesBase {
1649
+ correlationScheme?: Array<ServiceCorrelationDescription>;
1650
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
1651
+ placementConstraints?: string;
1652
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescription>;
1653
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescription>;
1654
+ }
1655
+
1656
+ // @public
1657
+ export interface ServiceResourcePropertiesBaseOutput {
1658
+ correlationScheme?: Array<ServiceCorrelationDescriptionOutput>;
1659
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
1660
+ placementConstraints?: string;
1661
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescriptionOutput>;
1662
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescriptionOutput>;
1663
+ }
1664
+
1665
+ // @public
1666
+ export type ServiceResourcePropertiesOutput = StatefulServicePropertiesOutput | StatelessServicePropertiesOutput;
1667
+
1668
+ // @public
1669
+ export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
1670
+ partitionDescription?: PartitionSchemeDescriptionOutput;
1671
+ readonly provisioningState?: string;
1672
+ serviceDnsName?: string;
1673
+ // (undocumented)
1674
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
1675
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
1676
+ serviceTypeName?: string;
1677
+ }
1678
+
1679
+ // @public
1680
+ export interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase {
1681
+ partitionDescription?: PartitionSchemeDescription;
1682
+ serviceDnsName?: string;
1683
+ // (undocumented)
1684
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
1685
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
1686
+ serviceTypeName?: string;
1687
+ }
1688
+
1689
+ // @public
1690
+ export interface ServiceResourceUpdate extends ProxyResource {
1691
+ properties?: ServiceResourceUpdateProperties;
1692
+ }
1693
+
1694
+ // @public
1695
+ export interface ServiceResourceUpdateOutput extends ProxyResourceOutput {
1696
+ properties?: ServiceResourceUpdatePropertiesOutput;
1697
+ }
1698
+
1699
+ // @public
1700
+ export type ServiceResourceUpdateProperties = StatefulServiceUpdateProperties | StatelessServiceUpdateProperties;
1701
+
1702
+ // @public
1703
+ export type ServiceResourceUpdatePropertiesOutput = StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput;
1704
+
1705
+ // @public
1706
+ export interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
1707
+ // (undocumented)
1708
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
1709
+ }
1710
+
1711
+ // @public
1712
+ export interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase {
1713
+ // (undocumented)
1714
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
1715
+ }
1716
+
1717
+ // @public
1718
+ export interface ServicesCreateOrUpdate202Response extends HttpResponse {
1719
+ // (undocumented)
1720
+ body: ServiceResourceOutput;
1721
+ // (undocumented)
1722
+ status: "202";
1723
+ }
1724
+
1725
+ // @public (undocumented)
1726
+ export interface ServicesCreateOrUpdateBodyParam {
1727
+ body: ServiceResource;
1728
+ }
1729
+
1730
+ // @public
1731
+ export interface ServicesCreateOrUpdateDefaultResponse extends HttpResponse {
1732
+ // (undocumented)
1733
+ body: ErrorModelOutput;
1734
+ // (undocumented)
1735
+ status: string;
1736
+ }
1737
+
1738
+ // @public (undocumented)
1739
+ export interface ServicesCreateOrUpdateMediaTypesParam {
1740
+ contentType?: "application/json";
1741
+ }
1742
+
1743
+ // @public (undocumented)
1744
+ export type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesParam & ServicesCreateOrUpdateBodyParam & RequestParameters;
1745
+
1746
+ // @public
1747
+ export interface ServicesDelete202Response extends HttpResponse {
1748
+ // (undocumented)
1749
+ status: "202";
1750
+ }
1751
+
1752
+ // @public
1753
+ export interface ServicesDelete204Response extends HttpResponse {
1754
+ // (undocumented)
1755
+ status: "204";
1756
+ }
1757
+
1758
+ // @public
1759
+ export interface ServicesDeleteDefaultResponse extends HttpResponse {
1760
+ // (undocumented)
1761
+ body: ErrorModelOutput;
1762
+ // (undocumented)
1763
+ status: string;
1764
+ }
1765
+
1766
+ // @public (undocumented)
1767
+ export type ServicesDeleteParameters = RequestParameters;
1768
+
1769
+ // @public (undocumented)
1770
+ export interface ServicesGet {
1771
+ delete(options?: ServicesDeleteParameters): StreamableMethod<ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse>;
1772
+ get(options?: ServicesGetParameters): StreamableMethod<ServicesGet200Response | ServicesGetDefaultResponse>;
1773
+ patch(options: ServicesUpdateParameters): StreamableMethod<ServicesUpdate202Response | ServicesUpdateDefaultResponse>;
1774
+ put(options: ServicesCreateOrUpdateParameters): StreamableMethod<ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse>;
1775
+ }
1776
+
1777
+ // @public
1778
+ export interface ServicesGet200Response extends HttpResponse {
1779
+ // (undocumented)
1780
+ body: ServiceResourceOutput;
1781
+ // (undocumented)
1782
+ status: "200";
1783
+ }
1784
+
1785
+ // @public
1786
+ export interface ServicesGetDefaultResponse extends HttpResponse {
1787
+ // (undocumented)
1788
+ body: ErrorModelOutput;
1789
+ // (undocumented)
1790
+ status: string;
1791
+ }
1792
+
1793
+ // @public (undocumented)
1794
+ export type ServicesGetParameters = RequestParameters;
1795
+
1796
+ // @public (undocumented)
1797
+ export interface ServicesList {
1798
+ get(options?: ServicesListParameters): StreamableMethod<ServicesList200Response | ServicesListDefaultResponse>;
1799
+ }
1800
+
1801
+ // @public
1802
+ export interface ServicesList200Response extends HttpResponse {
1803
+ // (undocumented)
1804
+ body: ServiceResourceListOutput;
1805
+ // (undocumented)
1806
+ status: "200";
1807
+ }
1808
+
1809
+ // @public
1810
+ export interface ServicesListDefaultResponse extends HttpResponse {
1811
+ // (undocumented)
1812
+ body: ErrorModelOutput;
1813
+ // (undocumented)
1814
+ status: string;
1815
+ }
1816
+
1817
+ // @public (undocumented)
1818
+ export type ServicesListParameters = RequestParameters;
1819
+
1820
+ // @public
1821
+ export interface ServicesUpdate202Response extends HttpResponse {
1822
+ // (undocumented)
1823
+ body: ServiceResourceOutput;
1824
+ // (undocumented)
1825
+ status: "202";
1826
+ }
1827
+
1828
+ // @public (undocumented)
1829
+ export interface ServicesUpdateBodyParam {
1830
+ body: ServiceResourceUpdate;
1831
+ }
1832
+
1833
+ // @public
1834
+ export interface ServicesUpdateDefaultResponse extends HttpResponse {
1835
+ // (undocumented)
1836
+ body: ErrorModelOutput;
1837
+ // (undocumented)
1838
+ status: string;
1839
+ }
1840
+
1841
+ // @public (undocumented)
1842
+ export interface ServicesUpdateMediaTypesParam {
1843
+ contentType?: "application/json";
1844
+ }
1845
+
1846
+ // @public (undocumented)
1847
+ export type ServicesUpdateParameters = ServicesUpdateMediaTypesParam & ServicesUpdateBodyParam & RequestParameters;
1848
+
1849
+ // @public
1850
+ export interface ServiceTypeDeltaHealthPolicy {
1851
+ maxPercentDeltaUnhealthyServices?: number;
1852
+ }
1853
+
1854
+ // @public
1855
+ export interface ServiceTypeDeltaHealthPolicyOutput {
1856
+ maxPercentDeltaUnhealthyServices?: number;
1857
+ }
1858
+
1859
+ // @public
1860
+ export interface ServiceTypeHealthPolicy {
1861
+ maxPercentUnhealthyServices?: number;
1862
+ }
1863
+
1864
+ // @public
1865
+ export interface ServiceTypeHealthPolicyOutput {
1866
+ maxPercentUnhealthyServices?: number;
1867
+ }
1868
+
1869
+ // @public
1870
+ export interface SettingsParameterDescription {
1871
+ name: string;
1872
+ value: string;
1873
+ }
1874
+
1875
+ // @public
1876
+ export interface SettingsParameterDescriptionOutput {
1877
+ name: string;
1878
+ value: string;
1879
+ }
1880
+
1881
+ // @public
1882
+ export interface SettingsSectionDescription {
1883
+ name: string;
1884
+ parameters: Array<SettingsParameterDescription>;
1885
+ }
1886
+
1887
+ // @public
1888
+ export interface SettingsSectionDescriptionOutput {
1889
+ name: string;
1890
+ parameters: Array<SettingsParameterDescriptionOutput>;
1891
+ }
1892
+
1893
+ // @public
1894
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1895
+ getOperationState(): TState;
1896
+ getResult(): TResult | undefined;
1897
+ isDone(): boolean;
1898
+ // @deprecated
1899
+ isStopped(): boolean;
1900
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
1901
+ poll(options?: {
1902
+ abortSignal?: AbortSignalLike;
1903
+ }): Promise<TState>;
1904
+ pollUntilDone(pollOptions?: {
1905
+ abortSignal?: AbortSignalLike;
1906
+ }): Promise<TResult>;
1907
+ serialize(): Promise<string>;
1908
+ // @deprecated
1909
+ stopPolling(): void;
1910
+ submitted(): Promise<void>;
1911
+ // @deprecated
1912
+ toString(): string;
1913
+ }
1914
+
1915
+ // @public
1916
+ export interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent {
1917
+ // (undocumented)
1918
+ partitionScheme: "Singleton";
1919
+ }
1920
+
1921
+ // @public
1922
+ export interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
1923
+ // (undocumented)
1924
+ partitionScheme: "Singleton";
1925
+ }
1926
+
1927
+ // @public
1928
+ export interface StatefulServiceProperties extends ServiceResourcePropertiesParent {
1929
+ hasPersistedState?: boolean;
1930
+ minReplicaSetSize?: number;
1931
+ quorumLossWaitDuration?: Date | string;
1932
+ replicaRestartWaitDuration?: Date | string;
1933
+ // (undocumented)
1934
+ serviceKind: "Stateful";
1935
+ standByReplicaKeepDuration?: Date | string;
1936
+ targetReplicaSetSize?: number;
1937
+ }
1938
+
1939
+ // @public
1940
+ export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
1941
+ hasPersistedState?: boolean;
1942
+ minReplicaSetSize?: number;
1943
+ quorumLossWaitDuration?: string;
1944
+ replicaRestartWaitDuration?: string;
1945
+ // (undocumented)
1946
+ serviceKind: "Stateful";
1947
+ standByReplicaKeepDuration?: string;
1948
+ targetReplicaSetSize?: number;
1949
+ }
1950
+
1951
+ // @public
1952
+ export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
1953
+ minReplicaSetSize?: number;
1954
+ quorumLossWaitDuration?: Date | string;
1955
+ replicaRestartWaitDuration?: Date | string;
1956
+ // (undocumented)
1957
+ serviceKind: "Stateful";
1958
+ standByReplicaKeepDuration?: Date | string;
1959
+ targetReplicaSetSize?: number;
1960
+ }
1961
+
1962
+ // @public
1963
+ export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
1964
+ minReplicaSetSize?: number;
1965
+ quorumLossWaitDuration?: string;
1966
+ replicaRestartWaitDuration?: string;
1967
+ // (undocumented)
1968
+ serviceKind: "Stateful";
1969
+ standByReplicaKeepDuration?: string;
1970
+ targetReplicaSetSize?: number;
1971
+ }
1972
+
1973
+ // @public
1974
+ export interface StatelessServiceProperties extends ServiceResourcePropertiesParent {
1975
+ instanceCloseDelayDuration?: string;
1976
+ instanceCount?: number;
1977
+ // (undocumented)
1978
+ serviceKind: "Stateless";
1979
+ }
1980
+
1981
+ // @public
1982
+ export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
1983
+ instanceCloseDelayDuration?: string;
1984
+ instanceCount?: number;
1985
+ // (undocumented)
1986
+ serviceKind: "Stateless";
1987
+ }
1988
+
1989
+ // @public
1990
+ export interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
1991
+ instanceCloseDelayDuration?: string;
1992
+ instanceCount?: number;
1993
+ // (undocumented)
1994
+ serviceKind: "Stateless";
1995
+ }
1996
+
1997
+ // @public
1998
+ export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
1999
+ instanceCloseDelayDuration?: string;
2000
+ instanceCount?: number;
2001
+ // (undocumented)
2002
+ serviceKind: "Stateless";
2003
+ }
2004
+
2005
+ // @public
2006
+ export interface SystemData {
2007
+ createdAt?: Date | string;
2008
+ createdBy?: string;
2009
+ createdByType?: string;
2010
+ lastModifiedAt?: Date | string;
2011
+ lastModifiedBy?: string;
2012
+ lastModifiedByType?: string;
2013
+ }
2014
+
2015
+ // @public
2016
+ export interface SystemDataOutput {
2017
+ createdAt?: string;
2018
+ createdBy?: string;
2019
+ createdByType?: string;
2020
+ lastModifiedAt?: string;
2021
+ lastModifiedBy?: string;
2022
+ lastModifiedByType?: string;
2023
+ }
2024
+
2025
+ // @public
2026
+ export interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescriptionParent {
2027
+ count: number;
2028
+ highKey: string;
2029
+ lowKey: string;
2030
+ // (undocumented)
2031
+ partitionScheme: "UniformInt64Range";
2032
+ }
2033
+
2034
+ // @public
2035
+ export interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
2036
+ count: number;
2037
+ highKey: string;
2038
+ lowKey: string;
2039
+ // (undocumented)
2040
+ partitionScheme: "UniformInt64Range";
2041
+ }
2042
+
2043
+ // @public
2044
+ export interface UpgradableVersionPathResultOutput {
2045
+ // (undocumented)
2046
+ supportedPath?: Array<string>;
2047
+ }
2048
+
2049
+ // @public (undocumented)
2050
+ export interface UpgradableVersionsDescription {
2051
+ targetVersion: string;
2052
+ }
2053
+
2054
+ // @public (undocumented)
2055
+ export interface UserAssignedIdentity {
2056
+ }
2057
+
2058
+ // @public (undocumented)
2059
+ export interface UserAssignedIdentityOutput {
2060
+ readonly clientId?: string;
2061
+ readonly principalId?: string;
2062
+ }
2063
+
2064
+ // (No @packageDocumentation comment for this package)
2065
+
2066
+ ```