@azure/arm-confluent 2.2.0 → 3.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.
Files changed (155) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +70 -78
  4. package/dist/index.js +1547 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/confluentManagementClient.d.ts +21 -0
  9. package/dist-esm/src/confluentManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/confluentManagementClient.js +54 -0
  11. package/dist-esm/src/confluentManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +382 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +43 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +15 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +209 -237
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +14 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +110 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
  37. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
  39. package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
  40. package/dist-esm/src/operations/organization.d.ts +96 -0
  41. package/dist-esm/src/operations/organization.d.ts.map +1 -0
  42. package/dist-esm/src/operations/organization.js +449 -0
  43. package/dist-esm/src/operations/organization.js.map +1 -0
  44. package/dist-esm/src/operations/organizationOperations.d.ts +32 -0
  45. package/dist-esm/src/operations/organizationOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/organizationOperations.js +120 -0
  47. package/dist-esm/src/operations/organizationOperations.js.map +1 -0
  48. package/dist-esm/src/operations/validations.d.ts +21 -0
  49. package/dist-esm/src/operations/validations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/validations.js +56 -0
  51. package/dist-esm/src/operations/validations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  54. package/{esm/models/organizationOperationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +5 -2
  55. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  57. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/organization.d.ts +60 -0
  61. package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/organization.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/organization.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts +11 -0
  65. package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/organizationOperations.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/organizationOperations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/validations.d.ts +13 -0
  69. package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/validations.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/validations.js.map +1 -0
  72. package/dist-esm/test/sampleTest.d.ts +2 -0
  73. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  74. package/dist-esm/test/sampleTest.js +40 -0
  75. package/dist-esm/test/sampleTest.js.map +1 -0
  76. package/package.json +65 -32
  77. package/review/arm-confluent.api.md +352 -0
  78. package/rollup.config.js +181 -30
  79. package/src/confluentManagementClient.ts +76 -38
  80. package/src/{models/validationsMappers.ts → index.ts} +4 -10
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +297 -553
  83. package/src/models/mappers.ts +211 -240
  84. package/src/models/parameters.ts +81 -24
  85. package/src/operations/index.ts +1 -2
  86. package/src/operations/marketplaceAgreements.ts +108 -117
  87. package/src/operations/organization.ts +414 -300
  88. package/src/operations/organizationOperations.ts +87 -75
  89. package/src/operations/validations.ts +42 -62
  90. package/src/{models/organizationOperationsMappers.ts → operationsInterfaces/index.ts} +4 -7
  91. package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
  92. package/src/operationsInterfaces/organization.ts +114 -0
  93. package/src/operationsInterfaces/organizationOperations.ts +25 -0
  94. package/src/operationsInterfaces/validations.ts +30 -0
  95. package/tsconfig.json +3 -3
  96. package/types/arm-confluent.d.ts +543 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-confluent.js +0 -1460
  99. package/dist/arm-confluent.js.map +0 -1
  100. package/dist/arm-confluent.min.js +0 -1
  101. package/dist/arm-confluent.min.js.map +0 -1
  102. package/esm/confluentManagementClient.d.ts +0 -27
  103. package/esm/confluentManagementClient.d.ts.map +0 -1
  104. package/esm/confluentManagementClient.js +0 -40
  105. package/esm/confluentManagementClient.js.map +0 -1
  106. package/esm/confluentManagementClientContext.d.ts +0 -22
  107. package/esm/confluentManagementClientContext.d.ts.map +0 -1
  108. package/esm/confluentManagementClientContext.js +0 -60
  109. package/esm/confluentManagementClientContext.js.map +0 -1
  110. package/esm/models/index.d.ts +0 -640
  111. package/esm/models/index.d.ts.map +0 -1
  112. package/esm/models/index.js.map +0 -1
  113. package/esm/models/mappers.d.ts +0 -17
  114. package/esm/models/mappers.d.ts.map +0 -1
  115. package/esm/models/mappers.js.map +0 -1
  116. package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
  117. package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
  118. package/esm/models/marketplaceAgreementsMappers.js +0 -9
  119. package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
  120. package/esm/models/organizationMappers.d.ts +0 -2
  121. package/esm/models/organizationMappers.d.ts.map +0 -1
  122. package/esm/models/organizationMappers.js +0 -9
  123. package/esm/models/organizationMappers.js.map +0 -1
  124. package/esm/models/organizationOperationsMappers.d.ts +0 -2
  125. package/esm/models/organizationOperationsMappers.d.ts.map +0 -1
  126. package/esm/models/organizationOperationsMappers.js.map +0 -1
  127. package/esm/models/parameters.d.ts +0 -8
  128. package/esm/models/parameters.d.ts.map +0 -1
  129. package/esm/models/parameters.js +0 -72
  130. package/esm/models/parameters.js.map +0 -1
  131. package/esm/models/validationsMappers.d.ts +0 -2
  132. package/esm/models/validationsMappers.d.ts.map +0 -1
  133. package/esm/models/validationsMappers.js +0 -9
  134. package/esm/models/validationsMappers.js.map +0 -1
  135. package/esm/operations/index.d.ts.map +0 -1
  136. package/esm/operations/index.js.map +0 -1
  137. package/esm/operations/marketplaceAgreements.d.ts +0 -61
  138. package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
  139. package/esm/operations/marketplaceAgreements.js +0 -116
  140. package/esm/operations/marketplaceAgreements.js.map +0 -1
  141. package/esm/operations/organization.d.ts +0 -157
  142. package/esm/operations/organization.d.ts.map +0 -1
  143. package/esm/operations/organization.js +0 -317
  144. package/esm/operations/organization.js.map +0 -1
  145. package/esm/operations/organizationOperations.d.ts +0 -46
  146. package/esm/operations/organizationOperations.d.ts.map +0 -1
  147. package/esm/operations/organizationOperations.js +0 -79
  148. package/esm/operations/organizationOperations.js.map +0 -1
  149. package/esm/operations/validations.d.ts +0 -37
  150. package/esm/operations/validations.d.ts.map +0 -1
  151. package/esm/operations/validations.js +0 -63
  152. package/esm/operations/validations.js.map +0 -1
  153. package/src/confluentManagementClientContext.ts +0 -67
  154. package/src/models/marketplaceAgreementsMappers.ts +0 -19
  155. package/src/models/organizationMappers.ts +0 -20
@@ -6,87 +6,62 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export const CloudError = CloudErrorMapper;
13
- export const BaseResource = BaseResourceMapper;
14
-
15
- export const SystemData: msRest.CompositeMapper = {
16
- serializedName: "systemData",
11
+ export const ConfluentAgreementResourceListResponse: coreClient.CompositeMapper = {
17
12
  type: {
18
13
  name: "Composite",
19
- className: "SystemData",
14
+ className: "ConfluentAgreementResourceListResponse",
20
15
  modelProperties: {
21
- createdBy: {
22
- serializedName: "createdBy",
23
- type: {
24
- name: "String"
25
- }
26
- },
27
- createdByType: {
28
- serializedName: "createdByType",
29
- type: {
30
- name: "String"
31
- }
32
- },
33
- createdAt: {
34
- serializedName: "createdAt",
35
- type: {
36
- name: "DateTime"
37
- }
38
- },
39
- lastModifiedBy: {
40
- serializedName: "lastModifiedBy",
16
+ value: {
17
+ serializedName: "value",
41
18
  type: {
42
- name: "String"
19
+ name: "Sequence",
20
+ element: {
21
+ type: {
22
+ name: "Composite",
23
+ className: "ConfluentAgreementResource"
24
+ }
25
+ }
43
26
  }
44
27
  },
45
- lastModifiedByType: {
46
- serializedName: "lastModifiedByType",
28
+ nextLink: {
29
+ serializedName: "nextLink",
47
30
  type: {
48
31
  name: "String"
49
32
  }
50
- },
51
- lastModifiedAt: {
52
- serializedName: "lastModifiedAt",
53
- type: {
54
- name: "DateTime"
55
- }
56
33
  }
57
34
  }
58
35
  }
59
36
  };
60
37
 
61
- export const ConfluentAgreementResource: msRest.CompositeMapper = {
62
- serializedName: "ConfluentAgreementResource",
38
+ export const ConfluentAgreementResource: coreClient.CompositeMapper = {
63
39
  type: {
64
40
  name: "Composite",
65
41
  className: "ConfluentAgreementResource",
66
42
  modelProperties: {
67
43
  id: {
68
- readOnly: true,
69
44
  serializedName: "id",
45
+ readOnly: true,
70
46
  type: {
71
47
  name: "String"
72
48
  }
73
49
  },
74
50
  name: {
75
- readOnly: true,
76
51
  serializedName: "name",
52
+ readOnly: true,
77
53
  type: {
78
54
  name: "String"
79
55
  }
80
56
  },
81
57
  type: {
82
- readOnly: true,
83
58
  serializedName: "type",
59
+ readOnly: true,
84
60
  type: {
85
61
  name: "String"
86
62
  }
87
63
  },
88
64
  systemData: {
89
- readOnly: true,
90
65
  serializedName: "systemData",
91
66
  type: {
92
67
  name: "Composite",
@@ -145,99 +120,96 @@ export const ConfluentAgreementResource: msRest.CompositeMapper = {
145
120
  }
146
121
  };
147
122
 
148
- export const OperationDisplay: msRest.CompositeMapper = {
149
- serializedName: "OperationDisplay",
123
+ export const SystemData: coreClient.CompositeMapper = {
150
124
  type: {
151
125
  name: "Composite",
152
- className: "OperationDisplay",
126
+ className: "SystemData",
153
127
  modelProperties: {
154
- provider: {
155
- serializedName: "provider",
128
+ createdBy: {
129
+ serializedName: "createdBy",
156
130
  type: {
157
131
  name: "String"
158
132
  }
159
133
  },
160
- resource: {
161
- serializedName: "resource",
134
+ createdByType: {
135
+ serializedName: "createdByType",
162
136
  type: {
163
137
  name: "String"
164
138
  }
165
139
  },
166
- operation: {
167
- serializedName: "operation",
140
+ createdAt: {
141
+ serializedName: "createdAt",
142
+ type: {
143
+ name: "DateTime"
144
+ }
145
+ },
146
+ lastModifiedBy: {
147
+ serializedName: "lastModifiedBy",
168
148
  type: {
169
149
  name: "String"
170
150
  }
171
151
  },
172
- description: {
173
- serializedName: "description",
152
+ lastModifiedByType: {
153
+ serializedName: "lastModifiedByType",
174
154
  type: {
175
155
  name: "String"
176
156
  }
157
+ },
158
+ lastModifiedAt: {
159
+ serializedName: "lastModifiedAt",
160
+ type: {
161
+ name: "DateTime"
162
+ }
177
163
  }
178
164
  }
179
165
  }
180
166
  };
181
167
 
182
- export const OperationResult: msRest.CompositeMapper = {
183
- serializedName: "OperationResult",
168
+ export const ResourceProviderDefaultErrorResponse: coreClient.CompositeMapper = {
184
169
  type: {
185
170
  name: "Composite",
186
- className: "OperationResult",
171
+ className: "ResourceProviderDefaultErrorResponse",
187
172
  modelProperties: {
188
- name: {
189
- serializedName: "name",
190
- type: {
191
- name: "String"
192
- }
193
- },
194
- display: {
195
- serializedName: "display",
173
+ error: {
174
+ serializedName: "error",
196
175
  type: {
197
176
  name: "Composite",
198
- className: "OperationDisplay"
199
- }
200
- },
201
- isDataAction: {
202
- serializedName: "isDataAction",
203
- type: {
204
- name: "Boolean"
177
+ className: "ErrorResponseBody"
205
178
  }
206
179
  }
207
180
  }
208
181
  }
209
182
  };
210
183
 
211
- export const ErrorResponseBody: msRest.CompositeMapper = {
212
- serializedName: "ErrorResponseBody",
184
+ export const ErrorResponseBody: coreClient.CompositeMapper = {
213
185
  type: {
214
186
  name: "Composite",
215
187
  className: "ErrorResponseBody",
216
188
  modelProperties: {
217
189
  code: {
218
- readOnly: true,
219
190
  serializedName: "code",
191
+ readOnly: true,
220
192
  type: {
221
193
  name: "String"
222
194
  }
223
195
  },
224
196
  message: {
225
- readOnly: true,
226
197
  serializedName: "message",
198
+ readOnly: true,
227
199
  type: {
228
200
  name: "String"
229
201
  }
230
202
  },
231
203
  target: {
232
- readOnly: true,
233
204
  serializedName: "target",
205
+ readOnly: true,
234
206
  type: {
235
207
  name: "String"
236
208
  }
237
209
  },
238
210
  details: {
239
- readOnly: true,
240
211
  serializedName: "details",
212
+ readOnly: true,
241
213
  type: {
242
214
  name: "Sequence",
243
215
  element: {
@@ -252,82 +224,86 @@ export const ErrorResponseBody: msRest.CompositeMapper = {
252
224
  }
253
225
  };
254
226
 
255
- export const ResourceProviderDefaultErrorResponse: msRest.CompositeMapper = {
256
- serializedName: "ResourceProviderDefaultErrorResponse",
227
+ export const OperationListResult: coreClient.CompositeMapper = {
257
228
  type: {
258
229
  name: "Composite",
259
- className: "ResourceProviderDefaultErrorResponse",
230
+ className: "OperationListResult",
260
231
  modelProperties: {
261
- error: {
262
- readOnly: true,
263
- serializedName: "error",
232
+ value: {
233
+ serializedName: "value",
264
234
  type: {
265
- name: "Composite",
266
- className: "ErrorResponseBody"
235
+ name: "Sequence",
236
+ element: {
237
+ type: {
238
+ name: "Composite",
239
+ className: "OperationResult"
240
+ }
241
+ }
242
+ }
243
+ },
244
+ nextLink: {
245
+ serializedName: "nextLink",
246
+ type: {
247
+ name: "String"
267
248
  }
268
249
  }
269
250
  }
270
251
  }
271
252
  };
272
253
 
273
- export const OfferDetail: msRest.CompositeMapper = {
274
- serializedName: "OfferDetail",
254
+ export const OperationResult: coreClient.CompositeMapper = {
275
255
  type: {
276
256
  name: "Composite",
277
- className: "OfferDetail",
257
+ className: "OperationResult",
278
258
  modelProperties: {
279
- publisherId: {
280
- required: true,
281
- serializedName: "publisherId",
282
- constraints: {
283
- MaxLength: 50
284
- },
259
+ name: {
260
+ serializedName: "name",
285
261
  type: {
286
262
  name: "String"
287
263
  }
288
264
  },
289
- id: {
290
- required: true,
291
- serializedName: "id",
292
- constraints: {
293
- MaxLength: 50
294
- },
265
+ display: {
266
+ serializedName: "display",
295
267
  type: {
296
- name: "String"
268
+ name: "Composite",
269
+ className: "OperationDisplay"
297
270
  }
298
271
  },
299
- planId: {
300
- required: true,
301
- serializedName: "planId",
302
- constraints: {
303
- MaxLength: 50
304
- },
272
+ isDataAction: {
273
+ serializedName: "isDataAction",
274
+ type: {
275
+ name: "Boolean"
276
+ }
277
+ }
278
+ }
279
+ }
280
+ };
281
+
282
+ export const OperationDisplay: coreClient.CompositeMapper = {
283
+ type: {
284
+ name: "Composite",
285
+ className: "OperationDisplay",
286
+ modelProperties: {
287
+ provider: {
288
+ serializedName: "provider",
305
289
  type: {
306
290
  name: "String"
307
291
  }
308
292
  },
309
- planName: {
310
- required: true,
311
- serializedName: "planName",
312
- constraints: {
313
- MaxLength: 50
314
- },
293
+ resource: {
294
+ serializedName: "resource",
315
295
  type: {
316
296
  name: "String"
317
297
  }
318
298
  },
319
- termUnit: {
320
- required: true,
321
- serializedName: "termUnit",
322
- constraints: {
323
- MaxLength: 25
324
- },
299
+ operation: {
300
+ serializedName: "operation",
325
301
  type: {
326
302
  name: "String"
327
303
  }
328
304
  },
329
- status: {
330
- serializedName: "status",
305
+ description: {
306
+ serializedName: "description",
331
307
  type: {
332
308
  name: "String"
333
309
  }
@@ -336,36 +312,25 @@ export const OfferDetail: msRest.CompositeMapper = {
336
312
  }
337
313
  };
338
314
 
339
- export const UserDetail: msRest.CompositeMapper = {
340
- serializedName: "UserDetail",
315
+ export const OrganizationResourceListResult: coreClient.CompositeMapper = {
341
316
  type: {
342
317
  name: "Composite",
343
- className: "UserDetail",
318
+ className: "OrganizationResourceListResult",
344
319
  modelProperties: {
345
- firstName: {
346
- serializedName: "firstName",
347
- constraints: {
348
- MaxLength: 50
349
- },
350
- type: {
351
- name: "String"
352
- }
353
- },
354
- lastName: {
355
- serializedName: "lastName",
356
- constraints: {
357
- MaxLength: 50
358
- },
320
+ value: {
321
+ serializedName: "value",
359
322
  type: {
360
- name: "String"
323
+ name: "Sequence",
324
+ element: {
325
+ type: {
326
+ name: "Composite",
327
+ className: "OrganizationResource"
328
+ }
329
+ }
361
330
  }
362
331
  },
363
- emailAddress: {
364
- required: true,
365
- serializedName: "emailAddress",
366
- constraints: {
367
- Pattern: /^\S+@\S+\.\S+$/
368
- },
332
+ nextLink: {
333
+ serializedName: "nextLink",
369
334
  type: {
370
335
  name: "String"
371
336
  }
@@ -374,71 +339,81 @@ export const UserDetail: msRest.CompositeMapper = {
374
339
  }
375
340
  };
376
341
 
377
- export const OrganizationResource: msRest.CompositeMapper = {
378
- serializedName: "OrganizationResource",
342
+ export const OrganizationResource: coreClient.CompositeMapper = {
379
343
  type: {
380
344
  name: "Composite",
381
345
  className: "OrganizationResource",
382
346
  modelProperties: {
383
347
  id: {
384
- readOnly: true,
385
348
  serializedName: "id",
349
+ readOnly: true,
386
350
  type: {
387
351
  name: "String"
388
352
  }
389
353
  },
390
354
  name: {
391
- readOnly: true,
392
355
  serializedName: "name",
356
+ readOnly: true,
393
357
  type: {
394
358
  name: "String"
395
359
  }
396
360
  },
397
361
  type: {
398
- readOnly: true,
399
362
  serializedName: "type",
363
+ readOnly: true,
400
364
  type: {
401
365
  name: "String"
402
366
  }
403
367
  },
404
368
  systemData: {
405
- readOnly: true,
406
369
  serializedName: "systemData",
407
370
  type: {
408
371
  name: "Composite",
409
372
  className: "SystemData"
410
373
  }
411
374
  },
375
+ tags: {
376
+ serializedName: "tags",
377
+ type: {
378
+ name: "Dictionary",
379
+ value: { type: { name: "String" } }
380
+ }
381
+ },
382
+ location: {
383
+ serializedName: "location",
384
+ type: {
385
+ name: "String"
386
+ }
387
+ },
412
388
  createdTime: {
413
- readOnly: true,
414
389
  serializedName: "properties.createdTime",
390
+ readOnly: true,
415
391
  type: {
416
392
  name: "DateTime"
417
393
  }
418
394
  },
419
395
  provisioningState: {
420
- readOnly: true,
421
396
  serializedName: "properties.provisioningState",
397
+ readOnly: true,
422
398
  type: {
423
399
  name: "String"
424
400
  }
425
401
  },
426
402
  organizationId: {
427
- readOnly: true,
428
403
  serializedName: "properties.organizationId",
404
+ readOnly: true,
429
405
  type: {
430
406
  name: "String"
431
407
  }
432
408
  },
433
409
  ssoUrl: {
434
- readOnly: true,
435
410
  serializedName: "properties.ssoUrl",
411
+ readOnly: true,
436
412
  type: {
437
413
  name: "String"
438
414
  }
439
415
  },
440
416
  offerDetail: {
441
- required: true,
442
417
  serializedName: "properties.offerDetail",
443
418
  type: {
444
419
  name: "Composite",
@@ -446,75 +421,74 @@ export const OrganizationResource: msRest.CompositeMapper = {
446
421
  }
447
422
  },
448
423
  userDetail: {
449
- required: true,
450
424
  serializedName: "properties.userDetail",
451
425
  type: {
452
426
  name: "Composite",
453
427
  className: "UserDetail"
454
428
  }
455
- },
456
- tags: {
457
- serializedName: "tags",
458
- type: {
459
- name: "Dictionary",
460
- value: {
461
- type: {
462
- name: "String"
463
- }
464
- }
465
- }
466
- },
467
- location: {
468
- serializedName: "location",
469
- type: {
470
- name: "String"
471
- }
472
429
  }
473
430
  }
474
431
  }
475
432
  };
476
433
 
477
- export const OrganizationResourceUpdate: msRest.CompositeMapper = {
478
- serializedName: "OrganizationResourceUpdate",
434
+ export const OfferDetail: coreClient.CompositeMapper = {
479
435
  type: {
480
436
  name: "Composite",
481
- className: "OrganizationResourceUpdate",
437
+ className: "OfferDetail",
482
438
  modelProperties: {
483
- tags: {
484
- serializedName: "tags",
439
+ publisherId: {
440
+ constraints: {
441
+ MaxLength: 50
442
+ },
443
+ serializedName: "publisherId",
444
+ required: true,
485
445
  type: {
486
- name: "Dictionary",
487
- value: {
488
- type: {
489
- name: "String"
490
- }
491
- }
446
+ name: "String"
492
447
  }
493
- }
494
- }
495
- }
496
- };
497
-
498
- export const ConfluentAgreementResourceListResponse: msRest.CompositeMapper = {
499
- serializedName: "ConfluentAgreementResourceListResponse",
500
- type: {
501
- name: "Composite",
502
- className: "ConfluentAgreementResourceListResponse",
503
- modelProperties: {
504
- value: {
505
- serializedName: "",
448
+ },
449
+ id: {
450
+ constraints: {
451
+ MaxLength: 50
452
+ },
453
+ serializedName: "id",
454
+ required: true,
506
455
  type: {
507
- name: "Sequence",
508
- element: {
509
- type: {
510
- name: "Composite",
511
- className: "ConfluentAgreementResource"
512
- }
513
- }
456
+ name: "String"
514
457
  }
515
458
  },
516
- nextLink: {
517
- serializedName: "nextLink",
459
+ planId: {
460
+ constraints: {
461
+ MaxLength: 50
462
+ },
463
+ serializedName: "planId",
464
+ required: true,
465
+ type: {
466
+ name: "String"
467
+ }
468
+ },
469
+ planName: {
470
+ constraints: {
471
+ MaxLength: 50
472
+ },
473
+ serializedName: "planName",
474
+ required: true,
475
+ type: {
476
+ name: "String"
477
+ }
478
+ },
479
+ termUnit: {
480
+ constraints: {
481
+ MaxLength: 25
482
+ },
483
+ serializedName: "termUnit",
484
+ required: true,
485
+ type: {
486
+ name: "String"
487
+ }
488
+ },
489
+ status: {
490
+ serializedName: "status",
491
+ readOnly: true,
518
492
  type: {
519
493
  name: "String"
520
494
  }
@@ -523,26 +497,35 @@ export const ConfluentAgreementResourceListResponse: msRest.CompositeMapper = {
523
497
  }
524
498
  };
525
499
 
526
- export const OperationListResult: msRest.CompositeMapper = {
527
- serializedName: "OperationListResult",
500
+ export const UserDetail: coreClient.CompositeMapper = {
528
501
  type: {
529
502
  name: "Composite",
530
- className: "OperationListResult",
503
+ className: "UserDetail",
531
504
  modelProperties: {
532
- value: {
533
- serializedName: "",
505
+ firstName: {
506
+ constraints: {
507
+ MaxLength: 50
508
+ },
509
+ serializedName: "firstName",
534
510
  type: {
535
- name: "Sequence",
536
- element: {
537
- type: {
538
- name: "Composite",
539
- className: "OperationResult"
540
- }
541
- }
511
+ name: "String"
542
512
  }
543
513
  },
544
- nextLink: {
545
- serializedName: "nextLink",
514
+ lastName: {
515
+ constraints: {
516
+ MaxLength: 50
517
+ },
518
+ serializedName: "lastName",
519
+ type: {
520
+ name: "String"
521
+ }
522
+ },
523
+ emailAddress: {
524
+ constraints: {
525
+ Pattern: new RegExp("^\\S+@\\S+\\.\\S+$")
526
+ },
527
+ serializedName: "emailAddress",
528
+ required: true,
546
529
  type: {
547
530
  name: "String"
548
531
  }
@@ -551,28 +534,16 @@ export const OperationListResult: msRest.CompositeMapper = {
551
534
  }
552
535
  };
553
536
 
554
- export const OrganizationResourceListResult: msRest.CompositeMapper = {
555
- serializedName: "OrganizationResourceListResult",
537
+ export const OrganizationResourceUpdate: coreClient.CompositeMapper = {
556
538
  type: {
557
539
  name: "Composite",
558
- className: "OrganizationResourceListResult",
540
+ className: "OrganizationResourceUpdate",
559
541
  modelProperties: {
560
- value: {
561
- serializedName: "",
562
- type: {
563
- name: "Sequence",
564
- element: {
565
- type: {
566
- name: "Composite",
567
- className: "OrganizationResource"
568
- }
569
- }
570
- }
571
- },
572
- nextLink: {
573
- serializedName: "nextLink",
542
+ tags: {
543
+ serializedName: "tags",
574
544
  type: {
575
- name: "String"
545
+ name: "Dictionary",
546
+ value: { type: { name: "String" } }
576
547
  }
577
548
  }
578
549
  }