@azure/arm-servicefabric 2.0.1-alpha.20220106.1 → 2.0.1-alpha.20220202.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.
- package/dist/index.js +147 -79
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,16 +33,22 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link AddOnFeatures} that the service accepts. */
|
|
37
|
+
exports.KnownAddOnFeatures = void 0;
|
|
16
38
|
(function (KnownAddOnFeatures) {
|
|
17
39
|
KnownAddOnFeatures["RepairManager"] = "RepairManager";
|
|
18
40
|
KnownAddOnFeatures["DnsService"] = "DnsService";
|
|
19
41
|
KnownAddOnFeatures["BackupRestoreService"] = "BackupRestoreService";
|
|
20
42
|
KnownAddOnFeatures["ResourceMonitorService"] = "ResourceMonitorService";
|
|
21
43
|
})(exports.KnownAddOnFeatures || (exports.KnownAddOnFeatures = {}));
|
|
44
|
+
/** Known values of {@link ClusterEnvironment} that the service accepts. */
|
|
45
|
+
exports.KnownClusterEnvironment = void 0;
|
|
22
46
|
(function (KnownClusterEnvironment) {
|
|
23
47
|
KnownClusterEnvironment["Windows"] = "Windows";
|
|
24
48
|
KnownClusterEnvironment["Linux"] = "Linux";
|
|
25
49
|
})(exports.KnownClusterEnvironment || (exports.KnownClusterEnvironment = {}));
|
|
50
|
+
/** Known values of {@link StoreName} that the service accepts. */
|
|
51
|
+
exports.KnownStoreName = void 0;
|
|
26
52
|
(function (KnownStoreName) {
|
|
27
53
|
KnownStoreName["AddressBook"] = "AddressBook";
|
|
28
54
|
KnownStoreName["AuthRoot"] = "AuthRoot";
|
|
@@ -33,6 +59,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
33
59
|
KnownStoreName["TrustedPeople"] = "TrustedPeople";
|
|
34
60
|
KnownStoreName["TrustedPublisher"] = "TrustedPublisher";
|
|
35
61
|
})(exports.KnownStoreName || (exports.KnownStoreName = {}));
|
|
62
|
+
/** Known values of {@link ClusterState} that the service accepts. */
|
|
63
|
+
exports.KnownClusterState = void 0;
|
|
36
64
|
(function (KnownClusterState) {
|
|
37
65
|
KnownClusterState["WaitingForNodes"] = "WaitingForNodes";
|
|
38
66
|
KnownClusterState["Deploying"] = "Deploying";
|
|
@@ -45,17 +73,23 @@ var coreLro = require('@azure/core-lro');
|
|
|
45
73
|
KnownClusterState["AutoScale"] = "AutoScale";
|
|
46
74
|
KnownClusterState["Ready"] = "Ready";
|
|
47
75
|
})(exports.KnownClusterState || (exports.KnownClusterState = {}));
|
|
76
|
+
/** Known values of {@link DurabilityLevel} that the service accepts. */
|
|
77
|
+
exports.KnownDurabilityLevel = void 0;
|
|
48
78
|
(function (KnownDurabilityLevel) {
|
|
49
79
|
KnownDurabilityLevel["Bronze"] = "Bronze";
|
|
50
80
|
KnownDurabilityLevel["Silver"] = "Silver";
|
|
51
81
|
KnownDurabilityLevel["Gold"] = "Gold";
|
|
52
82
|
})(exports.KnownDurabilityLevel || (exports.KnownDurabilityLevel = {}));
|
|
83
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
84
|
+
exports.KnownProvisioningState = void 0;
|
|
53
85
|
(function (KnownProvisioningState) {
|
|
54
86
|
KnownProvisioningState["Updating"] = "Updating";
|
|
55
87
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
56
88
|
KnownProvisioningState["Failed"] = "Failed";
|
|
57
89
|
KnownProvisioningState["Canceled"] = "Canceled";
|
|
58
90
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
91
|
+
/** Known values of {@link ReliabilityLevel} that the service accepts. */
|
|
92
|
+
exports.KnownReliabilityLevel = void 0;
|
|
59
93
|
(function (KnownReliabilityLevel) {
|
|
60
94
|
KnownReliabilityLevel["None"] = "None";
|
|
61
95
|
KnownReliabilityLevel["Bronze"] = "Bronze";
|
|
@@ -63,24 +97,32 @@ var coreLro = require('@azure/core-lro');
|
|
|
63
97
|
KnownReliabilityLevel["Gold"] = "Gold";
|
|
64
98
|
KnownReliabilityLevel["Platinum"] = "Platinum";
|
|
65
99
|
})(exports.KnownReliabilityLevel || (exports.KnownReliabilityLevel = {}));
|
|
100
|
+
/** Known values of {@link UpgradeMode} that the service accepts. */
|
|
101
|
+
exports.KnownUpgradeMode = void 0;
|
|
66
102
|
(function (KnownUpgradeMode) {
|
|
67
103
|
/** The cluster will be automatically upgraded to the latest Service Fabric runtime version, **upgradeWave** will determine when the upgrade starts after the new version becomes available. */
|
|
68
104
|
KnownUpgradeMode["Automatic"] = "Automatic";
|
|
69
105
|
/** The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource. */
|
|
70
106
|
KnownUpgradeMode["Manual"] = "Manual";
|
|
71
107
|
})(exports.KnownUpgradeMode || (exports.KnownUpgradeMode = {}));
|
|
108
|
+
/** Known values of {@link SfZonalUpgradeMode} that the service accepts. */
|
|
109
|
+
exports.KnownSfZonalUpgradeMode = void 0;
|
|
72
110
|
(function (KnownSfZonalUpgradeMode) {
|
|
73
111
|
/** VMs under the node type are grouped into UDs and ignore the zone info in five UDs. This setting causes UDs across all zones to be upgraded at the same time. This deployment mode is faster for upgrades, we don't recommend it because it goes against the SDP guidelines, which state that the updates should be applied to one zone at a time. */
|
|
74
112
|
KnownSfZonalUpgradeMode["Parallel"] = "Parallel";
|
|
75
113
|
/** If this value is omitted or set to Hierarchical, VMs are grouped to reflect the zonal distribution in up to 15 UDs. Each of the three zones has five UDs. This ensures that the zones are updated one at a time, moving to next zone only after completing five UDs within the first zone. This update process is safer for the cluster and the user application. */
|
|
76
114
|
KnownSfZonalUpgradeMode["Hierarchical"] = "Hierarchical";
|
|
77
115
|
})(exports.KnownSfZonalUpgradeMode || (exports.KnownSfZonalUpgradeMode = {}));
|
|
116
|
+
/** Known values of {@link VmssZonalUpgradeMode} that the service accepts. */
|
|
117
|
+
exports.KnownVmssZonalUpgradeMode = void 0;
|
|
78
118
|
(function (KnownVmssZonalUpgradeMode) {
|
|
79
119
|
/** Updates will happen in all Availability Zones at once for the virtual machine scale sets. */
|
|
80
120
|
KnownVmssZonalUpgradeMode["Parallel"] = "Parallel";
|
|
81
121
|
/** VMs are grouped to reflect the zonal distribution in up to 15 UDs. Each of the three zones has five UDs. This ensures that the zones are updated one at a time, moving to next zone only after completing five UDs within the first zone. */
|
|
82
122
|
KnownVmssZonalUpgradeMode["Hierarchical"] = "Hierarchical";
|
|
83
123
|
})(exports.KnownVmssZonalUpgradeMode || (exports.KnownVmssZonalUpgradeMode = {}));
|
|
124
|
+
/** Known values of {@link ClusterUpgradeCadence} that the service accepts. */
|
|
125
|
+
exports.KnownClusterUpgradeCadence = void 0;
|
|
84
126
|
(function (KnownClusterUpgradeCadence) {
|
|
85
127
|
/** Cluster upgrade starts immediately after a new version is rolled out. Recommended for Test/Dev clusters. */
|
|
86
128
|
KnownClusterUpgradeCadence["Wave0"] = "Wave0";
|
|
@@ -89,32 +131,44 @@ var coreLro = require('@azure/core-lro');
|
|
|
89
131
|
/** Cluster upgrade starts 14 days after a new version is rolled out. Recommended for Production clusters. */
|
|
90
132
|
KnownClusterUpgradeCadence["Wave2"] = "Wave2";
|
|
91
133
|
})(exports.KnownClusterUpgradeCadence || (exports.KnownClusterUpgradeCadence = {}));
|
|
134
|
+
/** Known values of {@link NotificationCategory} that the service accepts. */
|
|
135
|
+
exports.KnownNotificationCategory = void 0;
|
|
92
136
|
(function (KnownNotificationCategory) {
|
|
93
137
|
/** Notification will be regarding wave progress. */
|
|
94
138
|
KnownNotificationCategory["WaveProgress"] = "WaveProgress";
|
|
95
139
|
})(exports.KnownNotificationCategory || (exports.KnownNotificationCategory = {}));
|
|
140
|
+
/** Known values of {@link NotificationLevel} that the service accepts. */
|
|
141
|
+
exports.KnownNotificationLevel = void 0;
|
|
96
142
|
(function (KnownNotificationLevel) {
|
|
97
143
|
/** Receive only critical notifications. */
|
|
98
144
|
KnownNotificationLevel["Critical"] = "Critical";
|
|
99
145
|
/** Receive all notifications. */
|
|
100
146
|
KnownNotificationLevel["All"] = "All";
|
|
101
147
|
})(exports.KnownNotificationLevel || (exports.KnownNotificationLevel = {}));
|
|
148
|
+
/** Known values of {@link NotificationChannel} that the service accepts. */
|
|
149
|
+
exports.KnownNotificationChannel = void 0;
|
|
102
150
|
(function (KnownNotificationChannel) {
|
|
103
151
|
/** For email user receivers. In this case, the parameter receivers should be a list of email addresses that will receive the notifications. */
|
|
104
152
|
KnownNotificationChannel["EmailUser"] = "EmailUser";
|
|
105
153
|
/** For subscription receivers. In this case, the parameter receivers should be a list of roles of the subscription for the cluster (eg. Owner, AccountAdmin, etc) that will receive the notifications. */
|
|
106
154
|
KnownNotificationChannel["EmailSubscription"] = "EmailSubscription";
|
|
107
155
|
})(exports.KnownNotificationChannel || (exports.KnownNotificationChannel = {}));
|
|
156
|
+
/** Known values of {@link Enum14} that the service accepts. */
|
|
157
|
+
exports.KnownEnum14 = void 0;
|
|
108
158
|
(function (KnownEnum14) {
|
|
109
159
|
KnownEnum14["Windows"] = "Windows";
|
|
110
160
|
KnownEnum14["Linux"] = "Linux";
|
|
111
161
|
})(exports.KnownEnum14 || (exports.KnownEnum14 = {}));
|
|
162
|
+
/** Known values of {@link ArmUpgradeFailureAction} that the service accepts. */
|
|
163
|
+
exports.KnownArmUpgradeFailureAction = void 0;
|
|
112
164
|
(function (KnownArmUpgradeFailureAction) {
|
|
113
165
|
/** Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails. */
|
|
114
166
|
KnownArmUpgradeFailureAction["Rollback"] = "Rollback";
|
|
115
167
|
/** 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. */
|
|
116
168
|
KnownArmUpgradeFailureAction["Manual"] = "Manual";
|
|
117
169
|
})(exports.KnownArmUpgradeFailureAction || (exports.KnownArmUpgradeFailureAction = {}));
|
|
170
|
+
/** Known values of {@link RollingUpgradeMode} that the service accepts. */
|
|
171
|
+
exports.KnownRollingUpgradeMode = void 0;
|
|
118
172
|
(function (KnownRollingUpgradeMode) {
|
|
119
173
|
/** Indicates the upgrade mode is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
|
|
120
174
|
KnownRollingUpgradeMode["Invalid"] = "Invalid";
|
|
@@ -125,6 +179,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
125
179
|
/** The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 3 */
|
|
126
180
|
KnownRollingUpgradeMode["Monitored"] = "Monitored";
|
|
127
181
|
})(exports.KnownRollingUpgradeMode || (exports.KnownRollingUpgradeMode = {}));
|
|
182
|
+
/** Known values of {@link ServiceKind} that the service accepts. */
|
|
183
|
+
exports.KnownServiceKind = void 0;
|
|
128
184
|
(function (KnownServiceKind) {
|
|
129
185
|
/** Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
|
|
130
186
|
KnownServiceKind["Invalid"] = "Invalid";
|
|
@@ -133,6 +189,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
133
189
|
/** Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2. */
|
|
134
190
|
KnownServiceKind["Stateful"] = "Stateful";
|
|
135
191
|
})(exports.KnownServiceKind || (exports.KnownServiceKind = {}));
|
|
192
|
+
/** Known values of {@link PartitionScheme} that the service accepts. */
|
|
193
|
+
exports.KnownPartitionScheme = void 0;
|
|
136
194
|
(function (KnownPartitionScheme) {
|
|
137
195
|
/** Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
|
|
138
196
|
KnownPartitionScheme["Invalid"] = "Invalid";
|
|
@@ -143,12 +201,16 @@ var coreLro = require('@azure/core-lro');
|
|
|
143
201
|
/** Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3 */
|
|
144
202
|
KnownPartitionScheme["Named"] = "Named";
|
|
145
203
|
})(exports.KnownPartitionScheme || (exports.KnownPartitionScheme = {}));
|
|
204
|
+
/** Known values of {@link ArmServicePackageActivationMode} that the service accepts. */
|
|
205
|
+
exports.KnownArmServicePackageActivationMode = void 0;
|
|
146
206
|
(function (KnownArmServicePackageActivationMode) {
|
|
147
207
|
/** Indicates the application package activation mode will use shared process. */
|
|
148
208
|
KnownArmServicePackageActivationMode["SharedProcess"] = "SharedProcess";
|
|
149
209
|
/** Indicates the application package activation mode will use exclusive process. */
|
|
150
210
|
KnownArmServicePackageActivationMode["ExclusiveProcess"] = "ExclusiveProcess";
|
|
151
211
|
})(exports.KnownArmServicePackageActivationMode || (exports.KnownArmServicePackageActivationMode = {}));
|
|
212
|
+
/** Known values of {@link ServiceCorrelationScheme} that the service accepts. */
|
|
213
|
+
exports.KnownServiceCorrelationScheme = void 0;
|
|
152
214
|
(function (KnownServiceCorrelationScheme) {
|
|
153
215
|
/** An invalid correlation scheme. Cannot be used. The value is zero. */
|
|
154
216
|
KnownServiceCorrelationScheme["Invalid"] = "Invalid";
|
|
@@ -159,6 +221,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
159
221
|
/** Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3. */
|
|
160
222
|
KnownServiceCorrelationScheme["NonAlignedAffinity"] = "NonAlignedAffinity";
|
|
161
223
|
})(exports.KnownServiceCorrelationScheme || (exports.KnownServiceCorrelationScheme = {}));
|
|
224
|
+
/** Known values of {@link ServiceLoadMetricWeight} that the service accepts. */
|
|
225
|
+
exports.KnownServiceLoadMetricWeight = void 0;
|
|
162
226
|
(function (KnownServiceLoadMetricWeight) {
|
|
163
227
|
/** Disables resource balancing for this metric. This value is zero. */
|
|
164
228
|
KnownServiceLoadMetricWeight["Zero"] = "Zero";
|
|
@@ -169,6 +233,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
169
233
|
/** Specifies the metric weight of the service load as High. The value is 3. */
|
|
170
234
|
KnownServiceLoadMetricWeight["High"] = "High";
|
|
171
235
|
})(exports.KnownServiceLoadMetricWeight || (exports.KnownServiceLoadMetricWeight = {}));
|
|
236
|
+
/** Known values of {@link ServicePlacementPolicyType} that the service accepts. */
|
|
237
|
+
exports.KnownServicePlacementPolicyType = void 0;
|
|
172
238
|
(function (KnownServicePlacementPolicyType) {
|
|
173
239
|
/** Indicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
|
|
174
240
|
KnownServicePlacementPolicyType["Invalid"] = "Invalid";
|
|
@@ -183,6 +249,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
183
249
|
/** Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5. */
|
|
184
250
|
KnownServicePlacementPolicyType["NonPartiallyPlaceService"] = "NonPartiallyPlaceService";
|
|
185
251
|
})(exports.KnownServicePlacementPolicyType || (exports.KnownServicePlacementPolicyType = {}));
|
|
252
|
+
/** Known values of {@link MoveCost} that the service accepts. */
|
|
253
|
+
exports.KnownMoveCost = void 0;
|
|
186
254
|
(function (KnownMoveCost) {
|
|
187
255
|
/** Zero move cost. This value is zero. */
|
|
188
256
|
KnownMoveCost["Zero"] = "Zero";
|
|
@@ -3352,7 +3420,7 @@ class ClustersImpl {
|
|
|
3352
3420
|
* @param options The options parameters.
|
|
3353
3421
|
*/
|
|
3354
3422
|
get(resourceGroupName, clusterName, options) {
|
|
3355
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
|
|
3423
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec$5);
|
|
3356
3424
|
}
|
|
3357
3425
|
/**
|
|
3358
3426
|
* Create or update a Service Fabric cluster resource with the specified name.
|
|
@@ -3385,7 +3453,7 @@ class ClustersImpl {
|
|
|
3385
3453
|
}
|
|
3386
3454
|
};
|
|
3387
3455
|
});
|
|
3388
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOrUpdateOperationSpec);
|
|
3456
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOrUpdateOperationSpec$4);
|
|
3389
3457
|
return new coreLro.LroEngine(lro, {
|
|
3390
3458
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3391
3459
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3437,7 +3505,7 @@ class ClustersImpl {
|
|
|
3437
3505
|
}
|
|
3438
3506
|
};
|
|
3439
3507
|
});
|
|
3440
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
|
|
3508
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, updateOperationSpec$2);
|
|
3441
3509
|
return new coreLro.LroEngine(lro, {
|
|
3442
3510
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3443
3511
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3465,7 +3533,7 @@ class ClustersImpl {
|
|
|
3465
3533
|
* @param options The options parameters.
|
|
3466
3534
|
*/
|
|
3467
3535
|
delete(resourceGroupName, clusterName, options) {
|
|
3468
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, deleteOperationSpec);
|
|
3536
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, deleteOperationSpec$4);
|
|
3469
3537
|
}
|
|
3470
3538
|
/**
|
|
3471
3539
|
* Gets all Service Fabric cluster resources created or in the process of being created in the resource
|
|
@@ -3482,7 +3550,7 @@ class ClustersImpl {
|
|
|
3482
3550
|
* @param options The options parameters.
|
|
3483
3551
|
*/
|
|
3484
3552
|
list(options) {
|
|
3485
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
3553
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$6);
|
|
3486
3554
|
}
|
|
3487
3555
|
/**
|
|
3488
3556
|
* If a target is not provided, it will get the minimum and maximum versions available from the current
|
|
@@ -3497,8 +3565,8 @@ class ClustersImpl {
|
|
|
3497
3565
|
}
|
|
3498
3566
|
}
|
|
3499
3567
|
// Operation Specifications
|
|
3500
|
-
const serializer =
|
|
3501
|
-
const getOperationSpec = {
|
|
3568
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3569
|
+
const getOperationSpec$5 = {
|
|
3502
3570
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}",
|
|
3503
3571
|
httpMethod: "GET",
|
|
3504
3572
|
responses: {
|
|
@@ -3517,9 +3585,9 @@ const getOperationSpec = {
|
|
|
3517
3585
|
subscriptionId
|
|
3518
3586
|
],
|
|
3519
3587
|
headerParameters: [accept],
|
|
3520
|
-
serializer
|
|
3588
|
+
serializer: serializer$6
|
|
3521
3589
|
};
|
|
3522
|
-
const createOrUpdateOperationSpec = {
|
|
3590
|
+
const createOrUpdateOperationSpec$4 = {
|
|
3523
3591
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}",
|
|
3524
3592
|
httpMethod: "PUT",
|
|
3525
3593
|
responses: {
|
|
@@ -3549,9 +3617,9 @@ const createOrUpdateOperationSpec = {
|
|
|
3549
3617
|
],
|
|
3550
3618
|
headerParameters: [accept, contentType],
|
|
3551
3619
|
mediaType: "json",
|
|
3552
|
-
serializer
|
|
3620
|
+
serializer: serializer$6
|
|
3553
3621
|
};
|
|
3554
|
-
const updateOperationSpec = {
|
|
3622
|
+
const updateOperationSpec$2 = {
|
|
3555
3623
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}",
|
|
3556
3624
|
httpMethod: "PATCH",
|
|
3557
3625
|
responses: {
|
|
@@ -3581,9 +3649,9 @@ const updateOperationSpec = {
|
|
|
3581
3649
|
],
|
|
3582
3650
|
headerParameters: [accept, contentType],
|
|
3583
3651
|
mediaType: "json",
|
|
3584
|
-
serializer
|
|
3652
|
+
serializer: serializer$6
|
|
3585
3653
|
};
|
|
3586
|
-
const deleteOperationSpec = {
|
|
3654
|
+
const deleteOperationSpec$4 = {
|
|
3587
3655
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}",
|
|
3588
3656
|
httpMethod: "DELETE",
|
|
3589
3657
|
responses: {
|
|
@@ -3601,7 +3669,7 @@ const deleteOperationSpec = {
|
|
|
3601
3669
|
subscriptionId
|
|
3602
3670
|
],
|
|
3603
3671
|
headerParameters: [accept],
|
|
3604
|
-
serializer
|
|
3672
|
+
serializer: serializer$6
|
|
3605
3673
|
};
|
|
3606
3674
|
const listByResourceGroupOperationSpec = {
|
|
3607
3675
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters",
|
|
@@ -3621,9 +3689,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
3621
3689
|
subscriptionId
|
|
3622
3690
|
],
|
|
3623
3691
|
headerParameters: [accept],
|
|
3624
|
-
serializer
|
|
3692
|
+
serializer: serializer$6
|
|
3625
3693
|
};
|
|
3626
|
-
const listOperationSpec = {
|
|
3694
|
+
const listOperationSpec$6 = {
|
|
3627
3695
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters",
|
|
3628
3696
|
httpMethod: "GET",
|
|
3629
3697
|
responses: {
|
|
@@ -3637,7 +3705,7 @@ const listOperationSpec = {
|
|
|
3637
3705
|
queryParameters: [apiVersion],
|
|
3638
3706
|
urlParameters: [$host, subscriptionId],
|
|
3639
3707
|
headerParameters: [accept],
|
|
3640
|
-
serializer
|
|
3708
|
+
serializer: serializer$6
|
|
3641
3709
|
};
|
|
3642
3710
|
const listUpgradableVersionsOperationSpec = {
|
|
3643
3711
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions",
|
|
@@ -3660,7 +3728,7 @@ const listUpgradableVersionsOperationSpec = {
|
|
|
3660
3728
|
],
|
|
3661
3729
|
headerParameters: [accept, contentType],
|
|
3662
3730
|
mediaType: "json",
|
|
3663
|
-
serializer
|
|
3731
|
+
serializer: serializer$6
|
|
3664
3732
|
};
|
|
3665
3733
|
|
|
3666
3734
|
/*
|
|
@@ -3686,7 +3754,7 @@ class ClusterVersionsImpl {
|
|
|
3686
3754
|
* @param options The options parameters.
|
|
3687
3755
|
*/
|
|
3688
3756
|
get(location, clusterVersion, options) {
|
|
3689
|
-
return this.client.sendOperationRequest({ location, clusterVersion, options }, getOperationSpec$
|
|
3757
|
+
return this.client.sendOperationRequest({ location, clusterVersion, options }, getOperationSpec$4);
|
|
3690
3758
|
}
|
|
3691
3759
|
/**
|
|
3692
3760
|
* Gets information about an available Service Fabric cluster code version by environment.
|
|
@@ -3704,7 +3772,7 @@ class ClusterVersionsImpl {
|
|
|
3704
3772
|
* @param options The options parameters.
|
|
3705
3773
|
*/
|
|
3706
3774
|
list(location, options) {
|
|
3707
|
-
return this.client.sendOperationRequest({ location, options }, listOperationSpec$
|
|
3775
|
+
return this.client.sendOperationRequest({ location, options }, listOperationSpec$5);
|
|
3708
3776
|
}
|
|
3709
3777
|
/**
|
|
3710
3778
|
* Gets all available code versions for Service Fabric cluster resources by environment.
|
|
@@ -3717,8 +3785,8 @@ class ClusterVersionsImpl {
|
|
|
3717
3785
|
}
|
|
3718
3786
|
}
|
|
3719
3787
|
// Operation Specifications
|
|
3720
|
-
const serializer$
|
|
3721
|
-
const getOperationSpec$
|
|
3788
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3789
|
+
const getOperationSpec$4 = {
|
|
3722
3790
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}",
|
|
3723
3791
|
httpMethod: "GET",
|
|
3724
3792
|
responses: {
|
|
@@ -3737,7 +3805,7 @@ const getOperationSpec$1 = {
|
|
|
3737
3805
|
clusterVersion
|
|
3738
3806
|
],
|
|
3739
3807
|
headerParameters: [accept],
|
|
3740
|
-
serializer: serializer$
|
|
3808
|
+
serializer: serializer$5
|
|
3741
3809
|
};
|
|
3742
3810
|
const getByEnvironmentOperationSpec = {
|
|
3743
3811
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}",
|
|
@@ -3759,9 +3827,9 @@ const getByEnvironmentOperationSpec = {
|
|
|
3759
3827
|
environment
|
|
3760
3828
|
],
|
|
3761
3829
|
headerParameters: [accept],
|
|
3762
|
-
serializer: serializer$
|
|
3830
|
+
serializer: serializer$5
|
|
3763
3831
|
};
|
|
3764
|
-
const listOperationSpec$
|
|
3832
|
+
const listOperationSpec$5 = {
|
|
3765
3833
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions",
|
|
3766
3834
|
httpMethod: "GET",
|
|
3767
3835
|
responses: {
|
|
@@ -3779,7 +3847,7 @@ const listOperationSpec$1 = {
|
|
|
3779
3847
|
location
|
|
3780
3848
|
],
|
|
3781
3849
|
headerParameters: [accept],
|
|
3782
|
-
serializer: serializer$
|
|
3850
|
+
serializer: serializer$5
|
|
3783
3851
|
};
|
|
3784
3852
|
const listByEnvironmentOperationSpec = {
|
|
3785
3853
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions",
|
|
@@ -3800,7 +3868,7 @@ const listByEnvironmentOperationSpec = {
|
|
|
3800
3868
|
environment
|
|
3801
3869
|
],
|
|
3802
3870
|
headerParameters: [accept],
|
|
3803
|
-
serializer: serializer$
|
|
3871
|
+
serializer: serializer$5
|
|
3804
3872
|
};
|
|
3805
3873
|
|
|
3806
3874
|
/*
|
|
@@ -3873,7 +3941,7 @@ class OperationsImpl {
|
|
|
3873
3941
|
* @param options The options parameters.
|
|
3874
3942
|
*/
|
|
3875
3943
|
_list(options) {
|
|
3876
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
3944
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$4);
|
|
3877
3945
|
}
|
|
3878
3946
|
/**
|
|
3879
3947
|
* ListNext
|
|
@@ -3885,8 +3953,8 @@ class OperationsImpl {
|
|
|
3885
3953
|
}
|
|
3886
3954
|
}
|
|
3887
3955
|
// Operation Specifications
|
|
3888
|
-
const serializer$
|
|
3889
|
-
const listOperationSpec$
|
|
3956
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3957
|
+
const listOperationSpec$4 = {
|
|
3890
3958
|
path: "/providers/Microsoft.ServiceFabric/operations",
|
|
3891
3959
|
httpMethod: "GET",
|
|
3892
3960
|
responses: {
|
|
@@ -3900,7 +3968,7 @@ const listOperationSpec$2 = {
|
|
|
3900
3968
|
queryParameters: [apiVersion],
|
|
3901
3969
|
urlParameters: [$host],
|
|
3902
3970
|
headerParameters: [accept],
|
|
3903
|
-
serializer: serializer$
|
|
3971
|
+
serializer: serializer$4
|
|
3904
3972
|
};
|
|
3905
3973
|
const listNextOperationSpec = {
|
|
3906
3974
|
path: "{nextLink}",
|
|
@@ -3916,7 +3984,7 @@ const listNextOperationSpec = {
|
|
|
3916
3984
|
queryParameters: [apiVersion],
|
|
3917
3985
|
urlParameters: [$host, nextLink],
|
|
3918
3986
|
headerParameters: [accept],
|
|
3919
|
-
serializer: serializer$
|
|
3987
|
+
serializer: serializer$4
|
|
3920
3988
|
};
|
|
3921
3989
|
|
|
3922
3990
|
/*
|
|
@@ -3944,7 +4012,7 @@ class ApplicationTypesImpl {
|
|
|
3944
4012
|
* @param options The options parameters.
|
|
3945
4013
|
*/
|
|
3946
4014
|
get(resourceGroupName, clusterName, applicationTypeName, options) {
|
|
3947
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, options }, getOperationSpec$
|
|
4015
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, options }, getOperationSpec$3);
|
|
3948
4016
|
}
|
|
3949
4017
|
/**
|
|
3950
4018
|
* Create or update a Service Fabric application type name resource with the specified name.
|
|
@@ -3961,7 +4029,7 @@ class ApplicationTypesImpl {
|
|
|
3961
4029
|
applicationTypeName,
|
|
3962
4030
|
parameters,
|
|
3963
4031
|
options
|
|
3964
|
-
}, createOrUpdateOperationSpec$
|
|
4032
|
+
}, createOrUpdateOperationSpec$3);
|
|
3965
4033
|
}
|
|
3966
4034
|
/**
|
|
3967
4035
|
* Delete a Service Fabric application type name resource with the specified name.
|
|
@@ -3994,7 +4062,7 @@ class ApplicationTypesImpl {
|
|
|
3994
4062
|
}
|
|
3995
4063
|
};
|
|
3996
4064
|
});
|
|
3997
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationTypeName, options }, deleteOperationSpec$
|
|
4065
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationTypeName, options }, deleteOperationSpec$3);
|
|
3998
4066
|
return new coreLro.LroEngine(lro, {
|
|
3999
4067
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4000
4068
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4026,8 +4094,8 @@ class ApplicationTypesImpl {
|
|
|
4026
4094
|
}
|
|
4027
4095
|
}
|
|
4028
4096
|
// Operation Specifications
|
|
4029
|
-
const serializer$3 =
|
|
4030
|
-
const getOperationSpec$
|
|
4097
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4098
|
+
const getOperationSpec$3 = {
|
|
4031
4099
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}",
|
|
4032
4100
|
httpMethod: "GET",
|
|
4033
4101
|
responses: {
|
|
@@ -4049,7 +4117,7 @@ const getOperationSpec$2 = {
|
|
|
4049
4117
|
headerParameters: [accept],
|
|
4050
4118
|
serializer: serializer$3
|
|
4051
4119
|
};
|
|
4052
|
-
const createOrUpdateOperationSpec$
|
|
4120
|
+
const createOrUpdateOperationSpec$3 = {
|
|
4053
4121
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}",
|
|
4054
4122
|
httpMethod: "PUT",
|
|
4055
4123
|
responses: {
|
|
@@ -4073,7 +4141,7 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
4073
4141
|
mediaType: "json",
|
|
4074
4142
|
serializer: serializer$3
|
|
4075
4143
|
};
|
|
4076
|
-
const deleteOperationSpec$
|
|
4144
|
+
const deleteOperationSpec$3 = {
|
|
4077
4145
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}",
|
|
4078
4146
|
httpMethod: "DELETE",
|
|
4079
4147
|
responses: {
|
|
@@ -4144,7 +4212,7 @@ class ApplicationTypeVersionsImpl {
|
|
|
4144
4212
|
* @param options The options parameters.
|
|
4145
4213
|
*/
|
|
4146
4214
|
get(resourceGroupName, clusterName, applicationTypeName, version, options) {
|
|
4147
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, version, options }, getOperationSpec$
|
|
4215
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, version, options }, getOperationSpec$2);
|
|
4148
4216
|
}
|
|
4149
4217
|
/**
|
|
4150
4218
|
* Create or update a Service Fabric application type version resource with the specified name.
|
|
@@ -4270,12 +4338,12 @@ class ApplicationTypeVersionsImpl {
|
|
|
4270
4338
|
* @param options The options parameters.
|
|
4271
4339
|
*/
|
|
4272
4340
|
list(resourceGroupName, clusterName, applicationTypeName, options) {
|
|
4273
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, options }, listOperationSpec$
|
|
4341
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationTypeName, options }, listOperationSpec$2);
|
|
4274
4342
|
}
|
|
4275
4343
|
}
|
|
4276
4344
|
// Operation Specifications
|
|
4277
|
-
const serializer$
|
|
4278
|
-
const getOperationSpec$
|
|
4345
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4346
|
+
const getOperationSpec$2 = {
|
|
4279
4347
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}",
|
|
4280
4348
|
httpMethod: "GET",
|
|
4281
4349
|
responses: {
|
|
@@ -4296,7 +4364,7 @@ const getOperationSpec$3 = {
|
|
|
4296
4364
|
version
|
|
4297
4365
|
],
|
|
4298
4366
|
headerParameters: [accept],
|
|
4299
|
-
serializer: serializer$
|
|
4367
|
+
serializer: serializer$2
|
|
4300
4368
|
};
|
|
4301
4369
|
const createOrUpdateOperationSpec$2 = {
|
|
4302
4370
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}",
|
|
@@ -4330,7 +4398,7 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
4330
4398
|
],
|
|
4331
4399
|
headerParameters: [accept, contentType],
|
|
4332
4400
|
mediaType: "json",
|
|
4333
|
-
serializer: serializer$
|
|
4401
|
+
serializer: serializer$2
|
|
4334
4402
|
};
|
|
4335
4403
|
const deleteOperationSpec$2 = {
|
|
4336
4404
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}",
|
|
@@ -4354,9 +4422,9 @@ const deleteOperationSpec$2 = {
|
|
|
4354
4422
|
version
|
|
4355
4423
|
],
|
|
4356
4424
|
headerParameters: [accept],
|
|
4357
|
-
serializer: serializer$
|
|
4425
|
+
serializer: serializer$2
|
|
4358
4426
|
};
|
|
4359
|
-
const listOperationSpec$
|
|
4427
|
+
const listOperationSpec$2 = {
|
|
4360
4428
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions",
|
|
4361
4429
|
httpMethod: "GET",
|
|
4362
4430
|
responses: {
|
|
@@ -4376,7 +4444,7 @@ const listOperationSpec$4 = {
|
|
|
4376
4444
|
applicationTypeName
|
|
4377
4445
|
],
|
|
4378
4446
|
headerParameters: [accept],
|
|
4379
|
-
serializer: serializer$
|
|
4447
|
+
serializer: serializer$2
|
|
4380
4448
|
};
|
|
4381
4449
|
|
|
4382
4450
|
/*
|
|
@@ -4404,7 +4472,7 @@ class ApplicationsImpl {
|
|
|
4404
4472
|
* @param options The options parameters.
|
|
4405
4473
|
*/
|
|
4406
4474
|
get(resourceGroupName, clusterName, applicationName, options) {
|
|
4407
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, options }, getOperationSpec$
|
|
4475
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, options }, getOperationSpec$1);
|
|
4408
4476
|
}
|
|
4409
4477
|
/**
|
|
4410
4478
|
* Create or update a Service Fabric application resource with the specified name.
|
|
@@ -4438,7 +4506,7 @@ class ApplicationsImpl {
|
|
|
4438
4506
|
}
|
|
4439
4507
|
};
|
|
4440
4508
|
});
|
|
4441
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, parameters, options }, createOrUpdateOperationSpec$
|
|
4509
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, parameters, options }, createOrUpdateOperationSpec$1);
|
|
4442
4510
|
return new coreLro.LroEngine(lro, {
|
|
4443
4511
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4444
4512
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4543,7 +4611,7 @@ class ApplicationsImpl {
|
|
|
4543
4611
|
}
|
|
4544
4612
|
};
|
|
4545
4613
|
});
|
|
4546
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, options }, deleteOperationSpec$
|
|
4614
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, options }, deleteOperationSpec$1);
|
|
4547
4615
|
return new coreLro.LroEngine(lro, {
|
|
4548
4616
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4549
4617
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4571,12 +4639,12 @@ class ApplicationsImpl {
|
|
|
4571
4639
|
* @param options The options parameters.
|
|
4572
4640
|
*/
|
|
4573
4641
|
list(resourceGroupName, clusterName, options) {
|
|
4574
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec$
|
|
4642
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec$1);
|
|
4575
4643
|
}
|
|
4576
4644
|
}
|
|
4577
4645
|
// Operation Specifications
|
|
4578
|
-
const serializer$
|
|
4579
|
-
const getOperationSpec$
|
|
4646
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4647
|
+
const getOperationSpec$1 = {
|
|
4580
4648
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}",
|
|
4581
4649
|
httpMethod: "GET",
|
|
4582
4650
|
responses: {
|
|
@@ -4596,9 +4664,9 @@ const getOperationSpec$4 = {
|
|
|
4596
4664
|
applicationName
|
|
4597
4665
|
],
|
|
4598
4666
|
headerParameters: [accept],
|
|
4599
|
-
serializer: serializer$
|
|
4667
|
+
serializer: serializer$1
|
|
4600
4668
|
};
|
|
4601
|
-
const createOrUpdateOperationSpec$
|
|
4669
|
+
const createOrUpdateOperationSpec$1 = {
|
|
4602
4670
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}",
|
|
4603
4671
|
httpMethod: "PUT",
|
|
4604
4672
|
responses: {
|
|
@@ -4629,7 +4697,7 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
4629
4697
|
],
|
|
4630
4698
|
headerParameters: [accept, contentType],
|
|
4631
4699
|
mediaType: "json",
|
|
4632
|
-
serializer: serializer$
|
|
4700
|
+
serializer: serializer$1
|
|
4633
4701
|
};
|
|
4634
4702
|
const updateOperationSpec$1 = {
|
|
4635
4703
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}",
|
|
@@ -4662,9 +4730,9 @@ const updateOperationSpec$1 = {
|
|
|
4662
4730
|
],
|
|
4663
4731
|
headerParameters: [accept, contentType],
|
|
4664
4732
|
mediaType: "json",
|
|
4665
|
-
serializer: serializer$
|
|
4733
|
+
serializer: serializer$1
|
|
4666
4734
|
};
|
|
4667
|
-
const deleteOperationSpec$
|
|
4735
|
+
const deleteOperationSpec$1 = {
|
|
4668
4736
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}",
|
|
4669
4737
|
httpMethod: "DELETE",
|
|
4670
4738
|
responses: {
|
|
@@ -4685,9 +4753,9 @@ const deleteOperationSpec$3 = {
|
|
|
4685
4753
|
applicationName
|
|
4686
4754
|
],
|
|
4687
4755
|
headerParameters: [accept],
|
|
4688
|
-
serializer: serializer$
|
|
4756
|
+
serializer: serializer$1
|
|
4689
4757
|
};
|
|
4690
|
-
const listOperationSpec$
|
|
4758
|
+
const listOperationSpec$1 = {
|
|
4691
4759
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications",
|
|
4692
4760
|
httpMethod: "GET",
|
|
4693
4761
|
responses: {
|
|
@@ -4706,7 +4774,7 @@ const listOperationSpec$5 = {
|
|
|
4706
4774
|
subscriptionId
|
|
4707
4775
|
],
|
|
4708
4776
|
headerParameters: [accept],
|
|
4709
|
-
serializer: serializer$
|
|
4777
|
+
serializer: serializer$1
|
|
4710
4778
|
};
|
|
4711
4779
|
|
|
4712
4780
|
/*
|
|
@@ -4736,7 +4804,7 @@ class ServicesImpl {
|
|
|
4736
4804
|
* @param options The options parameters.
|
|
4737
4805
|
*/
|
|
4738
4806
|
get(resourceGroupName, clusterName, applicationName, serviceName, options) {
|
|
4739
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, serviceName, options }, getOperationSpec
|
|
4807
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, serviceName, options }, getOperationSpec);
|
|
4740
4808
|
}
|
|
4741
4809
|
/**
|
|
4742
4810
|
* Create or update a Service Fabric service resource with the specified name.
|
|
@@ -4779,7 +4847,7 @@ class ServicesImpl {
|
|
|
4779
4847
|
serviceName,
|
|
4780
4848
|
parameters,
|
|
4781
4849
|
options
|
|
4782
|
-
}, createOrUpdateOperationSpec
|
|
4850
|
+
}, createOrUpdateOperationSpec);
|
|
4783
4851
|
return new coreLro.LroEngine(lro, {
|
|
4784
4852
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4785
4853
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4843,7 +4911,7 @@ class ServicesImpl {
|
|
|
4843
4911
|
serviceName,
|
|
4844
4912
|
parameters,
|
|
4845
4913
|
options
|
|
4846
|
-
}, updateOperationSpec
|
|
4914
|
+
}, updateOperationSpec);
|
|
4847
4915
|
return new coreLro.LroEngine(lro, {
|
|
4848
4916
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4849
4917
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4899,7 +4967,7 @@ class ServicesImpl {
|
|
|
4899
4967
|
}
|
|
4900
4968
|
};
|
|
4901
4969
|
});
|
|
4902
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, serviceName, options }, deleteOperationSpec
|
|
4970
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, applicationName, serviceName, options }, deleteOperationSpec);
|
|
4903
4971
|
return new coreLro.LroEngine(lro, {
|
|
4904
4972
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4905
4973
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4930,12 +4998,12 @@ class ServicesImpl {
|
|
|
4930
4998
|
* @param options The options parameters.
|
|
4931
4999
|
*/
|
|
4932
5000
|
list(resourceGroupName, clusterName, applicationName, options) {
|
|
4933
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, options }, listOperationSpec
|
|
5001
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, applicationName, options }, listOperationSpec);
|
|
4934
5002
|
}
|
|
4935
5003
|
}
|
|
4936
5004
|
// Operation Specifications
|
|
4937
|
-
const serializer
|
|
4938
|
-
const getOperationSpec
|
|
5005
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5006
|
+
const getOperationSpec = {
|
|
4939
5007
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}",
|
|
4940
5008
|
httpMethod: "GET",
|
|
4941
5009
|
responses: {
|
|
@@ -4956,9 +5024,9 @@ const getOperationSpec$5 = {
|
|
|
4956
5024
|
serviceName
|
|
4957
5025
|
],
|
|
4958
5026
|
headerParameters: [accept],
|
|
4959
|
-
serializer
|
|
5027
|
+
serializer
|
|
4960
5028
|
};
|
|
4961
|
-
const createOrUpdateOperationSpec
|
|
5029
|
+
const createOrUpdateOperationSpec = {
|
|
4962
5030
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}",
|
|
4963
5031
|
httpMethod: "PUT",
|
|
4964
5032
|
responses: {
|
|
@@ -4990,9 +5058,9 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
4990
5058
|
],
|
|
4991
5059
|
headerParameters: [accept, contentType],
|
|
4992
5060
|
mediaType: "json",
|
|
4993
|
-
serializer
|
|
5061
|
+
serializer
|
|
4994
5062
|
};
|
|
4995
|
-
const updateOperationSpec
|
|
5063
|
+
const updateOperationSpec = {
|
|
4996
5064
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}",
|
|
4997
5065
|
httpMethod: "PATCH",
|
|
4998
5066
|
responses: {
|
|
@@ -5024,9 +5092,9 @@ const updateOperationSpec$2 = {
|
|
|
5024
5092
|
],
|
|
5025
5093
|
headerParameters: [accept, contentType],
|
|
5026
5094
|
mediaType: "json",
|
|
5027
|
-
serializer
|
|
5095
|
+
serializer
|
|
5028
5096
|
};
|
|
5029
|
-
const deleteOperationSpec
|
|
5097
|
+
const deleteOperationSpec = {
|
|
5030
5098
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}",
|
|
5031
5099
|
httpMethod: "DELETE",
|
|
5032
5100
|
responses: {
|
|
@@ -5048,9 +5116,9 @@ const deleteOperationSpec$4 = {
|
|
|
5048
5116
|
serviceName
|
|
5049
5117
|
],
|
|
5050
5118
|
headerParameters: [accept],
|
|
5051
|
-
serializer
|
|
5119
|
+
serializer
|
|
5052
5120
|
};
|
|
5053
|
-
const listOperationSpec
|
|
5121
|
+
const listOperationSpec = {
|
|
5054
5122
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services",
|
|
5055
5123
|
httpMethod: "GET",
|
|
5056
5124
|
responses: {
|
|
@@ -5070,7 +5138,7 @@ const listOperationSpec$6 = {
|
|
|
5070
5138
|
applicationName
|
|
5071
5139
|
],
|
|
5072
5140
|
headerParameters: [accept],
|
|
5073
|
-
serializer
|
|
5141
|
+
serializer
|
|
5074
5142
|
};
|
|
5075
5143
|
|
|
5076
5144
|
/*
|
|
@@ -5080,7 +5148,7 @@ const listOperationSpec$6 = {
|
|
|
5080
5148
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
5081
5149
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5082
5150
|
*/
|
|
5083
|
-
class ServiceFabricManagementClient extends
|
|
5151
|
+
class ServiceFabricManagementClient extends coreClient__namespace.ServiceClient {
|
|
5084
5152
|
/**
|
|
5085
5153
|
* Initializes a new instance of the ServiceFabricManagementClient class.
|
|
5086
5154
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|