@azure-rest/arm-servicefabric 1.0.0-alpha.20250217.1 → 1.0.0-alpha.20250220.1

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.
@@ -0,0 +1,2067 @@
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_2>;
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_2>;
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
+ interface Notification_2 {
1386
+ isEnabled: boolean;
1387
+ notificationCategory: "WaveProgress";
1388
+ notificationLevel: "Critical" | "All";
1389
+ notificationTargets: Array<NotificationTarget>;
1390
+ }
1391
+ export { Notification_2 as Notification }
1392
+
1393
+ // @public
1394
+ export interface NotificationOutput {
1395
+ isEnabled: boolean;
1396
+ notificationCategory: "WaveProgress";
1397
+ notificationLevel: "Critical" | "All";
1398
+ notificationTargets: Array<NotificationTargetOutput>;
1399
+ }
1400
+
1401
+ // @public
1402
+ export interface NotificationTarget {
1403
+ notificationChannel: "EmailUser" | "EmailSubscription";
1404
+ receivers: Array<string>;
1405
+ }
1406
+
1407
+ // @public
1408
+ export interface NotificationTargetOutput {
1409
+ notificationChannel: "EmailUser" | "EmailSubscription";
1410
+ receivers: Array<string>;
1411
+ }
1412
+
1413
+ // @public
1414
+ export interface OperationListResultOutput {
1415
+ readonly nextLink?: string;
1416
+ value?: Array<OperationResultOutput>;
1417
+ }
1418
+
1419
+ // @public
1420
+ export interface OperationResultOutput {
1421
+ display?: AvailableOperationDisplayOutput;
1422
+ isDataAction?: boolean;
1423
+ name?: string;
1424
+ nextLink?: string;
1425
+ origin?: string;
1426
+ }
1427
+
1428
+ // @public (undocumented)
1429
+ export interface OperationsList {
1430
+ get(options?: OperationsListParameters): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse>;
1431
+ }
1432
+
1433
+ // @public
1434
+ export interface OperationsList200Response extends HttpResponse {
1435
+ // (undocumented)
1436
+ body: OperationListResultOutput;
1437
+ // (undocumented)
1438
+ status: "200";
1439
+ }
1440
+
1441
+ // @public
1442
+ export interface OperationsListDefaultResponse extends HttpResponse {
1443
+ // (undocumented)
1444
+ body: ErrorModelOutput;
1445
+ // (undocumented)
1446
+ status: string;
1447
+ }
1448
+
1449
+ // @public (undocumented)
1450
+ export type OperationsListParameters = RequestParameters;
1451
+
1452
+ // @public
1453
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1454
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1455
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1456
+ next(): Promise<IteratorResult<TElement>>;
1457
+ }
1458
+
1459
+ // @public
1460
+ export interface PageSettings {
1461
+ continuationToken?: string;
1462
+ }
1463
+
1464
+ // @public
1465
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1466
+
1467
+ // @public
1468
+ export type PaginateReturn<TResult> = TResult extends {
1469
+ body: {
1470
+ value?: infer TPage;
1471
+ };
1472
+ } ? GetArrayType<TPage> : Array<unknown>;
1473
+
1474
+ // @public
1475
+ export interface PagingOptions<TResponse> {
1476
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1477
+ }
1478
+
1479
+ // @public
1480
+ export type PartitionSchemeDescription = NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription;
1481
+
1482
+ // @public
1483
+ export type PartitionSchemeDescriptionOutput = NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput;
1484
+
1485
+ // @public
1486
+ export interface PartitionSchemeDescriptionOutputParent {
1487
+ // (undocumented)
1488
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1489
+ }
1490
+
1491
+ // @public
1492
+ export interface PartitionSchemeDescriptionParent {
1493
+ // (undocumented)
1494
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1495
+ }
1496
+
1497
+ // @public
1498
+ export interface ProxyResource {
1499
+ location?: string;
1500
+ tags?: Record<string, string>;
1501
+ }
1502
+
1503
+ // @public
1504
+ export interface ProxyResourceOutput {
1505
+ readonly etag?: string;
1506
+ readonly id?: string;
1507
+ location?: string;
1508
+ readonly name?: string;
1509
+ readonly systemData?: SystemDataOutput;
1510
+ tags?: Record<string, string>;
1511
+ readonly type?: string;
1512
+ }
1513
+
1514
+ // @public
1515
+ export interface Resource {
1516
+ location: string;
1517
+ tags?: Record<string, string>;
1518
+ }
1519
+
1520
+ // @public
1521
+ export interface ResourceOutput {
1522
+ readonly etag?: string;
1523
+ readonly id?: string;
1524
+ location: string;
1525
+ readonly name?: string;
1526
+ readonly systemData?: SystemDataOutput;
1527
+ tags?: Record<string, string>;
1528
+ readonly type?: string;
1529
+ }
1530
+
1531
+ // @public (undocumented)
1532
+ export interface Routes {
1533
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersGet;
1534
+ (path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string, resourceGroupName: string): ClustersListByResourceGroup;
1535
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string): ClustersList;
1536
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersListUpgradableVersions;
1537
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, clusterVersion: string): ClusterVersionsGet;
1538
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, environment: "Windows" | "Linux", clusterVersion: string): ClusterVersionsGetByEnvironment;
1539
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions", subscriptionId: string, location: string): ClusterVersionsList;
1540
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions", subscriptionId: string, location: string, environment: "Windows" | "Linux"): ClusterVersionsListByEnvironment;
1541
+ (path: "/providers/Microsoft.ServiceFabric/operations"): OperationsList;
1542
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypesGet;
1543
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationTypesList;
1544
+ (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;
1545
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypeVersionsList;
1546
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ApplicationsGet;
1547
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationsList;
1548
+ (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;
1549
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ServicesList;
1550
+ }
1551
+
1552
+ // @public
1553
+ export interface ServerCertificateCommonName {
1554
+ certificateCommonName: string;
1555
+ certificateIssuerThumbprint: string;
1556
+ }
1557
+
1558
+ // @public
1559
+ export interface ServerCertificateCommonNameOutput {
1560
+ certificateCommonName: string;
1561
+ certificateIssuerThumbprint: string;
1562
+ }
1563
+
1564
+ // @public
1565
+ export interface ServerCertificateCommonNames {
1566
+ commonNames?: Array<ServerCertificateCommonName>;
1567
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1568
+ }
1569
+
1570
+ // @public
1571
+ export interface ServerCertificateCommonNamesOutput {
1572
+ commonNames?: Array<ServerCertificateCommonNameOutput>;
1573
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1574
+ }
1575
+
1576
+ // @public
1577
+ export interface ServiceCorrelationDescription {
1578
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1579
+ serviceName: string;
1580
+ }
1581
+
1582
+ // @public
1583
+ export interface ServiceCorrelationDescriptionOutput {
1584
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1585
+ serviceName: string;
1586
+ }
1587
+
1588
+ // @public (undocumented)
1589
+ export type ServiceFabricClient = Client & {
1590
+ path: Routes;
1591
+ };
1592
+
1593
+ // @public
1594
+ export interface ServiceFabricClientOptions extends ClientOptions {
1595
+ apiVersion?: string;
1596
+ }
1597
+
1598
+ // @public
1599
+ export interface ServiceLoadMetricDescription {
1600
+ defaultLoad?: number;
1601
+ name: string;
1602
+ primaryDefaultLoad?: number;
1603
+ secondaryDefaultLoad?: number;
1604
+ weight?: "Zero" | "Low" | "Medium" | "High";
1605
+ }
1606
+
1607
+ // @public
1608
+ export interface ServiceLoadMetricDescriptionOutput {
1609
+ defaultLoad?: number;
1610
+ name: string;
1611
+ primaryDefaultLoad?: number;
1612
+ secondaryDefaultLoad?: number;
1613
+ weight?: "Zero" | "Low" | "Medium" | "High";
1614
+ }
1615
+
1616
+ // @public
1617
+ export interface ServicePlacementPolicyDescription {
1618
+ // (undocumented)
1619
+ type: "ServicePlacementPolicyDescription";
1620
+ }
1621
+
1622
+ // @public
1623
+ export interface ServicePlacementPolicyDescriptionOutput {
1624
+ // (undocumented)
1625
+ type: "ServicePlacementPolicyDescription";
1626
+ }
1627
+
1628
+ // @public
1629
+ export interface ServiceResource extends ProxyResource {
1630
+ properties?: ServiceResourceProperties;
1631
+ }
1632
+
1633
+ // @public
1634
+ export interface ServiceResourceListOutput {
1635
+ readonly nextLink?: string;
1636
+ // (undocumented)
1637
+ value?: Array<ServiceResourceOutput>;
1638
+ }
1639
+
1640
+ // @public
1641
+ export interface ServiceResourceOutput extends ProxyResourceOutput {
1642
+ properties?: ServiceResourcePropertiesOutput;
1643
+ }
1644
+
1645
+ // @public
1646
+ export type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties;
1647
+
1648
+ // @public
1649
+ export interface ServiceResourcePropertiesBase {
1650
+ correlationScheme?: Array<ServiceCorrelationDescription>;
1651
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
1652
+ placementConstraints?: string;
1653
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescription>;
1654
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescription>;
1655
+ }
1656
+
1657
+ // @public
1658
+ export interface ServiceResourcePropertiesBaseOutput {
1659
+ correlationScheme?: Array<ServiceCorrelationDescriptionOutput>;
1660
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
1661
+ placementConstraints?: string;
1662
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescriptionOutput>;
1663
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescriptionOutput>;
1664
+ }
1665
+
1666
+ // @public
1667
+ export type ServiceResourcePropertiesOutput = StatefulServicePropertiesOutput | StatelessServicePropertiesOutput;
1668
+
1669
+ // @public
1670
+ export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
1671
+ partitionDescription?: PartitionSchemeDescriptionOutput;
1672
+ readonly provisioningState?: string;
1673
+ serviceDnsName?: string;
1674
+ // (undocumented)
1675
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
1676
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
1677
+ serviceTypeName?: string;
1678
+ }
1679
+
1680
+ // @public
1681
+ export interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase {
1682
+ partitionDescription?: PartitionSchemeDescription;
1683
+ serviceDnsName?: string;
1684
+ // (undocumented)
1685
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
1686
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
1687
+ serviceTypeName?: string;
1688
+ }
1689
+
1690
+ // @public
1691
+ export interface ServiceResourceUpdate extends ProxyResource {
1692
+ properties?: ServiceResourceUpdateProperties;
1693
+ }
1694
+
1695
+ // @public
1696
+ export interface ServiceResourceUpdateOutput extends ProxyResourceOutput {
1697
+ properties?: ServiceResourceUpdatePropertiesOutput;
1698
+ }
1699
+
1700
+ // @public
1701
+ export type ServiceResourceUpdateProperties = StatefulServiceUpdateProperties | StatelessServiceUpdateProperties;
1702
+
1703
+ // @public
1704
+ export type ServiceResourceUpdatePropertiesOutput = StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput;
1705
+
1706
+ // @public
1707
+ export interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
1708
+ // (undocumented)
1709
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
1710
+ }
1711
+
1712
+ // @public
1713
+ export interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase {
1714
+ // (undocumented)
1715
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
1716
+ }
1717
+
1718
+ // @public
1719
+ export interface ServicesCreateOrUpdate202Response extends HttpResponse {
1720
+ // (undocumented)
1721
+ body: ServiceResourceOutput;
1722
+ // (undocumented)
1723
+ status: "202";
1724
+ }
1725
+
1726
+ // @public (undocumented)
1727
+ export interface ServicesCreateOrUpdateBodyParam {
1728
+ body: ServiceResource;
1729
+ }
1730
+
1731
+ // @public
1732
+ export interface ServicesCreateOrUpdateDefaultResponse extends HttpResponse {
1733
+ // (undocumented)
1734
+ body: ErrorModelOutput;
1735
+ // (undocumented)
1736
+ status: string;
1737
+ }
1738
+
1739
+ // @public (undocumented)
1740
+ export interface ServicesCreateOrUpdateMediaTypesParam {
1741
+ contentType?: "application/json";
1742
+ }
1743
+
1744
+ // @public (undocumented)
1745
+ export type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesParam & ServicesCreateOrUpdateBodyParam & RequestParameters;
1746
+
1747
+ // @public
1748
+ export interface ServicesDelete202Response extends HttpResponse {
1749
+ // (undocumented)
1750
+ status: "202";
1751
+ }
1752
+
1753
+ // @public
1754
+ export interface ServicesDelete204Response extends HttpResponse {
1755
+ // (undocumented)
1756
+ status: "204";
1757
+ }
1758
+
1759
+ // @public
1760
+ export interface ServicesDeleteDefaultResponse extends HttpResponse {
1761
+ // (undocumented)
1762
+ body: ErrorModelOutput;
1763
+ // (undocumented)
1764
+ status: string;
1765
+ }
1766
+
1767
+ // @public (undocumented)
1768
+ export type ServicesDeleteParameters = RequestParameters;
1769
+
1770
+ // @public (undocumented)
1771
+ export interface ServicesGet {
1772
+ delete(options?: ServicesDeleteParameters): StreamableMethod<ServicesDelete202Response | ServicesDelete204Response | ServicesDeleteDefaultResponse>;
1773
+ get(options?: ServicesGetParameters): StreamableMethod<ServicesGet200Response | ServicesGetDefaultResponse>;
1774
+ patch(options: ServicesUpdateParameters): StreamableMethod<ServicesUpdate202Response | ServicesUpdateDefaultResponse>;
1775
+ put(options: ServicesCreateOrUpdateParameters): StreamableMethod<ServicesCreateOrUpdate202Response | ServicesCreateOrUpdateDefaultResponse>;
1776
+ }
1777
+
1778
+ // @public
1779
+ export interface ServicesGet200Response extends HttpResponse {
1780
+ // (undocumented)
1781
+ body: ServiceResourceOutput;
1782
+ // (undocumented)
1783
+ status: "200";
1784
+ }
1785
+
1786
+ // @public
1787
+ export interface ServicesGetDefaultResponse extends HttpResponse {
1788
+ // (undocumented)
1789
+ body: ErrorModelOutput;
1790
+ // (undocumented)
1791
+ status: string;
1792
+ }
1793
+
1794
+ // @public (undocumented)
1795
+ export type ServicesGetParameters = RequestParameters;
1796
+
1797
+ // @public (undocumented)
1798
+ export interface ServicesList {
1799
+ get(options?: ServicesListParameters): StreamableMethod<ServicesList200Response | ServicesListDefaultResponse>;
1800
+ }
1801
+
1802
+ // @public
1803
+ export interface ServicesList200Response extends HttpResponse {
1804
+ // (undocumented)
1805
+ body: ServiceResourceListOutput;
1806
+ // (undocumented)
1807
+ status: "200";
1808
+ }
1809
+
1810
+ // @public
1811
+ export interface ServicesListDefaultResponse extends HttpResponse {
1812
+ // (undocumented)
1813
+ body: ErrorModelOutput;
1814
+ // (undocumented)
1815
+ status: string;
1816
+ }
1817
+
1818
+ // @public (undocumented)
1819
+ export type ServicesListParameters = RequestParameters;
1820
+
1821
+ // @public
1822
+ export interface ServicesUpdate202Response extends HttpResponse {
1823
+ // (undocumented)
1824
+ body: ServiceResourceOutput;
1825
+ // (undocumented)
1826
+ status: "202";
1827
+ }
1828
+
1829
+ // @public (undocumented)
1830
+ export interface ServicesUpdateBodyParam {
1831
+ body: ServiceResourceUpdate;
1832
+ }
1833
+
1834
+ // @public
1835
+ export interface ServicesUpdateDefaultResponse extends HttpResponse {
1836
+ // (undocumented)
1837
+ body: ErrorModelOutput;
1838
+ // (undocumented)
1839
+ status: string;
1840
+ }
1841
+
1842
+ // @public (undocumented)
1843
+ export interface ServicesUpdateMediaTypesParam {
1844
+ contentType?: "application/json";
1845
+ }
1846
+
1847
+ // @public (undocumented)
1848
+ export type ServicesUpdateParameters = ServicesUpdateMediaTypesParam & ServicesUpdateBodyParam & RequestParameters;
1849
+
1850
+ // @public
1851
+ export interface ServiceTypeDeltaHealthPolicy {
1852
+ maxPercentDeltaUnhealthyServices?: number;
1853
+ }
1854
+
1855
+ // @public
1856
+ export interface ServiceTypeDeltaHealthPolicyOutput {
1857
+ maxPercentDeltaUnhealthyServices?: number;
1858
+ }
1859
+
1860
+ // @public
1861
+ export interface ServiceTypeHealthPolicy {
1862
+ maxPercentUnhealthyServices?: number;
1863
+ }
1864
+
1865
+ // @public
1866
+ export interface ServiceTypeHealthPolicyOutput {
1867
+ maxPercentUnhealthyServices?: number;
1868
+ }
1869
+
1870
+ // @public
1871
+ export interface SettingsParameterDescription {
1872
+ name: string;
1873
+ value: string;
1874
+ }
1875
+
1876
+ // @public
1877
+ export interface SettingsParameterDescriptionOutput {
1878
+ name: string;
1879
+ value: string;
1880
+ }
1881
+
1882
+ // @public
1883
+ export interface SettingsSectionDescription {
1884
+ name: string;
1885
+ parameters: Array<SettingsParameterDescription>;
1886
+ }
1887
+
1888
+ // @public
1889
+ export interface SettingsSectionDescriptionOutput {
1890
+ name: string;
1891
+ parameters: Array<SettingsParameterDescriptionOutput>;
1892
+ }
1893
+
1894
+ // @public
1895
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1896
+ getOperationState(): TState;
1897
+ getResult(): TResult | undefined;
1898
+ isDone(): boolean;
1899
+ // @deprecated
1900
+ isStopped(): boolean;
1901
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
1902
+ poll(options?: {
1903
+ abortSignal?: AbortSignalLike;
1904
+ }): Promise<TState>;
1905
+ pollUntilDone(pollOptions?: {
1906
+ abortSignal?: AbortSignalLike;
1907
+ }): Promise<TResult>;
1908
+ serialize(): Promise<string>;
1909
+ // @deprecated
1910
+ stopPolling(): void;
1911
+ submitted(): Promise<void>;
1912
+ // @deprecated
1913
+ toString(): string;
1914
+ }
1915
+
1916
+ // @public
1917
+ export interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent {
1918
+ // (undocumented)
1919
+ partitionScheme: "Singleton";
1920
+ }
1921
+
1922
+ // @public
1923
+ export interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
1924
+ // (undocumented)
1925
+ partitionScheme: "Singleton";
1926
+ }
1927
+
1928
+ // @public
1929
+ export interface StatefulServiceProperties extends ServiceResourcePropertiesParent {
1930
+ hasPersistedState?: boolean;
1931
+ minReplicaSetSize?: number;
1932
+ quorumLossWaitDuration?: Date | string;
1933
+ replicaRestartWaitDuration?: Date | string;
1934
+ // (undocumented)
1935
+ serviceKind: "Stateful";
1936
+ standByReplicaKeepDuration?: Date | string;
1937
+ targetReplicaSetSize?: number;
1938
+ }
1939
+
1940
+ // @public
1941
+ export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
1942
+ hasPersistedState?: boolean;
1943
+ minReplicaSetSize?: number;
1944
+ quorumLossWaitDuration?: string;
1945
+ replicaRestartWaitDuration?: string;
1946
+ // (undocumented)
1947
+ serviceKind: "Stateful";
1948
+ standByReplicaKeepDuration?: string;
1949
+ targetReplicaSetSize?: number;
1950
+ }
1951
+
1952
+ // @public
1953
+ export interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
1954
+ minReplicaSetSize?: number;
1955
+ quorumLossWaitDuration?: Date | string;
1956
+ replicaRestartWaitDuration?: Date | string;
1957
+ // (undocumented)
1958
+ serviceKind: "Stateful";
1959
+ standByReplicaKeepDuration?: Date | string;
1960
+ targetReplicaSetSize?: number;
1961
+ }
1962
+
1963
+ // @public
1964
+ export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
1965
+ minReplicaSetSize?: number;
1966
+ quorumLossWaitDuration?: string;
1967
+ replicaRestartWaitDuration?: string;
1968
+ // (undocumented)
1969
+ serviceKind: "Stateful";
1970
+ standByReplicaKeepDuration?: string;
1971
+ targetReplicaSetSize?: number;
1972
+ }
1973
+
1974
+ // @public
1975
+ export interface StatelessServiceProperties extends ServiceResourcePropertiesParent {
1976
+ instanceCloseDelayDuration?: string;
1977
+ instanceCount?: number;
1978
+ // (undocumented)
1979
+ serviceKind: "Stateless";
1980
+ }
1981
+
1982
+ // @public
1983
+ export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
1984
+ instanceCloseDelayDuration?: string;
1985
+ instanceCount?: number;
1986
+ // (undocumented)
1987
+ serviceKind: "Stateless";
1988
+ }
1989
+
1990
+ // @public
1991
+ export interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
1992
+ instanceCloseDelayDuration?: string;
1993
+ instanceCount?: number;
1994
+ // (undocumented)
1995
+ serviceKind: "Stateless";
1996
+ }
1997
+
1998
+ // @public
1999
+ export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
2000
+ instanceCloseDelayDuration?: string;
2001
+ instanceCount?: number;
2002
+ // (undocumented)
2003
+ serviceKind: "Stateless";
2004
+ }
2005
+
2006
+ // @public
2007
+ export interface SystemData {
2008
+ createdAt?: Date | string;
2009
+ createdBy?: string;
2010
+ createdByType?: string;
2011
+ lastModifiedAt?: Date | string;
2012
+ lastModifiedBy?: string;
2013
+ lastModifiedByType?: string;
2014
+ }
2015
+
2016
+ // @public
2017
+ export interface SystemDataOutput {
2018
+ createdAt?: string;
2019
+ createdBy?: string;
2020
+ createdByType?: string;
2021
+ lastModifiedAt?: string;
2022
+ lastModifiedBy?: string;
2023
+ lastModifiedByType?: string;
2024
+ }
2025
+
2026
+ // @public
2027
+ export interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescriptionParent {
2028
+ count: number;
2029
+ highKey: string;
2030
+ lowKey: string;
2031
+ // (undocumented)
2032
+ partitionScheme: "UniformInt64Range";
2033
+ }
2034
+
2035
+ // @public
2036
+ export interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
2037
+ count: number;
2038
+ highKey: string;
2039
+ lowKey: string;
2040
+ // (undocumented)
2041
+ partitionScheme: "UniformInt64Range";
2042
+ }
2043
+
2044
+ // @public
2045
+ export interface UpgradableVersionPathResultOutput {
2046
+ // (undocumented)
2047
+ supportedPath?: Array<string>;
2048
+ }
2049
+
2050
+ // @public (undocumented)
2051
+ export interface UpgradableVersionsDescription {
2052
+ targetVersion: string;
2053
+ }
2054
+
2055
+ // @public (undocumented)
2056
+ export interface UserAssignedIdentity {
2057
+ }
2058
+
2059
+ // @public (undocumented)
2060
+ export interface UserAssignedIdentityOutput {
2061
+ readonly clientId?: string;
2062
+ readonly principalId?: string;
2063
+ }
2064
+
2065
+ // (No @packageDocumentation comment for this package)
2066
+
2067
+ ```