@azure/arm-servicefabricmanagedclusters 1.0.0-beta.5 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/api/applicationTypeVersions/operations.js +4 -4
- package/dist/browser/api/applicationTypeVersions/operations.js.map +1 -1
- package/dist/browser/api/applicationTypes/operations.js +2 -2
- package/dist/browser/api/applicationTypes/operations.js.map +1 -1
- package/dist/browser/api/applications/index.d.ts +2 -2
- package/dist/browser/api/applications/index.js +1 -1
- package/dist/browser/api/applications/index.js.map +1 -1
- package/dist/browser/api/applications/operations.d.ts +12 -4
- package/dist/browser/api/applications/operations.js +94 -18
- package/dist/browser/api/applications/operations.js.map +1 -1
- package/dist/browser/api/applications/options.d.ts +12 -0
- package/dist/browser/api/applications/options.js.map +1 -1
- package/dist/browser/api/managedClusters/operations.d.ts +1 -1
- package/dist/browser/api/managedClusters/operations.js +16 -12
- package/dist/browser/api/managedClusters/operations.js.map +1 -1
- package/dist/browser/api/managedClusters/options.d.ts +2 -0
- package/dist/browser/api/managedClusters/options.js.map +1 -1
- package/dist/browser/api/nodeTypes/operations.d.ts +1 -1
- package/dist/browser/api/nodeTypes/operations.js +23 -23
- package/dist/browser/api/nodeTypes/operations.js.map +1 -1
- package/dist/browser/api/serviceFabricManagedClustersManagementContext.js +1 -1
- package/dist/browser/api/serviceFabricManagedClustersManagementContext.js.map +1 -1
- package/dist/browser/api/services/index.d.ts +2 -2
- package/dist/browser/api/services/index.js +1 -1
- package/dist/browser/api/services/index.js.map +1 -1
- package/dist/browser/api/services/operations.d.ts +6 -2
- package/dist/browser/api/services/operations.js +40 -5
- package/dist/browser/api/services/operations.js.map +1 -1
- package/dist/browser/api/services/options.d.ts +5 -0
- package/dist/browser/api/services/options.js.map +1 -1
- package/dist/browser/classic/applications/index.d.ts +8 -4
- package/dist/browser/classic/applications/index.js +3 -1
- package/dist/browser/classic/applications/index.js.map +1 -1
- package/dist/browser/classic/managedClusters/index.d.ts +1 -1
- package/dist/browser/classic/managedClusters/index.js.map +1 -1
- package/dist/browser/classic/nodeTypes/index.d.ts +1 -1
- package/dist/browser/classic/nodeTypes/index.js.map +1 -1
- package/dist/browser/classic/services/index.d.ts +4 -2
- package/dist/browser/classic/services/index.js +2 -1
- package/dist/browser/classic/services/index.js.map +1 -1
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +98 -1
- package/dist/browser/models/models.js +62 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +74 -30
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/applicationTypeVersions/operations.js +4 -4
- package/dist/commonjs/api/applicationTypeVersions/operations.js.map +1 -1
- package/dist/commonjs/api/applicationTypes/operations.js +2 -2
- package/dist/commonjs/api/applicationTypes/operations.js.map +1 -1
- package/dist/commonjs/api/applications/index.d.ts +2 -2
- package/dist/commonjs/api/applications/index.js +3 -1
- package/dist/commonjs/api/applications/index.js.map +1 -1
- package/dist/commonjs/api/applications/operations.d.ts +12 -4
- package/dist/commonjs/api/applications/operations.js +99 -17
- package/dist/commonjs/api/applications/operations.js.map +1 -1
- package/dist/commonjs/api/applications/options.d.ts +12 -0
- package/dist/commonjs/api/applications/options.js.map +1 -1
- package/dist/commonjs/api/managedClusters/operations.d.ts +1 -1
- package/dist/commonjs/api/managedClusters/operations.js +16 -12
- package/dist/commonjs/api/managedClusters/operations.js.map +1 -1
- package/dist/commonjs/api/managedClusters/options.d.ts +2 -0
- package/dist/commonjs/api/managedClusters/options.js.map +1 -1
- package/dist/commonjs/api/nodeTypes/operations.d.ts +1 -1
- package/dist/commonjs/api/nodeTypes/operations.js +23 -23
- package/dist/commonjs/api/nodeTypes/operations.js.map +1 -1
- package/dist/commonjs/api/serviceFabricManagedClustersManagementContext.js +1 -1
- package/dist/commonjs/api/serviceFabricManagedClustersManagementContext.js.map +1 -1
- package/dist/commonjs/api/services/index.d.ts +2 -2
- package/dist/commonjs/api/services/index.js +2 -1
- package/dist/commonjs/api/services/index.js.map +1 -1
- package/dist/commonjs/api/services/operations.d.ts +6 -2
- package/dist/commonjs/api/services/operations.js +42 -4
- package/dist/commonjs/api/services/operations.js.map +1 -1
- package/dist/commonjs/api/services/options.d.ts +5 -0
- package/dist/commonjs/api/services/options.js.map +1 -1
- package/dist/commonjs/classic/applications/index.d.ts +8 -4
- package/dist/commonjs/classic/applications/index.js +2 -0
- package/dist/commonjs/classic/applications/index.js.map +1 -1
- package/dist/commonjs/classic/managedClusters/index.d.ts +1 -1
- package/dist/commonjs/classic/managedClusters/index.js.map +1 -1
- package/dist/commonjs/classic/nodeTypes/index.d.ts +1 -1
- package/dist/commonjs/classic/nodeTypes/index.js.map +1 -1
- package/dist/commonjs/classic/services/index.d.ts +4 -2
- package/dist/commonjs/classic/services/index.js +1 -0
- package/dist/commonjs/classic/services/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.js +4 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +3 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +98 -1
- package/dist/commonjs/models/models.js +67 -2
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +71 -27
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/applicationTypeVersions/operations.js +4 -4
- package/dist/esm/api/applicationTypeVersions/operations.js.map +1 -1
- package/dist/esm/api/applicationTypes/operations.js +2 -2
- package/dist/esm/api/applicationTypes/operations.js.map +1 -1
- package/dist/esm/api/applications/index.d.ts +2 -2
- package/dist/esm/api/applications/index.js +1 -1
- package/dist/esm/api/applications/index.js.map +1 -1
- package/dist/esm/api/applications/operations.d.ts +12 -4
- package/dist/esm/api/applications/operations.js +94 -18
- package/dist/esm/api/applications/operations.js.map +1 -1
- package/dist/esm/api/applications/options.d.ts +12 -0
- package/dist/esm/api/applications/options.js.map +1 -1
- package/dist/esm/api/managedClusters/operations.d.ts +1 -1
- package/dist/esm/api/managedClusters/operations.js +16 -12
- package/dist/esm/api/managedClusters/operations.js.map +1 -1
- package/dist/esm/api/managedClusters/options.d.ts +2 -0
- package/dist/esm/api/managedClusters/options.js.map +1 -1
- package/dist/esm/api/nodeTypes/operations.d.ts +1 -1
- package/dist/esm/api/nodeTypes/operations.js +23 -23
- package/dist/esm/api/nodeTypes/operations.js.map +1 -1
- package/dist/esm/api/serviceFabricManagedClustersManagementContext.js +1 -1
- package/dist/esm/api/serviceFabricManagedClustersManagementContext.js.map +1 -1
- package/dist/esm/api/services/index.d.ts +2 -2
- package/dist/esm/api/services/index.js +1 -1
- package/dist/esm/api/services/index.js.map +1 -1
- package/dist/esm/api/services/operations.d.ts +6 -2
- package/dist/esm/api/services/operations.js +40 -5
- package/dist/esm/api/services/operations.js.map +1 -1
- package/dist/esm/api/services/options.d.ts +5 -0
- package/dist/esm/api/services/options.js.map +1 -1
- package/dist/esm/classic/applications/index.d.ts +8 -4
- package/dist/esm/classic/applications/index.js +3 -1
- package/dist/esm/classic/applications/index.js.map +1 -1
- package/dist/esm/classic/managedClusters/index.d.ts +1 -1
- package/dist/esm/classic/managedClusters/index.js.map +1 -1
- package/dist/esm/classic/nodeTypes/index.d.ts +1 -1
- package/dist/esm/classic/nodeTypes/index.js.map +1 -1
- package/dist/esm/classic/services/index.d.ts +4 -2
- package/dist/esm/classic/services/index.js +2 -1
- package/dist/esm/classic/services/index.js.map +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +98 -1
- package/dist/esm/models/models.js +62 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +74 -30
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/api/applicationTypeVersions/operations.js +4 -4
- package/dist/react-native/api/applicationTypeVersions/operations.js.map +1 -1
- package/dist/react-native/api/applicationTypes/operations.js +2 -2
- package/dist/react-native/api/applicationTypes/operations.js.map +1 -1
- package/dist/react-native/api/applications/index.d.ts +2 -2
- package/dist/react-native/api/applications/index.js +1 -1
- package/dist/react-native/api/applications/index.js.map +1 -1
- package/dist/react-native/api/applications/operations.d.ts +12 -4
- package/dist/react-native/api/applications/operations.js +94 -18
- package/dist/react-native/api/applications/operations.js.map +1 -1
- package/dist/react-native/api/applications/options.d.ts +12 -0
- package/dist/react-native/api/applications/options.js.map +1 -1
- package/dist/react-native/api/managedClusters/operations.d.ts +1 -1
- package/dist/react-native/api/managedClusters/operations.js +16 -12
- package/dist/react-native/api/managedClusters/operations.js.map +1 -1
- package/dist/react-native/api/managedClusters/options.d.ts +2 -0
- package/dist/react-native/api/managedClusters/options.js.map +1 -1
- package/dist/react-native/api/nodeTypes/operations.d.ts +1 -1
- package/dist/react-native/api/nodeTypes/operations.js +23 -23
- package/dist/react-native/api/nodeTypes/operations.js.map +1 -1
- package/dist/react-native/api/serviceFabricManagedClustersManagementContext.js +1 -1
- package/dist/react-native/api/serviceFabricManagedClustersManagementContext.js.map +1 -1
- package/dist/react-native/api/services/index.d.ts +2 -2
- package/dist/react-native/api/services/index.js +1 -1
- package/dist/react-native/api/services/index.js.map +1 -1
- package/dist/react-native/api/services/operations.d.ts +6 -2
- package/dist/react-native/api/services/operations.js +40 -5
- package/dist/react-native/api/services/operations.js.map +1 -1
- package/dist/react-native/api/services/options.d.ts +5 -0
- package/dist/react-native/api/services/options.js.map +1 -1
- package/dist/react-native/classic/applications/index.d.ts +8 -4
- package/dist/react-native/classic/applications/index.js +3 -1
- package/dist/react-native/classic/applications/index.js.map +1 -1
- package/dist/react-native/classic/managedClusters/index.d.ts +1 -1
- package/dist/react-native/classic/managedClusters/index.js.map +1 -1
- package/dist/react-native/classic/nodeTypes/index.d.ts +1 -1
- package/dist/react-native/classic/nodeTypes/index.js.map +1 -1
- package/dist/react-native/classic/services/index.d.ts +4 -2
- package/dist/react-native/classic/services/index.js +2 -1
- package/dist/react-native/classic/services/index.js.map +1 -1
- package/dist/react-native/index.d.ts +3 -3
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +98 -1
- package/dist/react-native/models/models.js +62 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +74 -30
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/package.json +19 -19
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains only generated model types and (de)serializers.
|
|
3
|
+
* Disable this rule for deserializer functions which require 'any' for raw JSON input.
|
|
4
|
+
*/
|
|
1
5
|
/** Describes the result of the request to list Service Fabric resource provider operations. */
|
|
2
6
|
export interface _OperationListResult {
|
|
3
7
|
/** The OperationResult items on this page */
|
|
@@ -314,8 +318,16 @@ export type CreatedByType = string;
|
|
|
314
318
|
export interface ApplicationUpdateParameters {
|
|
315
319
|
/** Application update parameters */
|
|
316
320
|
tags?: Record<string, string>;
|
|
321
|
+
/** Application update parameters properties. */
|
|
322
|
+
properties?: ApplicationUpdateParametersProperties;
|
|
317
323
|
}
|
|
318
324
|
export declare function applicationUpdateParametersSerializer(item: ApplicationUpdateParameters): any;
|
|
325
|
+
/** Properties for application update request. */
|
|
326
|
+
export interface ApplicationUpdateParametersProperties {
|
|
327
|
+
/** List of application parameters with overridden values from their default values specified in the application manifest. */
|
|
328
|
+
parameters?: Record<string, string>;
|
|
329
|
+
}
|
|
330
|
+
export declare function applicationUpdateParametersPropertiesSerializer(item: ApplicationUpdateParametersProperties): any;
|
|
319
331
|
/** The list of application resources. */
|
|
320
332
|
export interface _ApplicationResourceList {
|
|
321
333
|
/** The ApplicationResource items on this page */
|
|
@@ -465,6 +477,62 @@ export declare enum KnownRuntimeFailureAction {
|
|
|
465
477
|
* **Manual**: Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically.
|
|
466
478
|
*/
|
|
467
479
|
export type RuntimeFailureAction = string;
|
|
480
|
+
/** Parameters for fetching the health of an application. */
|
|
481
|
+
export interface ApplicationFetchHealthRequest {
|
|
482
|
+
/** Allows filtering of the health events returned in the response based on health state. */
|
|
483
|
+
eventsHealthStateFilter?: HealthFilter;
|
|
484
|
+
/** Allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state. */
|
|
485
|
+
deployedApplicationsHealthStateFilter?: HealthFilter;
|
|
486
|
+
/** Allows filtering of the services health state objects returned in the result of services health query based on their health state. */
|
|
487
|
+
servicesHealthStateFilter?: HealthFilter;
|
|
488
|
+
/** Indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. */
|
|
489
|
+
excludeHealthStatistics?: boolean;
|
|
490
|
+
/** Request timeout for the health query in seconds. The default value is 60 seconds. */
|
|
491
|
+
timeout?: number;
|
|
492
|
+
}
|
|
493
|
+
export declare function applicationFetchHealthRequestSerializer(item: ApplicationFetchHealthRequest): any;
|
|
494
|
+
/** Enum for filtering health events. */
|
|
495
|
+
export declare enum KnownHealthFilter {
|
|
496
|
+
/** Default value. Matches any health state. */
|
|
497
|
+
Default = "Default",
|
|
498
|
+
/** Filter that doesn't match any health state. Used to return no results on a given collection of health entities. */
|
|
499
|
+
None = "None",
|
|
500
|
+
/** Filter for health state Ok. */
|
|
501
|
+
Ok = "Ok",
|
|
502
|
+
/** Filter for health state Warning. */
|
|
503
|
+
Warning = "Warning",
|
|
504
|
+
/** Filter for health state Error. */
|
|
505
|
+
Error = "Error",
|
|
506
|
+
/** Filter that matches input with any health state. */
|
|
507
|
+
All = "All"
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Enum for filtering health events. \
|
|
511
|
+
* {@link KnownHealthFilter} can be used interchangeably with HealthFilter,
|
|
512
|
+
* this enum contains the known values that the service supports.
|
|
513
|
+
* ### Known values supported by the service
|
|
514
|
+
* **Default**: Default value. Matches any health state. \
|
|
515
|
+
* **None**: Filter that doesn't match any health state. Used to return no results on a given collection of health entities. \
|
|
516
|
+
* **Ok**: Filter for health state Ok. \
|
|
517
|
+
* **Warning**: Filter for health state Warning. \
|
|
518
|
+
* **Error**: Filter for health state Error. \
|
|
519
|
+
* **All**: Filter that matches input with any health state.
|
|
520
|
+
*/
|
|
521
|
+
export type HealthFilter = string;
|
|
522
|
+
/** Parameters for restarting a deployed code package. */
|
|
523
|
+
export interface RestartDeployedCodePackageRequest {
|
|
524
|
+
/** The name of the node where the code package needs to be restarted. Use '*' to restart on all nodes where the code package is running. */
|
|
525
|
+
nodeName: string;
|
|
526
|
+
/** The name of the service manifest as specified in the code package. */
|
|
527
|
+
serviceManifestName: string;
|
|
528
|
+
/** The name of the code package as specified in the service manifest. */
|
|
529
|
+
codePackageName: string;
|
|
530
|
+
/** The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running. If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID. Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package. */
|
|
531
|
+
codePackageInstanceId: string;
|
|
532
|
+
/** The activation id of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string. */
|
|
533
|
+
servicePackageActivationId?: string;
|
|
534
|
+
}
|
|
535
|
+
export declare function restartDeployedCodePackageRequestSerializer(item: RestartDeployedCodePackageRequest): any;
|
|
468
536
|
/** The application type name resource */
|
|
469
537
|
export interface ApplicationTypeResource extends ProxyResource {
|
|
470
538
|
/** The application type name properties */
|
|
@@ -1042,6 +1110,33 @@ export interface _ServiceResourceList {
|
|
|
1042
1110
|
export declare function _serviceResourceListDeserializer(item: any): _ServiceResourceList;
|
|
1043
1111
|
export declare function serviceResourceArraySerializer(result: Array<ServiceResource>): any[];
|
|
1044
1112
|
export declare function serviceResourceArrayDeserializer(result: Array<ServiceResource>): any[];
|
|
1113
|
+
/** Request to restart a replica. */
|
|
1114
|
+
export interface RestartReplicaRequest {
|
|
1115
|
+
/** The ID of the partition. */
|
|
1116
|
+
partitionId: string;
|
|
1117
|
+
/** The IDs of the replicas to be restarted. */
|
|
1118
|
+
replicaIds: number[];
|
|
1119
|
+
/** The kind of restart to perform. */
|
|
1120
|
+
restartKind: RestartKind;
|
|
1121
|
+
/** If true, the restart operation will be forced. Use this option with care, as it may cause data loss. */
|
|
1122
|
+
forceRestart?: boolean;
|
|
1123
|
+
/** The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. */
|
|
1124
|
+
timeout?: number;
|
|
1125
|
+
}
|
|
1126
|
+
export declare function restartReplicaRequestSerializer(item: RestartReplicaRequest): any;
|
|
1127
|
+
/** The kind of restart to perform. */
|
|
1128
|
+
export declare enum KnownRestartKind {
|
|
1129
|
+
/** Restart all listed replicas at the same time. */
|
|
1130
|
+
Simultaneous = "Simultaneous"
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* The kind of restart to perform. \
|
|
1134
|
+
* {@link KnownRestartKind} can be used interchangeably with RestartKind,
|
|
1135
|
+
* this enum contains the known values that the service supports.
|
|
1136
|
+
* ### Known values supported by the service
|
|
1137
|
+
* **Simultaneous**: Restart all listed replicas at the same time.
|
|
1138
|
+
*/
|
|
1139
|
+
export type RestartKind = string;
|
|
1045
1140
|
/** The result of the Service Fabric runtime versions */
|
|
1046
1141
|
export interface ManagedClusterCodeVersionResult {
|
|
1047
1142
|
/** The identification of the result */
|
|
@@ -2630,7 +2725,9 @@ export declare enum KnownVersions {
|
|
|
2630
2725
|
/** 2025-03-01-preview */
|
|
2631
2726
|
V20250301Preview = "2025-03-01-preview",
|
|
2632
2727
|
/** 2025-06-01-preview */
|
|
2633
|
-
V20250601Preview = "2025-06-01-preview"
|
|
2728
|
+
V20250601Preview = "2025-06-01-preview",
|
|
2729
|
+
/** 2025-10-01-preview */
|
|
2730
|
+
V20251001Preview = "2025-10-01-preview"
|
|
2634
2731
|
}
|
|
2635
2732
|
export declare function managedClusterCodeVersionResultArrayDeserializer(result: Array<ManagedClusterCodeVersionResult>): any[];
|
|
2636
2733
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -342,7 +342,15 @@ export var KnownCreatedByType;
|
|
|
342
342
|
KnownCreatedByType["Key"] = "Key";
|
|
343
343
|
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
344
344
|
export function applicationUpdateParametersSerializer(item) {
|
|
345
|
-
return {
|
|
345
|
+
return {
|
|
346
|
+
tags: item["tags"],
|
|
347
|
+
properties: !item["properties"]
|
|
348
|
+
? item["properties"]
|
|
349
|
+
: applicationUpdateParametersPropertiesSerializer(item["properties"]),
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export function applicationUpdateParametersPropertiesSerializer(item) {
|
|
353
|
+
return { parameters: item["parameters"] };
|
|
346
354
|
}
|
|
347
355
|
export function _applicationResourceListDeserializer(item) {
|
|
348
356
|
return {
|
|
@@ -439,6 +447,40 @@ export var KnownRuntimeFailureAction;
|
|
|
439
447
|
/** Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically. */
|
|
440
448
|
KnownRuntimeFailureAction["Manual"] = "Manual";
|
|
441
449
|
})(KnownRuntimeFailureAction || (KnownRuntimeFailureAction = {}));
|
|
450
|
+
export function applicationFetchHealthRequestSerializer(item) {
|
|
451
|
+
return {
|
|
452
|
+
eventsHealthStateFilter: item["eventsHealthStateFilter"],
|
|
453
|
+
deployedApplicationsHealthStateFilter: item["deployedApplicationsHealthStateFilter"],
|
|
454
|
+
servicesHealthStateFilter: item["servicesHealthStateFilter"],
|
|
455
|
+
excludeHealthStatistics: item["excludeHealthStatistics"],
|
|
456
|
+
timeout: item["timeout"],
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
/** Enum for filtering health events. */
|
|
460
|
+
export var KnownHealthFilter;
|
|
461
|
+
(function (KnownHealthFilter) {
|
|
462
|
+
/** Default value. Matches any health state. */
|
|
463
|
+
KnownHealthFilter["Default"] = "Default";
|
|
464
|
+
/** Filter that doesn't match any health state. Used to return no results on a given collection of health entities. */
|
|
465
|
+
KnownHealthFilter["None"] = "None";
|
|
466
|
+
/** Filter for health state Ok. */
|
|
467
|
+
KnownHealthFilter["Ok"] = "Ok";
|
|
468
|
+
/** Filter for health state Warning. */
|
|
469
|
+
KnownHealthFilter["Warning"] = "Warning";
|
|
470
|
+
/** Filter for health state Error. */
|
|
471
|
+
KnownHealthFilter["Error"] = "Error";
|
|
472
|
+
/** Filter that matches input with any health state. */
|
|
473
|
+
KnownHealthFilter["All"] = "All";
|
|
474
|
+
})(KnownHealthFilter || (KnownHealthFilter = {}));
|
|
475
|
+
export function restartDeployedCodePackageRequestSerializer(item) {
|
|
476
|
+
return {
|
|
477
|
+
nodeName: item["nodeName"],
|
|
478
|
+
serviceManifestName: item["serviceManifestName"],
|
|
479
|
+
codePackageName: item["codePackageName"],
|
|
480
|
+
codePackageInstanceId: item["codePackageInstanceId"],
|
|
481
|
+
servicePackageActivationId: item["servicePackageActivationId"],
|
|
482
|
+
};
|
|
483
|
+
}
|
|
442
484
|
export function applicationTypeResourceSerializer(item) {
|
|
443
485
|
return {
|
|
444
486
|
properties: !item["properties"]
|
|
@@ -1251,6 +1293,23 @@ export function serviceResourceArrayDeserializer(result) {
|
|
|
1251
1293
|
return serviceResourceDeserializer(item);
|
|
1252
1294
|
});
|
|
1253
1295
|
}
|
|
1296
|
+
export function restartReplicaRequestSerializer(item) {
|
|
1297
|
+
return {
|
|
1298
|
+
partitionId: item["partitionId"],
|
|
1299
|
+
replicaIds: item["replicaIds"].map((p) => {
|
|
1300
|
+
return p;
|
|
1301
|
+
}),
|
|
1302
|
+
restartKind: item["restartKind"],
|
|
1303
|
+
forceRestart: item["forceRestart"],
|
|
1304
|
+
timeout: item["timeout"],
|
|
1305
|
+
};
|
|
1306
|
+
}
|
|
1307
|
+
/** The kind of restart to perform. */
|
|
1308
|
+
export var KnownRestartKind;
|
|
1309
|
+
(function (KnownRestartKind) {
|
|
1310
|
+
/** Restart all listed replicas at the same time. */
|
|
1311
|
+
KnownRestartKind["Simultaneous"] = "Simultaneous";
|
|
1312
|
+
})(KnownRestartKind || (KnownRestartKind = {}));
|
|
1254
1313
|
export function managedClusterCodeVersionResultDeserializer(item) {
|
|
1255
1314
|
return {
|
|
1256
1315
|
id: item["id"],
|
|
@@ -3007,6 +3066,8 @@ export var KnownVersions;
|
|
|
3007
3066
|
KnownVersions["V20250301Preview"] = "2025-03-01-preview";
|
|
3008
3067
|
/** 2025-06-01-preview */
|
|
3009
3068
|
KnownVersions["V20250601Preview"] = "2025-06-01-preview";
|
|
3069
|
+
/** 2025-10-01-preview */
|
|
3070
|
+
KnownVersions["V20251001Preview"] = "2025-10-01-preview";
|
|
3010
3071
|
})(KnownVersions || (KnownVersions = {}));
|
|
3011
3072
|
export function managedClusterCodeVersionResultArrayDeserializer(result) {
|
|
3012
3073
|
return result.map((item) => {
|