@azure/arm-oep 1.0.0-alpha.20220119.3
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 +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +1216 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js +33 -0
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceCreate.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceCreate.js +31 -0
- package/dist-esm/samples-dev/oepResourceCreate.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceDelete.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceDelete.js +31 -0
- package/dist-esm/samples-dev/oepResourceDelete.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceGet.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceGet.js +31 -0
- package/dist-esm/samples-dev/oepResourceGet.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js +43 -0
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js.map +1 -0
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/oepResourceUpdate.js +31 -0
- package/dist-esm/samples-dev/oepResourceUpdate.js.map +1 -0
- package/dist-esm/samples-dev/operationsList.d.ts +2 -0
- package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsList.js +29 -0
- package/dist-esm/samples-dev/operationsList.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +351 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +45 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +17 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +454 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +113 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.d.ts +20 -0
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js +53 -0
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist-esm/src/operations/energyServices.d.ts +95 -0
- package/dist-esm/src/operations/energyServices.d.ts.map +1 -0
- package/dist-esm/src/operations/energyServices.js +425 -0
- package/dist-esm/src/operations/energyServices.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +19 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +48 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist-esm/src/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/energyServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/energyServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +118 -0
- package/review/arm-oep.api.md +316 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +403 -0
- package/src/models/mappers.ts +475 -0
- package/src/models/parameters.ts +133 -0
- package/src/openEnergyPlatformManagementServiceAPIs.ts +83 -0
- package/src/operations/energyServices.ts +564 -0
- package/src/operations/index.ts +11 -0
- package/src/operations/locations.ts +67 -0
- package/src/operations/operations.ts +59 -0
- package/src/operationsInterfaces/energyServices.ts +113 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/locations.ts +26 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +20 -0
- package/types/arm-oep.d.ts +492 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
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
|
+
export const CheckNameAvailabilityRequest = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "CheckNameAvailabilityRequest",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
name: {
|
|
14
|
+
serializedName: "name",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
type: {
|
|
20
|
+
serializedName: "type",
|
|
21
|
+
type: {
|
|
22
|
+
name: "String"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export const CheckNameAvailabilityResponse = {
|
|
29
|
+
type: {
|
|
30
|
+
name: "Composite",
|
|
31
|
+
className: "CheckNameAvailabilityResponse",
|
|
32
|
+
modelProperties: {
|
|
33
|
+
nameAvailable: {
|
|
34
|
+
serializedName: "nameAvailable",
|
|
35
|
+
type: {
|
|
36
|
+
name: "Boolean"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
reason: {
|
|
40
|
+
serializedName: "reason",
|
|
41
|
+
type: {
|
|
42
|
+
name: "String"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
message: {
|
|
46
|
+
serializedName: "message",
|
|
47
|
+
type: {
|
|
48
|
+
name: "String"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
export const ErrorResponse = {
|
|
55
|
+
type: {
|
|
56
|
+
name: "Composite",
|
|
57
|
+
className: "ErrorResponse",
|
|
58
|
+
modelProperties: {
|
|
59
|
+
error: {
|
|
60
|
+
serializedName: "error",
|
|
61
|
+
type: {
|
|
62
|
+
name: "Composite",
|
|
63
|
+
className: "ErrorDetail"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export const ErrorDetail = {
|
|
70
|
+
type: {
|
|
71
|
+
name: "Composite",
|
|
72
|
+
className: "ErrorDetail",
|
|
73
|
+
modelProperties: {
|
|
74
|
+
code: {
|
|
75
|
+
serializedName: "code",
|
|
76
|
+
readOnly: true,
|
|
77
|
+
type: {
|
|
78
|
+
name: "String"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
message: {
|
|
82
|
+
serializedName: "message",
|
|
83
|
+
readOnly: true,
|
|
84
|
+
type: {
|
|
85
|
+
name: "String"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
target: {
|
|
89
|
+
serializedName: "target",
|
|
90
|
+
readOnly: true,
|
|
91
|
+
type: {
|
|
92
|
+
name: "String"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
details: {
|
|
96
|
+
serializedName: "details",
|
|
97
|
+
readOnly: true,
|
|
98
|
+
type: {
|
|
99
|
+
name: "Sequence",
|
|
100
|
+
element: {
|
|
101
|
+
type: {
|
|
102
|
+
name: "Composite",
|
|
103
|
+
className: "ErrorDetail"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
additionalInfo: {
|
|
109
|
+
serializedName: "additionalInfo",
|
|
110
|
+
readOnly: true,
|
|
111
|
+
type: {
|
|
112
|
+
name: "Sequence",
|
|
113
|
+
element: {
|
|
114
|
+
type: {
|
|
115
|
+
name: "Composite",
|
|
116
|
+
className: "ErrorAdditionalInfo"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export const ErrorAdditionalInfo = {
|
|
125
|
+
type: {
|
|
126
|
+
name: "Composite",
|
|
127
|
+
className: "ErrorAdditionalInfo",
|
|
128
|
+
modelProperties: {
|
|
129
|
+
type: {
|
|
130
|
+
serializedName: "type",
|
|
131
|
+
readOnly: true,
|
|
132
|
+
type: {
|
|
133
|
+
name: "String"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
info: {
|
|
137
|
+
serializedName: "info",
|
|
138
|
+
readOnly: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "Dictionary",
|
|
141
|
+
value: { type: { name: "any" } }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
export const EnergyServiceList = {
|
|
148
|
+
type: {
|
|
149
|
+
name: "Composite",
|
|
150
|
+
className: "EnergyServiceList",
|
|
151
|
+
modelProperties: {
|
|
152
|
+
nextLink: {
|
|
153
|
+
serializedName: "nextLink",
|
|
154
|
+
type: {
|
|
155
|
+
name: "String"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
value: {
|
|
159
|
+
serializedName: "value",
|
|
160
|
+
type: {
|
|
161
|
+
name: "Sequence",
|
|
162
|
+
element: {
|
|
163
|
+
type: {
|
|
164
|
+
name: "Composite",
|
|
165
|
+
className: "EnergyService"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
export const EnergyServiceProperties = {
|
|
174
|
+
type: {
|
|
175
|
+
name: "Composite",
|
|
176
|
+
className: "EnergyServiceProperties",
|
|
177
|
+
modelProperties: {
|
|
178
|
+
dnsName: {
|
|
179
|
+
serializedName: "dnsName",
|
|
180
|
+
readOnly: true,
|
|
181
|
+
type: {
|
|
182
|
+
name: "String"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
provisioningState: {
|
|
186
|
+
serializedName: "provisioningState",
|
|
187
|
+
readOnly: true,
|
|
188
|
+
type: {
|
|
189
|
+
name: "String"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
authAppId: {
|
|
193
|
+
serializedName: "authAppId",
|
|
194
|
+
type: {
|
|
195
|
+
name: "String"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
dataPartitionNames: {
|
|
199
|
+
serializedName: "dataPartitionNames",
|
|
200
|
+
type: {
|
|
201
|
+
name: "Sequence",
|
|
202
|
+
element: {
|
|
203
|
+
type: {
|
|
204
|
+
name: "Composite",
|
|
205
|
+
className: "DataPartitionNames"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
export const DataPartitionNames = {
|
|
214
|
+
type: {
|
|
215
|
+
name: "Composite",
|
|
216
|
+
className: "DataPartitionNames",
|
|
217
|
+
modelProperties: {
|
|
218
|
+
name: {
|
|
219
|
+
serializedName: "name",
|
|
220
|
+
type: {
|
|
221
|
+
name: "String"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
export const Resource = {
|
|
228
|
+
type: {
|
|
229
|
+
name: "Composite",
|
|
230
|
+
className: "Resource",
|
|
231
|
+
modelProperties: {
|
|
232
|
+
id: {
|
|
233
|
+
serializedName: "id",
|
|
234
|
+
readOnly: true,
|
|
235
|
+
type: {
|
|
236
|
+
name: "String"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
name: {
|
|
240
|
+
serializedName: "name",
|
|
241
|
+
readOnly: true,
|
|
242
|
+
type: {
|
|
243
|
+
name: "String"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
type: {
|
|
247
|
+
serializedName: "type",
|
|
248
|
+
readOnly: true,
|
|
249
|
+
type: {
|
|
250
|
+
name: "String"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
systemData: {
|
|
254
|
+
serializedName: "systemData",
|
|
255
|
+
type: {
|
|
256
|
+
name: "Composite",
|
|
257
|
+
className: "SystemData"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
export const SystemData = {
|
|
264
|
+
type: {
|
|
265
|
+
name: "Composite",
|
|
266
|
+
className: "SystemData",
|
|
267
|
+
modelProperties: {
|
|
268
|
+
createdBy: {
|
|
269
|
+
serializedName: "createdBy",
|
|
270
|
+
type: {
|
|
271
|
+
name: "String"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
createdByType: {
|
|
275
|
+
serializedName: "createdByType",
|
|
276
|
+
type: {
|
|
277
|
+
name: "String"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
createdAt: {
|
|
281
|
+
serializedName: "createdAt",
|
|
282
|
+
type: {
|
|
283
|
+
name: "DateTime"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
lastModifiedBy: {
|
|
287
|
+
serializedName: "lastModifiedBy",
|
|
288
|
+
type: {
|
|
289
|
+
name: "String"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
lastModifiedByType: {
|
|
293
|
+
serializedName: "lastModifiedByType",
|
|
294
|
+
type: {
|
|
295
|
+
name: "String"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
lastModifiedAt: {
|
|
299
|
+
serializedName: "lastModifiedAt",
|
|
300
|
+
type: {
|
|
301
|
+
name: "DateTime"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
export const EnergyResourceUpdate = {
|
|
308
|
+
type: {
|
|
309
|
+
name: "Composite",
|
|
310
|
+
className: "EnergyResourceUpdate",
|
|
311
|
+
modelProperties: {
|
|
312
|
+
tags: {
|
|
313
|
+
serializedName: "tags",
|
|
314
|
+
type: {
|
|
315
|
+
name: "Dictionary",
|
|
316
|
+
value: { type: { name: "String" } }
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
export const OperationListResult = {
|
|
323
|
+
type: {
|
|
324
|
+
name: "Composite",
|
|
325
|
+
className: "OperationListResult",
|
|
326
|
+
modelProperties: {
|
|
327
|
+
value: {
|
|
328
|
+
serializedName: "value",
|
|
329
|
+
readOnly: true,
|
|
330
|
+
type: {
|
|
331
|
+
name: "Sequence",
|
|
332
|
+
element: {
|
|
333
|
+
type: {
|
|
334
|
+
name: "Composite",
|
|
335
|
+
className: "Operation"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
nextLink: {
|
|
341
|
+
serializedName: "nextLink",
|
|
342
|
+
readOnly: true,
|
|
343
|
+
type: {
|
|
344
|
+
name: "String"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
export const Operation = {
|
|
351
|
+
type: {
|
|
352
|
+
name: "Composite",
|
|
353
|
+
className: "Operation",
|
|
354
|
+
modelProperties: {
|
|
355
|
+
name: {
|
|
356
|
+
serializedName: "name",
|
|
357
|
+
readOnly: true,
|
|
358
|
+
type: {
|
|
359
|
+
name: "String"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
isDataAction: {
|
|
363
|
+
serializedName: "isDataAction",
|
|
364
|
+
readOnly: true,
|
|
365
|
+
type: {
|
|
366
|
+
name: "Boolean"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
display: {
|
|
370
|
+
serializedName: "display",
|
|
371
|
+
type: {
|
|
372
|
+
name: "Composite",
|
|
373
|
+
className: "OperationDisplay"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
origin: {
|
|
377
|
+
serializedName: "origin",
|
|
378
|
+
readOnly: true,
|
|
379
|
+
type: {
|
|
380
|
+
name: "String"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
actionType: {
|
|
384
|
+
serializedName: "actionType",
|
|
385
|
+
readOnly: true,
|
|
386
|
+
type: {
|
|
387
|
+
name: "String"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
export const OperationDisplay = {
|
|
394
|
+
type: {
|
|
395
|
+
name: "Composite",
|
|
396
|
+
className: "OperationDisplay",
|
|
397
|
+
modelProperties: {
|
|
398
|
+
provider: {
|
|
399
|
+
serializedName: "provider",
|
|
400
|
+
readOnly: true,
|
|
401
|
+
type: {
|
|
402
|
+
name: "String"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
resource: {
|
|
406
|
+
serializedName: "resource",
|
|
407
|
+
readOnly: true,
|
|
408
|
+
type: {
|
|
409
|
+
name: "String"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
operation: {
|
|
413
|
+
serializedName: "operation",
|
|
414
|
+
readOnly: true,
|
|
415
|
+
type: {
|
|
416
|
+
name: "String"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
description: {
|
|
420
|
+
serializedName: "description",
|
|
421
|
+
readOnly: true,
|
|
422
|
+
type: {
|
|
423
|
+
name: "String"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
export const EnergyService = {
|
|
430
|
+
type: {
|
|
431
|
+
name: "Composite",
|
|
432
|
+
className: "EnergyService",
|
|
433
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
434
|
+
serializedName: "properties",
|
|
435
|
+
type: {
|
|
436
|
+
name: "Composite",
|
|
437
|
+
className: "EnergyServiceProperties"
|
|
438
|
+
}
|
|
439
|
+
}, tags: {
|
|
440
|
+
serializedName: "tags",
|
|
441
|
+
type: {
|
|
442
|
+
name: "Dictionary",
|
|
443
|
+
value: { type: { name: "String" } }
|
|
444
|
+
}
|
|
445
|
+
}, location: {
|
|
446
|
+
serializedName: "location",
|
|
447
|
+
required: true,
|
|
448
|
+
type: {
|
|
449
|
+
name: "String"
|
|
450
|
+
}
|
|
451
|
+
} })
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,4BAA4B,GAA+B;IACtE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8BAA8B;QACzC,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1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AE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF,EACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const body: OperationParameter;
|
|
4
|
+
export declare const accept: OperationParameter;
|
|
5
|
+
export declare const $host: OperationURLParameter;
|
|
6
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
7
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
8
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
9
|
+
export declare const resourceName: OperationURLParameter;
|
|
10
|
+
export declare const body1: OperationParameter;
|
|
11
|
+
export declare const body2: OperationParameter;
|
|
12
|
+
export declare const nextLink: OperationURLParameter;
|
|
13
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAY5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
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
|
+
import { CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, EnergyService as EnergyServiceMapper, EnergyResourceUpdate as EnergyResourceUpdateMapper } from "../models/mappers";
|
|
9
|
+
export const contentType = {
|
|
10
|
+
parameterPath: ["options", "contentType"],
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Content-Type",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const body = {
|
|
21
|
+
parameterPath: "body",
|
|
22
|
+
mapper: CheckNameAvailabilityRequestMapper
|
|
23
|
+
};
|
|
24
|
+
export const accept = {
|
|
25
|
+
parameterPath: "accept",
|
|
26
|
+
mapper: {
|
|
27
|
+
defaultValue: "application/json",
|
|
28
|
+
isConstant: true,
|
|
29
|
+
serializedName: "Accept",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export const $host = {
|
|
36
|
+
parameterPath: "$host",
|
|
37
|
+
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
39
|
+
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true
|
|
45
|
+
};
|
|
46
|
+
export const subscriptionId = {
|
|
47
|
+
parameterPath: "subscriptionId",
|
|
48
|
+
mapper: {
|
|
49
|
+
constraints: {
|
|
50
|
+
MinLength: 1
|
|
51
|
+
},
|
|
52
|
+
serializedName: "subscriptionId",
|
|
53
|
+
required: true,
|
|
54
|
+
type: {
|
|
55
|
+
name: "String"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
export const resourceGroupName = {
|
|
60
|
+
parameterPath: "resourceGroupName",
|
|
61
|
+
mapper: {
|
|
62
|
+
constraints: {
|
|
63
|
+
MaxLength: 90,
|
|
64
|
+
MinLength: 1
|
|
65
|
+
},
|
|
66
|
+
serializedName: "resourceGroupName",
|
|
67
|
+
required: true,
|
|
68
|
+
type: {
|
|
69
|
+
name: "String"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
export const apiVersion = {
|
|
74
|
+
parameterPath: "apiVersion",
|
|
75
|
+
mapper: {
|
|
76
|
+
defaultValue: "2021-06-01-preview",
|
|
77
|
+
isConstant: true,
|
|
78
|
+
serializedName: "api-version",
|
|
79
|
+
type: {
|
|
80
|
+
name: "String"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
export const resourceName = {
|
|
85
|
+
parameterPath: "resourceName",
|
|
86
|
+
mapper: {
|
|
87
|
+
serializedName: "resourceName",
|
|
88
|
+
required: true,
|
|
89
|
+
type: {
|
|
90
|
+
name: "String"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export const body1 = {
|
|
95
|
+
parameterPath: ["options", "body"],
|
|
96
|
+
mapper: EnergyServiceMapper
|
|
97
|
+
};
|
|
98
|
+
export const body2 = {
|
|
99
|
+
parameterPath: ["options", "body"],
|
|
100
|
+
mapper: EnergyResourceUpdateMapper
|
|
101
|
+
};
|
|
102
|
+
export const nextLink = {
|
|
103
|
+
parameterPath: "nextLink",
|
|
104
|
+
mapper: {
|
|
105
|
+
serializedName: "nextLink",
|
|
106
|
+
required: true,
|
|
107
|
+
type: {
|
|
108
|
+
name: "String"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
skipEncoding: true
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,aAAa,IAAI,mBAAmB,EACpC,oBAAoB,IAAI,0BAA0B,EACnD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAuB;IACtC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,kCAAkC;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EA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,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Locations, EnergyServices, Operations } from "./operationsInterfaces";
|
|
4
|
+
import { OpenEnergyPlatformManagementServiceAPIsOptionalParams } from "./models";
|
|
5
|
+
export declare class OpenEnergyPlatformManagementServiceAPIs extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the OpenEnergyPlatformManagementServiceAPIs class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OpenEnergyPlatformManagementServiceAPIsOptionalParams);
|
|
16
|
+
locations: Locations;
|
|
17
|
+
energyServices: EnergyServices;
|
|
18
|
+
operations: Operations;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=openEnergyPlatformManagementServiceAPIs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openEnergyPlatformManagementServiceAPIs.d.ts","sourceRoot":"","sources":["../../src/openEnergyPlatformManagementServiceAPIs.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,qDAAqD,EAAE,MAAM,UAAU,CAAC;AAEjF,qBAAa,uCAAwC,SAAQ,UAAU,CAAC,aAAa;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,qDAAqD;IA+CjE,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
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
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import { LocationsImpl, EnergyServicesImpl, OperationsImpl } from "./operations";
|
|
10
|
+
export class OpenEnergyPlatformManagementServiceAPIs extends coreClient.ServiceClient {
|
|
11
|
+
/**
|
|
12
|
+
* Initializes a new instance of the OpenEnergyPlatformManagementServiceAPIs class.
|
|
13
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
14
|
+
* @param subscriptionId The ID of the target subscription.
|
|
15
|
+
* @param options The parameter options
|
|
16
|
+
*/
|
|
17
|
+
constructor(credentials, subscriptionId, options) {
|
|
18
|
+
if (credentials === undefined) {
|
|
19
|
+
throw new Error("'credentials' cannot be null");
|
|
20
|
+
}
|
|
21
|
+
if (subscriptionId === undefined) {
|
|
22
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
23
|
+
}
|
|
24
|
+
// Initializing default values for options
|
|
25
|
+
if (!options) {
|
|
26
|
+
options = {};
|
|
27
|
+
}
|
|
28
|
+
const defaults = {
|
|
29
|
+
requestContentType: "application/json; charset=utf-8",
|
|
30
|
+
credential: credentials
|
|
31
|
+
};
|
|
32
|
+
const packageDetails = `azsdk-js-arm-oep/1.0.0-beta.1`;
|
|
33
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
|
+
: `${packageDetails}`;
|
|
36
|
+
if (!options.credentialScopes) {
|
|
37
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
38
|
+
}
|
|
39
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
40
|
+
userAgentPrefix
|
|
41
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
42
|
+
super(optionsWithDefaults);
|
|
43
|
+
// Parameter assignments
|
|
44
|
+
this.subscriptionId = subscriptionId;
|
|
45
|
+
// Assigning values to Constant parameters
|
|
46
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
47
|
+
this.apiVersion = options.apiVersion || "2021-06-01-preview";
|
|
48
|
+
this.locations = new LocationsImpl(this);
|
|
49
|
+
this.energyServices = new EnergyServicesImpl(this);
|
|
50
|
+
this.operations = new OperationsImpl(this);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=openEnergyPlatformManagementServiceAPIs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openEnergyPlatformManagementServiceAPIs.js","sourceRoot":"","sources":["../../src/openEnergyPlatformManagementServiceAPIs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,cAAc,EACf,MAAM,cAAc,CAAC;AAItB,MAAM,OAAO,uCAAwC,SAAQ,UAAU,CAAC,aAAa;IAKnF;;;;;OAKG;IACH,YACE,WA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