@azure/arm-managedapplications 1.1.0 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +63 -80
- package/dist/index.js +2896 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/applicationClient.d.ts +50 -0
- package/esm/applicationClient.d.ts.map +1 -0
- package/esm/applicationClient.js +190 -0
- package/esm/applicationClient.js.map +1 -0
- package/esm/applicationClientContext.d.ts +16 -0
- package/esm/applicationClientContext.d.ts.map +1 -0
- package/esm/applicationClientContext.js +49 -0
- package/esm/applicationClientContext.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +770 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/esm/lro/index.js +12 -0
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/lro/passthrough.js +15 -0
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +360 -762
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +17 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +18 -20
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +296 -318
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +15 -10
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +77 -49
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/applicationDefinitions.d.ts +128 -0
- package/esm/operations/applicationDefinitions.d.ts.map +1 -0
- package/esm/operations/applicationDefinitions.js +574 -0
- package/esm/operations/applicationDefinitions.js.map +1 -0
- package/esm/operations/applications.d.ts +182 -0
- package/esm/operations/applications.d.ts.map +1 -0
- package/esm/operations/applications.js +802 -0
- package/esm/operations/applications.js.map +1 -0
- package/esm/operations/index.d.ts +2 -2
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +5 -7
- package/esm/operations/index.js.map +1 -1
- package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
- package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
- package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/esm/operationsInterfaces/applications.d.ts +128 -0
- package/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/esm/operationsInterfaces/applications.js +9 -0
- package/esm/operationsInterfaces/applications.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +3 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +10 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/package.json +55 -16
- package/review/arm-managedapplications.api.md +443 -0
- package/rollup.config.js +181 -30
- package/src/applicationClient.ts +222 -0
- package/src/applicationClientContext.ts +70 -0
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +402 -794
- package/src/models/mappers.ts +290 -311
- package/src/models/parameters.ts +99 -50
- package/src/operations/applicationDefinitions.ts +810 -0
- package/src/operations/applications.ts +1069 -0
- package/src/operations/index.ts +5 -7
- package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
- package/src/operationsInterfaces/applications.ts +225 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/tsconfig.json +3 -2
- package/dist/arm-managedapplications.js +0 -1865
- package/dist/arm-managedapplications.js.map +0 -1
- package/dist/arm-managedapplications.min.js +0 -1
- package/dist/arm-managedapplications.min.js.map +0 -1
- package/esm/managedApplicationClient.d.ts +0 -58
- package/esm/managedApplicationClient.d.ts.map +0 -1
- package/esm/managedApplicationClient.js +0 -92
- package/esm/managedApplicationClient.js.map +0 -1
- package/esm/managedApplicationClientContext.d.ts +0 -22
- package/esm/managedApplicationClientContext.d.ts.map +0 -1
- package/esm/managedApplicationClientContext.js +0 -61
- package/esm/managedApplicationClientContext.js.map +0 -1
- package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
- package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/applianceDefinitionsMappers.js +0 -9
- package/esm/models/applianceDefinitionsMappers.js.map +0 -1
- package/esm/models/appliancesMappers.d.ts +0 -2
- package/esm/models/appliancesMappers.d.ts.map +0 -1
- package/esm/models/appliancesMappers.js +0 -9
- package/esm/models/appliancesMappers.js.map +0 -1
- package/esm/operations/applianceDefinitions.d.ts +0 -167
- package/esm/operations/applianceDefinitions.d.ts.map +0 -1
- package/esm/operations/applianceDefinitions.js +0 -358
- package/esm/operations/applianceDefinitions.js.map +0 -1
- package/esm/operations/appliances.d.ts +0 -247
- package/esm/operations/appliances.d.ts.map +0 -1
- package/esm/operations/appliances.js +0 -482
- package/esm/operations/appliances.js.map +0 -1
- package/src/managedApplicationClient.ts +0 -144
- package/src/managedApplicationClientContext.ts +0 -68
- package/src/models/applianceDefinitionsMappers.ts +0 -24
- package/src/models/appliancesMappers.ts +0 -24
- package/src/operations/applianceDefinitions.ts +0 -492
- package/src/operations/appliances.ts +0 -716
|
@@ -1,1865 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmManagedapplications = {}),global.msRestAzure,global.msRest));
|
|
12
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
56
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
68
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var Plan = {
|
|
76
|
-
serializedName: "Plan",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "Plan",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
name: {
|
|
82
|
-
required: true,
|
|
83
|
-
serializedName: "name",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
publisher: {
|
|
89
|
-
required: true,
|
|
90
|
-
serializedName: "publisher",
|
|
91
|
-
type: {
|
|
92
|
-
name: "String"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
product: {
|
|
96
|
-
required: true,
|
|
97
|
-
serializedName: "product",
|
|
98
|
-
type: {
|
|
99
|
-
name: "String"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
promotionCode: {
|
|
103
|
-
serializedName: "promotionCode",
|
|
104
|
-
type: {
|
|
105
|
-
name: "String"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
version: {
|
|
109
|
-
required: true,
|
|
110
|
-
serializedName: "version",
|
|
111
|
-
type: {
|
|
112
|
-
name: "String"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
var Resource = {
|
|
119
|
-
serializedName: "Resource",
|
|
120
|
-
type: {
|
|
121
|
-
name: "Composite",
|
|
122
|
-
className: "Resource",
|
|
123
|
-
modelProperties: {
|
|
124
|
-
id: {
|
|
125
|
-
readOnly: true,
|
|
126
|
-
serializedName: "id",
|
|
127
|
-
type: {
|
|
128
|
-
name: "String"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
name: {
|
|
132
|
-
readOnly: true,
|
|
133
|
-
serializedName: "name",
|
|
134
|
-
type: {
|
|
135
|
-
name: "String"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
type: {
|
|
139
|
-
readOnly: true,
|
|
140
|
-
serializedName: "type",
|
|
141
|
-
type: {
|
|
142
|
-
name: "String"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
location: {
|
|
146
|
-
serializedName: "location",
|
|
147
|
-
type: {
|
|
148
|
-
name: "String"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
tags: {
|
|
152
|
-
serializedName: "tags",
|
|
153
|
-
type: {
|
|
154
|
-
name: "Dictionary",
|
|
155
|
-
value: {
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
var GenericResource = {
|
|
166
|
-
serializedName: "GenericResource",
|
|
167
|
-
type: {
|
|
168
|
-
name: "Composite",
|
|
169
|
-
className: "GenericResource",
|
|
170
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { managedBy: {
|
|
171
|
-
serializedName: "managedBy",
|
|
172
|
-
type: {
|
|
173
|
-
name: "String"
|
|
174
|
-
}
|
|
175
|
-
}, sku: {
|
|
176
|
-
serializedName: "sku",
|
|
177
|
-
type: {
|
|
178
|
-
name: "Composite",
|
|
179
|
-
className: "Sku"
|
|
180
|
-
}
|
|
181
|
-
}, identity: {
|
|
182
|
-
serializedName: "identity",
|
|
183
|
-
type: {
|
|
184
|
-
name: "Composite",
|
|
185
|
-
className: "Identity"
|
|
186
|
-
}
|
|
187
|
-
} })
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
var Appliance = {
|
|
191
|
-
serializedName: "Appliance",
|
|
192
|
-
type: {
|
|
193
|
-
name: "Composite",
|
|
194
|
-
className: "Appliance",
|
|
195
|
-
modelProperties: __assign(__assign({}, GenericResource.type.modelProperties), { managedResourceGroupId: {
|
|
196
|
-
required: true,
|
|
197
|
-
serializedName: "properties.managedResourceGroupId",
|
|
198
|
-
type: {
|
|
199
|
-
name: "String"
|
|
200
|
-
}
|
|
201
|
-
}, applianceDefinitionId: {
|
|
202
|
-
serializedName: "properties.applianceDefinitionId",
|
|
203
|
-
type: {
|
|
204
|
-
name: "String"
|
|
205
|
-
}
|
|
206
|
-
}, parameters: {
|
|
207
|
-
serializedName: "properties.parameters",
|
|
208
|
-
type: {
|
|
209
|
-
name: "Object"
|
|
210
|
-
}
|
|
211
|
-
}, outputs: {
|
|
212
|
-
readOnly: true,
|
|
213
|
-
serializedName: "properties.outputs",
|
|
214
|
-
type: {
|
|
215
|
-
name: "Object"
|
|
216
|
-
}
|
|
217
|
-
}, provisioningState: {
|
|
218
|
-
readOnly: true,
|
|
219
|
-
serializedName: "properties.provisioningState",
|
|
220
|
-
type: {
|
|
221
|
-
name: "String"
|
|
222
|
-
}
|
|
223
|
-
}, uiDefinitionUri: {
|
|
224
|
-
serializedName: "properties.uiDefinitionUri",
|
|
225
|
-
type: {
|
|
226
|
-
name: "String"
|
|
227
|
-
}
|
|
228
|
-
}, plan: {
|
|
229
|
-
serializedName: "plan",
|
|
230
|
-
type: {
|
|
231
|
-
name: "Composite",
|
|
232
|
-
className: "Plan"
|
|
233
|
-
}
|
|
234
|
-
}, kind: {
|
|
235
|
-
serializedName: "kind",
|
|
236
|
-
constraints: {
|
|
237
|
-
Pattern: /^[-\w\._,\(\)]+$/
|
|
238
|
-
},
|
|
239
|
-
type: {
|
|
240
|
-
name: "String"
|
|
241
|
-
}
|
|
242
|
-
} })
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
var PlanPatchable = {
|
|
246
|
-
serializedName: "PlanPatchable",
|
|
247
|
-
type: {
|
|
248
|
-
name: "Composite",
|
|
249
|
-
className: "PlanPatchable",
|
|
250
|
-
modelProperties: {
|
|
251
|
-
name: {
|
|
252
|
-
serializedName: "name",
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
publisher: {
|
|
258
|
-
serializedName: "publisher",
|
|
259
|
-
type: {
|
|
260
|
-
name: "String"
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
product: {
|
|
264
|
-
serializedName: "product",
|
|
265
|
-
type: {
|
|
266
|
-
name: "String"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
promotionCode: {
|
|
270
|
-
serializedName: "promotionCode",
|
|
271
|
-
type: {
|
|
272
|
-
name: "String"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
version: {
|
|
276
|
-
serializedName: "version",
|
|
277
|
-
type: {
|
|
278
|
-
name: "String"
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
var AppliancePatchable = {
|
|
285
|
-
serializedName: "AppliancePatchable",
|
|
286
|
-
type: {
|
|
287
|
-
name: "Composite",
|
|
288
|
-
className: "AppliancePatchable",
|
|
289
|
-
modelProperties: __assign(__assign({}, GenericResource.type.modelProperties), { managedResourceGroupId: {
|
|
290
|
-
serializedName: "properties.managedResourceGroupId",
|
|
291
|
-
type: {
|
|
292
|
-
name: "String"
|
|
293
|
-
}
|
|
294
|
-
}, applianceDefinitionId: {
|
|
295
|
-
serializedName: "properties.applianceDefinitionId",
|
|
296
|
-
type: {
|
|
297
|
-
name: "String"
|
|
298
|
-
}
|
|
299
|
-
}, parameters: {
|
|
300
|
-
serializedName: "properties.parameters",
|
|
301
|
-
type: {
|
|
302
|
-
name: "Object"
|
|
303
|
-
}
|
|
304
|
-
}, outputs: {
|
|
305
|
-
readOnly: true,
|
|
306
|
-
serializedName: "properties.outputs",
|
|
307
|
-
type: {
|
|
308
|
-
name: "Object"
|
|
309
|
-
}
|
|
310
|
-
}, provisioningState: {
|
|
311
|
-
readOnly: true,
|
|
312
|
-
serializedName: "properties.provisioningState",
|
|
313
|
-
type: {
|
|
314
|
-
name: "String"
|
|
315
|
-
}
|
|
316
|
-
}, uiDefinitionUri: {
|
|
317
|
-
serializedName: "properties.uiDefinitionUri",
|
|
318
|
-
type: {
|
|
319
|
-
name: "String"
|
|
320
|
-
}
|
|
321
|
-
}, plan: {
|
|
322
|
-
serializedName: "plan",
|
|
323
|
-
type: {
|
|
324
|
-
name: "Composite",
|
|
325
|
-
className: "PlanPatchable"
|
|
326
|
-
}
|
|
327
|
-
}, kind: {
|
|
328
|
-
serializedName: "kind",
|
|
329
|
-
constraints: {
|
|
330
|
-
Pattern: /^[-\w\._,\(\)]+$/
|
|
331
|
-
},
|
|
332
|
-
type: {
|
|
333
|
-
name: "String"
|
|
334
|
-
}
|
|
335
|
-
} })
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
var ApplianceProviderAuthorization = {
|
|
339
|
-
serializedName: "ApplianceProviderAuthorization",
|
|
340
|
-
type: {
|
|
341
|
-
name: "Composite",
|
|
342
|
-
className: "ApplianceProviderAuthorization",
|
|
343
|
-
modelProperties: {
|
|
344
|
-
principalId: {
|
|
345
|
-
required: true,
|
|
346
|
-
serializedName: "principalId",
|
|
347
|
-
type: {
|
|
348
|
-
name: "String"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
roleDefinitionId: {
|
|
352
|
-
required: true,
|
|
353
|
-
serializedName: "roleDefinitionId",
|
|
354
|
-
type: {
|
|
355
|
-
name: "String"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
};
|
|
361
|
-
var ApplianceArtifact = {
|
|
362
|
-
serializedName: "ApplianceArtifact",
|
|
363
|
-
type: {
|
|
364
|
-
name: "Composite",
|
|
365
|
-
className: "ApplianceArtifact",
|
|
366
|
-
modelProperties: {
|
|
367
|
-
name: {
|
|
368
|
-
serializedName: "name",
|
|
369
|
-
type: {
|
|
370
|
-
name: "String"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
uri: {
|
|
374
|
-
serializedName: "uri",
|
|
375
|
-
type: {
|
|
376
|
-
name: "String"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
type: {
|
|
380
|
-
serializedName: "type",
|
|
381
|
-
type: {
|
|
382
|
-
name: "Enum",
|
|
383
|
-
allowedValues: [
|
|
384
|
-
"Template",
|
|
385
|
-
"Custom"
|
|
386
|
-
]
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
};
|
|
392
|
-
var ApplianceDefinition = {
|
|
393
|
-
serializedName: "ApplianceDefinition",
|
|
394
|
-
type: {
|
|
395
|
-
name: "Composite",
|
|
396
|
-
className: "ApplianceDefinition",
|
|
397
|
-
modelProperties: __assign(__assign({}, GenericResource.type.modelProperties), { lockLevel: {
|
|
398
|
-
required: true,
|
|
399
|
-
serializedName: "properties.lockLevel",
|
|
400
|
-
type: {
|
|
401
|
-
name: "Enum",
|
|
402
|
-
allowedValues: [
|
|
403
|
-
"CanNotDelete",
|
|
404
|
-
"ReadOnly",
|
|
405
|
-
"None"
|
|
406
|
-
]
|
|
407
|
-
}
|
|
408
|
-
}, displayName: {
|
|
409
|
-
serializedName: "properties.displayName",
|
|
410
|
-
type: {
|
|
411
|
-
name: "String"
|
|
412
|
-
}
|
|
413
|
-
}, authorizations: {
|
|
414
|
-
required: true,
|
|
415
|
-
serializedName: "properties.authorizations",
|
|
416
|
-
type: {
|
|
417
|
-
name: "Sequence",
|
|
418
|
-
element: {
|
|
419
|
-
type: {
|
|
420
|
-
name: "Composite",
|
|
421
|
-
className: "ApplianceProviderAuthorization"
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}, artifacts: {
|
|
426
|
-
serializedName: "properties.artifacts",
|
|
427
|
-
type: {
|
|
428
|
-
name: "Sequence",
|
|
429
|
-
element: {
|
|
430
|
-
type: {
|
|
431
|
-
name: "Composite",
|
|
432
|
-
className: "ApplianceArtifact"
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
}, description: {
|
|
437
|
-
serializedName: "properties.description",
|
|
438
|
-
type: {
|
|
439
|
-
name: "String"
|
|
440
|
-
}
|
|
441
|
-
}, packageFileUri: {
|
|
442
|
-
required: true,
|
|
443
|
-
serializedName: "properties.packageFileUri",
|
|
444
|
-
type: {
|
|
445
|
-
name: "String"
|
|
446
|
-
}
|
|
447
|
-
} })
|
|
448
|
-
}
|
|
449
|
-
};
|
|
450
|
-
var Sku = {
|
|
451
|
-
serializedName: "Sku",
|
|
452
|
-
type: {
|
|
453
|
-
name: "Composite",
|
|
454
|
-
className: "Sku",
|
|
455
|
-
modelProperties: {
|
|
456
|
-
name: {
|
|
457
|
-
required: true,
|
|
458
|
-
serializedName: "name",
|
|
459
|
-
type: {
|
|
460
|
-
name: "String"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
tier: {
|
|
464
|
-
serializedName: "tier",
|
|
465
|
-
type: {
|
|
466
|
-
name: "String"
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
size: {
|
|
470
|
-
serializedName: "size",
|
|
471
|
-
type: {
|
|
472
|
-
name: "String"
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
family: {
|
|
476
|
-
serializedName: "family",
|
|
477
|
-
type: {
|
|
478
|
-
name: "String"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
model: {
|
|
482
|
-
serializedName: "model",
|
|
483
|
-
type: {
|
|
484
|
-
name: "String"
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
capacity: {
|
|
488
|
-
serializedName: "capacity",
|
|
489
|
-
type: {
|
|
490
|
-
name: "Number"
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
|
-
var Identity = {
|
|
497
|
-
serializedName: "Identity",
|
|
498
|
-
type: {
|
|
499
|
-
name: "Composite",
|
|
500
|
-
className: "Identity",
|
|
501
|
-
modelProperties: {
|
|
502
|
-
principalId: {
|
|
503
|
-
readOnly: true,
|
|
504
|
-
serializedName: "principalId",
|
|
505
|
-
type: {
|
|
506
|
-
name: "String"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
tenantId: {
|
|
510
|
-
readOnly: true,
|
|
511
|
-
serializedName: "tenantId",
|
|
512
|
-
type: {
|
|
513
|
-
name: "String"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
type: {
|
|
517
|
-
serializedName: "type",
|
|
518
|
-
type: {
|
|
519
|
-
name: "Enum",
|
|
520
|
-
allowedValues: [
|
|
521
|
-
"SystemAssigned"
|
|
522
|
-
]
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
var ErrorResponse = {
|
|
529
|
-
serializedName: "ErrorResponse",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Composite",
|
|
532
|
-
className: "ErrorResponse",
|
|
533
|
-
modelProperties: {
|
|
534
|
-
httpStatus: {
|
|
535
|
-
serializedName: "httpStatus",
|
|
536
|
-
type: {
|
|
537
|
-
name: "String"
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
errorCode: {
|
|
541
|
-
serializedName: "errorCode",
|
|
542
|
-
type: {
|
|
543
|
-
name: "String"
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
errorMessage: {
|
|
547
|
-
serializedName: "errorMessage",
|
|
548
|
-
type: {
|
|
549
|
-
name: "String"
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
};
|
|
555
|
-
var OperationDisplay = {
|
|
556
|
-
serializedName: "Operation_display",
|
|
557
|
-
type: {
|
|
558
|
-
name: "Composite",
|
|
559
|
-
className: "OperationDisplay",
|
|
560
|
-
modelProperties: {
|
|
561
|
-
provider: {
|
|
562
|
-
serializedName: "provider",
|
|
563
|
-
type: {
|
|
564
|
-
name: "String"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
resource: {
|
|
568
|
-
serializedName: "resource",
|
|
569
|
-
type: {
|
|
570
|
-
name: "String"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
operation: {
|
|
574
|
-
serializedName: "operation",
|
|
575
|
-
type: {
|
|
576
|
-
name: "String"
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
};
|
|
582
|
-
var Operation = {
|
|
583
|
-
serializedName: "Operation",
|
|
584
|
-
type: {
|
|
585
|
-
name: "Composite",
|
|
586
|
-
className: "Operation",
|
|
587
|
-
modelProperties: {
|
|
588
|
-
name: {
|
|
589
|
-
serializedName: "name",
|
|
590
|
-
type: {
|
|
591
|
-
name: "String"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
display: {
|
|
595
|
-
serializedName: "display",
|
|
596
|
-
type: {
|
|
597
|
-
name: "Composite",
|
|
598
|
-
className: "OperationDisplay"
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
var OperationListResult = {
|
|
605
|
-
serializedName: "OperationListResult",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Composite",
|
|
608
|
-
className: "OperationListResult",
|
|
609
|
-
modelProperties: {
|
|
610
|
-
value: {
|
|
611
|
-
serializedName: "",
|
|
612
|
-
type: {
|
|
613
|
-
name: "Sequence",
|
|
614
|
-
element: {
|
|
615
|
-
type: {
|
|
616
|
-
name: "Composite",
|
|
617
|
-
className: "Operation"
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
nextLink: {
|
|
623
|
-
serializedName: "nextLink",
|
|
624
|
-
type: {
|
|
625
|
-
name: "String"
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
};
|
|
631
|
-
var ApplianceListResult = {
|
|
632
|
-
serializedName: "ApplianceListResult",
|
|
633
|
-
type: {
|
|
634
|
-
name: "Composite",
|
|
635
|
-
className: "ApplianceListResult",
|
|
636
|
-
modelProperties: {
|
|
637
|
-
value: {
|
|
638
|
-
serializedName: "",
|
|
639
|
-
type: {
|
|
640
|
-
name: "Sequence",
|
|
641
|
-
element: {
|
|
642
|
-
type: {
|
|
643
|
-
name: "Composite",
|
|
644
|
-
className: "Appliance"
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
nextLink: {
|
|
650
|
-
serializedName: "nextLink",
|
|
651
|
-
type: {
|
|
652
|
-
name: "String"
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
var ApplianceDefinitionListResult = {
|
|
659
|
-
serializedName: "ApplianceDefinitionListResult",
|
|
660
|
-
type: {
|
|
661
|
-
name: "Composite",
|
|
662
|
-
className: "ApplianceDefinitionListResult",
|
|
663
|
-
modelProperties: {
|
|
664
|
-
value: {
|
|
665
|
-
serializedName: "",
|
|
666
|
-
type: {
|
|
667
|
-
name: "Sequence",
|
|
668
|
-
element: {
|
|
669
|
-
type: {
|
|
670
|
-
name: "Composite",
|
|
671
|
-
className: "ApplianceDefinition"
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
nextLink: {
|
|
677
|
-
serializedName: "nextLink",
|
|
678
|
-
type: {
|
|
679
|
-
name: "String"
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
};
|
|
685
|
-
|
|
686
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
687
|
-
CloudError: CloudError,
|
|
688
|
-
BaseResource: BaseResource,
|
|
689
|
-
Plan: Plan,
|
|
690
|
-
Resource: Resource,
|
|
691
|
-
GenericResource: GenericResource,
|
|
692
|
-
Appliance: Appliance,
|
|
693
|
-
PlanPatchable: PlanPatchable,
|
|
694
|
-
AppliancePatchable: AppliancePatchable,
|
|
695
|
-
ApplianceProviderAuthorization: ApplianceProviderAuthorization,
|
|
696
|
-
ApplianceArtifact: ApplianceArtifact,
|
|
697
|
-
ApplianceDefinition: ApplianceDefinition,
|
|
698
|
-
Sku: Sku,
|
|
699
|
-
Identity: Identity,
|
|
700
|
-
ErrorResponse: ErrorResponse,
|
|
701
|
-
OperationDisplay: OperationDisplay,
|
|
702
|
-
Operation: Operation,
|
|
703
|
-
OperationListResult: OperationListResult,
|
|
704
|
-
ApplianceListResult: ApplianceListResult,
|
|
705
|
-
ApplianceDefinitionListResult: ApplianceDefinitionListResult
|
|
706
|
-
});
|
|
707
|
-
|
|
708
|
-
/*
|
|
709
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
710
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
711
|
-
* license information.
|
|
712
|
-
*
|
|
713
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
714
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
715
|
-
* regenerated.
|
|
716
|
-
*/
|
|
717
|
-
var acceptLanguage = {
|
|
718
|
-
parameterPath: "acceptLanguage",
|
|
719
|
-
mapper: {
|
|
720
|
-
serializedName: "accept-language",
|
|
721
|
-
defaultValue: 'en-US',
|
|
722
|
-
type: {
|
|
723
|
-
name: "String"
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
};
|
|
727
|
-
var apiVersion = {
|
|
728
|
-
parameterPath: "apiVersion",
|
|
729
|
-
mapper: {
|
|
730
|
-
required: true,
|
|
731
|
-
serializedName: "api-version",
|
|
732
|
-
type: {
|
|
733
|
-
name: "String"
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
};
|
|
737
|
-
var applianceDefinitionId = {
|
|
738
|
-
parameterPath: "applianceDefinitionId",
|
|
739
|
-
mapper: {
|
|
740
|
-
required: true,
|
|
741
|
-
serializedName: "applianceDefinitionId",
|
|
742
|
-
type: {
|
|
743
|
-
name: "String"
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
skipEncoding: true
|
|
747
|
-
};
|
|
748
|
-
var applianceDefinitionName = {
|
|
749
|
-
parameterPath: "applianceDefinitionName",
|
|
750
|
-
mapper: {
|
|
751
|
-
required: true,
|
|
752
|
-
serializedName: "applianceDefinitionName",
|
|
753
|
-
constraints: {
|
|
754
|
-
MaxLength: 64,
|
|
755
|
-
MinLength: 3
|
|
756
|
-
},
|
|
757
|
-
type: {
|
|
758
|
-
name: "String"
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
};
|
|
762
|
-
var applianceId = {
|
|
763
|
-
parameterPath: "applianceId",
|
|
764
|
-
mapper: {
|
|
765
|
-
required: true,
|
|
766
|
-
serializedName: "applianceId",
|
|
767
|
-
type: {
|
|
768
|
-
name: "String"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
skipEncoding: true
|
|
772
|
-
};
|
|
773
|
-
var applianceName = {
|
|
774
|
-
parameterPath: "applianceName",
|
|
775
|
-
mapper: {
|
|
776
|
-
required: true,
|
|
777
|
-
serializedName: "applianceName",
|
|
778
|
-
constraints: {
|
|
779
|
-
MaxLength: 64,
|
|
780
|
-
MinLength: 3
|
|
781
|
-
},
|
|
782
|
-
type: {
|
|
783
|
-
name: "String"
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
|
-
var nextPageLink = {
|
|
788
|
-
parameterPath: "nextPageLink",
|
|
789
|
-
mapper: {
|
|
790
|
-
required: true,
|
|
791
|
-
serializedName: "nextLink",
|
|
792
|
-
type: {
|
|
793
|
-
name: "String"
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
skipEncoding: true
|
|
797
|
-
};
|
|
798
|
-
var resourceGroupName = {
|
|
799
|
-
parameterPath: "resourceGroupName",
|
|
800
|
-
mapper: {
|
|
801
|
-
required: true,
|
|
802
|
-
serializedName: "resourceGroupName",
|
|
803
|
-
constraints: {
|
|
804
|
-
MaxLength: 90,
|
|
805
|
-
MinLength: 1,
|
|
806
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
807
|
-
},
|
|
808
|
-
type: {
|
|
809
|
-
name: "String"
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
};
|
|
813
|
-
var subscriptionId = {
|
|
814
|
-
parameterPath: "subscriptionId",
|
|
815
|
-
mapper: {
|
|
816
|
-
required: true,
|
|
817
|
-
serializedName: "subscriptionId",
|
|
818
|
-
type: {
|
|
819
|
-
name: "String"
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
};
|
|
823
|
-
|
|
824
|
-
/*
|
|
825
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
826
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
827
|
-
*
|
|
828
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
829
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
830
|
-
*/
|
|
831
|
-
|
|
832
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
833
|
-
Appliance: Appliance,
|
|
834
|
-
ApplianceArtifact: ApplianceArtifact,
|
|
835
|
-
ApplianceDefinition: ApplianceDefinition,
|
|
836
|
-
ApplianceListResult: ApplianceListResult,
|
|
837
|
-
AppliancePatchable: AppliancePatchable,
|
|
838
|
-
ApplianceProviderAuthorization: ApplianceProviderAuthorization,
|
|
839
|
-
BaseResource: BaseResource,
|
|
840
|
-
ErrorResponse: ErrorResponse,
|
|
841
|
-
GenericResource: GenericResource,
|
|
842
|
-
Identity: Identity,
|
|
843
|
-
Plan: Plan,
|
|
844
|
-
PlanPatchable: PlanPatchable,
|
|
845
|
-
Resource: Resource,
|
|
846
|
-
Sku: Sku
|
|
847
|
-
});
|
|
848
|
-
|
|
849
|
-
/*
|
|
850
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
851
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
852
|
-
* license information.
|
|
853
|
-
*
|
|
854
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
855
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
856
|
-
* regenerated.
|
|
857
|
-
*/
|
|
858
|
-
/** Class representing a Appliances. */
|
|
859
|
-
var Appliances = /** @class */ (function () {
|
|
860
|
-
/**
|
|
861
|
-
* Create a Appliances.
|
|
862
|
-
* @param {ManagedApplicationClientContext} client Reference to the service client.
|
|
863
|
-
*/
|
|
864
|
-
function Appliances(client) {
|
|
865
|
-
this.client = client;
|
|
866
|
-
}
|
|
867
|
-
Appliances.prototype.get = function (resourceGroupName$$1, applianceName$$1, options, callback) {
|
|
868
|
-
return this.client.sendOperationRequest({
|
|
869
|
-
resourceGroupName: resourceGroupName$$1,
|
|
870
|
-
applianceName: applianceName$$1,
|
|
871
|
-
options: options
|
|
872
|
-
}, getOperationSpec, callback);
|
|
873
|
-
};
|
|
874
|
-
/**
|
|
875
|
-
* Deletes the appliance.
|
|
876
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
877
|
-
* @param applianceName The name of the appliance.
|
|
878
|
-
* @param [options] The optional parameters
|
|
879
|
-
* @returns Promise<msRest.RestResponse>
|
|
880
|
-
*/
|
|
881
|
-
Appliances.prototype.deleteMethod = function (resourceGroupName$$1, applianceName$$1, options) {
|
|
882
|
-
return this.beginDeleteMethod(resourceGroupName$$1, applianceName$$1, options)
|
|
883
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
884
|
-
};
|
|
885
|
-
/**
|
|
886
|
-
* Creates a new appliance.
|
|
887
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
888
|
-
* @param applianceName The name of the appliance.
|
|
889
|
-
* @param parameters Parameters supplied to the create or update an appliance.
|
|
890
|
-
* @param [options] The optional parameters
|
|
891
|
-
* @returns Promise<Models.AppliancesCreateOrUpdateResponse>
|
|
892
|
-
*/
|
|
893
|
-
Appliances.prototype.createOrUpdate = function (resourceGroupName$$1, applianceName$$1, parameters, options) {
|
|
894
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, applianceName$$1, parameters, options)
|
|
895
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
896
|
-
};
|
|
897
|
-
Appliances.prototype.update = function (resourceGroupName$$1, applianceName$$1, options, callback) {
|
|
898
|
-
return this.client.sendOperationRequest({
|
|
899
|
-
resourceGroupName: resourceGroupName$$1,
|
|
900
|
-
applianceName: applianceName$$1,
|
|
901
|
-
options: options
|
|
902
|
-
}, updateOperationSpec, callback);
|
|
903
|
-
};
|
|
904
|
-
Appliances.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
905
|
-
return this.client.sendOperationRequest({
|
|
906
|
-
resourceGroupName: resourceGroupName$$1,
|
|
907
|
-
options: options
|
|
908
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
909
|
-
};
|
|
910
|
-
Appliances.prototype.listBySubscription = function (options, callback) {
|
|
911
|
-
return this.client.sendOperationRequest({
|
|
912
|
-
options: options
|
|
913
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
914
|
-
};
|
|
915
|
-
Appliances.prototype.getById = function (applianceId$$1, options, callback) {
|
|
916
|
-
return this.client.sendOperationRequest({
|
|
917
|
-
applianceId: applianceId$$1,
|
|
918
|
-
options: options
|
|
919
|
-
}, getByIdOperationSpec, callback);
|
|
920
|
-
};
|
|
921
|
-
/**
|
|
922
|
-
* Deletes the appliance.
|
|
923
|
-
* @param applianceId The fully qualified ID of the appliance, including the appliance name and the
|
|
924
|
-
* appliance resource type. Use the format,
|
|
925
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
|
|
926
|
-
* @param [options] The optional parameters
|
|
927
|
-
* @returns Promise<msRest.RestResponse>
|
|
928
|
-
*/
|
|
929
|
-
Appliances.prototype.deleteById = function (applianceId$$1, options) {
|
|
930
|
-
return this.beginDeleteById(applianceId$$1, options)
|
|
931
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
932
|
-
};
|
|
933
|
-
/**
|
|
934
|
-
* Creates a new appliance.
|
|
935
|
-
* @param applianceId The fully qualified ID of the appliance, including the appliance name and the
|
|
936
|
-
* appliance resource type. Use the format,
|
|
937
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
|
|
938
|
-
* @param parameters Parameters supplied to the create or update an appliance.
|
|
939
|
-
* @param [options] The optional parameters
|
|
940
|
-
* @returns Promise<Models.AppliancesCreateOrUpdateByIdResponse>
|
|
941
|
-
*/
|
|
942
|
-
Appliances.prototype.createOrUpdateById = function (applianceId$$1, parameters, options) {
|
|
943
|
-
return this.beginCreateOrUpdateById(applianceId$$1, parameters, options)
|
|
944
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
945
|
-
};
|
|
946
|
-
Appliances.prototype.updateById = function (applianceId$$1, options, callback) {
|
|
947
|
-
return this.client.sendOperationRequest({
|
|
948
|
-
applianceId: applianceId$$1,
|
|
949
|
-
options: options
|
|
950
|
-
}, updateByIdOperationSpec, callback);
|
|
951
|
-
};
|
|
952
|
-
/**
|
|
953
|
-
* Deletes the appliance.
|
|
954
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
955
|
-
* @param applianceName The name of the appliance.
|
|
956
|
-
* @param [options] The optional parameters
|
|
957
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
958
|
-
*/
|
|
959
|
-
Appliances.prototype.beginDeleteMethod = function (resourceGroupName$$1, applianceName$$1, options) {
|
|
960
|
-
return this.client.sendLRORequest({
|
|
961
|
-
resourceGroupName: resourceGroupName$$1,
|
|
962
|
-
applianceName: applianceName$$1,
|
|
963
|
-
options: options
|
|
964
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
965
|
-
};
|
|
966
|
-
/**
|
|
967
|
-
* Creates a new appliance.
|
|
968
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
969
|
-
* @param applianceName The name of the appliance.
|
|
970
|
-
* @param parameters Parameters supplied to the create or update an appliance.
|
|
971
|
-
* @param [options] The optional parameters
|
|
972
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
973
|
-
*/
|
|
974
|
-
Appliances.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, applianceName$$1, parameters, options) {
|
|
975
|
-
return this.client.sendLRORequest({
|
|
976
|
-
resourceGroupName: resourceGroupName$$1,
|
|
977
|
-
applianceName: applianceName$$1,
|
|
978
|
-
parameters: parameters,
|
|
979
|
-
options: options
|
|
980
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
981
|
-
};
|
|
982
|
-
/**
|
|
983
|
-
* Deletes the appliance.
|
|
984
|
-
* @param applianceId The fully qualified ID of the appliance, including the appliance name and the
|
|
985
|
-
* appliance resource type. Use the format,
|
|
986
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
|
|
987
|
-
* @param [options] The optional parameters
|
|
988
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
989
|
-
*/
|
|
990
|
-
Appliances.prototype.beginDeleteById = function (applianceId$$1, options) {
|
|
991
|
-
return this.client.sendLRORequest({
|
|
992
|
-
applianceId: applianceId$$1,
|
|
993
|
-
options: options
|
|
994
|
-
}, beginDeleteByIdOperationSpec, options);
|
|
995
|
-
};
|
|
996
|
-
/**
|
|
997
|
-
* Creates a new appliance.
|
|
998
|
-
* @param applianceId The fully qualified ID of the appliance, including the appliance name and the
|
|
999
|
-
* appliance resource type. Use the format,
|
|
1000
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
|
|
1001
|
-
* @param parameters Parameters supplied to the create or update an appliance.
|
|
1002
|
-
* @param [options] The optional parameters
|
|
1003
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1004
|
-
*/
|
|
1005
|
-
Appliances.prototype.beginCreateOrUpdateById = function (applianceId$$1, parameters, options) {
|
|
1006
|
-
return this.client.sendLRORequest({
|
|
1007
|
-
applianceId: applianceId$$1,
|
|
1008
|
-
parameters: parameters,
|
|
1009
|
-
options: options
|
|
1010
|
-
}, beginCreateOrUpdateByIdOperationSpec, options);
|
|
1011
|
-
};
|
|
1012
|
-
Appliances.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
1013
|
-
return this.client.sendOperationRequest({
|
|
1014
|
-
nextPageLink: nextPageLink$$1,
|
|
1015
|
-
options: options
|
|
1016
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1017
|
-
};
|
|
1018
|
-
Appliances.prototype.listBySubscriptionNext = function (nextPageLink$$1, options, callback) {
|
|
1019
|
-
return this.client.sendOperationRequest({
|
|
1020
|
-
nextPageLink: nextPageLink$$1,
|
|
1021
|
-
options: options
|
|
1022
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
1023
|
-
};
|
|
1024
|
-
return Appliances;
|
|
1025
|
-
}());
|
|
1026
|
-
// Operation Specifications
|
|
1027
|
-
var serializer = new msRest.Serializer(Mappers$1);
|
|
1028
|
-
var getOperationSpec = {
|
|
1029
|
-
httpMethod: "GET",
|
|
1030
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances/{applianceName}",
|
|
1031
|
-
urlParameters: [
|
|
1032
|
-
resourceGroupName,
|
|
1033
|
-
applianceName,
|
|
1034
|
-
subscriptionId
|
|
1035
|
-
],
|
|
1036
|
-
queryParameters: [
|
|
1037
|
-
apiVersion
|
|
1038
|
-
],
|
|
1039
|
-
headerParameters: [
|
|
1040
|
-
acceptLanguage
|
|
1041
|
-
],
|
|
1042
|
-
responses: {
|
|
1043
|
-
200: {
|
|
1044
|
-
bodyMapper: Appliance
|
|
1045
|
-
},
|
|
1046
|
-
404: {},
|
|
1047
|
-
default: {
|
|
1048
|
-
bodyMapper: ErrorResponse
|
|
1049
|
-
}
|
|
1050
|
-
},
|
|
1051
|
-
serializer: serializer
|
|
1052
|
-
};
|
|
1053
|
-
var updateOperationSpec = {
|
|
1054
|
-
httpMethod: "PATCH",
|
|
1055
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances/{applianceName}",
|
|
1056
|
-
urlParameters: [
|
|
1057
|
-
resourceGroupName,
|
|
1058
|
-
applianceName,
|
|
1059
|
-
subscriptionId
|
|
1060
|
-
],
|
|
1061
|
-
queryParameters: [
|
|
1062
|
-
apiVersion
|
|
1063
|
-
],
|
|
1064
|
-
headerParameters: [
|
|
1065
|
-
acceptLanguage
|
|
1066
|
-
],
|
|
1067
|
-
requestBody: {
|
|
1068
|
-
parameterPath: [
|
|
1069
|
-
"options",
|
|
1070
|
-
"parameters"
|
|
1071
|
-
],
|
|
1072
|
-
mapper: Appliance
|
|
1073
|
-
},
|
|
1074
|
-
responses: {
|
|
1075
|
-
200: {
|
|
1076
|
-
bodyMapper: Appliance
|
|
1077
|
-
},
|
|
1078
|
-
default: {
|
|
1079
|
-
bodyMapper: ErrorResponse
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
serializer: serializer
|
|
1083
|
-
};
|
|
1084
|
-
var listByResourceGroupOperationSpec = {
|
|
1085
|
-
httpMethod: "GET",
|
|
1086
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances",
|
|
1087
|
-
urlParameters: [
|
|
1088
|
-
resourceGroupName,
|
|
1089
|
-
subscriptionId
|
|
1090
|
-
],
|
|
1091
|
-
queryParameters: [
|
|
1092
|
-
apiVersion
|
|
1093
|
-
],
|
|
1094
|
-
headerParameters: [
|
|
1095
|
-
acceptLanguage
|
|
1096
|
-
],
|
|
1097
|
-
responses: {
|
|
1098
|
-
200: {
|
|
1099
|
-
bodyMapper: ApplianceListResult
|
|
1100
|
-
},
|
|
1101
|
-
default: {
|
|
1102
|
-
bodyMapper: ErrorResponse
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
serializer: serializer
|
|
1106
|
-
};
|
|
1107
|
-
var listBySubscriptionOperationSpec = {
|
|
1108
|
-
httpMethod: "GET",
|
|
1109
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Solutions/appliances",
|
|
1110
|
-
urlParameters: [
|
|
1111
|
-
subscriptionId
|
|
1112
|
-
],
|
|
1113
|
-
queryParameters: [
|
|
1114
|
-
apiVersion
|
|
1115
|
-
],
|
|
1116
|
-
headerParameters: [
|
|
1117
|
-
acceptLanguage
|
|
1118
|
-
],
|
|
1119
|
-
responses: {
|
|
1120
|
-
200: {
|
|
1121
|
-
bodyMapper: ApplianceListResult
|
|
1122
|
-
},
|
|
1123
|
-
default: {
|
|
1124
|
-
bodyMapper: ErrorResponse
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
serializer: serializer
|
|
1128
|
-
};
|
|
1129
|
-
var getByIdOperationSpec = {
|
|
1130
|
-
httpMethod: "GET",
|
|
1131
|
-
path: "{applianceId}",
|
|
1132
|
-
urlParameters: [
|
|
1133
|
-
applianceId
|
|
1134
|
-
],
|
|
1135
|
-
queryParameters: [
|
|
1136
|
-
apiVersion
|
|
1137
|
-
],
|
|
1138
|
-
headerParameters: [
|
|
1139
|
-
acceptLanguage
|
|
1140
|
-
],
|
|
1141
|
-
responses: {
|
|
1142
|
-
200: {
|
|
1143
|
-
bodyMapper: Appliance
|
|
1144
|
-
},
|
|
1145
|
-
404: {},
|
|
1146
|
-
default: {
|
|
1147
|
-
bodyMapper: ErrorResponse
|
|
1148
|
-
}
|
|
1149
|
-
},
|
|
1150
|
-
serializer: serializer
|
|
1151
|
-
};
|
|
1152
|
-
var updateByIdOperationSpec = {
|
|
1153
|
-
httpMethod: "PATCH",
|
|
1154
|
-
path: "{applianceId}",
|
|
1155
|
-
urlParameters: [
|
|
1156
|
-
applianceId
|
|
1157
|
-
],
|
|
1158
|
-
queryParameters: [
|
|
1159
|
-
apiVersion
|
|
1160
|
-
],
|
|
1161
|
-
headerParameters: [
|
|
1162
|
-
acceptLanguage
|
|
1163
|
-
],
|
|
1164
|
-
requestBody: {
|
|
1165
|
-
parameterPath: [
|
|
1166
|
-
"options",
|
|
1167
|
-
"parameters"
|
|
1168
|
-
],
|
|
1169
|
-
mapper: Appliance
|
|
1170
|
-
},
|
|
1171
|
-
responses: {
|
|
1172
|
-
200: {
|
|
1173
|
-
bodyMapper: Appliance
|
|
1174
|
-
},
|
|
1175
|
-
default: {
|
|
1176
|
-
bodyMapper: ErrorResponse
|
|
1177
|
-
}
|
|
1178
|
-
},
|
|
1179
|
-
serializer: serializer
|
|
1180
|
-
};
|
|
1181
|
-
var beginDeleteMethodOperationSpec = {
|
|
1182
|
-
httpMethod: "DELETE",
|
|
1183
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances/{applianceName}",
|
|
1184
|
-
urlParameters: [
|
|
1185
|
-
resourceGroupName,
|
|
1186
|
-
applianceName,
|
|
1187
|
-
subscriptionId
|
|
1188
|
-
],
|
|
1189
|
-
queryParameters: [
|
|
1190
|
-
apiVersion
|
|
1191
|
-
],
|
|
1192
|
-
headerParameters: [
|
|
1193
|
-
acceptLanguage
|
|
1194
|
-
],
|
|
1195
|
-
responses: {
|
|
1196
|
-
202: {},
|
|
1197
|
-
204: {},
|
|
1198
|
-
default: {
|
|
1199
|
-
bodyMapper: ErrorResponse
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
serializer: serializer
|
|
1203
|
-
};
|
|
1204
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1205
|
-
httpMethod: "PUT",
|
|
1206
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/appliances/{applianceName}",
|
|
1207
|
-
urlParameters: [
|
|
1208
|
-
resourceGroupName,
|
|
1209
|
-
applianceName,
|
|
1210
|
-
subscriptionId
|
|
1211
|
-
],
|
|
1212
|
-
queryParameters: [
|
|
1213
|
-
apiVersion
|
|
1214
|
-
],
|
|
1215
|
-
headerParameters: [
|
|
1216
|
-
acceptLanguage
|
|
1217
|
-
],
|
|
1218
|
-
requestBody: {
|
|
1219
|
-
parameterPath: "parameters",
|
|
1220
|
-
mapper: __assign(__assign({}, Appliance), { required: true })
|
|
1221
|
-
},
|
|
1222
|
-
responses: {
|
|
1223
|
-
200: {
|
|
1224
|
-
bodyMapper: Appliance
|
|
1225
|
-
},
|
|
1226
|
-
201: {
|
|
1227
|
-
bodyMapper: Appliance
|
|
1228
|
-
},
|
|
1229
|
-
default: {
|
|
1230
|
-
bodyMapper: ErrorResponse
|
|
1231
|
-
}
|
|
1232
|
-
},
|
|
1233
|
-
serializer: serializer
|
|
1234
|
-
};
|
|
1235
|
-
var beginDeleteByIdOperationSpec = {
|
|
1236
|
-
httpMethod: "DELETE",
|
|
1237
|
-
path: "{applianceId}",
|
|
1238
|
-
urlParameters: [
|
|
1239
|
-
applianceId
|
|
1240
|
-
],
|
|
1241
|
-
queryParameters: [
|
|
1242
|
-
apiVersion
|
|
1243
|
-
],
|
|
1244
|
-
headerParameters: [
|
|
1245
|
-
acceptLanguage
|
|
1246
|
-
],
|
|
1247
|
-
responses: {
|
|
1248
|
-
202: {},
|
|
1249
|
-
204: {},
|
|
1250
|
-
default: {
|
|
1251
|
-
bodyMapper: ErrorResponse
|
|
1252
|
-
}
|
|
1253
|
-
},
|
|
1254
|
-
serializer: serializer
|
|
1255
|
-
};
|
|
1256
|
-
var beginCreateOrUpdateByIdOperationSpec = {
|
|
1257
|
-
httpMethod: "PUT",
|
|
1258
|
-
path: "{applianceId}",
|
|
1259
|
-
urlParameters: [
|
|
1260
|
-
applianceId
|
|
1261
|
-
],
|
|
1262
|
-
queryParameters: [
|
|
1263
|
-
apiVersion
|
|
1264
|
-
],
|
|
1265
|
-
headerParameters: [
|
|
1266
|
-
acceptLanguage
|
|
1267
|
-
],
|
|
1268
|
-
requestBody: {
|
|
1269
|
-
parameterPath: "parameters",
|
|
1270
|
-
mapper: __assign(__assign({}, Appliance), { required: true })
|
|
1271
|
-
},
|
|
1272
|
-
responses: {
|
|
1273
|
-
200: {
|
|
1274
|
-
bodyMapper: Appliance
|
|
1275
|
-
},
|
|
1276
|
-
201: {
|
|
1277
|
-
bodyMapper: Appliance
|
|
1278
|
-
},
|
|
1279
|
-
default: {
|
|
1280
|
-
bodyMapper: ErrorResponse
|
|
1281
|
-
}
|
|
1282
|
-
},
|
|
1283
|
-
serializer: serializer
|
|
1284
|
-
};
|
|
1285
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1286
|
-
httpMethod: "GET",
|
|
1287
|
-
baseUrl: "https://management.azure.com",
|
|
1288
|
-
path: "{nextLink}",
|
|
1289
|
-
urlParameters: [
|
|
1290
|
-
nextPageLink
|
|
1291
|
-
],
|
|
1292
|
-
headerParameters: [
|
|
1293
|
-
acceptLanguage
|
|
1294
|
-
],
|
|
1295
|
-
responses: {
|
|
1296
|
-
200: {
|
|
1297
|
-
bodyMapper: ApplianceListResult
|
|
1298
|
-
},
|
|
1299
|
-
default: {
|
|
1300
|
-
bodyMapper: ErrorResponse
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
serializer: serializer
|
|
1304
|
-
};
|
|
1305
|
-
var listBySubscriptionNextOperationSpec = {
|
|
1306
|
-
httpMethod: "GET",
|
|
1307
|
-
baseUrl: "https://management.azure.com",
|
|
1308
|
-
path: "{nextLink}",
|
|
1309
|
-
urlParameters: [
|
|
1310
|
-
nextPageLink
|
|
1311
|
-
],
|
|
1312
|
-
headerParameters: [
|
|
1313
|
-
acceptLanguage
|
|
1314
|
-
],
|
|
1315
|
-
responses: {
|
|
1316
|
-
200: {
|
|
1317
|
-
bodyMapper: ApplianceListResult
|
|
1318
|
-
},
|
|
1319
|
-
default: {
|
|
1320
|
-
bodyMapper: ErrorResponse
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
serializer: serializer
|
|
1324
|
-
};
|
|
1325
|
-
|
|
1326
|
-
/*
|
|
1327
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1328
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1329
|
-
*
|
|
1330
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1331
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1332
|
-
*/
|
|
1333
|
-
|
|
1334
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1335
|
-
Appliance: Appliance,
|
|
1336
|
-
ApplianceArtifact: ApplianceArtifact,
|
|
1337
|
-
ApplianceDefinition: ApplianceDefinition,
|
|
1338
|
-
ApplianceDefinitionListResult: ApplianceDefinitionListResult,
|
|
1339
|
-
AppliancePatchable: AppliancePatchable,
|
|
1340
|
-
ApplianceProviderAuthorization: ApplianceProviderAuthorization,
|
|
1341
|
-
BaseResource: BaseResource,
|
|
1342
|
-
ErrorResponse: ErrorResponse,
|
|
1343
|
-
GenericResource: GenericResource,
|
|
1344
|
-
Identity: Identity,
|
|
1345
|
-
Plan: Plan,
|
|
1346
|
-
PlanPatchable: PlanPatchable,
|
|
1347
|
-
Resource: Resource,
|
|
1348
|
-
Sku: Sku
|
|
1349
|
-
});
|
|
1350
|
-
|
|
1351
|
-
/*
|
|
1352
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1353
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1354
|
-
* license information.
|
|
1355
|
-
*
|
|
1356
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1357
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1358
|
-
* regenerated.
|
|
1359
|
-
*/
|
|
1360
|
-
/** Class representing a ApplianceDefinitions. */
|
|
1361
|
-
var ApplianceDefinitions = /** @class */ (function () {
|
|
1362
|
-
/**
|
|
1363
|
-
* Create a ApplianceDefinitions.
|
|
1364
|
-
* @param {ManagedApplicationClientContext} client Reference to the service client.
|
|
1365
|
-
*/
|
|
1366
|
-
function ApplianceDefinitions(client) {
|
|
1367
|
-
this.client = client;
|
|
1368
|
-
}
|
|
1369
|
-
ApplianceDefinitions.prototype.get = function (resourceGroupName$$1, applianceDefinitionName$$1, options, callback) {
|
|
1370
|
-
return this.client.sendOperationRequest({
|
|
1371
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1372
|
-
applianceDefinitionName: applianceDefinitionName$$1,
|
|
1373
|
-
options: options
|
|
1374
|
-
}, getOperationSpec$1, callback);
|
|
1375
|
-
};
|
|
1376
|
-
/**
|
|
1377
|
-
* Deletes the appliance definition.
|
|
1378
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1379
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
1380
|
-
* @param [options] The optional parameters
|
|
1381
|
-
* @returns Promise<msRest.RestResponse>
|
|
1382
|
-
*/
|
|
1383
|
-
ApplianceDefinitions.prototype.deleteMethod = function (resourceGroupName$$1, applianceDefinitionName$$1, options) {
|
|
1384
|
-
return this.beginDeleteMethod(resourceGroupName$$1, applianceDefinitionName$$1, options)
|
|
1385
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1386
|
-
};
|
|
1387
|
-
/**
|
|
1388
|
-
* Creates a new appliance definition.
|
|
1389
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1390
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
1391
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
1392
|
-
* @param [options] The optional parameters
|
|
1393
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>
|
|
1394
|
-
*/
|
|
1395
|
-
ApplianceDefinitions.prototype.createOrUpdate = function (resourceGroupName$$1, applianceDefinitionName$$1, parameters, options) {
|
|
1396
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, applianceDefinitionName$$1, parameters, options)
|
|
1397
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1398
|
-
};
|
|
1399
|
-
ApplianceDefinitions.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
1400
|
-
return this.client.sendOperationRequest({
|
|
1401
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1402
|
-
options: options
|
|
1403
|
-
}, listByResourceGroupOperationSpec$1, callback);
|
|
1404
|
-
};
|
|
1405
|
-
ApplianceDefinitions.prototype.getById = function (applianceDefinitionId$$1, options, callback) {
|
|
1406
|
-
return this.client.sendOperationRequest({
|
|
1407
|
-
applianceDefinitionId: applianceDefinitionId$$1,
|
|
1408
|
-
options: options
|
|
1409
|
-
}, getByIdOperationSpec$1, callback);
|
|
1410
|
-
};
|
|
1411
|
-
/**
|
|
1412
|
-
* Deletes the appliance definition.
|
|
1413
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
1414
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
1415
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
1416
|
-
* @param [options] The optional parameters
|
|
1417
|
-
* @returns Promise<msRest.RestResponse>
|
|
1418
|
-
*/
|
|
1419
|
-
ApplianceDefinitions.prototype.deleteById = function (applianceDefinitionId$$1, options) {
|
|
1420
|
-
return this.beginDeleteById(applianceDefinitionId$$1, options)
|
|
1421
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1422
|
-
};
|
|
1423
|
-
/**
|
|
1424
|
-
* Creates a new appliance definition.
|
|
1425
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
1426
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
1427
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
1428
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
1429
|
-
* @param [options] The optional parameters
|
|
1430
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>
|
|
1431
|
-
*/
|
|
1432
|
-
ApplianceDefinitions.prototype.createOrUpdateById = function (applianceDefinitionId$$1, parameters, options) {
|
|
1433
|
-
return this.beginCreateOrUpdateById(applianceDefinitionId$$1, parameters, options)
|
|
1434
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1435
|
-
};
|
|
1436
|
-
/**
|
|
1437
|
-
* Deletes the appliance definition.
|
|
1438
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1439
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
1440
|
-
* @param [options] The optional parameters
|
|
1441
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1442
|
-
*/
|
|
1443
|
-
ApplianceDefinitions.prototype.beginDeleteMethod = function (resourceGroupName$$1, applianceDefinitionName$$1, options) {
|
|
1444
|
-
return this.client.sendLRORequest({
|
|
1445
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1446
|
-
applianceDefinitionName: applianceDefinitionName$$1,
|
|
1447
|
-
options: options
|
|
1448
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
1449
|
-
};
|
|
1450
|
-
/**
|
|
1451
|
-
* Creates a new appliance definition.
|
|
1452
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1453
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
1454
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
1455
|
-
* @param [options] The optional parameters
|
|
1456
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1457
|
-
*/
|
|
1458
|
-
ApplianceDefinitions.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, applianceDefinitionName$$1, parameters, options) {
|
|
1459
|
-
return this.client.sendLRORequest({
|
|
1460
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1461
|
-
applianceDefinitionName: applianceDefinitionName$$1,
|
|
1462
|
-
parameters: parameters,
|
|
1463
|
-
options: options
|
|
1464
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
1465
|
-
};
|
|
1466
|
-
/**
|
|
1467
|
-
* Deletes the appliance definition.
|
|
1468
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
1469
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
1470
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
1471
|
-
* @param [options] The optional parameters
|
|
1472
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1473
|
-
*/
|
|
1474
|
-
ApplianceDefinitions.prototype.beginDeleteById = function (applianceDefinitionId$$1, options) {
|
|
1475
|
-
return this.client.sendLRORequest({
|
|
1476
|
-
applianceDefinitionId: applianceDefinitionId$$1,
|
|
1477
|
-
options: options
|
|
1478
|
-
}, beginDeleteByIdOperationSpec$1, options);
|
|
1479
|
-
};
|
|
1480
|
-
/**
|
|
1481
|
-
* Creates a new appliance definition.
|
|
1482
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
1483
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
1484
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
1485
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
1486
|
-
* @param [options] The optional parameters
|
|
1487
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1488
|
-
*/
|
|
1489
|
-
ApplianceDefinitions.prototype.beginCreateOrUpdateById = function (applianceDefinitionId$$1, parameters, options) {
|
|
1490
|
-
return this.client.sendLRORequest({
|
|
1491
|
-
applianceDefinitionId: applianceDefinitionId$$1,
|
|
1492
|
-
parameters: parameters,
|
|
1493
|
-
options: options
|
|
1494
|
-
}, beginCreateOrUpdateByIdOperationSpec$1, options);
|
|
1495
|
-
};
|
|
1496
|
-
ApplianceDefinitions.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
1497
|
-
return this.client.sendOperationRequest({
|
|
1498
|
-
nextPageLink: nextPageLink$$1,
|
|
1499
|
-
options: options
|
|
1500
|
-
}, listByResourceGroupNextOperationSpec$1, callback);
|
|
1501
|
-
};
|
|
1502
|
-
return ApplianceDefinitions;
|
|
1503
|
-
}());
|
|
1504
|
-
// Operation Specifications
|
|
1505
|
-
var serializer$1 = new msRest.Serializer(Mappers$2);
|
|
1506
|
-
var getOperationSpec$1 = {
|
|
1507
|
-
httpMethod: "GET",
|
|
1508
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
1509
|
-
urlParameters: [
|
|
1510
|
-
resourceGroupName,
|
|
1511
|
-
applianceDefinitionName,
|
|
1512
|
-
subscriptionId
|
|
1513
|
-
],
|
|
1514
|
-
queryParameters: [
|
|
1515
|
-
apiVersion
|
|
1516
|
-
],
|
|
1517
|
-
headerParameters: [
|
|
1518
|
-
acceptLanguage
|
|
1519
|
-
],
|
|
1520
|
-
responses: {
|
|
1521
|
-
200: {
|
|
1522
|
-
bodyMapper: ApplianceDefinition
|
|
1523
|
-
},
|
|
1524
|
-
404: {},
|
|
1525
|
-
default: {
|
|
1526
|
-
bodyMapper: ErrorResponse
|
|
1527
|
-
}
|
|
1528
|
-
},
|
|
1529
|
-
serializer: serializer$1
|
|
1530
|
-
};
|
|
1531
|
-
var listByResourceGroupOperationSpec$1 = {
|
|
1532
|
-
httpMethod: "GET",
|
|
1533
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions",
|
|
1534
|
-
urlParameters: [
|
|
1535
|
-
resourceGroupName,
|
|
1536
|
-
subscriptionId
|
|
1537
|
-
],
|
|
1538
|
-
queryParameters: [
|
|
1539
|
-
apiVersion
|
|
1540
|
-
],
|
|
1541
|
-
headerParameters: [
|
|
1542
|
-
acceptLanguage
|
|
1543
|
-
],
|
|
1544
|
-
responses: {
|
|
1545
|
-
200: {
|
|
1546
|
-
bodyMapper: ApplianceDefinitionListResult
|
|
1547
|
-
},
|
|
1548
|
-
default: {
|
|
1549
|
-
bodyMapper: ErrorResponse
|
|
1550
|
-
}
|
|
1551
|
-
},
|
|
1552
|
-
serializer: serializer$1
|
|
1553
|
-
};
|
|
1554
|
-
var getByIdOperationSpec$1 = {
|
|
1555
|
-
httpMethod: "GET",
|
|
1556
|
-
path: "{applianceDefinitionId}",
|
|
1557
|
-
urlParameters: [
|
|
1558
|
-
applianceDefinitionId
|
|
1559
|
-
],
|
|
1560
|
-
queryParameters: [
|
|
1561
|
-
apiVersion
|
|
1562
|
-
],
|
|
1563
|
-
headerParameters: [
|
|
1564
|
-
acceptLanguage
|
|
1565
|
-
],
|
|
1566
|
-
responses: {
|
|
1567
|
-
200: {
|
|
1568
|
-
bodyMapper: ApplianceDefinition
|
|
1569
|
-
},
|
|
1570
|
-
404: {},
|
|
1571
|
-
default: {
|
|
1572
|
-
bodyMapper: ErrorResponse
|
|
1573
|
-
}
|
|
1574
|
-
},
|
|
1575
|
-
serializer: serializer$1
|
|
1576
|
-
};
|
|
1577
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
1578
|
-
httpMethod: "DELETE",
|
|
1579
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
1580
|
-
urlParameters: [
|
|
1581
|
-
resourceGroupName,
|
|
1582
|
-
applianceDefinitionName,
|
|
1583
|
-
subscriptionId
|
|
1584
|
-
],
|
|
1585
|
-
queryParameters: [
|
|
1586
|
-
apiVersion
|
|
1587
|
-
],
|
|
1588
|
-
headerParameters: [
|
|
1589
|
-
acceptLanguage
|
|
1590
|
-
],
|
|
1591
|
-
responses: {
|
|
1592
|
-
200: {},
|
|
1593
|
-
202: {},
|
|
1594
|
-
204: {},
|
|
1595
|
-
default: {
|
|
1596
|
-
bodyMapper: ErrorResponse
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
|
-
serializer: serializer$1
|
|
1600
|
-
};
|
|
1601
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
1602
|
-
httpMethod: "PUT",
|
|
1603
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
1604
|
-
urlParameters: [
|
|
1605
|
-
resourceGroupName,
|
|
1606
|
-
applianceDefinitionName,
|
|
1607
|
-
subscriptionId
|
|
1608
|
-
],
|
|
1609
|
-
queryParameters: [
|
|
1610
|
-
apiVersion
|
|
1611
|
-
],
|
|
1612
|
-
headerParameters: [
|
|
1613
|
-
acceptLanguage
|
|
1614
|
-
],
|
|
1615
|
-
requestBody: {
|
|
1616
|
-
parameterPath: "parameters",
|
|
1617
|
-
mapper: __assign(__assign({}, ApplianceDefinition), { required: true })
|
|
1618
|
-
},
|
|
1619
|
-
responses: {
|
|
1620
|
-
200: {
|
|
1621
|
-
bodyMapper: ApplianceDefinition
|
|
1622
|
-
},
|
|
1623
|
-
201: {
|
|
1624
|
-
bodyMapper: ApplianceDefinition
|
|
1625
|
-
},
|
|
1626
|
-
default: {
|
|
1627
|
-
bodyMapper: ErrorResponse
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
serializer: serializer$1
|
|
1631
|
-
};
|
|
1632
|
-
var beginDeleteByIdOperationSpec$1 = {
|
|
1633
|
-
httpMethod: "DELETE",
|
|
1634
|
-
path: "{applianceDefinitionId}",
|
|
1635
|
-
urlParameters: [
|
|
1636
|
-
applianceDefinitionId
|
|
1637
|
-
],
|
|
1638
|
-
queryParameters: [
|
|
1639
|
-
apiVersion
|
|
1640
|
-
],
|
|
1641
|
-
headerParameters: [
|
|
1642
|
-
acceptLanguage
|
|
1643
|
-
],
|
|
1644
|
-
responses: {
|
|
1645
|
-
200: {},
|
|
1646
|
-
202: {},
|
|
1647
|
-
204: {},
|
|
1648
|
-
default: {
|
|
1649
|
-
bodyMapper: ErrorResponse
|
|
1650
|
-
}
|
|
1651
|
-
},
|
|
1652
|
-
serializer: serializer$1
|
|
1653
|
-
};
|
|
1654
|
-
var beginCreateOrUpdateByIdOperationSpec$1 = {
|
|
1655
|
-
httpMethod: "PUT",
|
|
1656
|
-
path: "{applianceDefinitionId}",
|
|
1657
|
-
urlParameters: [
|
|
1658
|
-
applianceDefinitionId
|
|
1659
|
-
],
|
|
1660
|
-
queryParameters: [
|
|
1661
|
-
apiVersion
|
|
1662
|
-
],
|
|
1663
|
-
headerParameters: [
|
|
1664
|
-
acceptLanguage
|
|
1665
|
-
],
|
|
1666
|
-
requestBody: {
|
|
1667
|
-
parameterPath: "parameters",
|
|
1668
|
-
mapper: __assign(__assign({}, ApplianceDefinition), { required: true })
|
|
1669
|
-
},
|
|
1670
|
-
responses: {
|
|
1671
|
-
200: {
|
|
1672
|
-
bodyMapper: ApplianceDefinition
|
|
1673
|
-
},
|
|
1674
|
-
201: {
|
|
1675
|
-
bodyMapper: ApplianceDefinition
|
|
1676
|
-
},
|
|
1677
|
-
default: {
|
|
1678
|
-
bodyMapper: ErrorResponse
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
serializer: serializer$1
|
|
1682
|
-
};
|
|
1683
|
-
var listByResourceGroupNextOperationSpec$1 = {
|
|
1684
|
-
httpMethod: "GET",
|
|
1685
|
-
baseUrl: "https://management.azure.com",
|
|
1686
|
-
path: "{nextLink}",
|
|
1687
|
-
urlParameters: [
|
|
1688
|
-
nextPageLink
|
|
1689
|
-
],
|
|
1690
|
-
headerParameters: [
|
|
1691
|
-
acceptLanguage
|
|
1692
|
-
],
|
|
1693
|
-
responses: {
|
|
1694
|
-
200: {
|
|
1695
|
-
bodyMapper: ApplianceDefinitionListResult
|
|
1696
|
-
},
|
|
1697
|
-
default: {
|
|
1698
|
-
bodyMapper: ErrorResponse
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
serializer: serializer$1
|
|
1702
|
-
};
|
|
1703
|
-
|
|
1704
|
-
/*
|
|
1705
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1706
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1707
|
-
* license information.
|
|
1708
|
-
*
|
|
1709
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1710
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1711
|
-
* regenerated.
|
|
1712
|
-
*/
|
|
1713
|
-
|
|
1714
|
-
/*
|
|
1715
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1716
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1717
|
-
* license information.
|
|
1718
|
-
*
|
|
1719
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1720
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1721
|
-
* regenerated.
|
|
1722
|
-
*/
|
|
1723
|
-
var packageName = "@azure/arm-managedapplications";
|
|
1724
|
-
var packageVersion = "1.1.0";
|
|
1725
|
-
var ManagedApplicationClientContext = /** @class */ (function (_super) {
|
|
1726
|
-
__extends(ManagedApplicationClientContext, _super);
|
|
1727
|
-
/**
|
|
1728
|
-
* Initializes a new instance of the ManagedApplicationClient class.
|
|
1729
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1730
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1731
|
-
* more information about these credentials, see
|
|
1732
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1733
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1734
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1735
|
-
* @param subscriptionId The ID of the target subscription.
|
|
1736
|
-
* @param [options] The parameter options
|
|
1737
|
-
*/
|
|
1738
|
-
function ManagedApplicationClientContext(credentials, subscriptionId, options) {
|
|
1739
|
-
var _this = this;
|
|
1740
|
-
if (credentials == undefined) {
|
|
1741
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1742
|
-
}
|
|
1743
|
-
if (subscriptionId == undefined) {
|
|
1744
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
1745
|
-
}
|
|
1746
|
-
if (!options) {
|
|
1747
|
-
options = {};
|
|
1748
|
-
}
|
|
1749
|
-
if (!options.userAgent) {
|
|
1750
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1751
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1752
|
-
}
|
|
1753
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1754
|
-
_this.apiVersion = '2016-09-01-preview';
|
|
1755
|
-
_this.acceptLanguage = 'en-US';
|
|
1756
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1757
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1758
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1759
|
-
_this.credentials = credentials;
|
|
1760
|
-
_this.subscriptionId = subscriptionId;
|
|
1761
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1762
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1763
|
-
}
|
|
1764
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1765
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1766
|
-
}
|
|
1767
|
-
return _this;
|
|
1768
|
-
}
|
|
1769
|
-
return ManagedApplicationClientContext;
|
|
1770
|
-
}(msRestAzure.AzureServiceClient));
|
|
1771
|
-
|
|
1772
|
-
/*
|
|
1773
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1774
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1775
|
-
* license information.
|
|
1776
|
-
*
|
|
1777
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1778
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1779
|
-
* regenerated.
|
|
1780
|
-
*/
|
|
1781
|
-
var ManagedApplicationClient = /** @class */ (function (_super) {
|
|
1782
|
-
__extends(ManagedApplicationClient, _super);
|
|
1783
|
-
/**
|
|
1784
|
-
* Initializes a new instance of the ManagedApplicationClient class.
|
|
1785
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1786
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1787
|
-
* more information about these credentials, see
|
|
1788
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1789
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1790
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1791
|
-
* @param subscriptionId The ID of the target subscription.
|
|
1792
|
-
* @param [options] The parameter options
|
|
1793
|
-
*/
|
|
1794
|
-
function ManagedApplicationClient(credentials, subscriptionId$$1, options) {
|
|
1795
|
-
var _this = _super.call(this, credentials, subscriptionId$$1, options) || this;
|
|
1796
|
-
_this.appliances = new Appliances(_this);
|
|
1797
|
-
_this.applianceDefinitions = new ApplianceDefinitions(_this);
|
|
1798
|
-
return _this;
|
|
1799
|
-
}
|
|
1800
|
-
ManagedApplicationClient.prototype.listOperations = function (options, callback) {
|
|
1801
|
-
return this.sendOperationRequest({
|
|
1802
|
-
options: options
|
|
1803
|
-
}, listOperationsOperationSpec, callback);
|
|
1804
|
-
};
|
|
1805
|
-
ManagedApplicationClient.prototype.listOperationsNext = function (nextPageLink$$1, options, callback) {
|
|
1806
|
-
return this.sendOperationRequest({
|
|
1807
|
-
nextPageLink: nextPageLink$$1,
|
|
1808
|
-
options: options
|
|
1809
|
-
}, listOperationsNextOperationSpec, callback);
|
|
1810
|
-
};
|
|
1811
|
-
return ManagedApplicationClient;
|
|
1812
|
-
}(ManagedApplicationClientContext));
|
|
1813
|
-
// Operation Specifications
|
|
1814
|
-
var serializer$2 = new msRest.Serializer(Mappers);
|
|
1815
|
-
var listOperationsOperationSpec = {
|
|
1816
|
-
httpMethod: "GET",
|
|
1817
|
-
path: "providers/Microsoft.Solutions/operations",
|
|
1818
|
-
queryParameters: [
|
|
1819
|
-
apiVersion
|
|
1820
|
-
],
|
|
1821
|
-
headerParameters: [
|
|
1822
|
-
acceptLanguage
|
|
1823
|
-
],
|
|
1824
|
-
responses: {
|
|
1825
|
-
200: {
|
|
1826
|
-
bodyMapper: OperationListResult
|
|
1827
|
-
},
|
|
1828
|
-
default: {
|
|
1829
|
-
bodyMapper: CloudError
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
serializer: serializer$2
|
|
1833
|
-
};
|
|
1834
|
-
var listOperationsNextOperationSpec = {
|
|
1835
|
-
httpMethod: "GET",
|
|
1836
|
-
baseUrl: "https://management.azure.com",
|
|
1837
|
-
path: "{nextLink}",
|
|
1838
|
-
urlParameters: [
|
|
1839
|
-
nextPageLink
|
|
1840
|
-
],
|
|
1841
|
-
headerParameters: [
|
|
1842
|
-
acceptLanguage
|
|
1843
|
-
],
|
|
1844
|
-
responses: {
|
|
1845
|
-
200: {
|
|
1846
|
-
bodyMapper: OperationListResult
|
|
1847
|
-
},
|
|
1848
|
-
default: {
|
|
1849
|
-
bodyMapper: CloudError
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
serializer: serializer$2
|
|
1853
|
-
};
|
|
1854
|
-
|
|
1855
|
-
exports.ManagedApplicationClient = ManagedApplicationClient;
|
|
1856
|
-
exports.ManagedApplicationClientContext = ManagedApplicationClientContext;
|
|
1857
|
-
exports.ManagedApplicationModels = index;
|
|
1858
|
-
exports.ManagedApplicationMappers = Mappers;
|
|
1859
|
-
exports.Appliances = Appliances;
|
|
1860
|
-
exports.ApplianceDefinitions = ApplianceDefinitions;
|
|
1861
|
-
|
|
1862
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1863
|
-
|
|
1864
|
-
})));
|
|
1865
|
-
//# sourceMappingURL=arm-managedapplications.js.map
|