@azure-rest/arm-servicefabric 1.0.0-beta.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,2480 @@
1
+ import { Client } from '@azure-rest/core-client';
2
+ import { ClientOptions } from '@azure-rest/core-client';
3
+ import { HttpResponse } from '@azure-rest/core-client';
4
+ import { LroEngineOptions } from '@azure/core-lro';
5
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
6
+ import { PathUncheckedResponse } from '@azure-rest/core-client';
7
+ import { PollerLike } from '@azure/core-lro';
8
+ import { PollOperationState } from '@azure/core-lro';
9
+ import { RequestParameters } from '@azure-rest/core-client';
10
+ import { StreamableMethod } from '@azure-rest/core-client';
11
+ import { TokenCredential } from '@azure/core-auth';
12
+
13
+ export declare interface ApplicationDeltaHealthPolicy {
14
+ /** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */
15
+ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicy;
16
+ /** The map with service type delta health policy per service type name. The map is empty by default. */
17
+ serviceTypeDeltaHealthPolicies?: Record<string, ServiceTypeDeltaHealthPolicy>;
18
+ }
19
+
20
+ export declare interface ApplicationDeltaHealthPolicyOutput {
21
+ /** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */
22
+ defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput;
23
+ /** The map with service type delta health policy per service type name. The map is empty by default. */
24
+ serviceTypeDeltaHealthPolicies?: Record<string, ServiceTypeDeltaHealthPolicyOutput>;
25
+ }
26
+
27
+ export declare interface ApplicationHealthPolicy {
28
+ /** The health policy used by default to evaluate the health of a service type. */
29
+ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicy;
30
+ /** The map with service type health policy per service type name. The map is empty by default. */
31
+ serviceTypeHealthPolicies?: Record<string, ServiceTypeHealthPolicy>;
32
+ }
33
+
34
+ export declare interface ApplicationHealthPolicyOutput {
35
+ /** The health policy used by default to evaluate the health of a service type. */
36
+ defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicyOutput;
37
+ /** The map with service type health policy per service type name. The map is empty by default. */
38
+ serviceTypeHealthPolicies?: Record<string, ServiceTypeHealthPolicyOutput>;
39
+ }
40
+
41
+ export declare interface ApplicationMetricDescription {
42
+ /** The name of the metric. */
43
+ name?: string;
44
+ /**
45
+ * The maximum node capacity for Service Fabric application.
46
+ * This is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.
47
+ * If set to zero, capacity for this metric is unlimited on each node.
48
+ * When creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
49
+ * When updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
50
+ *
51
+ */
52
+ maximumCapacity?: number;
53
+ /**
54
+ * The node reservation capacity for Service Fabric application.
55
+ * This is the amount of load which is reserved on nodes which have instances of this application.
56
+ * If MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.
57
+ * If set to zero, no capacity is reserved for this metric.
58
+ * When setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.
59
+ *
60
+ */
61
+ reservationCapacity?: number;
62
+ /**
63
+ * The total metric capacity for Service Fabric application.
64
+ * This is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.
65
+ * When creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.
66
+ *
67
+ */
68
+ totalApplicationCapacity?: number;
69
+ }
70
+
71
+ export declare interface ApplicationMetricDescriptionOutput {
72
+ /** The name of the metric. */
73
+ name?: string;
74
+ /**
75
+ * The maximum node capacity for Service Fabric application.
76
+ * This is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.
77
+ * If set to zero, capacity for this metric is unlimited on each node.
78
+ * When creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
79
+ * When updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
80
+ *
81
+ */
82
+ maximumCapacity?: number;
83
+ /**
84
+ * The node reservation capacity for Service Fabric application.
85
+ * This is the amount of load which is reserved on nodes which have instances of this application.
86
+ * If MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.
87
+ * If set to zero, no capacity is reserved for this metric.
88
+ * When setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.
89
+ *
90
+ */
91
+ reservationCapacity?: number;
92
+ /**
93
+ * The total metric capacity for Service Fabric application.
94
+ * This is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.
95
+ * When creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.
96
+ *
97
+ */
98
+ totalApplicationCapacity?: number;
99
+ }
100
+
101
+ export declare interface ApplicationResource extends ProxyResource {
102
+ /** Describes the managed identities for an Azure resource. */
103
+ identity?: ManagedIdentity;
104
+ /** The application resource properties. */
105
+ properties?: ApplicationResourceProperties;
106
+ }
107
+
108
+ export declare interface ApplicationResourceListOutput {
109
+ value?: Array<ApplicationResourceOutput>;
110
+ /** URL to get the next set of application list results if there are any. */
111
+ nextLink?: string;
112
+ }
113
+
114
+ export declare interface ApplicationResourceOutput extends ProxyResourceOutput {
115
+ /** Describes the managed identities for an Azure resource. */
116
+ identity?: ManagedIdentityOutput;
117
+ /** The application resource properties. */
118
+ properties?: ApplicationResourcePropertiesOutput;
119
+ }
120
+
121
+ export declare interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties {
122
+ /** The current deployment or provisioning state, which only appears in the response */
123
+ provisioningState?: string;
124
+ /** The application type name as defined in the application manifest. */
125
+ typeName?: string;
126
+ }
127
+
128
+ export declare interface ApplicationResourcePropertiesOutput extends ApplicationResourceUpdatePropertiesOutput {
129
+ /** The current deployment or provisioning state, which only appears in the response */
130
+ provisioningState?: string;
131
+ /** The application type name as defined in the application manifest. */
132
+ typeName?: string;
133
+ }
134
+
135
+ export declare interface ApplicationResourceUpdate extends ProxyResource {
136
+ /** The application resource properties for patch operations. */
137
+ properties?: ApplicationResourceUpdateProperties;
138
+ }
139
+
140
+ export declare interface ApplicationResourceUpdateOutput extends ProxyResourceOutput {
141
+ /** The application resource properties for patch operations. */
142
+ properties?: ApplicationResourceUpdatePropertiesOutput;
143
+ }
144
+
145
+ export declare interface ApplicationResourceUpdateProperties {
146
+ /** The version of the application type as defined in the application manifest. */
147
+ typeVersion?: string;
148
+ /** List of application parameters with overridden values from their default values specified in the application manifest. */
149
+ parameters?: Record<string, string>;
150
+ /** Describes the policy for a monitored application upgrade. */
151
+ upgradePolicy?: ApplicationUpgradePolicy;
152
+ /** The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property. */
153
+ minimumNodes?: number;
154
+ /** The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node. */
155
+ maximumNodes?: number;
156
+ /** Remove the current application capacity settings. */
157
+ removeApplicationCapacity?: boolean;
158
+ /** List of application capacity metric description. */
159
+ metrics?: Array<ApplicationMetricDescription>;
160
+ /** List of user assigned identities for the application, each mapped to a friendly name. */
161
+ managedIdentities?: Array<ApplicationUserAssignedIdentity>;
162
+ }
163
+
164
+ export declare interface ApplicationResourceUpdatePropertiesOutput {
165
+ /** The version of the application type as defined in the application manifest. */
166
+ typeVersion?: string;
167
+ /** List of application parameters with overridden values from their default values specified in the application manifest. */
168
+ parameters?: Record<string, string>;
169
+ /** Describes the policy for a monitored application upgrade. */
170
+ upgradePolicy?: ApplicationUpgradePolicyOutput;
171
+ /** The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property. */
172
+ minimumNodes?: number;
173
+ /** The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node. */
174
+ maximumNodes?: number;
175
+ /** Remove the current application capacity settings. */
176
+ removeApplicationCapacity?: boolean;
177
+ /** List of application capacity metric description. */
178
+ metrics?: Array<ApplicationMetricDescriptionOutput>;
179
+ /** List of user assigned identities for the application, each mapped to a friendly name. */
180
+ managedIdentities?: Array<ApplicationUserAssignedIdentityOutput>;
181
+ }
182
+
183
+ /** Create or update a Service Fabric application resource with the specified name. */
184
+ export declare interface ApplicationsCreateOrUpdate202Response extends HttpResponse {
185
+ status: "202";
186
+ body: ApplicationResourceOutput;
187
+ }
188
+
189
+ export declare interface ApplicationsCreateOrUpdateBodyParam {
190
+ /** The application resource. */
191
+ body: ApplicationResource;
192
+ }
193
+
194
+ /** Create or update a Service Fabric application resource with the specified name. */
195
+ export declare interface ApplicationsCreateOrUpdatedefaultResponse extends HttpResponse {
196
+ status: string;
197
+ body: ErrorModelOutput;
198
+ }
199
+
200
+ export declare interface ApplicationsCreateOrUpdateMediaTypesParam {
201
+ /** Request content type */
202
+ contentType?: "application/json";
203
+ }
204
+
205
+ export declare type ApplicationsCreateOrUpdateParameters = ApplicationsCreateOrUpdateMediaTypesParam & ApplicationsCreateOrUpdateBodyParam & RequestParameters;
206
+
207
+ /** Delete a Service Fabric application resource with the specified name. */
208
+ export declare interface ApplicationsDelete202Response extends HttpResponse {
209
+ status: "202";
210
+ body: Record<string, unknown>;
211
+ }
212
+
213
+ /** Delete a Service Fabric application resource with the specified name. */
214
+ export declare interface ApplicationsDelete204Response extends HttpResponse {
215
+ status: "204";
216
+ body: Record<string, unknown>;
217
+ }
218
+
219
+ /** Delete a Service Fabric application resource with the specified name. */
220
+ export declare interface ApplicationsDeletedefaultResponse extends HttpResponse {
221
+ status: string;
222
+ body: ErrorModelOutput;
223
+ }
224
+
225
+ export declare type ApplicationsDeleteParameters = RequestParameters;
226
+
227
+ export declare interface ApplicationsGet {
228
+ /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */
229
+ get(options?: ApplicationsGetParameters): StreamableMethod<ApplicationsGet200Response | ApplicationsGetdefaultResponse>;
230
+ /** Create or update a Service Fabric application resource with the specified name. */
231
+ put(options: ApplicationsCreateOrUpdateParameters): StreamableMethod<ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdatedefaultResponse>;
232
+ /** Update a Service Fabric application resource with the specified name. */
233
+ patch(options: ApplicationsUpdateParameters): StreamableMethod<ApplicationsUpdate202Response | ApplicationsUpdatedefaultResponse>;
234
+ /** Delete a Service Fabric application resource with the specified name. */
235
+ delete(options?: ApplicationsDeleteParameters): StreamableMethod<ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeletedefaultResponse>;
236
+ }
237
+
238
+ /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */
239
+ export declare interface ApplicationsGet200Response extends HttpResponse {
240
+ status: "200";
241
+ body: ApplicationResourceOutput;
242
+ }
243
+
244
+ /** Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. */
245
+ export declare interface ApplicationsGetdefaultResponse extends HttpResponse {
246
+ status: string;
247
+ body: ErrorModelOutput;
248
+ }
249
+
250
+ export declare type ApplicationsGetParameters = RequestParameters;
251
+
252
+ export declare interface ApplicationsList {
253
+ /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */
254
+ get(options?: ApplicationsListParameters): StreamableMethod<ApplicationsList200Response | ApplicationsListdefaultResponse>;
255
+ }
256
+
257
+ /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */
258
+ export declare interface ApplicationsList200Response extends HttpResponse {
259
+ status: "200";
260
+ body: ApplicationResourceListOutput;
261
+ }
262
+
263
+ /** Gets all application resources created or in the process of being created in the Service Fabric cluster resource. */
264
+ export declare interface ApplicationsListdefaultResponse extends HttpResponse {
265
+ status: string;
266
+ body: ErrorModelOutput;
267
+ }
268
+
269
+ export declare type ApplicationsListParameters = RequestParameters;
270
+
271
+ /** Update a Service Fabric application resource with the specified name. */
272
+ export declare interface ApplicationsUpdate202Response extends HttpResponse {
273
+ status: "202";
274
+ body: ApplicationResourceOutput;
275
+ }
276
+
277
+ export declare interface ApplicationsUpdateBodyParam {
278
+ /** The application resource for patch operations. */
279
+ body: ApplicationResourceUpdate;
280
+ }
281
+
282
+ /** Update a Service Fabric application resource with the specified name. */
283
+ export declare interface ApplicationsUpdatedefaultResponse extends HttpResponse {
284
+ status: string;
285
+ body: ErrorModelOutput;
286
+ }
287
+
288
+ export declare interface ApplicationsUpdateMediaTypesParam {
289
+ /** Request content type */
290
+ contentType?: "application/json";
291
+ }
292
+
293
+ export declare type ApplicationsUpdateParameters = ApplicationsUpdateMediaTypesParam & ApplicationsUpdateBodyParam & RequestParameters;
294
+
295
+ export declare interface ApplicationTypeResource extends ProxyResource {
296
+ /** The application type name properties */
297
+ properties?: ApplicationTypeResourceProperties;
298
+ }
299
+
300
+ export declare interface ApplicationTypeResourceListOutput {
301
+ value?: Array<ApplicationTypeResourceOutput>;
302
+ /** URL to get the next set of application type list results if there are any. */
303
+ nextLink?: string;
304
+ }
305
+
306
+ export declare interface ApplicationTypeResourceOutput extends ProxyResourceOutput {
307
+ /** The application type name properties */
308
+ properties?: ApplicationTypeResourcePropertiesOutput;
309
+ }
310
+
311
+ export declare interface ApplicationTypeResourceProperties {
312
+ /** The current deployment or provisioning state, which only appears in the response. */
313
+ provisioningState?: string;
314
+ }
315
+
316
+ export declare interface ApplicationTypeResourcePropertiesOutput {
317
+ /** The current deployment or provisioning state, which only appears in the response. */
318
+ provisioningState?: string;
319
+ }
320
+
321
+ /** Create or update a Service Fabric application type name resource with the specified name. */
322
+ export declare interface ApplicationTypesCreateOrUpdate200Response extends HttpResponse {
323
+ status: "200";
324
+ body: ApplicationTypeResourceOutput;
325
+ }
326
+
327
+ export declare interface ApplicationTypesCreateOrUpdateBodyParam {
328
+ /** The application type name resource. */
329
+ body: ApplicationTypeResource;
330
+ }
331
+
332
+ /** Create or update a Service Fabric application type name resource with the specified name. */
333
+ export declare interface ApplicationTypesCreateOrUpdatedefaultResponse extends HttpResponse {
334
+ status: string;
335
+ body: ErrorModelOutput;
336
+ }
337
+
338
+ export declare interface ApplicationTypesCreateOrUpdateMediaTypesParam {
339
+ /** Request content type */
340
+ contentType?: "application/json";
341
+ }
342
+
343
+ export declare type ApplicationTypesCreateOrUpdateParameters = ApplicationTypesCreateOrUpdateMediaTypesParam & ApplicationTypesCreateOrUpdateBodyParam & RequestParameters;
344
+
345
+ /** Delete a Service Fabric application type name resource with the specified name. */
346
+ export declare interface ApplicationTypesDelete202Response extends HttpResponse {
347
+ status: "202";
348
+ body: Record<string, unknown>;
349
+ }
350
+
351
+ /** Delete a Service Fabric application type name resource with the specified name. */
352
+ export declare interface ApplicationTypesDelete204Response extends HttpResponse {
353
+ status: "204";
354
+ body: Record<string, unknown>;
355
+ }
356
+
357
+ /** Delete a Service Fabric application type name resource with the specified name. */
358
+ export declare interface ApplicationTypesDeletedefaultResponse extends HttpResponse {
359
+ status: string;
360
+ body: ErrorModelOutput;
361
+ }
362
+
363
+ export declare type ApplicationTypesDeleteParameters = RequestParameters;
364
+
365
+ export declare interface ApplicationTypesGet {
366
+ /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */
367
+ get(options?: ApplicationTypesGetParameters): StreamableMethod<ApplicationTypesGet200Response | ApplicationTypesGetdefaultResponse>;
368
+ /** Create or update a Service Fabric application type name resource with the specified name. */
369
+ put(options: ApplicationTypesCreateOrUpdateParameters): StreamableMethod<ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdatedefaultResponse>;
370
+ /** Delete a Service Fabric application type name resource with the specified name. */
371
+ delete(options?: ApplicationTypesDeleteParameters): StreamableMethod<ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeletedefaultResponse>;
372
+ }
373
+
374
+ /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */
375
+ export declare interface ApplicationTypesGet200Response extends HttpResponse {
376
+ status: "200";
377
+ body: ApplicationTypeResourceOutput;
378
+ }
379
+
380
+ /** Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource. */
381
+ export declare interface ApplicationTypesGetdefaultResponse extends HttpResponse {
382
+ status: string;
383
+ body: ErrorModelOutput;
384
+ }
385
+
386
+ export declare type ApplicationTypesGetParameters = RequestParameters;
387
+
388
+ export declare interface ApplicationTypesList {
389
+ /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */
390
+ get(options?: ApplicationTypesListParameters): StreamableMethod<ApplicationTypesList200Response | ApplicationTypesListdefaultResponse>;
391
+ }
392
+
393
+ /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */
394
+ export declare interface ApplicationTypesList200Response extends HttpResponse {
395
+ status: "200";
396
+ body: ApplicationTypeResourceListOutput;
397
+ }
398
+
399
+ /** Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource. */
400
+ export declare interface ApplicationTypesListdefaultResponse extends HttpResponse {
401
+ status: string;
402
+ body: ErrorModelOutput;
403
+ }
404
+
405
+ export declare type ApplicationTypesListParameters = RequestParameters;
406
+
407
+ export declare interface ApplicationTypeVersionResource extends ProxyResource {
408
+ /** The properties of the application type version resource. */
409
+ properties?: ApplicationTypeVersionResourceProperties;
410
+ }
411
+
412
+ export declare interface ApplicationTypeVersionResourceListOutput {
413
+ value?: Array<ApplicationTypeVersionResourceOutput>;
414
+ /** URL to get the next set of application type version list results if there are any. */
415
+ nextLink?: string;
416
+ }
417
+
418
+ export declare interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput {
419
+ /** The properties of the application type version resource. */
420
+ properties?: ApplicationTypeVersionResourcePropertiesOutput;
421
+ }
422
+
423
+ export declare interface ApplicationTypeVersionResourceProperties {
424
+ /** The current deployment or provisioning state, which only appears in the response */
425
+ provisioningState?: string;
426
+ /** The URL to the application package */
427
+ appPackageUrl: string;
428
+ /** List of application type parameters that can be overridden when creating or updating the application. */
429
+ defaultParameterList?: Record<string, string>;
430
+ }
431
+
432
+ export declare interface ApplicationTypeVersionResourcePropertiesOutput {
433
+ /** The current deployment or provisioning state, which only appears in the response */
434
+ provisioningState?: string;
435
+ /** The URL to the application package */
436
+ appPackageUrl: string;
437
+ /** List of application type parameters that can be overridden when creating or updating the application. */
438
+ defaultParameterList?: Record<string, string>;
439
+ }
440
+
441
+ export declare interface ApplicationTypeVersionsCleanupPolicy {
442
+ /** Number of unused versions per application type to keep. */
443
+ maxUnusedVersionsToKeep: number;
444
+ }
445
+
446
+ export declare interface ApplicationTypeVersionsCleanupPolicyOutput {
447
+ /** Number of unused versions per application type to keep. */
448
+ maxUnusedVersionsToKeep: number;
449
+ }
450
+
451
+ /** Create or update a Service Fabric application type version resource with the specified name. */
452
+ export declare interface ApplicationTypeVersionsCreateOrUpdate202Response extends HttpResponse {
453
+ status: "202";
454
+ body: ApplicationTypeVersionResourceOutput;
455
+ }
456
+
457
+ export declare interface ApplicationTypeVersionsCreateOrUpdateBodyParam {
458
+ /** The application type version resource. */
459
+ body: ApplicationTypeVersionResource;
460
+ }
461
+
462
+ /** Create or update a Service Fabric application type version resource with the specified name. */
463
+ export declare interface ApplicationTypeVersionsCreateOrUpdatedefaultResponse extends HttpResponse {
464
+ status: string;
465
+ body: ErrorModelOutput;
466
+ }
467
+
468
+ export declare interface ApplicationTypeVersionsCreateOrUpdateMediaTypesParam {
469
+ /** Request content type */
470
+ contentType?: "application/json";
471
+ }
472
+
473
+ export declare type ApplicationTypeVersionsCreateOrUpdateParameters = ApplicationTypeVersionsCreateOrUpdateMediaTypesParam & ApplicationTypeVersionsCreateOrUpdateBodyParam & RequestParameters;
474
+
475
+ /** Delete a Service Fabric application type version resource with the specified name. */
476
+ export declare interface ApplicationTypeVersionsDelete202Response extends HttpResponse {
477
+ status: "202";
478
+ body: Record<string, unknown>;
479
+ }
480
+
481
+ /** Delete a Service Fabric application type version resource with the specified name. */
482
+ export declare interface ApplicationTypeVersionsDelete204Response extends HttpResponse {
483
+ status: "204";
484
+ body: Record<string, unknown>;
485
+ }
486
+
487
+ /** Delete a Service Fabric application type version resource with the specified name. */
488
+ export declare interface ApplicationTypeVersionsDeletedefaultResponse extends HttpResponse {
489
+ status: string;
490
+ body: ErrorModelOutput;
491
+ }
492
+
493
+ export declare type ApplicationTypeVersionsDeleteParameters = RequestParameters;
494
+
495
+ export declare interface ApplicationTypeVersionsGet {
496
+ /** Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. */
497
+ get(options?: ApplicationTypeVersionsGetParameters): StreamableMethod<ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetdefaultResponse>;
498
+ /** Create or update a Service Fabric application type version resource with the specified name. */
499
+ put(options: ApplicationTypeVersionsCreateOrUpdateParameters): StreamableMethod<ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdatedefaultResponse>;
500
+ /** Delete a Service Fabric application type version resource with the specified name. */
501
+ delete(options?: ApplicationTypeVersionsDeleteParameters): StreamableMethod<ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeletedefaultResponse>;
502
+ }
503
+
504
+ /** Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. */
505
+ export declare interface ApplicationTypeVersionsGet200Response extends HttpResponse {
506
+ status: "200";
507
+ body: ApplicationTypeVersionResourceOutput;
508
+ }
509
+
510
+ /** Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. */
511
+ export declare interface ApplicationTypeVersionsGetdefaultResponse extends HttpResponse {
512
+ status: string;
513
+ body: ErrorModelOutput;
514
+ }
515
+
516
+ export declare type ApplicationTypeVersionsGetParameters = RequestParameters;
517
+
518
+ export declare interface ApplicationTypeVersionsList {
519
+ /** Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. */
520
+ get(options?: ApplicationTypeVersionsListParameters): StreamableMethod<ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListdefaultResponse>;
521
+ }
522
+
523
+ /** Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. */
524
+ export declare interface ApplicationTypeVersionsList200Response extends HttpResponse {
525
+ status: "200";
526
+ body: ApplicationTypeVersionResourceListOutput;
527
+ }
528
+
529
+ /** Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. */
530
+ export declare interface ApplicationTypeVersionsListdefaultResponse extends HttpResponse {
531
+ status: string;
532
+ body: ErrorModelOutput;
533
+ }
534
+
535
+ export declare type ApplicationTypeVersionsListParameters = RequestParameters;
536
+
537
+ export declare interface ApplicationUpgradePolicy {
538
+ /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). */
539
+ upgradeReplicaSetCheckTimeout?: string;
540
+ /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
541
+ forceRestart?: boolean;
542
+ /** The policy used for monitoring the application upgrade */
543
+ rollingUpgradeMonitoringPolicy?: ArmRollingUpgradeMonitoringPolicy;
544
+ /**
545
+ * Defines a health policy used to evaluate the health of an application or one of its children entities.
546
+ *
547
+ */
548
+ applicationHealthPolicy?: ArmApplicationHealthPolicy;
549
+ /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */
550
+ upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored";
551
+ /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */
552
+ recreateApplication?: boolean;
553
+ }
554
+
555
+ export declare interface ApplicationUpgradePolicyOutput {
556
+ /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). */
557
+ upgradeReplicaSetCheckTimeout?: string;
558
+ /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
559
+ forceRestart?: boolean;
560
+ /** The policy used for monitoring the application upgrade */
561
+ rollingUpgradeMonitoringPolicy?: ArmRollingUpgradeMonitoringPolicyOutput;
562
+ /**
563
+ * Defines a health policy used to evaluate the health of an application or one of its children entities.
564
+ *
565
+ */
566
+ applicationHealthPolicy?: ArmApplicationHealthPolicyOutput;
567
+ /** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */
568
+ upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored";
569
+ /** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */
570
+ recreateApplication?: boolean;
571
+ }
572
+
573
+ export declare interface ApplicationUserAssignedIdentity {
574
+ /** The friendly name of user assigned identity. */
575
+ name: string;
576
+ /** The principal id of user assigned identity. */
577
+ principalId: string;
578
+ }
579
+
580
+ export declare interface ApplicationUserAssignedIdentityOutput {
581
+ /** The friendly name of user assigned identity. */
582
+ name: string;
583
+ /** The principal id of user assigned identity. */
584
+ principalId: string;
585
+ }
586
+
587
+ export declare interface ArmApplicationHealthPolicy {
588
+ /** Indicates whether warnings are treated with the same severity as errors. */
589
+ considerWarningAsError?: boolean;
590
+ /**
591
+ * The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.
592
+ * The percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.
593
+ * This is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.
594
+ * The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
595
+ *
596
+ */
597
+ maxPercentUnhealthyDeployedApplications?: number;
598
+ /** The health policy used by default to evaluate the health of a service type. */
599
+ defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicy;
600
+ /** The map with service type health policy per service type name. The map is empty by default. */
601
+ serviceTypeHealthPolicyMap?: Record<string, ArmServiceTypeHealthPolicy>;
602
+ }
603
+
604
+ export declare interface ArmApplicationHealthPolicyOutput {
605
+ /** Indicates whether warnings are treated with the same severity as errors. */
606
+ considerWarningAsError?: boolean;
607
+ /**
608
+ * The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.
609
+ * The percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.
610
+ * This is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.
611
+ * The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
612
+ *
613
+ */
614
+ maxPercentUnhealthyDeployedApplications?: number;
615
+ /** The health policy used by default to evaluate the health of a service type. */
616
+ defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicyOutput;
617
+ /** The map with service type health policy per service type name. The map is empty by default. */
618
+ serviceTypeHealthPolicyMap?: Record<string, ArmServiceTypeHealthPolicyOutput>;
619
+ }
620
+
621
+ export declare interface ArmRollingUpgradeMonitoringPolicy {
622
+ /** The activation Mode of the service package */
623
+ failureAction?: "Rollback" | "Manual";
624
+ /** The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
625
+ healthCheckWaitDuration?: string;
626
+ /** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
627
+ healthCheckStableDuration?: string;
628
+ /** The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
629
+ healthCheckRetryTimeout?: string;
630
+ /** The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
631
+ upgradeTimeout?: string;
632
+ /** The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
633
+ upgradeDomainTimeout?: string;
634
+ }
635
+
636
+ export declare interface ArmRollingUpgradeMonitoringPolicyOutput {
637
+ /** The activation Mode of the service package */
638
+ failureAction?: "Rollback" | "Manual";
639
+ /** The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
640
+ healthCheckWaitDuration?: string;
641
+ /** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
642
+ healthCheckStableDuration?: string;
643
+ /** The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
644
+ healthCheckRetryTimeout?: string;
645
+ /** The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
646
+ upgradeTimeout?: string;
647
+ /** The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
648
+ upgradeDomainTimeout?: string;
649
+ }
650
+
651
+ export declare interface ArmServiceTypeHealthPolicy {
652
+ /**
653
+ * The maximum percentage of services allowed to be unhealthy before your application is considered in error.
654
+ *
655
+ */
656
+ maxPercentUnhealthyServices?: number;
657
+ /**
658
+ * The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.
659
+ *
660
+ */
661
+ maxPercentUnhealthyPartitionsPerService?: number;
662
+ /**
663
+ * The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.
664
+ *
665
+ */
666
+ maxPercentUnhealthyReplicasPerPartition?: number;
667
+ }
668
+
669
+ export declare interface ArmServiceTypeHealthPolicyOutput {
670
+ /**
671
+ * The maximum percentage of services allowed to be unhealthy before your application is considered in error.
672
+ *
673
+ */
674
+ maxPercentUnhealthyServices?: number;
675
+ /**
676
+ * The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.
677
+ *
678
+ */
679
+ maxPercentUnhealthyPartitionsPerService?: number;
680
+ /**
681
+ * The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.
682
+ *
683
+ */
684
+ maxPercentUnhealthyReplicasPerPartition?: number;
685
+ }
686
+
687
+ export declare interface AvailableOperationDisplayOutput {
688
+ /** The name of the provider. */
689
+ provider?: string;
690
+ /** The resource on which the operation is performed */
691
+ resource?: string;
692
+ /** The operation that can be performed. */
693
+ operation?: string;
694
+ /** Operation description */
695
+ description?: string;
696
+ }
697
+
698
+ export declare interface AzureActiveDirectory {
699
+ /** Azure active directory tenant id. */
700
+ tenantId?: string;
701
+ /** Azure active directory cluster application id. */
702
+ clusterApplication?: string;
703
+ /** Azure active directory client application id. */
704
+ clientApplication?: string;
705
+ }
706
+
707
+ export declare interface AzureActiveDirectoryOutput {
708
+ /** Azure active directory tenant id. */
709
+ tenantId?: string;
710
+ /** Azure active directory cluster application id. */
711
+ clusterApplication?: string;
712
+ /** Azure active directory client application id. */
713
+ clientApplication?: string;
714
+ }
715
+
716
+ export declare interface CertificateDescription {
717
+ /** Thumbprint of the primary certificate. */
718
+ thumbprint: string;
719
+ /** Thumbprint of the secondary certificate. */
720
+ thumbprintSecondary?: string;
721
+ /** The local certificate store location. */
722
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
723
+ }
724
+
725
+ export declare interface CertificateDescriptionOutput {
726
+ /** Thumbprint of the primary certificate. */
727
+ thumbprint: string;
728
+ /** Thumbprint of the secondary certificate. */
729
+ thumbprintSecondary?: string;
730
+ /** The local certificate store location. */
731
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
732
+ }
733
+
734
+ export declare interface ClientCertificateCommonName {
735
+ /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
736
+ isAdmin: boolean;
737
+ /** The common name of the client certificate. */
738
+ certificateCommonName: string;
739
+ /** The issuer thumbprint of the client certificate. */
740
+ certificateIssuerThumbprint: string;
741
+ }
742
+
743
+ export declare interface ClientCertificateCommonNameOutput {
744
+ /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
745
+ isAdmin: boolean;
746
+ /** The common name of the client certificate. */
747
+ certificateCommonName: string;
748
+ /** The issuer thumbprint of the client certificate. */
749
+ certificateIssuerThumbprint: string;
750
+ }
751
+
752
+ export declare interface ClientCertificateThumbprint {
753
+ /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
754
+ isAdmin: boolean;
755
+ /** The thumbprint of the client certificate. */
756
+ certificateThumbprint: string;
757
+ }
758
+
759
+ export declare interface ClientCertificateThumbprintOutput {
760
+ /** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
761
+ isAdmin: boolean;
762
+ /** The thumbprint of the client certificate. */
763
+ certificateThumbprint: string;
764
+ }
765
+
766
+ export declare interface Cluster extends Resource {
767
+ /** The cluster resource properties */
768
+ properties?: ClusterProperties;
769
+ }
770
+
771
+ export declare interface ClusterCodeVersionsListResultOutput {
772
+ value?: Array<ClusterCodeVersionsResultOutput>;
773
+ /** The URL to use for getting the next set of results. */
774
+ nextLink?: string;
775
+ }
776
+
777
+ export declare interface ClusterCodeVersionsResultOutput {
778
+ /** The identification of the result */
779
+ id?: string;
780
+ /** The name of the result */
781
+ name?: string;
782
+ /** The result resource type */
783
+ type?: string;
784
+ /** The detail of the Service Fabric runtime version result */
785
+ properties?: ClusterVersionDetailsOutput;
786
+ }
787
+
788
+ export declare interface ClusterHealthPolicy {
789
+ /**
790
+ * The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.
791
+ *
792
+ * The percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.
793
+ * If the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.
794
+ * The percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.
795
+ * The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
796
+ *
797
+ * In large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.
798
+ *
799
+ */
800
+ maxPercentUnhealthyNodes?: number;
801
+ /**
802
+ * The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.
803
+ *
804
+ * The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.
805
+ * If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.
806
+ * This is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.
807
+ * The computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.
808
+ *
809
+ */
810
+ maxPercentUnhealthyApplications?: number;
811
+ /** Defines the application health policy map used to evaluate the health of an application or one of its children entities. */
812
+ applicationHealthPolicies?: Record<string, ApplicationHealthPolicy>;
813
+ }
814
+
815
+ export declare interface ClusterHealthPolicyOutput {
816
+ /**
817
+ * The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.
818
+ *
819
+ * The percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.
820
+ * If the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.
821
+ * The percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.
822
+ * The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
823
+ *
824
+ * In large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.
825
+ *
826
+ */
827
+ maxPercentUnhealthyNodes?: number;
828
+ /**
829
+ * The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.
830
+ *
831
+ * The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.
832
+ * If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.
833
+ * This is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.
834
+ * The computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.
835
+ *
836
+ */
837
+ maxPercentUnhealthyApplications?: number;
838
+ /** Defines the application health policy map used to evaluate the health of an application or one of its children entities. */
839
+ applicationHealthPolicies?: Record<string, ApplicationHealthPolicyOutput>;
840
+ }
841
+
842
+ export declare interface ClusterListResultOutput {
843
+ value?: Array<ClusterOutput>;
844
+ /** The URL to use for getting the next set of results. */
845
+ nextLink?: string;
846
+ }
847
+
848
+ export declare interface ClusterOutput extends ResourceOutput {
849
+ /** The cluster resource properties */
850
+ properties?: ClusterPropertiesOutput;
851
+ }
852
+
853
+ export declare interface ClusterProperties {
854
+ /** The list of add-on features to enable in the cluster. */
855
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
856
+ /** The Service Fabric runtime versions available for this cluster. */
857
+ availableClusterVersions?: Array<ClusterVersionDetails>;
858
+ /** The AAD authentication settings of the cluster. */
859
+ azureActiveDirectory?: AzureActiveDirectory;
860
+ /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */
861
+ certificate?: CertificateDescription;
862
+ /** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
863
+ certificateCommonNames?: ServerCertificateCommonNames;
864
+ /** The list of client certificates referenced by common name that are allowed to manage the cluster. */
865
+ clientCertificateCommonNames?: Array<ClientCertificateCommonName>;
866
+ /** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. */
867
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprint>;
868
+ /** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */
869
+ clusterCodeVersion?: string;
870
+ /** The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. */
871
+ clusterEndpoint?: string;
872
+ /** A service generated unique identifier for the cluster resource. */
873
+ clusterId?: string;
874
+ /**
875
+ * The current state of the cluster.
876
+ *
877
+ * - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it.
878
+ * - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up.
879
+ * - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time.
880
+ * - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration.
881
+ * - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate.
882
+ * - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'.
883
+ * - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version.
884
+ * - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider.
885
+ * - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted.
886
+ * - Ready - Indicates that the cluster is in a stable state.
887
+ *
888
+ */
889
+ clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready";
890
+ /** The storage account information for storing Service Fabric diagnostic logs. */
891
+ diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig;
892
+ /** Indicates if the event store service is enabled. */
893
+ eventStoreServiceEnabled?: boolean;
894
+ /** The list of custom fabric settings to configure the cluster. */
895
+ fabricSettings?: Array<SettingsSectionDescription>;
896
+ /** The http management endpoint of the cluster. */
897
+ managementEndpoint: string;
898
+ /** The list of node types in the cluster. */
899
+ nodeTypes: Array<NodeTypeDescription>;
900
+ /** The provisioning state of the cluster resource. */
901
+ provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled";
902
+ /**
903
+ * The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
904
+ *
905
+ * - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.
906
+ * - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.
907
+ * - Silver - Run the System services with a target replica set count of 5.
908
+ * - Gold - Run the System services with a target replica set count of 7.
909
+ * - Platinum - Run the System services with a target replica set count of 9.
910
+ *
911
+ */
912
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
913
+ /** The server certificate used by reverse proxy. */
914
+ reverseProxyCertificate?: CertificateDescription;
915
+ /** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
916
+ reverseProxyCertificateCommonNames?: ServerCertificateCommonNames;
917
+ /** The policy to use when upgrading the cluster. */
918
+ upgradeDescription?: ClusterUpgradePolicy;
919
+ /** The upgrade mode of the cluster when new Service Fabric runtime version is available. */
920
+ upgradeMode?: "Automatic" | "Manual";
921
+ /** The policy used to clean up unused versions. */
922
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
923
+ /** The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. */
924
+ vmImage?: string;
925
+ /** This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. */
926
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
927
+ /** This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. */
928
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
929
+ /** Indicates if infrastructure service manager is enabled. */
930
+ infrastructureServiceManager?: boolean;
931
+ /** Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'. */
932
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
933
+ /** Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
934
+ upgradePauseStartTimestampUtc?: Date | string;
935
+ /** Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
936
+ upgradePauseEndTimestampUtc?: Date | string;
937
+ /** Boolean to pause automatic runtime version upgrades to the cluster. */
938
+ waveUpgradePaused?: boolean;
939
+ /** Indicates a list of notification channels for cluster events. */
940
+ notifications?: Array<Notification>;
941
+ }
942
+
943
+ export declare interface ClusterPropertiesOutput {
944
+ /** The list of add-on features to enable in the cluster. */
945
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
946
+ /** The Service Fabric runtime versions available for this cluster. */
947
+ availableClusterVersions?: Array<ClusterVersionDetailsOutput>;
948
+ /** The AAD authentication settings of the cluster. */
949
+ azureActiveDirectory?: AzureActiveDirectoryOutput;
950
+ /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */
951
+ certificate?: CertificateDescriptionOutput;
952
+ /** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
953
+ certificateCommonNames?: ServerCertificateCommonNamesOutput;
954
+ /** The list of client certificates referenced by common name that are allowed to manage the cluster. */
955
+ clientCertificateCommonNames?: Array<ClientCertificateCommonNameOutput>;
956
+ /** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. */
957
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprintOutput>;
958
+ /** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */
959
+ clusterCodeVersion?: string;
960
+ /** The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. */
961
+ clusterEndpoint?: string;
962
+ /** A service generated unique identifier for the cluster resource. */
963
+ clusterId?: string;
964
+ /**
965
+ * The current state of the cluster.
966
+ *
967
+ * - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it.
968
+ * - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up.
969
+ * - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time.
970
+ * - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration.
971
+ * - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate.
972
+ * - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'.
973
+ * - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version.
974
+ * - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider.
975
+ * - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted.
976
+ * - Ready - Indicates that the cluster is in a stable state.
977
+ *
978
+ */
979
+ clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready";
980
+ /** The storage account information for storing Service Fabric diagnostic logs. */
981
+ diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput;
982
+ /** Indicates if the event store service is enabled. */
983
+ eventStoreServiceEnabled?: boolean;
984
+ /** The list of custom fabric settings to configure the cluster. */
985
+ fabricSettings?: Array<SettingsSectionDescriptionOutput>;
986
+ /** The http management endpoint of the cluster. */
987
+ managementEndpoint: string;
988
+ /** The list of node types in the cluster. */
989
+ nodeTypes: Array<NodeTypeDescriptionOutput>;
990
+ /** The provisioning state of the cluster resource. */
991
+ provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled";
992
+ /**
993
+ * The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
994
+ *
995
+ * - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.
996
+ * - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.
997
+ * - Silver - Run the System services with a target replica set count of 5.
998
+ * - Gold - Run the System services with a target replica set count of 7.
999
+ * - Platinum - Run the System services with a target replica set count of 9.
1000
+ *
1001
+ */
1002
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
1003
+ /** The server certificate used by reverse proxy. */
1004
+ reverseProxyCertificate?: CertificateDescriptionOutput;
1005
+ /** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
1006
+ reverseProxyCertificateCommonNames?: ServerCertificateCommonNamesOutput;
1007
+ /** The policy to use when upgrading the cluster. */
1008
+ upgradeDescription?: ClusterUpgradePolicyOutput;
1009
+ /** The upgrade mode of the cluster when new Service Fabric runtime version is available. */
1010
+ upgradeMode?: "Automatic" | "Manual";
1011
+ /** The policy used to clean up unused versions. */
1012
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicyOutput;
1013
+ /** The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. */
1014
+ vmImage?: string;
1015
+ /** This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. */
1016
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
1017
+ /** This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. */
1018
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
1019
+ /** Indicates if infrastructure service manager is enabled. */
1020
+ infrastructureServiceManager?: boolean;
1021
+ /** Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'. */
1022
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
1023
+ /** Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
1024
+ upgradePauseStartTimestampUtc?: string;
1025
+ /** Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
1026
+ upgradePauseEndTimestampUtc?: string;
1027
+ /** Boolean to pause automatic runtime version upgrades to the cluster. */
1028
+ waveUpgradePaused?: boolean;
1029
+ /** Indicates a list of notification channels for cluster events. */
1030
+ notifications?: Array<NotificationOutput>;
1031
+ }
1032
+
1033
+ export declare interface ClusterPropertiesUpdateParameters {
1034
+ /** The list of add-on features to enable in the cluster. */
1035
+ addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
1036
+ /** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */
1037
+ certificate?: CertificateDescription;
1038
+ /** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
1039
+ certificateCommonNames?: ServerCertificateCommonNames;
1040
+ /** The list of client certificates referenced by common name that are allowed to manage the cluster. This will overwrite the existing list. */
1041
+ clientCertificateCommonNames?: Array<ClientCertificateCommonName>;
1042
+ /** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. This will overwrite the existing list. */
1043
+ clientCertificateThumbprints?: Array<ClientCertificateThumbprint>;
1044
+ /** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */
1045
+ clusterCodeVersion?: string;
1046
+ /** Indicates if the event store service is enabled. */
1047
+ eventStoreServiceEnabled?: boolean;
1048
+ /** The list of custom fabric settings to configure the cluster. This will overwrite the existing list. */
1049
+ fabricSettings?: Array<SettingsSectionDescription>;
1050
+ /** The list of node types in the cluster. This will overwrite the existing list. */
1051
+ nodeTypes?: Array<NodeTypeDescription>;
1052
+ /**
1053
+ * The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
1054
+ *
1055
+ * - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.
1056
+ * - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.
1057
+ * - Silver - Run the System services with a target replica set count of 5.
1058
+ * - Gold - Run the System services with a target replica set count of 7.
1059
+ * - Platinum - Run the System services with a target replica set count of 9.
1060
+ *
1061
+ */
1062
+ reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
1063
+ /** The server certificate used by reverse proxy. */
1064
+ reverseProxyCertificate?: CertificateDescription;
1065
+ /** The policy to use when upgrading the cluster. */
1066
+ upgradeDescription?: ClusterUpgradePolicy;
1067
+ /** The policy used to clean up unused versions. */
1068
+ applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
1069
+ /** The upgrade mode of the cluster when new Service Fabric runtime version is available. */
1070
+ upgradeMode?: "Automatic" | "Manual";
1071
+ /** This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. */
1072
+ sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
1073
+ /** This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. */
1074
+ vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
1075
+ /** Indicates if infrastructure service manager is enabled. */
1076
+ infrastructureServiceManager?: boolean;
1077
+ /** Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'. */
1078
+ upgradeWave?: "Wave0" | "Wave1" | "Wave2";
1079
+ /** The start timestamp to pause runtime version upgrades on the cluster (UTC). */
1080
+ upgradePauseStartTimestampUtc?: Date | string;
1081
+ /** The end timestamp of pause runtime version upgrades on the cluster (UTC). */
1082
+ upgradePauseEndTimestampUtc?: Date | string;
1083
+ /** Boolean to pause automatic runtime version upgrades to the cluster. */
1084
+ waveUpgradePaused?: boolean;
1085
+ /** Indicates a list of notification channels for cluster events. */
1086
+ notifications?: Array<Notification>;
1087
+ }
1088
+
1089
+ /** Create or update a Service Fabric cluster resource with the specified name. */
1090
+ export declare interface ClustersCreateOrUpdate200Response extends HttpResponse {
1091
+ status: "200";
1092
+ body: ClusterOutput;
1093
+ }
1094
+
1095
+ /** Create or update a Service Fabric cluster resource with the specified name. */
1096
+ export declare interface ClustersCreateOrUpdate202Response extends HttpResponse {
1097
+ status: "202";
1098
+ body: ClusterOutput;
1099
+ }
1100
+
1101
+ export declare interface ClustersCreateOrUpdateBodyParam {
1102
+ /** The cluster resource. */
1103
+ body: Cluster;
1104
+ }
1105
+
1106
+ /** Create or update a Service Fabric cluster resource with the specified name. */
1107
+ export declare interface ClustersCreateOrUpdatedefaultResponse extends HttpResponse {
1108
+ status: string;
1109
+ body: ErrorModelOutput;
1110
+ }
1111
+
1112
+ export declare interface ClustersCreateOrUpdateMediaTypesParam {
1113
+ /** Request content type */
1114
+ contentType?: "application/json";
1115
+ }
1116
+
1117
+ export declare type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesParam & ClustersCreateOrUpdateBodyParam & RequestParameters;
1118
+
1119
+ /** Delete a Service Fabric cluster resource with the specified name. */
1120
+ export declare interface ClustersDelete200Response extends HttpResponse {
1121
+ status: "200";
1122
+ body: Record<string, unknown>;
1123
+ }
1124
+
1125
+ /** Delete a Service Fabric cluster resource with the specified name. */
1126
+ export declare interface ClustersDelete204Response extends HttpResponse {
1127
+ status: "204";
1128
+ body: Record<string, unknown>;
1129
+ }
1130
+
1131
+ /** Delete a Service Fabric cluster resource with the specified name. */
1132
+ export declare interface ClustersDeletedefaultResponse extends HttpResponse {
1133
+ status: string;
1134
+ body: ErrorModelOutput;
1135
+ }
1136
+
1137
+ export declare type ClustersDeleteParameters = RequestParameters;
1138
+
1139
+ export declare interface ClustersGet {
1140
+ /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */
1141
+ get(options?: ClustersGetParameters): StreamableMethod<ClustersGet200Response | ClustersGetdefaultResponse>;
1142
+ /** Create or update a Service Fabric cluster resource with the specified name. */
1143
+ put(options: ClustersCreateOrUpdateParameters): StreamableMethod<ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdatedefaultResponse>;
1144
+ /** Update the configuration of a Service Fabric cluster resource with the specified name. */
1145
+ patch(options: ClustersUpdateParameters): StreamableMethod<ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse>;
1146
+ /** Delete a Service Fabric cluster resource with the specified name. */
1147
+ delete(options?: ClustersDeleteParameters): StreamableMethod<ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse>;
1148
+ }
1149
+
1150
+ /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */
1151
+ export declare interface ClustersGet200Response extends HttpResponse {
1152
+ status: "200";
1153
+ body: ClusterOutput;
1154
+ }
1155
+
1156
+ /** Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. */
1157
+ export declare interface ClustersGetdefaultResponse extends HttpResponse {
1158
+ status: string;
1159
+ body: ErrorModelOutput;
1160
+ }
1161
+
1162
+ export declare type ClustersGetParameters = RequestParameters;
1163
+
1164
+ export declare interface ClustersList {
1165
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the subscription. */
1166
+ get(options?: ClustersListParameters): StreamableMethod<ClustersList200Response | ClustersListdefaultResponse>;
1167
+ }
1168
+
1169
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the subscription. */
1170
+ export declare interface ClustersList200Response extends HttpResponse {
1171
+ status: "200";
1172
+ body: ClusterListResultOutput;
1173
+ }
1174
+
1175
+ export declare interface ClustersListByResourceGroup {
1176
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the resource group. */
1177
+ get(options?: ClustersListByResourceGroupParameters): StreamableMethod<ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse>;
1178
+ }
1179
+
1180
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the resource group. */
1181
+ export declare interface ClustersListByResourceGroup200Response extends HttpResponse {
1182
+ status: "200";
1183
+ body: ClusterListResultOutput;
1184
+ }
1185
+
1186
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the resource group. */
1187
+ export declare interface ClustersListByResourceGroupdefaultResponse extends HttpResponse {
1188
+ status: string;
1189
+ body: ErrorModelOutput;
1190
+ }
1191
+
1192
+ export declare type ClustersListByResourceGroupParameters = RequestParameters;
1193
+
1194
+ /** Gets all Service Fabric cluster resources created or in the process of being created in the subscription. */
1195
+ export declare interface ClustersListdefaultResponse extends HttpResponse {
1196
+ status: string;
1197
+ body: ErrorModelOutput;
1198
+ }
1199
+
1200
+ export declare type ClustersListParameters = RequestParameters;
1201
+
1202
+ export declare interface ClustersListUpgradableVersions {
1203
+ /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */
1204
+ post(options?: ClustersListUpgradableVersionsParameters): StreamableMethod<ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsdefaultResponse>;
1205
+ }
1206
+
1207
+ /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */
1208
+ export declare interface ClustersListUpgradableVersions200Response extends HttpResponse {
1209
+ status: "200";
1210
+ body: UpgradableVersionPathResultOutput;
1211
+ }
1212
+
1213
+ export declare interface ClustersListUpgradableVersionsBodyParam {
1214
+ /** The upgrade path description with target version. */
1215
+ body?: UpgradableVersionsDescription;
1216
+ }
1217
+
1218
+ /** If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. */
1219
+ export declare interface ClustersListUpgradableVersionsdefaultResponse extends HttpResponse {
1220
+ status: string;
1221
+ body: ErrorModelOutput;
1222
+ }
1223
+
1224
+ export declare interface ClustersListUpgradableVersionsMediaTypesParam {
1225
+ /** Request content type */
1226
+ contentType?: "application/json";
1227
+ }
1228
+
1229
+ export declare type ClustersListUpgradableVersionsParameters = ClustersListUpgradableVersionsMediaTypesParam & ClustersListUpgradableVersionsBodyParam & RequestParameters;
1230
+
1231
+ /** Update the configuration of a Service Fabric cluster resource with the specified name. */
1232
+ export declare interface ClustersUpdate200Response extends HttpResponse {
1233
+ status: "200";
1234
+ body: ClusterOutput;
1235
+ }
1236
+
1237
+ /** Update the configuration of a Service Fabric cluster resource with the specified name. */
1238
+ export declare interface ClustersUpdate202Response extends HttpResponse {
1239
+ status: "202";
1240
+ body: ClusterOutput;
1241
+ }
1242
+
1243
+ export declare interface ClustersUpdateBodyParam {
1244
+ /** The parameters which contains the property value and property name which used to update the cluster configuration. */
1245
+ body: ClusterUpdateParameters;
1246
+ }
1247
+
1248
+ /** Update the configuration of a Service Fabric cluster resource with the specified name. */
1249
+ export declare interface ClustersUpdatedefaultResponse extends HttpResponse {
1250
+ status: string;
1251
+ body: ErrorModelOutput;
1252
+ }
1253
+
1254
+ export declare interface ClustersUpdateMediaTypesParam {
1255
+ /** Request content type */
1256
+ contentType?: "application/json";
1257
+ }
1258
+
1259
+ export declare type ClustersUpdateParameters = ClustersUpdateMediaTypesParam & ClustersUpdateBodyParam & RequestParameters;
1260
+
1261
+ export declare interface ClusterUpdateParameters {
1262
+ /** Describes the cluster resource properties that can be updated during PATCH operation. */
1263
+ properties?: ClusterPropertiesUpdateParameters;
1264
+ /** Cluster update parameters */
1265
+ tags?: Record<string, string>;
1266
+ }
1267
+
1268
+ export declare interface ClusterUpgradeDeltaHealthPolicy {
1269
+ /**
1270
+ * The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.
1271
+ * The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.
1272
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
1273
+ *
1274
+ */
1275
+ maxPercentDeltaUnhealthyNodes: number;
1276
+ /**
1277
+ * The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.
1278
+ * The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.
1279
+ * The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.
1280
+ *
1281
+ */
1282
+ maxPercentUpgradeDomainDeltaUnhealthyNodes: number;
1283
+ /**
1284
+ * The maximum allowed percentage of applications health degradation allowed during cluster upgrades.
1285
+ * The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.
1286
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.
1287
+ *
1288
+ */
1289
+ maxPercentDeltaUnhealthyApplications: number;
1290
+ /** Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster. */
1291
+ applicationDeltaHealthPolicies?: Record<string, ApplicationDeltaHealthPolicy>;
1292
+ }
1293
+
1294
+ export declare interface ClusterUpgradeDeltaHealthPolicyOutput {
1295
+ /**
1296
+ * The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.
1297
+ * The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.
1298
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
1299
+ *
1300
+ */
1301
+ maxPercentDeltaUnhealthyNodes: number;
1302
+ /**
1303
+ * The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.
1304
+ * The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.
1305
+ * The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.
1306
+ *
1307
+ */
1308
+ maxPercentUpgradeDomainDeltaUnhealthyNodes: number;
1309
+ /**
1310
+ * The maximum allowed percentage of applications health degradation allowed during cluster upgrades.
1311
+ * The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.
1312
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.
1313
+ *
1314
+ */
1315
+ maxPercentDeltaUnhealthyApplications: number;
1316
+ /** Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster. */
1317
+ applicationDeltaHealthPolicies?: Record<string, ApplicationDeltaHealthPolicyOutput>;
1318
+ }
1319
+
1320
+ export declare interface ClusterUpgradePolicy {
1321
+ /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
1322
+ forceRestart?: boolean;
1323
+ /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1324
+ upgradeReplicaSetCheckTimeout: string;
1325
+ /** The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1326
+ healthCheckWaitDuration: string;
1327
+ /** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1328
+ healthCheckStableDuration: string;
1329
+ /** The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1330
+ healthCheckRetryTimeout: string;
1331
+ /** The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1332
+ upgradeTimeout: string;
1333
+ /** The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1334
+ upgradeDomainTimeout: string;
1335
+ /** The cluster health policy used when upgrading the cluster. */
1336
+ healthPolicy: ClusterHealthPolicy;
1337
+ /** The cluster delta health policy used when upgrading the cluster. */
1338
+ deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicy;
1339
+ }
1340
+
1341
+ export declare interface ClusterUpgradePolicyOutput {
1342
+ /** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
1343
+ forceRestart?: boolean;
1344
+ /** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1345
+ upgradeReplicaSetCheckTimeout: string;
1346
+ /** The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1347
+ healthCheckWaitDuration: string;
1348
+ /** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1349
+ healthCheckStableDuration: string;
1350
+ /** The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1351
+ healthCheckRetryTimeout: string;
1352
+ /** The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1353
+ upgradeTimeout: string;
1354
+ /** The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
1355
+ upgradeDomainTimeout: string;
1356
+ /** The cluster health policy used when upgrading the cluster. */
1357
+ healthPolicy: ClusterHealthPolicyOutput;
1358
+ /** The cluster delta health policy used when upgrading the cluster. */
1359
+ deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicyOutput;
1360
+ }
1361
+
1362
+ export declare interface ClusterVersionDetails {
1363
+ /** The Service Fabric runtime version of the cluster. */
1364
+ codeVersion?: string;
1365
+ /** The date of expiry of support of the version. */
1366
+ supportExpiryUtc?: string;
1367
+ /** Indicates if this version is for Windows or Linux operating system. */
1368
+ environment?: "Windows" | "Linux";
1369
+ }
1370
+
1371
+ export declare interface ClusterVersionDetailsOutput {
1372
+ /** The Service Fabric runtime version of the cluster. */
1373
+ codeVersion?: string;
1374
+ /** The date of expiry of support of the version. */
1375
+ supportExpiryUtc?: string;
1376
+ /** Indicates if this version is for Windows or Linux operating system. */
1377
+ environment?: "Windows" | "Linux";
1378
+ }
1379
+
1380
+ export declare interface ClusterVersionsGet {
1381
+ /** Gets information about an available Service Fabric cluster code version. */
1382
+ get(options?: ClusterVersionsGetParameters): StreamableMethod<ClusterVersionsGet200Response | ClusterVersionsGetdefaultResponse>;
1383
+ }
1384
+
1385
+ /** Gets information about an available Service Fabric cluster code version. */
1386
+ export declare interface ClusterVersionsGet200Response extends HttpResponse {
1387
+ status: "200";
1388
+ body: ClusterCodeVersionsListResultOutput;
1389
+ }
1390
+
1391
+ export declare interface ClusterVersionsGetByEnvironment {
1392
+ /** Gets information about an available Service Fabric cluster code version by environment. */
1393
+ get(options?: ClusterVersionsGetByEnvironmentParameters): StreamableMethod<ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentdefaultResponse>;
1394
+ }
1395
+
1396
+ /** Gets information about an available Service Fabric cluster code version by environment. */
1397
+ export declare interface ClusterVersionsGetByEnvironment200Response extends HttpResponse {
1398
+ status: "200";
1399
+ body: ClusterCodeVersionsListResultOutput;
1400
+ }
1401
+
1402
+ /** Gets information about an available Service Fabric cluster code version by environment. */
1403
+ export declare interface ClusterVersionsGetByEnvironmentdefaultResponse extends HttpResponse {
1404
+ status: string;
1405
+ body: ErrorModelOutput;
1406
+ }
1407
+
1408
+ export declare type ClusterVersionsGetByEnvironmentParameters = RequestParameters;
1409
+
1410
+ /** Gets information about an available Service Fabric cluster code version. */
1411
+ export declare interface ClusterVersionsGetdefaultResponse extends HttpResponse {
1412
+ status: string;
1413
+ body: ErrorModelOutput;
1414
+ }
1415
+
1416
+ export declare type ClusterVersionsGetParameters = RequestParameters;
1417
+
1418
+ export declare interface ClusterVersionsList {
1419
+ /** Gets all available code versions for Service Fabric cluster resources by location. */
1420
+ get(options?: ClusterVersionsListParameters): StreamableMethod<ClusterVersionsList200Response | ClusterVersionsListdefaultResponse>;
1421
+ }
1422
+
1423
+ /** Gets all available code versions for Service Fabric cluster resources by location. */
1424
+ export declare interface ClusterVersionsList200Response extends HttpResponse {
1425
+ status: "200";
1426
+ body: ClusterCodeVersionsListResultOutput;
1427
+ }
1428
+
1429
+ export declare interface ClusterVersionsListByEnvironment {
1430
+ /** Gets all available code versions for Service Fabric cluster resources by environment. */
1431
+ get(options?: ClusterVersionsListByEnvironmentParameters): StreamableMethod<ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentdefaultResponse>;
1432
+ }
1433
+
1434
+ /** Gets all available code versions for Service Fabric cluster resources by environment. */
1435
+ export declare interface ClusterVersionsListByEnvironment200Response extends HttpResponse {
1436
+ status: "200";
1437
+ body: ClusterCodeVersionsListResultOutput;
1438
+ }
1439
+
1440
+ /** Gets all available code versions for Service Fabric cluster resources by environment. */
1441
+ export declare interface ClusterVersionsListByEnvironmentdefaultResponse extends HttpResponse {
1442
+ status: string;
1443
+ body: ErrorModelOutput;
1444
+ }
1445
+
1446
+ export declare type ClusterVersionsListByEnvironmentParameters = RequestParameters;
1447
+
1448
+ /** Gets all available code versions for Service Fabric cluster resources by location. */
1449
+ export declare interface ClusterVersionsListdefaultResponse extends HttpResponse {
1450
+ status: string;
1451
+ body: ErrorModelOutput;
1452
+ }
1453
+
1454
+ export declare type ClusterVersionsListParameters = RequestParameters;
1455
+
1456
+ declare function createClient(credentials: TokenCredential, options?: ClientOptions): ServiceFabricClient;
1457
+ export default createClient;
1458
+
1459
+ export declare interface DiagnosticsStorageAccountConfig {
1460
+ /** The Azure storage account name. */
1461
+ storageAccountName: string;
1462
+ /** The protected diagnostics storage key name. */
1463
+ protectedAccountKeyName: string;
1464
+ /** The secondary protected diagnostics storage key name. If one of the storage account keys is rotated the cluster will fallback to using the other. */
1465
+ protectedAccountKeyName2?: string;
1466
+ /** The blob endpoint of the azure storage account. */
1467
+ blobEndpoint: string;
1468
+ /** The queue endpoint of the azure storage account. */
1469
+ queueEndpoint: string;
1470
+ /** The table endpoint of the azure storage account. */
1471
+ tableEndpoint: string;
1472
+ }
1473
+
1474
+ export declare interface DiagnosticsStorageAccountConfigOutput {
1475
+ /** The Azure storage account name. */
1476
+ storageAccountName: string;
1477
+ /** The protected diagnostics storage key name. */
1478
+ protectedAccountKeyName: string;
1479
+ /** The secondary protected diagnostics storage key name. If one of the storage account keys is rotated the cluster will fallback to using the other. */
1480
+ protectedAccountKeyName2?: string;
1481
+ /** The blob endpoint of the azure storage account. */
1482
+ blobEndpoint: string;
1483
+ /** The queue endpoint of the azure storage account. */
1484
+ queueEndpoint: string;
1485
+ /** The table endpoint of the azure storage account. */
1486
+ tableEndpoint: string;
1487
+ }
1488
+
1489
+ export declare interface EndpointRangeDescription {
1490
+ /** Starting port of a range of ports */
1491
+ startPort: number;
1492
+ /** End port of a range of ports */
1493
+ endPort: number;
1494
+ }
1495
+
1496
+ export declare interface EndpointRangeDescriptionOutput {
1497
+ /** Starting port of a range of ports */
1498
+ startPort: number;
1499
+ /** End port of a range of ports */
1500
+ endPort: number;
1501
+ }
1502
+
1503
+ export declare interface ErrorModelErrorOutput {
1504
+ /** The error code. */
1505
+ code?: string;
1506
+ /** The error message. */
1507
+ message?: string;
1508
+ }
1509
+
1510
+ export declare interface ErrorModelOutput {
1511
+ /** The error details. */
1512
+ error?: ErrorModelErrorOutput;
1513
+ }
1514
+
1515
+ /**
1516
+ * Helper type to extract the type of an array
1517
+ */
1518
+ export declare type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1519
+
1520
+ /**
1521
+ * Helper function that builds a Poller object to help polling a long running operation.
1522
+ * @param client - Client to use for sending the request to get additional pages.
1523
+ * @param initialResponse - The initial response.
1524
+ * @param options - Options to set a resume state or custom polling interval.
1525
+ * @returns - A poller object to poll for operation state updates and eventually get the final response.
1526
+ */
1527
+ export declare function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: LroEngineOptions<TResult, PollOperationState<TResult>>): PollerLike<PollOperationState<TResult>, TResult>;
1528
+
1529
+ /**
1530
+ * The type of a custom function that defines how to get a page and a link to the next one if any.
1531
+ */
1532
+ export declare type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
1533
+ page: TPage;
1534
+ nextPageLink?: string;
1535
+ }>;
1536
+
1537
+ export declare function isUnexpected(response: ClustersGet200Response | ClustersGetdefaultResponse): response is ClustersGetdefaultResponse;
1538
+
1539
+ export declare function isUnexpected(response: ClustersCreateOrUpdate200Response | ClustersCreateOrUpdate202Response | ClustersCreateOrUpdatedefaultResponse): response is ClustersCreateOrUpdatedefaultResponse;
1540
+
1541
+ export declare function isUnexpected(response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse): response is ClustersUpdatedefaultResponse;
1542
+
1543
+ export declare function isUnexpected(response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse): response is ClustersDeletedefaultResponse;
1544
+
1545
+ export declare function isUnexpected(response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse): response is ClustersListByResourceGroupdefaultResponse;
1546
+
1547
+ export declare function isUnexpected(response: ClustersList200Response | ClustersListdefaultResponse): response is ClustersListdefaultResponse;
1548
+
1549
+ export declare function isUnexpected(response: ClustersListUpgradableVersions200Response | ClustersListUpgradableVersionsdefaultResponse): response is ClustersListUpgradableVersionsdefaultResponse;
1550
+
1551
+ export declare function isUnexpected(response: ClusterVersionsGet200Response | ClusterVersionsGetdefaultResponse): response is ClusterVersionsGetdefaultResponse;
1552
+
1553
+ export declare function isUnexpected(response: ClusterVersionsGetByEnvironment200Response | ClusterVersionsGetByEnvironmentdefaultResponse): response is ClusterVersionsGetByEnvironmentdefaultResponse;
1554
+
1555
+ export declare function isUnexpected(response: ClusterVersionsList200Response | ClusterVersionsListdefaultResponse): response is ClusterVersionsListdefaultResponse;
1556
+
1557
+ export declare function isUnexpected(response: ClusterVersionsListByEnvironment200Response | ClusterVersionsListByEnvironmentdefaultResponse): response is ClusterVersionsListByEnvironmentdefaultResponse;
1558
+
1559
+ export declare function isUnexpected(response: OperationsList200Response | OperationsListdefaultResponse): response is OperationsListdefaultResponse;
1560
+
1561
+ export declare function isUnexpected(response: ApplicationTypesGet200Response | ApplicationTypesGetdefaultResponse): response is ApplicationTypesGetdefaultResponse;
1562
+
1563
+ export declare function isUnexpected(response: ApplicationTypesCreateOrUpdate200Response | ApplicationTypesCreateOrUpdatedefaultResponse): response is ApplicationTypesCreateOrUpdatedefaultResponse;
1564
+
1565
+ export declare function isUnexpected(response: ApplicationTypesDelete202Response | ApplicationTypesDelete204Response | ApplicationTypesDeletedefaultResponse): response is ApplicationTypesDeletedefaultResponse;
1566
+
1567
+ export declare function isUnexpected(response: ApplicationTypesList200Response | ApplicationTypesListdefaultResponse): response is ApplicationTypesListdefaultResponse;
1568
+
1569
+ export declare function isUnexpected(response: ApplicationTypeVersionsGet200Response | ApplicationTypeVersionsGetdefaultResponse): response is ApplicationTypeVersionsGetdefaultResponse;
1570
+
1571
+ export declare function isUnexpected(response: ApplicationTypeVersionsCreateOrUpdate202Response | ApplicationTypeVersionsCreateOrUpdatedefaultResponse): response is ApplicationTypeVersionsCreateOrUpdatedefaultResponse;
1572
+
1573
+ export declare function isUnexpected(response: ApplicationTypeVersionsDelete202Response | ApplicationTypeVersionsDelete204Response | ApplicationTypeVersionsDeletedefaultResponse): response is ApplicationTypeVersionsDeletedefaultResponse;
1574
+
1575
+ export declare function isUnexpected(response: ApplicationTypeVersionsList200Response | ApplicationTypeVersionsListdefaultResponse): response is ApplicationTypeVersionsListdefaultResponse;
1576
+
1577
+ export declare function isUnexpected(response: ApplicationsGet200Response | ApplicationsGetdefaultResponse): response is ApplicationsGetdefaultResponse;
1578
+
1579
+ export declare function isUnexpected(response: ApplicationsCreateOrUpdate202Response | ApplicationsCreateOrUpdatedefaultResponse): response is ApplicationsCreateOrUpdatedefaultResponse;
1580
+
1581
+ export declare function isUnexpected(response: ApplicationsUpdate202Response | ApplicationsUpdatedefaultResponse): response is ApplicationsUpdatedefaultResponse;
1582
+
1583
+ export declare function isUnexpected(response: ApplicationsDelete202Response | ApplicationsDelete204Response | ApplicationsDeletedefaultResponse): response is ApplicationsDeletedefaultResponse;
1584
+
1585
+ export declare function isUnexpected(response: ApplicationsList200Response | ApplicationsListdefaultResponse): response is ApplicationsListdefaultResponse;
1586
+
1587
+ export declare function isUnexpected(response: ServicesGet200Response | ServicesGetdefaultResponse): response is ServicesGetdefaultResponse;
1588
+
1589
+ export declare function isUnexpected(response: ServicesCreateOrUpdate202Response | ServicesCreateOrUpdatedefaultResponse): response is ServicesCreateOrUpdatedefaultResponse;
1590
+
1591
+ export declare function isUnexpected(response: ServicesUpdate202Response | ServicesUpdatedefaultResponse): response is ServicesUpdatedefaultResponse;
1592
+
1593
+ export declare function isUnexpected(response: ServicesDelete202Response | ServicesDelete204Response | ServicesDeletedefaultResponse): response is ServicesDeletedefaultResponse;
1594
+
1595
+ export declare function isUnexpected(response: ServicesList200Response | ServicesListdefaultResponse): response is ServicesListdefaultResponse;
1596
+
1597
+ export declare interface ManagedIdentity {
1598
+ /** The principal id of the managed identity. This property will only be provided for a system assigned identity. */
1599
+ principalId?: string;
1600
+ /** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */
1601
+ tenantId?: string;
1602
+ /** The type of managed identity for the resource. */
1603
+ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1604
+ /**
1605
+ * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
1606
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
1607
+ *
1608
+ */
1609
+ userAssignedIdentities?: Record<string, UserAssignedIdentity>;
1610
+ }
1611
+
1612
+ export declare interface ManagedIdentityOutput {
1613
+ /** The principal id of the managed identity. This property will only be provided for a system assigned identity. */
1614
+ principalId?: string;
1615
+ /** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */
1616
+ tenantId?: string;
1617
+ /** The type of managed identity for the resource. */
1618
+ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1619
+ /**
1620
+ * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
1621
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
1622
+ *
1623
+ */
1624
+ userAssignedIdentities?: Record<string, UserAssignedIdentityOutput>;
1625
+ }
1626
+
1627
+ export declare interface NamedPartitionSchemeDescription extends PartitionSchemeDescriptionParent {
1628
+ /** The number of partitions. */
1629
+ count: number;
1630
+ /** Array of size specified by the ‘count’ parameter, for the names of the partitions. */
1631
+ names: Array<string>;
1632
+ partitionScheme: "Named";
1633
+ }
1634
+
1635
+ export declare interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
1636
+ /** The number of partitions. */
1637
+ count: number;
1638
+ /** Array of size specified by the ‘count’ parameter, for the names of the partitions. */
1639
+ names: Array<string>;
1640
+ partitionScheme: "Named";
1641
+ }
1642
+
1643
+ export declare interface NodeTypeDescription {
1644
+ /** The name of the node type. */
1645
+ name: string;
1646
+ /** The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run. */
1647
+ placementProperties?: Record<string, string>;
1648
+ /** The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has. */
1649
+ capacities?: Record<string, string>;
1650
+ /** The TCP cluster management endpoint port. */
1651
+ clientConnectionEndpointPort: number;
1652
+ /** The HTTP cluster management endpoint port. */
1653
+ httpGatewayEndpointPort: number;
1654
+ /**
1655
+ * The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
1656
+ *
1657
+ * - Bronze - No privileges. This is the default.
1658
+ * - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.
1659
+ * - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.
1660
+ *
1661
+ */
1662
+ durabilityLevel?: "Bronze" | "Silver" | "Gold";
1663
+ /** The range of ports from which cluster assigned port to Service Fabric applications. */
1664
+ applicationPorts?: EndpointRangeDescription;
1665
+ /** The range of ephemeral ports that nodes in this node type should be configured with. */
1666
+ ephemeralPorts?: EndpointRangeDescription;
1667
+ /** The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters. */
1668
+ isPrimary: boolean;
1669
+ /** VMInstanceCount should be 1 to n, where n indicates the number of VM instances corresponding to this nodeType. VMInstanceCount = 0 can be done only in these scenarios: NodeType is a secondary nodeType. Durability = Bronze or Durability >= Bronze and InfrastructureServiceManager = true. If VMInstanceCount = 0, implies the VMs for this nodeType will not be used for the initial cluster size computation. */
1670
+ vmInstanceCount: number;
1671
+ /** The endpoint used by reverse proxy. */
1672
+ reverseProxyEndpointPort?: number;
1673
+ /** Indicates if the node type can only host Stateless workloads. */
1674
+ isStateless?: boolean;
1675
+ /** Indicates if the node type is enabled to support multiple zones. */
1676
+ multipleAvailabilityZones?: boolean;
1677
+ }
1678
+
1679
+ export declare interface NodeTypeDescriptionOutput {
1680
+ /** The name of the node type. */
1681
+ name: string;
1682
+ /** The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run. */
1683
+ placementProperties?: Record<string, string>;
1684
+ /** The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has. */
1685
+ capacities?: Record<string, string>;
1686
+ /** The TCP cluster management endpoint port. */
1687
+ clientConnectionEndpointPort: number;
1688
+ /** The HTTP cluster management endpoint port. */
1689
+ httpGatewayEndpointPort: number;
1690
+ /**
1691
+ * The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
1692
+ *
1693
+ * - Bronze - No privileges. This is the default.
1694
+ * - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.
1695
+ * - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.
1696
+ *
1697
+ */
1698
+ durabilityLevel?: "Bronze" | "Silver" | "Gold";
1699
+ /** The range of ports from which cluster assigned port to Service Fabric applications. */
1700
+ applicationPorts?: EndpointRangeDescriptionOutput;
1701
+ /** The range of ephemeral ports that nodes in this node type should be configured with. */
1702
+ ephemeralPorts?: EndpointRangeDescriptionOutput;
1703
+ /** The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters. */
1704
+ isPrimary: boolean;
1705
+ /** VMInstanceCount should be 1 to n, where n indicates the number of VM instances corresponding to this nodeType. VMInstanceCount = 0 can be done only in these scenarios: NodeType is a secondary nodeType. Durability = Bronze or Durability >= Bronze and InfrastructureServiceManager = true. If VMInstanceCount = 0, implies the VMs for this nodeType will not be used for the initial cluster size computation. */
1706
+ vmInstanceCount: number;
1707
+ /** The endpoint used by reverse proxy. */
1708
+ reverseProxyEndpointPort?: number;
1709
+ /** Indicates if the node type can only host Stateless workloads. */
1710
+ isStateless?: boolean;
1711
+ /** Indicates if the node type is enabled to support multiple zones. */
1712
+ multipleAvailabilityZones?: boolean;
1713
+ }
1714
+
1715
+ export declare interface Notification {
1716
+ /** Indicates if the notification is enabled. */
1717
+ isEnabled: boolean;
1718
+ /** The category of notification. */
1719
+ notificationCategory: "WaveProgress";
1720
+ /** The level of notification. */
1721
+ notificationLevel: "Critical" | "All";
1722
+ /** List of targets that subscribe to the notification. */
1723
+ notificationTargets: Array<NotificationTarget>;
1724
+ }
1725
+
1726
+ export declare interface NotificationOutput {
1727
+ /** Indicates if the notification is enabled. */
1728
+ isEnabled: boolean;
1729
+ /** The category of notification. */
1730
+ notificationCategory: "WaveProgress";
1731
+ /** The level of notification. */
1732
+ notificationLevel: "Critical" | "All";
1733
+ /** List of targets that subscribe to the notification. */
1734
+ notificationTargets: Array<NotificationTargetOutput>;
1735
+ }
1736
+
1737
+ export declare interface NotificationTarget {
1738
+ /** The notification channel indicates the type of receivers subscribed to the notification, either user or subscription. */
1739
+ notificationChannel: "EmailUser" | "EmailSubscription";
1740
+ /** List of targets that subscribe to the notification. */
1741
+ receivers: Array<string>;
1742
+ }
1743
+
1744
+ export declare interface NotificationTargetOutput {
1745
+ /** The notification channel indicates the type of receivers subscribed to the notification, either user or subscription. */
1746
+ notificationChannel: "EmailUser" | "EmailSubscription";
1747
+ /** List of targets that subscribe to the notification. */
1748
+ receivers: Array<string>;
1749
+ }
1750
+
1751
+ export declare interface OperationListResultOutput {
1752
+ /** List of operations supported by the Service Fabric resource provider. */
1753
+ value?: Array<OperationResultOutput>;
1754
+ /** URL to get the next set of operation list results if there are any. */
1755
+ nextLink?: string;
1756
+ }
1757
+
1758
+ export declare interface OperationResultOutput {
1759
+ /** The name of the operation. */
1760
+ name?: string;
1761
+ /** Indicates whether the operation is a data action */
1762
+ isDataAction?: boolean;
1763
+ /** The object that represents the operation. */
1764
+ display?: AvailableOperationDisplayOutput;
1765
+ /** Origin result */
1766
+ origin?: string;
1767
+ /** The URL to use for getting the next set of results. */
1768
+ nextLink?: string;
1769
+ }
1770
+
1771
+ export declare interface OperationsList {
1772
+ /** Get the list of available Service Fabric resource provider API operations. */
1773
+ get(options?: OperationsListParameters): StreamableMethod<OperationsList200Response | OperationsListdefaultResponse>;
1774
+ }
1775
+
1776
+ /** Get the list of available Service Fabric resource provider API operations. */
1777
+ export declare interface OperationsList200Response extends HttpResponse {
1778
+ status: "200";
1779
+ body: OperationListResultOutput;
1780
+ }
1781
+
1782
+ /** Get the list of available Service Fabric resource provider API operations. */
1783
+ export declare interface OperationsListdefaultResponse extends HttpResponse {
1784
+ status: string;
1785
+ body: ErrorModelOutput;
1786
+ }
1787
+
1788
+ export declare type OperationsListParameters = RequestParameters;
1789
+
1790
+ /**
1791
+ * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
1792
+ * @param client - Client to use for sending the next page requests
1793
+ * @param initialResponse - Initial response containing the nextLink and current page of elements
1794
+ * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
1795
+ * @returns - PagedAsyncIterableIterator to iterate the elements
1796
+ */
1797
+ export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1798
+
1799
+ /**
1800
+ * Helper type to infer the Type of the paged elements from the response type
1801
+ * This type is generated based on the swagger information for x-ms-pageable
1802
+ * specifically on the itemName property which indicates the property of the response
1803
+ * where the page items are found. The default value is `value`.
1804
+ * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
1805
+ */
1806
+ export declare type PaginateReturn<TResult> = TResult extends {
1807
+ body: {
1808
+ value?: infer TPage;
1809
+ };
1810
+ } ? GetArrayType<TPage> : Array<unknown>;
1811
+
1812
+ /**
1813
+ * Options for the paging helper
1814
+ */
1815
+ export declare interface PagingOptions<TResponse> {
1816
+ /**
1817
+ * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
1818
+ */
1819
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1820
+ }
1821
+
1822
+ export declare type PartitionSchemeDescription = NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription;
1823
+
1824
+ export declare type PartitionSchemeDescriptionOutput = NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput;
1825
+
1826
+ export declare interface PartitionSchemeDescriptionOutputParent {
1827
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1828
+ }
1829
+
1830
+ export declare interface PartitionSchemeDescriptionParent {
1831
+ partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
1832
+ }
1833
+
1834
+ export declare interface ProxyResource {
1835
+ /** Azure resource identifier. */
1836
+ id?: string;
1837
+ /** Azure resource name. */
1838
+ name?: string;
1839
+ /** Azure resource type. */
1840
+ type?: string;
1841
+ /** It will be deprecated in New API, resource location depends on the parent resource. */
1842
+ location?: string;
1843
+ /** Azure resource tags. */
1844
+ tags?: Record<string, string>;
1845
+ /** Azure resource etag. */
1846
+ etag?: string;
1847
+ /** Metadata pertaining to creation and last modification of the resource. */
1848
+ systemData?: SystemData;
1849
+ }
1850
+
1851
+ export declare interface ProxyResourceOutput {
1852
+ /** Azure resource identifier. */
1853
+ id?: string;
1854
+ /** Azure resource name. */
1855
+ name?: string;
1856
+ /** Azure resource type. */
1857
+ type?: string;
1858
+ /** It will be deprecated in New API, resource location depends on the parent resource. */
1859
+ location?: string;
1860
+ /** Azure resource tags. */
1861
+ tags?: Record<string, string>;
1862
+ /** Azure resource etag. */
1863
+ etag?: string;
1864
+ /** Metadata pertaining to creation and last modification of the resource. */
1865
+ systemData?: SystemDataOutput;
1866
+ }
1867
+
1868
+ export declare interface Resource {
1869
+ /** Azure resource identifier. */
1870
+ id?: string;
1871
+ /** Azure resource name. */
1872
+ name?: string;
1873
+ /** Azure resource type. */
1874
+ type?: string;
1875
+ /** Azure resource location. */
1876
+ location: string;
1877
+ /** Azure resource tags. */
1878
+ tags?: Record<string, string>;
1879
+ /** Azure resource etag. */
1880
+ etag?: string;
1881
+ /** Metadata pertaining to creation and last modification of the resource. */
1882
+ systemData?: SystemData;
1883
+ }
1884
+
1885
+ export declare interface ResourceOutput {
1886
+ /** Azure resource identifier. */
1887
+ id?: string;
1888
+ /** Azure resource name. */
1889
+ name?: string;
1890
+ /** Azure resource type. */
1891
+ type?: string;
1892
+ /** Azure resource location. */
1893
+ location: string;
1894
+ /** Azure resource tags. */
1895
+ tags?: Record<string, string>;
1896
+ /** Azure resource etag. */
1897
+ etag?: string;
1898
+ /** Metadata pertaining to creation and last modification of the resource. */
1899
+ systemData?: SystemDataOutput;
1900
+ }
1901
+
1902
+ export declare interface Routes {
1903
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}' has methods for the following verbs: get, put, patch, delete */
1904
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersGet;
1905
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourcegroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters' has methods for the following verbs: get */
1906
+ (path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string, resourceGroupName: string): ClustersListByResourceGroup;
1907
+ /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.ServiceFabric/clusters' has methods for the following verbs: get */
1908
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string): ClustersList;
1909
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/listUpgradableVersions' has methods for the following verbs: post */
1910
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersListUpgradableVersions;
1911
+ /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.ServiceFabric/locations/\{location\}/clusterVersions/\{clusterVersion\}' has methods for the following verbs: get */
1912
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, clusterVersion: string): ClusterVersionsGet;
1913
+ /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.ServiceFabric/locations/\{location\}/environments/\{environment\}/clusterVersions/\{clusterVersion\}' has methods for the following verbs: get */
1914
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}", subscriptionId: string, location: string, environment: "Windows" | "Linux", clusterVersion: string): ClusterVersionsGetByEnvironment;
1915
+ /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.ServiceFabric/locations/\{location\}/clusterVersions' has methods for the following verbs: get */
1916
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions", subscriptionId: string, location: string): ClusterVersionsList;
1917
+ /** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.ServiceFabric/locations/\{location\}/environments/\{environment\}/clusterVersions' has methods for the following verbs: get */
1918
+ (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions", subscriptionId: string, location: string, environment: "Windows" | "Linux"): ClusterVersionsListByEnvironment;
1919
+ /** Resource for '/providers/Microsoft.ServiceFabric/operations' has methods for the following verbs: get */
1920
+ (path: "/providers/Microsoft.ServiceFabric/operations"): OperationsList;
1921
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applicationTypes/\{applicationTypeName\}' has methods for the following verbs: get, put, delete */
1922
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypesGet;
1923
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applicationTypes' has methods for the following verbs: get */
1924
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationTypesList;
1925
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applicationTypes/\{applicationTypeName\}/versions/\{version\}' has methods for the following verbs: get, put, delete */
1926
+ (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;
1927
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applicationTypes/\{applicationTypeName\}/versions' has methods for the following verbs: get */
1928
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationTypeName: string): ApplicationTypeVersionsList;
1929
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applications/\{applicationName\}' has methods for the following verbs: get, put, patch, delete */
1930
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ApplicationsGet;
1931
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applications' has methods for the following verbs: get */
1932
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications", subscriptionId: string, resourceGroupName: string, clusterName: string): ApplicationsList;
1933
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applications/\{applicationName\}/services/\{serviceName\}' has methods for the following verbs: get, put, patch, delete */
1934
+ (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;
1935
+ /** Resource for '/subscriptions/\{subscriptionId\}/resourceGroups/\{resourceGroupName\}/providers/Microsoft.ServiceFabric/clusters/\{clusterName\}/applications/\{applicationName\}/services' has methods for the following verbs: get */
1936
+ (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services", subscriptionId: string, resourceGroupName: string, clusterName: string, applicationName: string): ServicesList;
1937
+ }
1938
+
1939
+ export declare interface ServerCertificateCommonName {
1940
+ /** The common name of the server certificate. */
1941
+ certificateCommonName: string;
1942
+ /** The issuer thumbprint of the server certificate. */
1943
+ certificateIssuerThumbprint: string;
1944
+ }
1945
+
1946
+ export declare interface ServerCertificateCommonNameOutput {
1947
+ /** The common name of the server certificate. */
1948
+ certificateCommonName: string;
1949
+ /** The issuer thumbprint of the server certificate. */
1950
+ certificateIssuerThumbprint: string;
1951
+ }
1952
+
1953
+ export declare interface ServerCertificateCommonNames {
1954
+ /** The list of server certificates referenced by common name that are used to secure the cluster. */
1955
+ commonNames?: Array<ServerCertificateCommonName>;
1956
+ /** The local certificate store location. */
1957
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1958
+ }
1959
+
1960
+ export declare interface ServerCertificateCommonNamesOutput {
1961
+ /** The list of server certificates referenced by common name that are used to secure the cluster. */
1962
+ commonNames?: Array<ServerCertificateCommonNameOutput>;
1963
+ /** The local certificate store location. */
1964
+ x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
1965
+ }
1966
+
1967
+ export declare interface ServiceCorrelationDescription {
1968
+ /** The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */
1969
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1970
+ /** The name of the service that the correlation relationship is established with. */
1971
+ serviceName: string;
1972
+ }
1973
+
1974
+ export declare interface ServiceCorrelationDescriptionOutput {
1975
+ /** The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */
1976
+ scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
1977
+ /** The name of the service that the correlation relationship is established with. */
1978
+ serviceName: string;
1979
+ }
1980
+
1981
+ export declare type ServiceFabricClient = Client & {
1982
+ path: Routes;
1983
+ };
1984
+
1985
+ export declare interface ServiceLoadMetricDescription {
1986
+ /** The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. */
1987
+ name: string;
1988
+ /** The service load metric relative weight, compared to other metrics configured for this service, as a number. */
1989
+ weight?: "Zero" | "Low" | "Medium" | "High";
1990
+ /** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica. */
1991
+ primaryDefaultLoad?: number;
1992
+ /** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. */
1993
+ secondaryDefaultLoad?: number;
1994
+ /** Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric. */
1995
+ defaultLoad?: number;
1996
+ }
1997
+
1998
+ export declare interface ServiceLoadMetricDescriptionOutput {
1999
+ /** The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. */
2000
+ name: string;
2001
+ /** The service load metric relative weight, compared to other metrics configured for this service, as a number. */
2002
+ weight?: "Zero" | "Low" | "Medium" | "High";
2003
+ /** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica. */
2004
+ primaryDefaultLoad?: number;
2005
+ /** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. */
2006
+ secondaryDefaultLoad?: number;
2007
+ /** Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric. */
2008
+ defaultLoad?: number;
2009
+ }
2010
+
2011
+ export declare interface ServicePlacementPolicyDescription {
2012
+ type: "ServicePlacementPolicyDescription";
2013
+ }
2014
+
2015
+ export declare interface ServicePlacementPolicyDescriptionOutput {
2016
+ type: "ServicePlacementPolicyDescription";
2017
+ }
2018
+
2019
+ export declare interface ServiceResource extends ProxyResource {
2020
+ /** The service resource properties. */
2021
+ properties?: ServiceResourceProperties;
2022
+ }
2023
+
2024
+ export declare interface ServiceResourceListOutput {
2025
+ value?: Array<ServiceResourceOutput>;
2026
+ /** URL to get the next set of service list results if there are any. */
2027
+ nextLink?: string;
2028
+ }
2029
+
2030
+ export declare interface ServiceResourceOutput extends ProxyResourceOutput {
2031
+ /** The service resource properties. */
2032
+ properties?: ServiceResourcePropertiesOutput;
2033
+ }
2034
+
2035
+ export declare type ServiceResourceProperties = StatefulServiceProperties | StatelessServiceProperties;
2036
+
2037
+ export declare interface ServiceResourcePropertiesBase {
2038
+ /** The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". */
2039
+ placementConstraints?: string;
2040
+ /** A list that describes the correlation of the service with other services. */
2041
+ correlationScheme?: Array<ServiceCorrelationDescription>;
2042
+ /** The service load metrics is given as an array of ServiceLoadMetricDescription objects. */
2043
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescription>;
2044
+ /** A list that describes the correlation of the service with other services. */
2045
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescription>;
2046
+ /** Specifies the move cost for the service. */
2047
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
2048
+ }
2049
+
2050
+ export declare interface ServiceResourcePropertiesBaseOutput {
2051
+ /** The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". */
2052
+ placementConstraints?: string;
2053
+ /** A list that describes the correlation of the service with other services. */
2054
+ correlationScheme?: Array<ServiceCorrelationDescriptionOutput>;
2055
+ /** The service load metrics is given as an array of ServiceLoadMetricDescription objects. */
2056
+ serviceLoadMetrics?: Array<ServiceLoadMetricDescriptionOutput>;
2057
+ /** A list that describes the correlation of the service with other services. */
2058
+ servicePlacementPolicies?: Array<ServicePlacementPolicyDescriptionOutput>;
2059
+ /** Specifies the move cost for the service. */
2060
+ defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
2061
+ }
2062
+
2063
+ export declare type ServiceResourcePropertiesOutput = StatefulServicePropertiesOutput | StatelessServicePropertiesOutput;
2064
+
2065
+ export declare interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
2066
+ /** The current deployment or provisioning state, which only appears in the response */
2067
+ provisioningState?: string;
2068
+ /** The name of the service type */
2069
+ serviceTypeName?: string;
2070
+ /** Describes how the service is partitioned. */
2071
+ partitionDescription?: PartitionSchemeDescriptionOutput;
2072
+ /** The activation Mode of the service package */
2073
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
2074
+ /** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
2075
+ serviceDnsName?: string;
2076
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
2077
+ }
2078
+
2079
+ export declare interface ServiceResourcePropertiesParent extends ServiceResourcePropertiesBase {
2080
+ /** The current deployment or provisioning state, which only appears in the response */
2081
+ provisioningState?: string;
2082
+ /** The name of the service type */
2083
+ serviceTypeName?: string;
2084
+ /** Describes how the service is partitioned. */
2085
+ partitionDescription?: PartitionSchemeDescription;
2086
+ /** The activation Mode of the service package */
2087
+ servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
2088
+ /** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
2089
+ serviceDnsName?: string;
2090
+ serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
2091
+ }
2092
+
2093
+ export declare interface ServiceResourceUpdate extends ProxyResource {
2094
+ /** The service resource properties for patch operations. */
2095
+ properties?: ServiceResourceUpdateProperties;
2096
+ }
2097
+
2098
+ export declare interface ServiceResourceUpdateOutput extends ProxyResourceOutput {
2099
+ /** The service resource properties for patch operations. */
2100
+ properties?: ServiceResourceUpdatePropertiesOutput;
2101
+ }
2102
+
2103
+ export declare type ServiceResourceUpdateProperties = StatefulServiceUpdateProperties | StatelessServiceUpdateProperties;
2104
+
2105
+ export declare type ServiceResourceUpdatePropertiesOutput = StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput;
2106
+
2107
+ export declare interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
2108
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
2109
+ }
2110
+
2111
+ export declare interface ServiceResourceUpdatePropertiesParent extends ServiceResourcePropertiesBase {
2112
+ serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
2113
+ }
2114
+
2115
+ /** Create or update a Service Fabric service resource with the specified name. */
2116
+ export declare interface ServicesCreateOrUpdate202Response extends HttpResponse {
2117
+ status: "202";
2118
+ body: ServiceResourceOutput;
2119
+ }
2120
+
2121
+ export declare interface ServicesCreateOrUpdateBodyParam {
2122
+ /** The service resource. */
2123
+ body: ServiceResource;
2124
+ }
2125
+
2126
+ /** Create or update a Service Fabric service resource with the specified name. */
2127
+ export declare interface ServicesCreateOrUpdatedefaultResponse extends HttpResponse {
2128
+ status: string;
2129
+ body: ErrorModelOutput;
2130
+ }
2131
+
2132
+ export declare interface ServicesCreateOrUpdateMediaTypesParam {
2133
+ /** Request content type */
2134
+ contentType?: "application/json";
2135
+ }
2136
+
2137
+ export declare type ServicesCreateOrUpdateParameters = ServicesCreateOrUpdateMediaTypesParam & ServicesCreateOrUpdateBodyParam & RequestParameters;
2138
+
2139
+ /** Delete a Service Fabric service resource with the specified name. */
2140
+ export declare interface ServicesDelete202Response extends HttpResponse {
2141
+ status: "202";
2142
+ body: Record<string, unknown>;
2143
+ }
2144
+
2145
+ /** Delete a Service Fabric service resource with the specified name. */
2146
+ export declare interface ServicesDelete204Response extends HttpResponse {
2147
+ status: "204";
2148
+ body: Record<string, unknown>;
2149
+ }
2150
+
2151
+ /** Delete a Service Fabric service resource with the specified name. */
2152
+ export declare interface ServicesDeletedefaultResponse extends HttpResponse {
2153
+ status: string;
2154
+ body: ErrorModelOutput;
2155
+ }
2156
+
2157
+ export declare type ServicesDeleteParameters = RequestParameters;
2158
+
2159
+ export declare interface ServicesGet {
2160
+ /** Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. */
2161
+ get(options?: ServicesGetParameters): StreamableMethod<ServicesGet200Response | ServicesGetdefaultResponse>;
2162
+ /** Create or update a Service Fabric service resource with the specified name. */
2163
+ put(options: ServicesCreateOrUpdateParameters): StreamableMethod<ServicesCreateOrUpdate202Response | ServicesCreateOrUpdatedefaultResponse>;
2164
+ /** Update a Service Fabric service resource with the specified name. */
2165
+ patch(options: ServicesUpdateParameters): StreamableMethod<ServicesUpdate202Response | ServicesUpdatedefaultResponse>;
2166
+ /** Delete a Service Fabric service resource with the specified name. */
2167
+ delete(options?: ServicesDeleteParameters): StreamableMethod<ServicesDelete202Response | ServicesDelete204Response | ServicesDeletedefaultResponse>;
2168
+ }
2169
+
2170
+ /** Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. */
2171
+ export declare interface ServicesGet200Response extends HttpResponse {
2172
+ status: "200";
2173
+ body: ServiceResourceOutput;
2174
+ }
2175
+
2176
+ /** Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. */
2177
+ export declare interface ServicesGetdefaultResponse extends HttpResponse {
2178
+ status: string;
2179
+ body: ErrorModelOutput;
2180
+ }
2181
+
2182
+ export declare type ServicesGetParameters = RequestParameters;
2183
+
2184
+ export declare interface ServicesList {
2185
+ /** Gets all service resources created or in the process of being created in the Service Fabric application resource. */
2186
+ get(options?: ServicesListParameters): StreamableMethod<ServicesList200Response | ServicesListdefaultResponse>;
2187
+ }
2188
+
2189
+ /** Gets all service resources created or in the process of being created in the Service Fabric application resource. */
2190
+ export declare interface ServicesList200Response extends HttpResponse {
2191
+ status: "200";
2192
+ body: ServiceResourceListOutput;
2193
+ }
2194
+
2195
+ /** Gets all service resources created or in the process of being created in the Service Fabric application resource. */
2196
+ export declare interface ServicesListdefaultResponse extends HttpResponse {
2197
+ status: string;
2198
+ body: ErrorModelOutput;
2199
+ }
2200
+
2201
+ export declare type ServicesListParameters = RequestParameters;
2202
+
2203
+ /** Update a Service Fabric service resource with the specified name. */
2204
+ export declare interface ServicesUpdate202Response extends HttpResponse {
2205
+ status: "202";
2206
+ body: ServiceResourceOutput;
2207
+ }
2208
+
2209
+ export declare interface ServicesUpdateBodyParam {
2210
+ /** The service resource for patch operations. */
2211
+ body: ServiceResourceUpdate;
2212
+ }
2213
+
2214
+ /** Update a Service Fabric service resource with the specified name. */
2215
+ export declare interface ServicesUpdatedefaultResponse extends HttpResponse {
2216
+ status: string;
2217
+ body: ErrorModelOutput;
2218
+ }
2219
+
2220
+ export declare interface ServicesUpdateMediaTypesParam {
2221
+ /** Request content type */
2222
+ contentType?: "application/json";
2223
+ }
2224
+
2225
+ export declare type ServicesUpdateParameters = ServicesUpdateMediaTypesParam & ServicesUpdateBodyParam & RequestParameters;
2226
+
2227
+ export declare interface ServiceTypeDeltaHealthPolicy {
2228
+ /**
2229
+ * The maximum allowed percentage of services health degradation allowed during cluster upgrades.
2230
+ * The delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation.
2231
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
2232
+ *
2233
+ */
2234
+ maxPercentDeltaUnhealthyServices?: number;
2235
+ }
2236
+
2237
+ export declare interface ServiceTypeDeltaHealthPolicyOutput {
2238
+ /**
2239
+ * The maximum allowed percentage of services health degradation allowed during cluster upgrades.
2240
+ * The delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation.
2241
+ * The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
2242
+ *
2243
+ */
2244
+ maxPercentDeltaUnhealthyServices?: number;
2245
+ }
2246
+
2247
+ export declare interface ServiceTypeHealthPolicy {
2248
+ /**
2249
+ * The maximum percentage of services allowed to be unhealthy before your application is considered in error.
2250
+ *
2251
+ */
2252
+ maxPercentUnhealthyServices?: number;
2253
+ }
2254
+
2255
+ export declare interface ServiceTypeHealthPolicyOutput {
2256
+ /**
2257
+ * The maximum percentage of services allowed to be unhealthy before your application is considered in error.
2258
+ *
2259
+ */
2260
+ maxPercentUnhealthyServices?: number;
2261
+ }
2262
+
2263
+ export declare interface SettingsParameterDescription {
2264
+ /** The parameter name of fabric setting. */
2265
+ name: string;
2266
+ /** The parameter value of fabric setting. */
2267
+ value: string;
2268
+ }
2269
+
2270
+ export declare interface SettingsParameterDescriptionOutput {
2271
+ /** The parameter name of fabric setting. */
2272
+ name: string;
2273
+ /** The parameter value of fabric setting. */
2274
+ value: string;
2275
+ }
2276
+
2277
+ export declare interface SettingsSectionDescription {
2278
+ /** The section name of the fabric settings. */
2279
+ name: string;
2280
+ /** The collection of parameters in the section. */
2281
+ parameters: Array<SettingsParameterDescription>;
2282
+ }
2283
+
2284
+ export declare interface SettingsSectionDescriptionOutput {
2285
+ /** The section name of the fabric settings. */
2286
+ name: string;
2287
+ /** The collection of parameters in the section. */
2288
+ parameters: Array<SettingsParameterDescriptionOutput>;
2289
+ }
2290
+
2291
+ export declare interface SingletonPartitionSchemeDescription extends PartitionSchemeDescriptionParent {
2292
+ partitionScheme: "Singleton";
2293
+ }
2294
+
2295
+ export declare interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
2296
+ partitionScheme: "Singleton";
2297
+ }
2298
+
2299
+ export declare interface StatefulServiceProperties extends ServiceResourcePropertiesParent {
2300
+ /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */
2301
+ hasPersistedState?: boolean;
2302
+ /** The target replica set size as a number. */
2303
+ targetReplicaSetSize?: number;
2304
+ /** The minimum replica set size as a number. */
2305
+ minReplicaSetSize?: number;
2306
+ /** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
2307
+ replicaRestartWaitDuration?: Date | string;
2308
+ /** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
2309
+ quorumLossWaitDuration?: Date | string;
2310
+ /** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
2311
+ standByReplicaKeepDuration?: Date | string;
2312
+ serviceKind: "Stateful";
2313
+ }
2314
+
2315
+ export declare interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
2316
+ /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */
2317
+ hasPersistedState?: boolean;
2318
+ /** The target replica set size as a number. */
2319
+ targetReplicaSetSize?: number;
2320
+ /** The minimum replica set size as a number. */
2321
+ minReplicaSetSize?: number;
2322
+ /** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
2323
+ replicaRestartWaitDuration?: string;
2324
+ /** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
2325
+ quorumLossWaitDuration?: string;
2326
+ /** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
2327
+ standByReplicaKeepDuration?: string;
2328
+ serviceKind: "Stateful";
2329
+ }
2330
+
2331
+ export declare interface StatefulServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
2332
+ /** The target replica set size as a number. */
2333
+ targetReplicaSetSize?: number;
2334
+ /** The minimum replica set size as a number. */
2335
+ minReplicaSetSize?: number;
2336
+ /** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
2337
+ replicaRestartWaitDuration?: Date | string;
2338
+ /** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
2339
+ quorumLossWaitDuration?: Date | string;
2340
+ /** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
2341
+ standByReplicaKeepDuration?: Date | string;
2342
+ serviceKind: "Stateful";
2343
+ }
2344
+
2345
+ export declare interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
2346
+ /** The target replica set size as a number. */
2347
+ targetReplicaSetSize?: number;
2348
+ /** The minimum replica set size as a number. */
2349
+ minReplicaSetSize?: number;
2350
+ /** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
2351
+ replicaRestartWaitDuration?: string;
2352
+ /** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
2353
+ quorumLossWaitDuration?: string;
2354
+ /** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
2355
+ standByReplicaKeepDuration?: string;
2356
+ serviceKind: "Stateful";
2357
+ }
2358
+
2359
+ export declare interface StatelessServiceProperties extends ServiceResourcePropertiesParent {
2360
+ /** The instance count. */
2361
+ instanceCount?: number;
2362
+ /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */
2363
+ instanceCloseDelayDuration?: string;
2364
+ serviceKind: "Stateless";
2365
+ }
2366
+
2367
+ export declare interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
2368
+ /** The instance count. */
2369
+ instanceCount?: number;
2370
+ /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */
2371
+ instanceCloseDelayDuration?: string;
2372
+ serviceKind: "Stateless";
2373
+ }
2374
+
2375
+ export declare interface StatelessServiceUpdateProperties extends ServiceResourceUpdatePropertiesParent {
2376
+ /** The instance count. */
2377
+ instanceCount?: number;
2378
+ /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s). */
2379
+ instanceCloseDelayDuration?: string;
2380
+ serviceKind: "Stateless";
2381
+ }
2382
+
2383
+ export declare interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
2384
+ /** The instance count. */
2385
+ instanceCount?: number;
2386
+ /** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s). */
2387
+ instanceCloseDelayDuration?: string;
2388
+ serviceKind: "Stateless";
2389
+ }
2390
+
2391
+ export declare interface SystemData {
2392
+ /** The identity that created the resource. */
2393
+ createdBy?: string;
2394
+ /** The type of identity that created the resource. */
2395
+ createdByType?: string;
2396
+ /** The timestamp of resource creation (UTC). */
2397
+ createdAt?: Date | string;
2398
+ /** The identity that last modified the resource. */
2399
+ lastModifiedBy?: string;
2400
+ /** The type of identity that last modified the resource. */
2401
+ lastModifiedByType?: string;
2402
+ /** The timestamp of resource last modification (UTC). */
2403
+ lastModifiedAt?: Date | string;
2404
+ }
2405
+
2406
+ export declare interface SystemDataOutput {
2407
+ /** The identity that created the resource. */
2408
+ createdBy?: string;
2409
+ /** The type of identity that created the resource. */
2410
+ createdByType?: string;
2411
+ /** The timestamp of resource creation (UTC). */
2412
+ createdAt?: string;
2413
+ /** The identity that last modified the resource. */
2414
+ lastModifiedBy?: string;
2415
+ /** The type of identity that last modified the resource. */
2416
+ lastModifiedByType?: string;
2417
+ /** The timestamp of resource last modification (UTC). */
2418
+ lastModifiedAt?: string;
2419
+ }
2420
+
2421
+ export declare interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescriptionParent {
2422
+ /** The number of partitions. */
2423
+ count: number;
2424
+ /**
2425
+ * String indicating the lower bound of the partition key range that
2426
+ * should be split between the partition ‘count’
2427
+ *
2428
+ */
2429
+ lowKey: string;
2430
+ /**
2431
+ * String indicating the upper bound of the partition key range that
2432
+ * should be split between the partition ‘count’
2433
+ *
2434
+ */
2435
+ highKey: string;
2436
+ partitionScheme: "UniformInt64Range";
2437
+ }
2438
+
2439
+ export declare interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
2440
+ /** The number of partitions. */
2441
+ count: number;
2442
+ /**
2443
+ * String indicating the lower bound of the partition key range that
2444
+ * should be split between the partition ‘count’
2445
+ *
2446
+ */
2447
+ lowKey: string;
2448
+ /**
2449
+ * String indicating the upper bound of the partition key range that
2450
+ * should be split between the partition ‘count’
2451
+ *
2452
+ */
2453
+ highKey: string;
2454
+ partitionScheme: "UniformInt64Range";
2455
+ }
2456
+
2457
+ export declare interface UpgradableVersionPathResultOutput {
2458
+ supportedPath?: Array<string>;
2459
+ }
2460
+
2461
+ export declare interface UpgradableVersionsDescription {
2462
+ /** The target code version. */
2463
+ targetVersion: string;
2464
+ }
2465
+
2466
+ export declare interface UserAssignedIdentity {
2467
+ /** The principal id of user assigned identity. */
2468
+ principalId?: string;
2469
+ /** The client id of user assigned identity. */
2470
+ clientId?: string;
2471
+ }
2472
+
2473
+ export declare interface UserAssignedIdentityOutput {
2474
+ /** The principal id of user assigned identity. */
2475
+ principalId?: string;
2476
+ /** The client id of user assigned identity. */
2477
+ clientId?: string;
2478
+ }
2479
+
2480
+ export { }