@azure/arm-msi 1.2.1 → 2.0.0-alpha.20211217.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 +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +1029 -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/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/managedServiceIdentityClient.d.ts +20 -0
- package/dist-esm/src/managedServiceIdentityClient.d.ts.map +1 -0
- package/dist-esm/src/managedServiceIdentityClient.js +53 -0
- package/dist-esm/src/managedServiceIdentityClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +212 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +14 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +325 -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/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/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/systemAssignedIdentities.d.ts +20 -0
- package/dist-esm/src/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operations/systemAssignedIdentities.js +48 -0
- package/dist-esm/src/operations/systemAssignedIdentities.js.map +1 -0
- package/dist-esm/src/operations/userAssignedIdentities.d.ts +83 -0
- package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operations/userAssignedIdentities.js +359 -0
- package/dist-esm/src/operations/userAssignedIdentities.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/operations.d.ts +11 -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/src/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js +9 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.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 +67 -24
- package/review/arm-msi.api.md +218 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/managedServiceIdentityClient.ts +74 -37
- package/src/models/index.ts +194 -304
- package/src/models/mappers.ts +245 -85
- package/src/models/parameters.ts +83 -24
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +87 -73
- package/src/operations/systemAssignedIdentities.ts +65 -0
- package/src/operations/userAssignedIdentities.ts +278 -307
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/systemAssignedIdentities.ts +26 -0
- package/src/operationsInterfaces/userAssignedIdentities.ts +91 -0
- package/tsconfig.json +4 -4
- package/types/arm-msi.d.ts +330 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-msi.js +0 -830
- package/dist/arm-msi.js.map +0 -1
- package/dist/arm-msi.min.js +0 -1
- package/dist/arm-msi.min.js.map +0 -1
- package/esm/managedServiceIdentityClient.d.ts +0 -25
- package/esm/managedServiceIdentityClient.d.ts.map +0 -1
- package/esm/managedServiceIdentityClient.js +0 -39
- package/esm/managedServiceIdentityClient.js.map +0 -1
- package/esm/managedServiceIdentityClientContext.d.ts +0 -22
- package/esm/managedServiceIdentityClientContext.d.ts.map +0 -1
- package/esm/managedServiceIdentityClientContext.js +0 -61
- package/esm/managedServiceIdentityClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -332
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -9
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -197
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -71
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/userAssignedIdentitiesMappers.d.ts +0 -2
- package/esm/models/userAssignedIdentitiesMappers.d.ts.map +0 -1
- package/esm/models/userAssignedIdentitiesMappers.js +0 -11
- package/esm/models/userAssignedIdentitiesMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/userAssignedIdentities.d.ts +0 -172
- package/esm/operations/userAssignedIdentities.d.ts.map +0 -1
- package/esm/operations/userAssignedIdentities.js +0 -272
- package/esm/operations/userAssignedIdentities.js.map +0 -1
- package/src/managedServiceIdentityClientContext.ts +0 -68
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/userAssignedIdentitiesMappers.ts +0 -17
package/src/models/mappers.ts
CHANGED
@@ -1,97 +1,148 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
13
10
|
|
14
|
-
export const
|
15
|
-
export const BaseResource = BaseResourceMapper;
|
16
|
-
|
17
|
-
export const Identity: msRest.CompositeMapper = {
|
18
|
-
serializedName: "Identity",
|
11
|
+
export const Resource: coreClient.CompositeMapper = {
|
19
12
|
type: {
|
20
13
|
name: "Composite",
|
21
|
-
className: "
|
14
|
+
className: "Resource",
|
22
15
|
modelProperties: {
|
23
16
|
id: {
|
24
|
-
readOnly: true,
|
25
17
|
serializedName: "id",
|
18
|
+
readOnly: true,
|
26
19
|
type: {
|
27
20
|
name: "String"
|
28
21
|
}
|
29
22
|
},
|
30
23
|
name: {
|
31
|
-
readOnly: true,
|
32
24
|
serializedName: "name",
|
25
|
+
readOnly: true,
|
33
26
|
type: {
|
34
27
|
name: "String"
|
35
28
|
}
|
36
29
|
},
|
37
|
-
|
38
|
-
serializedName: "
|
30
|
+
type: {
|
31
|
+
serializedName: "type",
|
32
|
+
readOnly: true,
|
39
33
|
type: {
|
40
34
|
name: "String"
|
41
35
|
}
|
42
|
-
}
|
43
|
-
|
44
|
-
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
};
|
40
|
+
|
41
|
+
export const CloudError: coreClient.CompositeMapper = {
|
42
|
+
type: {
|
43
|
+
name: "Composite",
|
44
|
+
className: "CloudError",
|
45
|
+
modelProperties: {
|
46
|
+
error: {
|
47
|
+
serializedName: "error",
|
45
48
|
type: {
|
46
|
-
name: "
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
name: "Composite",
|
50
|
+
className: "CloudErrorBody"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
};
|
56
|
+
|
57
|
+
export const CloudErrorBody: coreClient.CompositeMapper = {
|
58
|
+
type: {
|
59
|
+
name: "Composite",
|
60
|
+
className: "CloudErrorBody",
|
61
|
+
modelProperties: {
|
62
|
+
code: {
|
63
|
+
serializedName: "code",
|
64
|
+
type: {
|
65
|
+
name: "String"
|
52
66
|
}
|
53
67
|
},
|
54
|
-
|
55
|
-
|
56
|
-
serializedName: "properties.tenantId",
|
68
|
+
message: {
|
69
|
+
serializedName: "message",
|
57
70
|
type: {
|
58
|
-
name: "
|
71
|
+
name: "String"
|
59
72
|
}
|
60
73
|
},
|
61
|
-
|
62
|
-
|
63
|
-
serializedName: "properties.principalId",
|
74
|
+
target: {
|
75
|
+
serializedName: "target",
|
64
76
|
type: {
|
65
|
-
name: "
|
77
|
+
name: "String"
|
66
78
|
}
|
67
79
|
},
|
68
|
-
|
69
|
-
|
70
|
-
serializedName: "properties.clientId",
|
80
|
+
details: {
|
81
|
+
serializedName: "details",
|
71
82
|
type: {
|
72
|
-
name: "
|
83
|
+
name: "Sequence",
|
84
|
+
element: {
|
85
|
+
type: {
|
86
|
+
name: "Composite",
|
87
|
+
className: "CloudErrorBody"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
};
|
95
|
+
|
96
|
+
export const OperationListResult: coreClient.CompositeMapper = {
|
97
|
+
type: {
|
98
|
+
name: "Composite",
|
99
|
+
className: "OperationListResult",
|
100
|
+
modelProperties: {
|
101
|
+
value: {
|
102
|
+
serializedName: "value",
|
103
|
+
type: {
|
104
|
+
name: "Sequence",
|
105
|
+
element: {
|
106
|
+
type: {
|
107
|
+
name: "Composite",
|
108
|
+
className: "Operation"
|
109
|
+
}
|
110
|
+
}
|
73
111
|
}
|
74
112
|
},
|
75
|
-
|
76
|
-
|
77
|
-
serializedName: "properties.clientSecretUrl",
|
113
|
+
nextLink: {
|
114
|
+
serializedName: "nextLink",
|
78
115
|
type: {
|
79
116
|
name: "String"
|
80
117
|
}
|
81
|
-
}
|
82
|
-
|
83
|
-
|
84
|
-
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
};
|
122
|
+
|
123
|
+
export const Operation: coreClient.CompositeMapper = {
|
124
|
+
type: {
|
125
|
+
name: "Composite",
|
126
|
+
className: "Operation",
|
127
|
+
modelProperties: {
|
128
|
+
name: {
|
129
|
+
serializedName: "name",
|
85
130
|
type: {
|
86
131
|
name: "String"
|
87
132
|
}
|
133
|
+
},
|
134
|
+
display: {
|
135
|
+
serializedName: "display",
|
136
|
+
type: {
|
137
|
+
name: "Composite",
|
138
|
+
className: "OperationDisplay"
|
139
|
+
}
|
88
140
|
}
|
89
141
|
}
|
90
142
|
}
|
91
143
|
};
|
92
144
|
|
93
|
-
export const OperationDisplay:
|
94
|
-
serializedName: "OperationDisplay",
|
145
|
+
export const OperationDisplay: coreClient.CompositeMapper = {
|
95
146
|
type: {
|
96
147
|
name: "Composite",
|
97
148
|
className: "OperationDisplay",
|
@@ -124,49 +175,59 @@ export const OperationDisplay: msRest.CompositeMapper = {
|
|
124
175
|
}
|
125
176
|
};
|
126
177
|
|
127
|
-
export const
|
128
|
-
serializedName: "Operation",
|
178
|
+
export const UserAssignedIdentitiesListResult: coreClient.CompositeMapper = {
|
129
179
|
type: {
|
130
180
|
name: "Composite",
|
131
|
-
className: "
|
181
|
+
className: "UserAssignedIdentitiesListResult",
|
132
182
|
modelProperties: {
|
133
|
-
|
134
|
-
serializedName: "
|
183
|
+
value: {
|
184
|
+
serializedName: "value",
|
135
185
|
type: {
|
136
|
-
name: "
|
186
|
+
name: "Sequence",
|
187
|
+
element: {
|
188
|
+
type: {
|
189
|
+
name: "Composite",
|
190
|
+
className: "Identity"
|
191
|
+
}
|
192
|
+
}
|
137
193
|
}
|
138
194
|
},
|
139
|
-
|
140
|
-
serializedName: "
|
195
|
+
nextLink: {
|
196
|
+
serializedName: "nextLink",
|
141
197
|
type: {
|
142
|
-
name: "
|
143
|
-
className: "OperationDisplay"
|
198
|
+
name: "String"
|
144
199
|
}
|
145
200
|
}
|
146
201
|
}
|
147
202
|
}
|
148
203
|
};
|
149
204
|
|
150
|
-
export const
|
151
|
-
serializedName: "OperationListResult",
|
205
|
+
export const ProxyResource: coreClient.CompositeMapper = {
|
152
206
|
type: {
|
153
207
|
name: "Composite",
|
154
|
-
className: "
|
208
|
+
className: "ProxyResource",
|
155
209
|
modelProperties: {
|
156
|
-
|
157
|
-
|
210
|
+
...Resource.type.modelProperties
|
211
|
+
}
|
212
|
+
}
|
213
|
+
};
|
214
|
+
|
215
|
+
export const TrackedResource: coreClient.CompositeMapper = {
|
216
|
+
type: {
|
217
|
+
name: "Composite",
|
218
|
+
className: "TrackedResource",
|
219
|
+
modelProperties: {
|
220
|
+
...Resource.type.modelProperties,
|
221
|
+
tags: {
|
222
|
+
serializedName: "tags",
|
158
223
|
type: {
|
159
|
-
name: "
|
160
|
-
|
161
|
-
type: {
|
162
|
-
name: "Composite",
|
163
|
-
className: "Operation"
|
164
|
-
}
|
165
|
-
}
|
224
|
+
name: "Dictionary",
|
225
|
+
value: { type: { name: "String" } }
|
166
226
|
}
|
167
227
|
},
|
168
|
-
|
169
|
-
serializedName: "
|
228
|
+
location: {
|
229
|
+
serializedName: "location",
|
230
|
+
required: true,
|
170
231
|
type: {
|
171
232
|
name: "String"
|
172
233
|
}
|
@@ -175,29 +236,128 @@ export const OperationListResult: msRest.CompositeMapper = {
|
|
175
236
|
}
|
176
237
|
};
|
177
238
|
|
178
|
-
export const
|
179
|
-
serializedName: "UserAssignedIdentitiesListResult",
|
239
|
+
export const IdentityUpdate: coreClient.CompositeMapper = {
|
180
240
|
type: {
|
181
241
|
name: "Composite",
|
182
|
-
className: "
|
242
|
+
className: "IdentityUpdate",
|
183
243
|
modelProperties: {
|
184
|
-
|
185
|
-
|
244
|
+
...Resource.type.modelProperties,
|
245
|
+
location: {
|
246
|
+
serializedName: "location",
|
186
247
|
type: {
|
187
|
-
name: "
|
188
|
-
element: {
|
189
|
-
type: {
|
190
|
-
name: "Composite",
|
191
|
-
className: "Identity"
|
192
|
-
}
|
193
|
-
}
|
248
|
+
name: "String"
|
194
249
|
}
|
195
250
|
},
|
196
|
-
|
197
|
-
serializedName: "
|
251
|
+
tags: {
|
252
|
+
serializedName: "tags",
|
253
|
+
type: {
|
254
|
+
name: "Dictionary",
|
255
|
+
value: { type: { name: "String" } }
|
256
|
+
}
|
257
|
+
},
|
258
|
+
tenantId: {
|
259
|
+
serializedName: "properties.tenantId",
|
260
|
+
readOnly: true,
|
261
|
+
type: {
|
262
|
+
name: "Uuid"
|
263
|
+
}
|
264
|
+
},
|
265
|
+
principalId: {
|
266
|
+
serializedName: "properties.principalId",
|
267
|
+
readOnly: true,
|
268
|
+
type: {
|
269
|
+
name: "Uuid"
|
270
|
+
}
|
271
|
+
},
|
272
|
+
clientId: {
|
273
|
+
serializedName: "properties.clientId",
|
274
|
+
readOnly: true,
|
275
|
+
type: {
|
276
|
+
name: "Uuid"
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
};
|
282
|
+
|
283
|
+
export const SystemAssignedIdentity: coreClient.CompositeMapper = {
|
284
|
+
type: {
|
285
|
+
name: "Composite",
|
286
|
+
className: "SystemAssignedIdentity",
|
287
|
+
modelProperties: {
|
288
|
+
...ProxyResource.type.modelProperties,
|
289
|
+
location: {
|
290
|
+
serializedName: "location",
|
291
|
+
required: true,
|
198
292
|
type: {
|
199
293
|
name: "String"
|
200
294
|
}
|
295
|
+
},
|
296
|
+
tags: {
|
297
|
+
serializedName: "tags",
|
298
|
+
type: {
|
299
|
+
name: "Dictionary",
|
300
|
+
value: { type: { name: "String" } }
|
301
|
+
}
|
302
|
+
},
|
303
|
+
tenantId: {
|
304
|
+
serializedName: "properties.tenantId",
|
305
|
+
readOnly: true,
|
306
|
+
type: {
|
307
|
+
name: "Uuid"
|
308
|
+
}
|
309
|
+
},
|
310
|
+
principalId: {
|
311
|
+
serializedName: "properties.principalId",
|
312
|
+
readOnly: true,
|
313
|
+
type: {
|
314
|
+
name: "Uuid"
|
315
|
+
}
|
316
|
+
},
|
317
|
+
clientId: {
|
318
|
+
serializedName: "properties.clientId",
|
319
|
+
readOnly: true,
|
320
|
+
type: {
|
321
|
+
name: "Uuid"
|
322
|
+
}
|
323
|
+
},
|
324
|
+
clientSecretUrl: {
|
325
|
+
serializedName: "properties.clientSecretUrl",
|
326
|
+
readOnly: true,
|
327
|
+
type: {
|
328
|
+
name: "String"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
}
|
333
|
+
};
|
334
|
+
|
335
|
+
export const Identity: coreClient.CompositeMapper = {
|
336
|
+
type: {
|
337
|
+
name: "Composite",
|
338
|
+
className: "Identity",
|
339
|
+
modelProperties: {
|
340
|
+
...TrackedResource.type.modelProperties,
|
341
|
+
tenantId: {
|
342
|
+
serializedName: "properties.tenantId",
|
343
|
+
readOnly: true,
|
344
|
+
type: {
|
345
|
+
name: "Uuid"
|
346
|
+
}
|
347
|
+
},
|
348
|
+
principalId: {
|
349
|
+
serializedName: "properties.principalId",
|
350
|
+
readOnly: true,
|
351
|
+
type: {
|
352
|
+
name: "Uuid"
|
353
|
+
}
|
354
|
+
},
|
355
|
+
clientId: {
|
356
|
+
serializedName: "properties.clientId",
|
357
|
+
readOnly: true,
|
358
|
+
type: {
|
359
|
+
name: "Uuid"
|
360
|
+
}
|
201
361
|
}
|
202
362
|
}
|
203
363
|
}
|
package/src/models/parameters.ts
CHANGED
@@ -1,73 +1,132 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
9
|
+
import {
|
10
|
+
OperationParameter,
|
11
|
+
OperationURLParameter,
|
12
|
+
OperationQueryParameter
|
13
|
+
} from "@azure/core-client";
|
14
|
+
import {
|
15
|
+
Identity as IdentityMapper,
|
16
|
+
IdentityUpdate as IdentityUpdateMapper
|
17
|
+
} from "../models/mappers";
|
12
18
|
|
13
|
-
export const
|
14
|
-
parameterPath: "
|
19
|
+
export const accept: OperationParameter = {
|
20
|
+
parameterPath: "accept",
|
15
21
|
mapper: {
|
16
|
-
|
17
|
-
|
22
|
+
defaultValue: "application/json",
|
23
|
+
isConstant: true,
|
24
|
+
serializedName: "Accept",
|
18
25
|
type: {
|
19
26
|
name: "String"
|
20
27
|
}
|
21
28
|
}
|
22
29
|
};
|
23
|
-
|
24
|
-
|
30
|
+
|
31
|
+
export const $host: OperationURLParameter = {
|
32
|
+
parameterPath: "$host",
|
25
33
|
mapper: {
|
34
|
+
serializedName: "$host",
|
26
35
|
required: true,
|
36
|
+
type: {
|
37
|
+
name: "String"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
skipEncoding: true
|
41
|
+
};
|
42
|
+
|
43
|
+
export const scope: OperationURLParameter = {
|
44
|
+
parameterPath: "scope",
|
45
|
+
mapper: {
|
46
|
+
serializedName: "scope",
|
47
|
+
required: true,
|
48
|
+
type: {
|
49
|
+
name: "String"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
skipEncoding: true
|
53
|
+
};
|
54
|
+
|
55
|
+
export const apiVersion: OperationQueryParameter = {
|
56
|
+
parameterPath: "apiVersion",
|
57
|
+
mapper: {
|
58
|
+
defaultValue: "2018-11-30",
|
59
|
+
isConstant: true,
|
27
60
|
serializedName: "api-version",
|
28
61
|
type: {
|
29
62
|
name: "String"
|
30
63
|
}
|
31
64
|
}
|
32
65
|
};
|
33
|
-
|
34
|
-
|
66
|
+
|
67
|
+
export const nextLink: OperationURLParameter = {
|
68
|
+
parameterPath: "nextLink",
|
35
69
|
mapper: {
|
36
|
-
required: true,
|
37
70
|
serializedName: "nextLink",
|
71
|
+
required: true,
|
38
72
|
type: {
|
39
73
|
name: "String"
|
40
74
|
}
|
41
75
|
},
|
42
76
|
skipEncoding: true
|
43
77
|
};
|
44
|
-
|
45
|
-
|
78
|
+
|
79
|
+
export const subscriptionId: OperationURLParameter = {
|
80
|
+
parameterPath: "subscriptionId",
|
46
81
|
mapper: {
|
82
|
+
serializedName: "subscriptionId",
|
47
83
|
required: true,
|
48
|
-
serializedName: "resourceGroupName",
|
49
84
|
type: {
|
50
85
|
name: "String"
|
51
86
|
}
|
52
87
|
}
|
53
88
|
};
|
54
|
-
|
55
|
-
|
89
|
+
|
90
|
+
export const resourceGroupName: OperationURLParameter = {
|
91
|
+
parameterPath: "resourceGroupName",
|
56
92
|
mapper: {
|
93
|
+
serializedName: "resourceGroupName",
|
57
94
|
required: true,
|
58
|
-
serializedName: "resourceName",
|
59
95
|
type: {
|
60
96
|
name: "String"
|
61
97
|
}
|
62
98
|
}
|
63
99
|
};
|
64
|
-
|
65
|
-
|
100
|
+
|
101
|
+
export const contentType: OperationParameter = {
|
102
|
+
parameterPath: ["options", "contentType"],
|
103
|
+
mapper: {
|
104
|
+
defaultValue: "application/json",
|
105
|
+
isConstant: true,
|
106
|
+
serializedName: "Content-Type",
|
107
|
+
type: {
|
108
|
+
name: "String"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
};
|
112
|
+
|
113
|
+
export const parameters: OperationParameter = {
|
114
|
+
parameterPath: "parameters",
|
115
|
+
mapper: IdentityMapper
|
116
|
+
};
|
117
|
+
|
118
|
+
export const resourceName: OperationURLParameter = {
|
119
|
+
parameterPath: "resourceName",
|
66
120
|
mapper: {
|
121
|
+
serializedName: "resourceName",
|
67
122
|
required: true,
|
68
|
-
serializedName: "subscriptionId",
|
69
123
|
type: {
|
70
124
|
name: "String"
|
71
125
|
}
|
72
126
|
}
|
73
127
|
};
|
128
|
+
|
129
|
+
export const parameters1: OperationParameter = {
|
130
|
+
parameterPath: "parameters",
|
131
|
+
mapper: IdentityUpdateMapper
|
132
|
+
};
|
package/src/operations/index.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
9
|
+
export * from "./systemAssignedIdentities";
|
11
10
|
export * from "./operations";
|
12
11
|
export * from "./userAssignedIdentities";
|