@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,11 +1,11 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { _stopFaultSimulationDeserialize, _startFaultSimulationDeserialize, _startDeserialize, _restartDeserialize, _reimageDeserialize, _redeployDeserialize, _deleteNodeDeserialize, _deallocateDeserialize, _$deleteDeserialize, _updateDeserialize, _createOrUpdateDeserialize, } from "./api/nodeTypes/operations.js";
|
|
4
|
-
import { _stopFaultSimulationDeserialize as _stopFaultSimulationDeserializeManagedClusters, _startFaultSimulationDeserialize as _startFaultSimulationDeserializeManagedClusters, _$deleteDeserialize as _$deleteDeserializeManagedClusters, _createOrUpdateDeserialize as _createOrUpdateDeserializeManagedClusters, } from "./api/managedClusters/operations.js";
|
|
5
|
-
import { _$deleteDeserialize as _$deleteDeserializeServices, _createOrUpdateDeserialize as _createOrUpdateDeserializeServices, } from "./api/services/operations.js";
|
|
4
|
+
import { _stopFaultSimulationDeserialize as _stopFaultSimulationDeserializeManagedClusters, _startFaultSimulationDeserialize as _startFaultSimulationDeserializeManagedClusters, _$deleteDeserialize as _$deleteDeserializeManagedClusters, _updateDeserialize as _updateDeserializeManagedClusters, _createOrUpdateDeserialize as _createOrUpdateDeserializeManagedClusters, } from "./api/managedClusters/operations.js";
|
|
5
|
+
import { _restartReplicaDeserialize, _$deleteDeserialize as _$deleteDeserializeServices, _createOrUpdateDeserialize as _createOrUpdateDeserializeServices, } from "./api/services/operations.js";
|
|
6
6
|
import { _$deleteDeserialize as _$deleteDeserializeApplicationTypeVersions, _createOrUpdateDeserialize as _createOrUpdateDeserializeApplicationTypeVersions, } from "./api/applicationTypeVersions/operations.js";
|
|
7
7
|
import { _$deleteDeserialize as _$deleteDeserializeApplicationTypes } from "./api/applicationTypes/operations.js";
|
|
8
|
-
import { _updateUpgradeDeserialize, _startRollbackDeserialize, _resumeUpgradeDeserialize, _readUpgradeDeserialize, _$deleteDeserialize as _$deleteDeserializeApplications, _createOrUpdateDeserialize as _createOrUpdateDeserializeApplications, } from "./api/applications/operations.js";
|
|
8
|
+
import { _restartDeployedCodePackageDeserialize, _fetchHealthDeserialize, _updateUpgradeDeserialize, _startRollbackDeserialize, _resumeUpgradeDeserialize, _readUpgradeDeserialize, _$deleteDeserialize as _$deleteDeserializeApplications, _updateDeserialize as _updateDeserializeApplications, _createOrUpdateDeserialize as _createOrUpdateDeserializeApplications, } from "./api/applications/operations.js";
|
|
9
9
|
import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
|
|
10
10
|
import { deserializeState } from "@azure/core-lro";
|
|
11
11
|
/**
|
|
@@ -36,83 +36,127 @@ export function restorePoller(client, serializedState, sourceOperation, options)
|
|
|
36
36
|
const deserializeMap = {
|
|
37
37
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation": {
|
|
38
38
|
deserializer: _stopFaultSimulationDeserialize,
|
|
39
|
-
expectedStatuses: ["202", "200"],
|
|
39
|
+
expectedStatuses: ["202", "200", "201"],
|
|
40
40
|
},
|
|
41
41
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation": {
|
|
42
42
|
deserializer: _startFaultSimulationDeserialize,
|
|
43
|
-
expectedStatuses: ["202", "200"],
|
|
44
|
-
},
|
|
45
|
-
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/start": {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/
|
|
50
|
-
|
|
43
|
+
expectedStatuses: ["202", "200", "201"],
|
|
44
|
+
},
|
|
45
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/start": {
|
|
46
|
+
deserializer: _startDeserialize,
|
|
47
|
+
expectedStatuses: ["202", "200", "201"],
|
|
48
|
+
},
|
|
49
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/restart": {
|
|
50
|
+
deserializer: _restartDeserialize,
|
|
51
|
+
expectedStatuses: ["202", "200", "201"],
|
|
52
|
+
},
|
|
53
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/reimage": {
|
|
54
|
+
deserializer: _reimageDeserialize,
|
|
55
|
+
expectedStatuses: ["202", "200", "201"],
|
|
56
|
+
},
|
|
57
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/redeploy": {
|
|
58
|
+
deserializer: _redeployDeserialize,
|
|
59
|
+
expectedStatuses: ["202", "200", "201"],
|
|
60
|
+
},
|
|
61
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deleteNode": {
|
|
62
|
+
deserializer: _deleteNodeDeserialize,
|
|
63
|
+
expectedStatuses: ["202", "200", "201"],
|
|
64
|
+
},
|
|
65
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deallocate": {
|
|
66
|
+
deserializer: _deallocateDeserialize,
|
|
67
|
+
expectedStatuses: ["202", "200", "201"],
|
|
68
|
+
},
|
|
51
69
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}": {
|
|
52
70
|
deserializer: _$deleteDeserialize,
|
|
53
|
-
expectedStatuses: ["202", "204", "200"],
|
|
71
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
72
|
+
},
|
|
73
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}": {
|
|
74
|
+
deserializer: _updateDeserialize,
|
|
75
|
+
expectedStatuses: ["200", "202", "201"],
|
|
54
76
|
},
|
|
55
|
-
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}": { deserializer: _updateDeserialize, expectedStatuses: ["200", "202"] },
|
|
56
77
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}": {
|
|
57
78
|
deserializer: _createOrUpdateDeserialize,
|
|
58
|
-
expectedStatuses: ["200", "202"],
|
|
79
|
+
expectedStatuses: ["200", "202", "201"],
|
|
59
80
|
},
|
|
60
81
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation": {
|
|
61
82
|
deserializer: _stopFaultSimulationDeserializeManagedClusters,
|
|
62
|
-
expectedStatuses: ["202", "200"],
|
|
83
|
+
expectedStatuses: ["202", "200", "201"],
|
|
63
84
|
},
|
|
64
85
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation": {
|
|
65
86
|
deserializer: _startFaultSimulationDeserializeManagedClusters,
|
|
66
|
-
expectedStatuses: ["202", "200"],
|
|
87
|
+
expectedStatuses: ["202", "200", "201"],
|
|
67
88
|
},
|
|
68
89
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}": {
|
|
69
90
|
deserializer: _$deleteDeserializeManagedClusters,
|
|
70
|
-
expectedStatuses: ["202", "204", "200"],
|
|
91
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
92
|
+
},
|
|
93
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}": {
|
|
94
|
+
deserializer: _updateDeserializeManagedClusters,
|
|
95
|
+
expectedStatuses: ["200", "202", "201"],
|
|
71
96
|
},
|
|
72
97
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}": {
|
|
73
98
|
deserializer: _createOrUpdateDeserializeManagedClusters,
|
|
74
|
-
expectedStatuses: ["200", "202"],
|
|
99
|
+
expectedStatuses: ["200", "202", "201"],
|
|
100
|
+
},
|
|
101
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}/restartReplica": {
|
|
102
|
+
deserializer: _restartReplicaDeserialize,
|
|
103
|
+
expectedStatuses: ["202", "200", "201"],
|
|
75
104
|
},
|
|
76
105
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}": {
|
|
77
106
|
deserializer: _$deleteDeserializeServices,
|
|
78
|
-
expectedStatuses: ["202", "204", "200"],
|
|
107
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
79
108
|
},
|
|
80
109
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}": {
|
|
81
110
|
deserializer: _createOrUpdateDeserializeServices,
|
|
82
|
-
expectedStatuses: ["200", "202"],
|
|
111
|
+
expectedStatuses: ["200", "202", "201"],
|
|
83
112
|
},
|
|
84
113
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}": {
|
|
85
114
|
deserializer: _$deleteDeserializeApplicationTypeVersions,
|
|
86
|
-
expectedStatuses: ["202", "204", "200"],
|
|
115
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
87
116
|
},
|
|
88
117
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}": {
|
|
89
118
|
deserializer: _createOrUpdateDeserializeApplicationTypeVersions,
|
|
90
|
-
expectedStatuses: ["200", "202"],
|
|
119
|
+
expectedStatuses: ["200", "202", "201"],
|
|
91
120
|
},
|
|
92
121
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}": {
|
|
93
122
|
deserializer: _$deleteDeserializeApplicationTypes,
|
|
94
|
-
expectedStatuses: ["202", "204", "200"],
|
|
123
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
124
|
+
},
|
|
125
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/restartDeployedCodePackage": {
|
|
126
|
+
deserializer: _restartDeployedCodePackageDeserialize,
|
|
127
|
+
expectedStatuses: ["202", "200", "201"],
|
|
128
|
+
},
|
|
129
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchHealth": {
|
|
130
|
+
deserializer: _fetchHealthDeserialize,
|
|
131
|
+
expectedStatuses: ["202", "200", "201"],
|
|
95
132
|
},
|
|
96
133
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade": {
|
|
97
134
|
deserializer: _updateUpgradeDeserialize,
|
|
98
|
-
expectedStatuses: ["202", "200"],
|
|
135
|
+
expectedStatuses: ["202", "200", "201"],
|
|
99
136
|
},
|
|
100
137
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/startRollback": {
|
|
101
138
|
deserializer: _startRollbackDeserialize,
|
|
102
|
-
expectedStatuses: ["202", "200"],
|
|
139
|
+
expectedStatuses: ["202", "200", "201"],
|
|
103
140
|
},
|
|
104
141
|
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/resumeUpgrade": {
|
|
105
142
|
deserializer: _resumeUpgradeDeserialize,
|
|
106
|
-
expectedStatuses: ["202", "200"],
|
|
143
|
+
expectedStatuses: ["202", "200", "201"],
|
|
144
|
+
},
|
|
145
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchUpgradeStatus": {
|
|
146
|
+
deserializer: _readUpgradeDeserialize,
|
|
147
|
+
expectedStatuses: ["202", "200", "201"],
|
|
107
148
|
},
|
|
108
|
-
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchUpgradeStatus": { deserializer: _readUpgradeDeserialize, expectedStatuses: ["202", "200"] },
|
|
109
149
|
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}": {
|
|
110
150
|
deserializer: _$deleteDeserializeApplications,
|
|
111
|
-
expectedStatuses: ["202", "204", "200"],
|
|
151
|
+
expectedStatuses: ["202", "204", "200", "201"],
|
|
152
|
+
},
|
|
153
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}": {
|
|
154
|
+
deserializer: _updateDeserializeApplications,
|
|
155
|
+
expectedStatuses: ["200", "202", "201"],
|
|
112
156
|
},
|
|
113
157
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}": {
|
|
114
158
|
deserializer: _createOrUpdateDeserializeApplications,
|
|
115
|
-
expectedStatuses: ["200", "202"],
|
|
159
|
+
expectedStatuses: ["200", "202", "201"],
|
|
116
160
|
},
|
|
117
161
|
};
|
|
118
162
|
function getDeserializationHelper(urlStr, method) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,+BAA+B,IAAI,8CAA8C,EACjF,gCAAgC,IAAI,+CAA+C,EACnF,mBAAmB,IAAI,kCAAkC,EACzD,0BAA0B,IAAI,yCAAyC,GACxE,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,mBAAmB,IAAI,2BAA2B,EAClD,0BAA0B,IAAI,kCAAkC,GACjE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,mBAAmB,IAAI,0CAA0C,EACjE,0BAA0B,IAAI,iDAAiD,GAChF,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,mBAAmB,IAAI,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAClH,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,IAAI,+BAA+B,EACtD,0BAA0B,IAAI,sCAAsC,GACrE,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAI1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAgBnD;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAoD,EACpD,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAEvC,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,i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AM,SAAS,GAAG,IAAI,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,IAAI,CAC1E,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CACnB,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,KAAK,GAAG,KAAK,CAAC;oBACd,MAAM;gBACR,CAAC;gBACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ServiceFabricManagedClustersManagementClient } from \"./serviceFabricManagedClustersManagementClient.js\";\nimport {\n _stopFaultSimulationDeserialize,\n _startFaultSimulationDeserialize,\n _startDeserialize,\n _restartDeserialize,\n _reimageDeserialize,\n _redeployDeserialize,\n _deleteNodeDeserialize,\n _deallocateDeserialize,\n _$deleteDeserialize,\n _updateDeserialize,\n _createOrUpdateDeserialize,\n} from \"./api/nodeTypes/operations.js\";\nimport {\n _stopFaultSimulationDeserialize as _stopFaultSimulationDeserializeManagedClusters,\n _startFaultSimulationDeserialize as _startFaultSimulationDeserializeManagedClusters,\n _$deleteDeserialize as _$deleteDeserializeManagedClusters,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeManagedClusters,\n} from \"./api/managedClusters/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeServices,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeServices,\n} from \"./api/services/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeApplicationTypeVersions,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeApplicationTypeVersions,\n} from \"./api/applicationTypeVersions/operations.js\";\nimport { _$deleteDeserialize as _$deleteDeserializeApplicationTypes } from \"./api/applicationTypes/operations.js\";\nimport {\n _updateUpgradeDeserialize,\n _startRollbackDeserialize,\n _resumeUpgradeDeserialize,\n _readUpgradeDeserialize,\n _$deleteDeserialize as _$deleteDeserializeApplications,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeApplications,\n} from \"./api/applications/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: ServiceFabricManagedClustersManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n },\n );\n}\n\ninterface DeserializationHelper {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n deserializer: Function;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation\":\n {\n deserializer: _stopFaultSimulationDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation\":\n {\n deserializer: _startFaultSimulationDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/start\":\n { deserializer: _startDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/restart\":\n { deserializer: _restartDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/reimage\":\n { deserializer: _reimageDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/redeploy\":\n { deserializer: _redeployDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deleteNode\":\n { deserializer: _deleteNodeDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deallocate\":\n { deserializer: _deallocateDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n {\n deserializer: _$deleteDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n {\n deserializer: _createOrUpdateDeserialize,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation\":\n {\n deserializer: _stopFaultSimulationDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation\":\n {\n deserializer: _startFaultSimulationDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}\":\n {\n deserializer: _$deleteDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}\":\n {\n deserializer: _createOrUpdateDeserializeManagedClusters,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}\":\n {\n deserializer: _$deleteDeserializeServices,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}\":\n {\n deserializer: _createOrUpdateDeserializeServices,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}\":\n {\n deserializer: _$deleteDeserializeApplicationTypeVersions,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}\":\n {\n deserializer: _createOrUpdateDeserializeApplicationTypeVersions,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}\":\n {\n deserializer: _$deleteDeserializeApplicationTypes,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade\":\n {\n deserializer: _updateUpgradeDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/startRollback\":\n {\n deserializer: _startRollbackDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/resumeUpgrade\":\n {\n deserializer: _resumeUpgradeDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchUpgradeStatus\":\n { deserializer: _readUpgradeDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}\":\n {\n deserializer: _$deleteDeserializeApplications,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}\":\n {\n deserializer: _createOrUpdateDeserializeApplications,\n expectedStatuses: [\"200\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,+BAA+B,IAAI,8CAA8C,EACjF,gCAAgC,IAAI,+CAA+C,EACnF,mBAAmB,IAAI,kCAAkC,EACzD,kBAAkB,IAAI,iCAAiC,EACvD,0BAA0B,IAAI,yCAAyC,GACxE,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,IAAI,2BAA2B,EAClD,0BAA0B,IAAI,kCAAkC,GACjE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,mBAAmB,IAAI,0CAA0C,EACjE,0BAA0B,IAAI,iDAAiD,GAChF,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,mBAAmB,IAAI,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAClH,OAAO,EACL,sCAAsC,EACtC,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,IAAI,+BAA+B,EACtD,kBAAkB,IAAI,8BAA8B,EACpD,0BAA0B,IAAI,sCAAsC,GACrE,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAI1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAgBnD;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAoD,EACpD,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAE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ACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ServiceFabricManagedClustersManagementClient } from \"./serviceFabricManagedClustersManagementClient.js\";\nimport {\n _stopFaultSimulationDeserialize,\n _startFaultSimulationDeserialize,\n _startDeserialize,\n _restartDeserialize,\n _reimageDeserialize,\n _redeployDeserialize,\n _deleteNodeDeserialize,\n _deallocateDeserialize,\n _$deleteDeserialize,\n _updateDeserialize,\n _createOrUpdateDeserialize,\n} from \"./api/nodeTypes/operations.js\";\nimport {\n _stopFaultSimulationDeserialize as _stopFaultSimulationDeserializeManagedClusters,\n _startFaultSimulationDeserialize as _startFaultSimulationDeserializeManagedClusters,\n _$deleteDeserialize as _$deleteDeserializeManagedClusters,\n _updateDeserialize as _updateDeserializeManagedClusters,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeManagedClusters,\n} from \"./api/managedClusters/operations.js\";\nimport {\n _restartReplicaDeserialize,\n _$deleteDeserialize as _$deleteDeserializeServices,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeServices,\n} from \"./api/services/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeApplicationTypeVersions,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeApplicationTypeVersions,\n} from \"./api/applicationTypeVersions/operations.js\";\nimport { _$deleteDeserialize as _$deleteDeserializeApplicationTypes } from \"./api/applicationTypes/operations.js\";\nimport {\n _restartDeployedCodePackageDeserialize,\n _fetchHealthDeserialize,\n _updateUpgradeDeserialize,\n _startRollbackDeserialize,\n _resumeUpgradeDeserialize,\n _readUpgradeDeserialize,\n _$deleteDeserialize as _$deleteDeserializeApplications,\n _updateDeserialize as _updateDeserializeApplications,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeApplications,\n} from \"./api/applications/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: ServiceFabricManagedClustersManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation\":\n {\n deserializer: _stopFaultSimulationDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation\":\n {\n deserializer: _startFaultSimulationDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/start\":\n {\n deserializer: _startDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/restart\":\n {\n deserializer: _restartDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/reimage\":\n {\n deserializer: _reimageDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/redeploy\":\n {\n deserializer: _redeployDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deleteNode\":\n {\n deserializer: _deleteNodeDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deallocate\":\n {\n deserializer: _deallocateDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n {\n deserializer: _$deleteDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n {\n deserializer: _updateDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}\":\n {\n deserializer: _createOrUpdateDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation\":\n {\n deserializer: _stopFaultSimulationDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation\":\n {\n deserializer: _startFaultSimulationDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}\":\n {\n deserializer: _$deleteDeserializeManagedClusters,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}\":\n {\n deserializer: _updateDeserializeManagedClusters,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}\":\n {\n deserializer: _createOrUpdateDeserializeManagedClusters,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}/restartReplica\":\n {\n deserializer: _restartReplicaDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}\":\n {\n deserializer: _$deleteDeserializeServices,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}\":\n {\n deserializer: _createOrUpdateDeserializeServices,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}\":\n {\n deserializer: _$deleteDeserializeApplicationTypeVersions,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}\":\n {\n deserializer: _createOrUpdateDeserializeApplicationTypeVersions,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}\":\n {\n deserializer: _$deleteDeserializeApplicationTypes,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/restartDeployedCodePackage\":\n {\n deserializer: _restartDeployedCodePackageDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchHealth\":\n {\n deserializer: _fetchHealthDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade\":\n {\n deserializer: _updateUpgradeDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/startRollback\":\n {\n deserializer: _startRollbackDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/resumeUpgrade\":\n {\n deserializer: _resumeUpgradeDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchUpgradeStatus\":\n {\n deserializer: _readUpgradeDeserialize,\n expectedStatuses: [\"202\", \"200\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}\":\n {\n deserializer: _$deleteDeserializeApplications,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}\":\n {\n deserializer: _updateDeserializeApplications,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}\":\n {\n deserializer: _createOrUpdateDeserializeApplications,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-servicefabricmanagedclusters",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"description": "A generated SDK for ServiceFabricManagedClustersManagementClient.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -75,34 +75,34 @@
|
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@azure
|
|
78
|
+
"@azure/core-util": "^1.12.0",
|
|
79
|
+
"@azure-rest/core-client": "^2.3.1",
|
|
79
80
|
"@azure/abort-controller": "^2.1.2",
|
|
80
81
|
"@azure/core-auth": "^1.9.0",
|
|
81
|
-
"@azure/core-lro": "^3.
|
|
82
|
-
"@azure/core-rest-pipeline": "^1.
|
|
83
|
-
"@azure/
|
|
84
|
-
"@azure/logger": "^1.1.4",
|
|
82
|
+
"@azure/core-lro": "^3.1.0",
|
|
83
|
+
"@azure/core-rest-pipeline": "^1.20.0",
|
|
84
|
+
"@azure/logger": "^1.2.0",
|
|
85
85
|
"tslib": "^2.8.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@vitest/coverage-istanbul": "^3.2.3",
|
|
88
|
+
"tshy": "^3.0.3",
|
|
89
|
+
"@azure/identity": "4.13.0",
|
|
90
|
+
"@types/node": "^20.19.25",
|
|
92
91
|
"cross-env": "^7.0.3",
|
|
93
|
-
"
|
|
94
|
-
"eslint": "^9.33.0",
|
|
95
|
-
"playwright": "^1.50.1",
|
|
92
|
+
"eslint": "^9.39.1",
|
|
96
93
|
"prettier": "^3.6.2",
|
|
97
|
-
"rimraf": "^6.0
|
|
98
|
-
"
|
|
94
|
+
"rimraf": "^6.1.0",
|
|
95
|
+
"@vitest/browser-playwright": "^4.0.8",
|
|
96
|
+
"@vitest/coverage-istanbul": "^4.0.8",
|
|
97
|
+
"dotenv": "^16.6.1",
|
|
98
|
+
"playwright": "^1.56.1",
|
|
99
99
|
"typescript": "~5.9.3",
|
|
100
|
-
"vitest": "^
|
|
100
|
+
"vitest": "^4.0.8",
|
|
101
|
+
"@azure-tools/test-credential": "^2.1.2",
|
|
101
102
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
102
|
-
"@azure/dev-tool": "^1.0.0",
|
|
103
103
|
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
104
|
-
"@azure/
|
|
105
|
-
"@azure
|
|
104
|
+
"@azure/dev-tool": "^1.0.0",
|
|
105
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
106
106
|
},
|
|
107
107
|
"//sampleConfiguration": {
|
|
108
108
|
"productName": "@azure/arm-servicefabricmanagedclusters",
|