@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.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +70 -78
- package/dist/index.js +1547 -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/confluentManagementClient.d.ts +21 -0
- package/dist-esm/src/confluentManagementClient.d.ts.map +1 -0
- package/dist-esm/src/confluentManagementClient.js +54 -0
- package/dist-esm/src/confluentManagementClient.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 +382 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +43 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +15 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +209 -237
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +110 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
- package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operations/organization.d.ts +96 -0
- package/dist-esm/src/operations/organization.d.ts.map +1 -0
- package/dist-esm/src/operations/organization.js +449 -0
- package/dist-esm/src/operations/organization.js.map +1 -0
- package/dist-esm/src/operations/organizationOperations.d.ts +32 -0
- package/dist-esm/src/operations/organizationOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/organizationOperations.js +120 -0
- package/dist-esm/src/operations/organizationOperations.js.map +1 -0
- package/dist-esm/src/operations/validations.d.ts +21 -0
- package/dist-esm/src/operations/validations.d.ts.map +1 -0
- package/dist-esm/src/operations/validations.js +56 -0
- package/dist-esm/src/operations/validations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm/models/organizationOperationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +5 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js +9 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/organization.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/organization.js +9 -0
- package/dist-esm/src/operationsInterfaces/organization.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/validations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/validations.js} +2 -1
- package/dist-esm/src/operationsInterfaces/validations.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 +65 -32
- package/review/arm-confluent.api.md +352 -0
- package/rollup.config.js +181 -30
- package/src/confluentManagementClient.ts +76 -38
- package/src/{models/validationsMappers.ts → index.ts} +4 -10
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +297 -553
- package/src/models/mappers.ts +211 -240
- package/src/models/parameters.ts +81 -24
- package/src/operations/index.ts +1 -2
- package/src/operations/marketplaceAgreements.ts +108 -117
- package/src/operations/organization.ts +414 -300
- package/src/operations/organizationOperations.ts +87 -75
- package/src/operations/validations.ts +42 -62
- package/src/{models/organizationOperationsMappers.ts → operationsInterfaces/index.ts} +4 -7
- package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
- package/src/operationsInterfaces/organization.ts +114 -0
- package/src/operationsInterfaces/organizationOperations.ts +25 -0
- package/src/operationsInterfaces/validations.ts +30 -0
- package/tsconfig.json +3 -3
- package/types/arm-confluent.d.ts +543 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-confluent.js +0 -1460
- package/dist/arm-confluent.js.map +0 -1
- package/dist/arm-confluent.min.js +0 -1
- package/dist/arm-confluent.min.js.map +0 -1
- package/esm/confluentManagementClient.d.ts +0 -27
- package/esm/confluentManagementClient.d.ts.map +0 -1
- package/esm/confluentManagementClient.js +0 -40
- package/esm/confluentManagementClient.js.map +0 -1
- package/esm/confluentManagementClientContext.d.ts +0 -22
- package/esm/confluentManagementClientContext.d.ts.map +0 -1
- package/esm/confluentManagementClientContext.js +0 -60
- package/esm/confluentManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -640
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
- package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.js +0 -9
- package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
- package/esm/models/organizationMappers.d.ts +0 -2
- package/esm/models/organizationMappers.d.ts.map +0 -1
- package/esm/models/organizationMappers.js +0 -9
- package/esm/models/organizationMappers.js.map +0 -1
- package/esm/models/organizationOperationsMappers.d.ts +0 -2
- package/esm/models/organizationOperationsMappers.d.ts.map +0 -1
- package/esm/models/organizationOperationsMappers.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 -72
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/validationsMappers.d.ts +0 -2
- package/esm/models/validationsMappers.d.ts.map +0 -1
- package/esm/models/validationsMappers.js +0 -9
- package/esm/models/validationsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/marketplaceAgreements.d.ts +0 -61
- package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
- package/esm/operations/marketplaceAgreements.js +0 -116
- package/esm/operations/marketplaceAgreements.js.map +0 -1
- package/esm/operations/organization.d.ts +0 -157
- package/esm/operations/organization.d.ts.map +0 -1
- package/esm/operations/organization.js +0 -317
- package/esm/operations/organization.js.map +0 -1
- package/esm/operations/organizationOperations.d.ts +0 -46
- package/esm/operations/organizationOperations.d.ts.map +0 -1
- package/esm/operations/organizationOperations.js +0 -79
- package/esm/operations/organizationOperations.js.map +0 -1
- package/esm/operations/validations.d.ts +0 -37
- package/esm/operations/validations.d.ts.map +0 -1
- package/esm/operations/validations.js +0 -63
- package/esm/operations/validations.js.map +0 -1
- package/src/confluentManagementClientContext.ts +0 -67
- package/src/models/marketplaceAgreementsMappers.ts +0 -19
- package/src/models/organizationMappers.ts +0 -20
package/dist/arm-confluent.js
DELETED
|
@@ -1,1460 +0,0 @@
|
|
|
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
|
-
(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
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmConfluent = {}), 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.
|
|
56
|
-
* Licensed under the MIT License.
|
|
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
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
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 SystemData = {
|
|
76
|
-
serializedName: "systemData",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "SystemData",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
createdBy: {
|
|
82
|
-
serializedName: "createdBy",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
createdByType: {
|
|
88
|
-
serializedName: "createdByType",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
createdAt: {
|
|
94
|
-
serializedName: "createdAt",
|
|
95
|
-
type: {
|
|
96
|
-
name: "DateTime"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
lastModifiedBy: {
|
|
100
|
-
serializedName: "lastModifiedBy",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
lastModifiedByType: {
|
|
106
|
-
serializedName: "lastModifiedByType",
|
|
107
|
-
type: {
|
|
108
|
-
name: "String"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
lastModifiedAt: {
|
|
112
|
-
serializedName: "lastModifiedAt",
|
|
113
|
-
type: {
|
|
114
|
-
name: "DateTime"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
var ConfluentAgreementResource = {
|
|
121
|
-
serializedName: "ConfluentAgreementResource",
|
|
122
|
-
type: {
|
|
123
|
-
name: "Composite",
|
|
124
|
-
className: "ConfluentAgreementResource",
|
|
125
|
-
modelProperties: {
|
|
126
|
-
id: {
|
|
127
|
-
readOnly: true,
|
|
128
|
-
serializedName: "id",
|
|
129
|
-
type: {
|
|
130
|
-
name: "String"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
name: {
|
|
134
|
-
readOnly: true,
|
|
135
|
-
serializedName: "name",
|
|
136
|
-
type: {
|
|
137
|
-
name: "String"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
type: {
|
|
141
|
-
readOnly: true,
|
|
142
|
-
serializedName: "type",
|
|
143
|
-
type: {
|
|
144
|
-
name: "String"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
systemData: {
|
|
148
|
-
readOnly: true,
|
|
149
|
-
serializedName: "systemData",
|
|
150
|
-
type: {
|
|
151
|
-
name: "Composite",
|
|
152
|
-
className: "SystemData"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
publisher: {
|
|
156
|
-
serializedName: "properties.publisher",
|
|
157
|
-
type: {
|
|
158
|
-
name: "String"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
product: {
|
|
162
|
-
serializedName: "properties.product",
|
|
163
|
-
type: {
|
|
164
|
-
name: "String"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
plan: {
|
|
168
|
-
serializedName: "properties.plan",
|
|
169
|
-
type: {
|
|
170
|
-
name: "String"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
licenseTextLink: {
|
|
174
|
-
serializedName: "properties.licenseTextLink",
|
|
175
|
-
type: {
|
|
176
|
-
name: "String"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
privacyPolicyLink: {
|
|
180
|
-
serializedName: "properties.privacyPolicyLink",
|
|
181
|
-
type: {
|
|
182
|
-
name: "String"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
retrieveDatetime: {
|
|
186
|
-
serializedName: "properties.retrieveDatetime",
|
|
187
|
-
type: {
|
|
188
|
-
name: "DateTime"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
signature: {
|
|
192
|
-
serializedName: "properties.signature",
|
|
193
|
-
type: {
|
|
194
|
-
name: "String"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
accepted: {
|
|
198
|
-
serializedName: "properties.accepted",
|
|
199
|
-
type: {
|
|
200
|
-
name: "Boolean"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
var OperationDisplay = {
|
|
207
|
-
serializedName: "OperationDisplay",
|
|
208
|
-
type: {
|
|
209
|
-
name: "Composite",
|
|
210
|
-
className: "OperationDisplay",
|
|
211
|
-
modelProperties: {
|
|
212
|
-
provider: {
|
|
213
|
-
serializedName: "provider",
|
|
214
|
-
type: {
|
|
215
|
-
name: "String"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
resource: {
|
|
219
|
-
serializedName: "resource",
|
|
220
|
-
type: {
|
|
221
|
-
name: "String"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
operation: {
|
|
225
|
-
serializedName: "operation",
|
|
226
|
-
type: {
|
|
227
|
-
name: "String"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
description: {
|
|
231
|
-
serializedName: "description",
|
|
232
|
-
type: {
|
|
233
|
-
name: "String"
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
var OperationResult = {
|
|
240
|
-
serializedName: "OperationResult",
|
|
241
|
-
type: {
|
|
242
|
-
name: "Composite",
|
|
243
|
-
className: "OperationResult",
|
|
244
|
-
modelProperties: {
|
|
245
|
-
name: {
|
|
246
|
-
serializedName: "name",
|
|
247
|
-
type: {
|
|
248
|
-
name: "String"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
display: {
|
|
252
|
-
serializedName: "display",
|
|
253
|
-
type: {
|
|
254
|
-
name: "Composite",
|
|
255
|
-
className: "OperationDisplay"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
isDataAction: {
|
|
259
|
-
serializedName: "isDataAction",
|
|
260
|
-
type: {
|
|
261
|
-
name: "Boolean"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
var ErrorResponseBody = {
|
|
268
|
-
serializedName: "ErrorResponseBody",
|
|
269
|
-
type: {
|
|
270
|
-
name: "Composite",
|
|
271
|
-
className: "ErrorResponseBody",
|
|
272
|
-
modelProperties: {
|
|
273
|
-
code: {
|
|
274
|
-
readOnly: true,
|
|
275
|
-
serializedName: "code",
|
|
276
|
-
type: {
|
|
277
|
-
name: "String"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
message: {
|
|
281
|
-
readOnly: true,
|
|
282
|
-
serializedName: "message",
|
|
283
|
-
type: {
|
|
284
|
-
name: "String"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
target: {
|
|
288
|
-
readOnly: true,
|
|
289
|
-
serializedName: "target",
|
|
290
|
-
type: {
|
|
291
|
-
name: "String"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
details: {
|
|
295
|
-
readOnly: true,
|
|
296
|
-
serializedName: "details",
|
|
297
|
-
type: {
|
|
298
|
-
name: "Sequence",
|
|
299
|
-
element: {
|
|
300
|
-
type: {
|
|
301
|
-
name: "Composite",
|
|
302
|
-
className: "ErrorResponseBody"
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var ResourceProviderDefaultErrorResponse = {
|
|
311
|
-
serializedName: "ResourceProviderDefaultErrorResponse",
|
|
312
|
-
type: {
|
|
313
|
-
name: "Composite",
|
|
314
|
-
className: "ResourceProviderDefaultErrorResponse",
|
|
315
|
-
modelProperties: {
|
|
316
|
-
error: {
|
|
317
|
-
readOnly: true,
|
|
318
|
-
serializedName: "error",
|
|
319
|
-
type: {
|
|
320
|
-
name: "Composite",
|
|
321
|
-
className: "ErrorResponseBody"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
var OfferDetail = {
|
|
328
|
-
serializedName: "OfferDetail",
|
|
329
|
-
type: {
|
|
330
|
-
name: "Composite",
|
|
331
|
-
className: "OfferDetail",
|
|
332
|
-
modelProperties: {
|
|
333
|
-
publisherId: {
|
|
334
|
-
required: true,
|
|
335
|
-
serializedName: "publisherId",
|
|
336
|
-
constraints: {
|
|
337
|
-
MaxLength: 50
|
|
338
|
-
},
|
|
339
|
-
type: {
|
|
340
|
-
name: "String"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
id: {
|
|
344
|
-
required: true,
|
|
345
|
-
serializedName: "id",
|
|
346
|
-
constraints: {
|
|
347
|
-
MaxLength: 50
|
|
348
|
-
},
|
|
349
|
-
type: {
|
|
350
|
-
name: "String"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
planId: {
|
|
354
|
-
required: true,
|
|
355
|
-
serializedName: "planId",
|
|
356
|
-
constraints: {
|
|
357
|
-
MaxLength: 50
|
|
358
|
-
},
|
|
359
|
-
type: {
|
|
360
|
-
name: "String"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
planName: {
|
|
364
|
-
required: true,
|
|
365
|
-
serializedName: "planName",
|
|
366
|
-
constraints: {
|
|
367
|
-
MaxLength: 50
|
|
368
|
-
},
|
|
369
|
-
type: {
|
|
370
|
-
name: "String"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
termUnit: {
|
|
374
|
-
required: true,
|
|
375
|
-
serializedName: "termUnit",
|
|
376
|
-
constraints: {
|
|
377
|
-
MaxLength: 25
|
|
378
|
-
},
|
|
379
|
-
type: {
|
|
380
|
-
name: "String"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
status: {
|
|
384
|
-
serializedName: "status",
|
|
385
|
-
type: {
|
|
386
|
-
name: "String"
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
};
|
|
392
|
-
var UserDetail = {
|
|
393
|
-
serializedName: "UserDetail",
|
|
394
|
-
type: {
|
|
395
|
-
name: "Composite",
|
|
396
|
-
className: "UserDetail",
|
|
397
|
-
modelProperties: {
|
|
398
|
-
firstName: {
|
|
399
|
-
serializedName: "firstName",
|
|
400
|
-
constraints: {
|
|
401
|
-
MaxLength: 50
|
|
402
|
-
},
|
|
403
|
-
type: {
|
|
404
|
-
name: "String"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
lastName: {
|
|
408
|
-
serializedName: "lastName",
|
|
409
|
-
constraints: {
|
|
410
|
-
MaxLength: 50
|
|
411
|
-
},
|
|
412
|
-
type: {
|
|
413
|
-
name: "String"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
emailAddress: {
|
|
417
|
-
required: true,
|
|
418
|
-
serializedName: "emailAddress",
|
|
419
|
-
constraints: {
|
|
420
|
-
Pattern: /^\S+@\S+\.\S+$/
|
|
421
|
-
},
|
|
422
|
-
type: {
|
|
423
|
-
name: "String"
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
var OrganizationResource = {
|
|
430
|
-
serializedName: "OrganizationResource",
|
|
431
|
-
type: {
|
|
432
|
-
name: "Composite",
|
|
433
|
-
className: "OrganizationResource",
|
|
434
|
-
modelProperties: {
|
|
435
|
-
id: {
|
|
436
|
-
readOnly: true,
|
|
437
|
-
serializedName: "id",
|
|
438
|
-
type: {
|
|
439
|
-
name: "String"
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
name: {
|
|
443
|
-
readOnly: true,
|
|
444
|
-
serializedName: "name",
|
|
445
|
-
type: {
|
|
446
|
-
name: "String"
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
type: {
|
|
450
|
-
readOnly: true,
|
|
451
|
-
serializedName: "type",
|
|
452
|
-
type: {
|
|
453
|
-
name: "String"
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
systemData: {
|
|
457
|
-
readOnly: true,
|
|
458
|
-
serializedName: "systemData",
|
|
459
|
-
type: {
|
|
460
|
-
name: "Composite",
|
|
461
|
-
className: "SystemData"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
createdTime: {
|
|
465
|
-
readOnly: true,
|
|
466
|
-
serializedName: "properties.createdTime",
|
|
467
|
-
type: {
|
|
468
|
-
name: "DateTime"
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
provisioningState: {
|
|
472
|
-
readOnly: true,
|
|
473
|
-
serializedName: "properties.provisioningState",
|
|
474
|
-
type: {
|
|
475
|
-
name: "String"
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
organizationId: {
|
|
479
|
-
readOnly: true,
|
|
480
|
-
serializedName: "properties.organizationId",
|
|
481
|
-
type: {
|
|
482
|
-
name: "String"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
ssoUrl: {
|
|
486
|
-
readOnly: true,
|
|
487
|
-
serializedName: "properties.ssoUrl",
|
|
488
|
-
type: {
|
|
489
|
-
name: "String"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
offerDetail: {
|
|
493
|
-
required: true,
|
|
494
|
-
serializedName: "properties.offerDetail",
|
|
495
|
-
type: {
|
|
496
|
-
name: "Composite",
|
|
497
|
-
className: "OfferDetail"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
userDetail: {
|
|
501
|
-
required: true,
|
|
502
|
-
serializedName: "properties.userDetail",
|
|
503
|
-
type: {
|
|
504
|
-
name: "Composite",
|
|
505
|
-
className: "UserDetail"
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
tags: {
|
|
509
|
-
serializedName: "tags",
|
|
510
|
-
type: {
|
|
511
|
-
name: "Dictionary",
|
|
512
|
-
value: {
|
|
513
|
-
type: {
|
|
514
|
-
name: "String"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
location: {
|
|
520
|
-
serializedName: "location",
|
|
521
|
-
type: {
|
|
522
|
-
name: "String"
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
var OrganizationResourceUpdate = {
|
|
529
|
-
serializedName: "OrganizationResourceUpdate",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Composite",
|
|
532
|
-
className: "OrganizationResourceUpdate",
|
|
533
|
-
modelProperties: {
|
|
534
|
-
tags: {
|
|
535
|
-
serializedName: "tags",
|
|
536
|
-
type: {
|
|
537
|
-
name: "Dictionary",
|
|
538
|
-
value: {
|
|
539
|
-
type: {
|
|
540
|
-
name: "String"
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
var ConfluentAgreementResourceListResponse = {
|
|
549
|
-
serializedName: "ConfluentAgreementResourceListResponse",
|
|
550
|
-
type: {
|
|
551
|
-
name: "Composite",
|
|
552
|
-
className: "ConfluentAgreementResourceListResponse",
|
|
553
|
-
modelProperties: {
|
|
554
|
-
value: {
|
|
555
|
-
serializedName: "",
|
|
556
|
-
type: {
|
|
557
|
-
name: "Sequence",
|
|
558
|
-
element: {
|
|
559
|
-
type: {
|
|
560
|
-
name: "Composite",
|
|
561
|
-
className: "ConfluentAgreementResource"
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
nextLink: {
|
|
567
|
-
serializedName: "nextLink",
|
|
568
|
-
type: {
|
|
569
|
-
name: "String"
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
var OperationListResult = {
|
|
576
|
-
serializedName: "OperationListResult",
|
|
577
|
-
type: {
|
|
578
|
-
name: "Composite",
|
|
579
|
-
className: "OperationListResult",
|
|
580
|
-
modelProperties: {
|
|
581
|
-
value: {
|
|
582
|
-
serializedName: "",
|
|
583
|
-
type: {
|
|
584
|
-
name: "Sequence",
|
|
585
|
-
element: {
|
|
586
|
-
type: {
|
|
587
|
-
name: "Composite",
|
|
588
|
-
className: "OperationResult"
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
nextLink: {
|
|
594
|
-
serializedName: "nextLink",
|
|
595
|
-
type: {
|
|
596
|
-
name: "String"
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
};
|
|
602
|
-
var OrganizationResourceListResult = {
|
|
603
|
-
serializedName: "OrganizationResourceListResult",
|
|
604
|
-
type: {
|
|
605
|
-
name: "Composite",
|
|
606
|
-
className: "OrganizationResourceListResult",
|
|
607
|
-
modelProperties: {
|
|
608
|
-
value: {
|
|
609
|
-
serializedName: "",
|
|
610
|
-
type: {
|
|
611
|
-
name: "Sequence",
|
|
612
|
-
element: {
|
|
613
|
-
type: {
|
|
614
|
-
name: "Composite",
|
|
615
|
-
className: "OrganizationResource"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
nextLink: {
|
|
621
|
-
serializedName: "nextLink",
|
|
622
|
-
type: {
|
|
623
|
-
name: "String"
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
};
|
|
629
|
-
|
|
630
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
631
|
-
__proto__: null,
|
|
632
|
-
CloudError: CloudError,
|
|
633
|
-
BaseResource: BaseResource,
|
|
634
|
-
SystemData: SystemData,
|
|
635
|
-
ConfluentAgreementResource: ConfluentAgreementResource,
|
|
636
|
-
OperationDisplay: OperationDisplay,
|
|
637
|
-
OperationResult: OperationResult,
|
|
638
|
-
ErrorResponseBody: ErrorResponseBody,
|
|
639
|
-
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
|
|
640
|
-
OfferDetail: OfferDetail,
|
|
641
|
-
UserDetail: UserDetail,
|
|
642
|
-
OrganizationResource: OrganizationResource,
|
|
643
|
-
OrganizationResourceUpdate: OrganizationResourceUpdate,
|
|
644
|
-
ConfluentAgreementResourceListResponse: ConfluentAgreementResourceListResponse,
|
|
645
|
-
OperationListResult: OperationListResult,
|
|
646
|
-
OrganizationResourceListResult: OrganizationResourceListResult
|
|
647
|
-
});
|
|
648
|
-
|
|
649
|
-
/*
|
|
650
|
-
* Copyright (c) Microsoft Corporation.
|
|
651
|
-
* Licensed under the MIT License.
|
|
652
|
-
*
|
|
653
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
654
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
655
|
-
*/
|
|
656
|
-
|
|
657
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
658
|
-
__proto__: null,
|
|
659
|
-
BaseResource: BaseResource,
|
|
660
|
-
ConfluentAgreementResource: ConfluentAgreementResource,
|
|
661
|
-
ConfluentAgreementResourceListResponse: ConfluentAgreementResourceListResponse,
|
|
662
|
-
ErrorResponseBody: ErrorResponseBody,
|
|
663
|
-
OfferDetail: OfferDetail,
|
|
664
|
-
OrganizationResource: OrganizationResource,
|
|
665
|
-
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
|
|
666
|
-
SystemData: SystemData,
|
|
667
|
-
UserDetail: UserDetail
|
|
668
|
-
});
|
|
669
|
-
|
|
670
|
-
/*
|
|
671
|
-
* Copyright (c) Microsoft Corporation.
|
|
672
|
-
* Licensed under the MIT License.
|
|
673
|
-
*
|
|
674
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
675
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
676
|
-
* regenerated.
|
|
677
|
-
*/
|
|
678
|
-
var acceptLanguage = {
|
|
679
|
-
parameterPath: "acceptLanguage",
|
|
680
|
-
mapper: {
|
|
681
|
-
serializedName: "accept-language",
|
|
682
|
-
defaultValue: 'en-US',
|
|
683
|
-
type: {
|
|
684
|
-
name: "String"
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
|
-
var apiVersion = {
|
|
689
|
-
parameterPath: "apiVersion",
|
|
690
|
-
mapper: {
|
|
691
|
-
required: true,
|
|
692
|
-
isConstant: true,
|
|
693
|
-
serializedName: "api-version",
|
|
694
|
-
defaultValue: '2021-09-01-preview',
|
|
695
|
-
type: {
|
|
696
|
-
name: "String"
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
};
|
|
700
|
-
var nextPageLink = {
|
|
701
|
-
parameterPath: "nextPageLink",
|
|
702
|
-
mapper: {
|
|
703
|
-
required: true,
|
|
704
|
-
serializedName: "nextLink",
|
|
705
|
-
type: {
|
|
706
|
-
name: "String"
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
skipEncoding: true
|
|
710
|
-
};
|
|
711
|
-
var organizationName = {
|
|
712
|
-
parameterPath: "organizationName",
|
|
713
|
-
mapper: {
|
|
714
|
-
required: true,
|
|
715
|
-
serializedName: "organizationName",
|
|
716
|
-
type: {
|
|
717
|
-
name: "String"
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
};
|
|
721
|
-
var resourceGroupName = {
|
|
722
|
-
parameterPath: "resourceGroupName",
|
|
723
|
-
mapper: {
|
|
724
|
-
required: true,
|
|
725
|
-
serializedName: "resourceGroupName",
|
|
726
|
-
type: {
|
|
727
|
-
name: "String"
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
var subscriptionId = {
|
|
732
|
-
parameterPath: "subscriptionId",
|
|
733
|
-
mapper: {
|
|
734
|
-
required: true,
|
|
735
|
-
serializedName: "subscriptionId",
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
};
|
|
741
|
-
|
|
742
|
-
/*
|
|
743
|
-
* Copyright (c) Microsoft Corporation.
|
|
744
|
-
* Licensed under the MIT License.
|
|
745
|
-
*
|
|
746
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
747
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
748
|
-
* regenerated.
|
|
749
|
-
*/
|
|
750
|
-
/** Class representing a MarketplaceAgreements. */
|
|
751
|
-
var MarketplaceAgreements = /** @class */ (function () {
|
|
752
|
-
/**
|
|
753
|
-
* Create a MarketplaceAgreements.
|
|
754
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
755
|
-
*/
|
|
756
|
-
function MarketplaceAgreements(client) {
|
|
757
|
-
this.client = client;
|
|
758
|
-
}
|
|
759
|
-
MarketplaceAgreements.prototype.list = function (options, callback) {
|
|
760
|
-
return this.client.sendOperationRequest({
|
|
761
|
-
options: options
|
|
762
|
-
}, listOperationSpec, callback);
|
|
763
|
-
};
|
|
764
|
-
MarketplaceAgreements.prototype.create = function (options, callback) {
|
|
765
|
-
return this.client.sendOperationRequest({
|
|
766
|
-
options: options
|
|
767
|
-
}, createOperationSpec, callback);
|
|
768
|
-
};
|
|
769
|
-
MarketplaceAgreements.prototype.listNext = function (nextPageLink, options, callback) {
|
|
770
|
-
return this.client.sendOperationRequest({
|
|
771
|
-
nextPageLink: nextPageLink,
|
|
772
|
-
options: options
|
|
773
|
-
}, listNextOperationSpec, callback);
|
|
774
|
-
};
|
|
775
|
-
return MarketplaceAgreements;
|
|
776
|
-
}());
|
|
777
|
-
// Operation Specifications
|
|
778
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
779
|
-
var listOperationSpec = {
|
|
780
|
-
httpMethod: "GET",
|
|
781
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements",
|
|
782
|
-
urlParameters: [
|
|
783
|
-
subscriptionId
|
|
784
|
-
],
|
|
785
|
-
queryParameters: [
|
|
786
|
-
apiVersion
|
|
787
|
-
],
|
|
788
|
-
headerParameters: [
|
|
789
|
-
acceptLanguage
|
|
790
|
-
],
|
|
791
|
-
responses: {
|
|
792
|
-
200: {
|
|
793
|
-
bodyMapper: ConfluentAgreementResourceListResponse
|
|
794
|
-
},
|
|
795
|
-
default: {
|
|
796
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
serializer: serializer
|
|
800
|
-
};
|
|
801
|
-
var createOperationSpec = {
|
|
802
|
-
httpMethod: "PUT",
|
|
803
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default",
|
|
804
|
-
urlParameters: [
|
|
805
|
-
subscriptionId
|
|
806
|
-
],
|
|
807
|
-
queryParameters: [
|
|
808
|
-
apiVersion
|
|
809
|
-
],
|
|
810
|
-
headerParameters: [
|
|
811
|
-
acceptLanguage
|
|
812
|
-
],
|
|
813
|
-
requestBody: {
|
|
814
|
-
parameterPath: [
|
|
815
|
-
"options",
|
|
816
|
-
"body"
|
|
817
|
-
],
|
|
818
|
-
mapper: ConfluentAgreementResource
|
|
819
|
-
},
|
|
820
|
-
responses: {
|
|
821
|
-
200: {
|
|
822
|
-
bodyMapper: ConfluentAgreementResource
|
|
823
|
-
},
|
|
824
|
-
default: {
|
|
825
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
serializer: serializer
|
|
829
|
-
};
|
|
830
|
-
var listNextOperationSpec = {
|
|
831
|
-
httpMethod: "GET",
|
|
832
|
-
baseUrl: "https://management.azure.com",
|
|
833
|
-
path: "{nextLink}",
|
|
834
|
-
urlParameters: [
|
|
835
|
-
nextPageLink
|
|
836
|
-
],
|
|
837
|
-
queryParameters: [
|
|
838
|
-
apiVersion
|
|
839
|
-
],
|
|
840
|
-
headerParameters: [
|
|
841
|
-
acceptLanguage
|
|
842
|
-
],
|
|
843
|
-
responses: {
|
|
844
|
-
200: {
|
|
845
|
-
bodyMapper: ConfluentAgreementResourceListResponse
|
|
846
|
-
},
|
|
847
|
-
default: {
|
|
848
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
serializer: serializer
|
|
852
|
-
};
|
|
853
|
-
|
|
854
|
-
/*
|
|
855
|
-
* Copyright (c) Microsoft Corporation.
|
|
856
|
-
* Licensed under the MIT License.
|
|
857
|
-
*
|
|
858
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
859
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
860
|
-
*/
|
|
861
|
-
|
|
862
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
863
|
-
__proto__: null,
|
|
864
|
-
ErrorResponseBody: ErrorResponseBody,
|
|
865
|
-
OperationDisplay: OperationDisplay,
|
|
866
|
-
OperationListResult: OperationListResult,
|
|
867
|
-
OperationResult: OperationResult,
|
|
868
|
-
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse
|
|
869
|
-
});
|
|
870
|
-
|
|
871
|
-
/*
|
|
872
|
-
* Copyright (c) Microsoft Corporation.
|
|
873
|
-
* Licensed under the MIT License.
|
|
874
|
-
*
|
|
875
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
876
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
877
|
-
* regenerated.
|
|
878
|
-
*/
|
|
879
|
-
/** Class representing a OrganizationOperations. */
|
|
880
|
-
var OrganizationOperations = /** @class */ (function () {
|
|
881
|
-
/**
|
|
882
|
-
* Create a OrganizationOperations.
|
|
883
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
884
|
-
*/
|
|
885
|
-
function OrganizationOperations(client) {
|
|
886
|
-
this.client = client;
|
|
887
|
-
}
|
|
888
|
-
OrganizationOperations.prototype.list = function (options, callback) {
|
|
889
|
-
return this.client.sendOperationRequest({
|
|
890
|
-
options: options
|
|
891
|
-
}, listOperationSpec$1, callback);
|
|
892
|
-
};
|
|
893
|
-
OrganizationOperations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
894
|
-
return this.client.sendOperationRequest({
|
|
895
|
-
nextPageLink: nextPageLink,
|
|
896
|
-
options: options
|
|
897
|
-
}, listNextOperationSpec$1, callback);
|
|
898
|
-
};
|
|
899
|
-
return OrganizationOperations;
|
|
900
|
-
}());
|
|
901
|
-
// Operation Specifications
|
|
902
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
903
|
-
var listOperationSpec$1 = {
|
|
904
|
-
httpMethod: "GET",
|
|
905
|
-
path: "providers/Microsoft.Confluent/operations",
|
|
906
|
-
queryParameters: [
|
|
907
|
-
apiVersion
|
|
908
|
-
],
|
|
909
|
-
headerParameters: [
|
|
910
|
-
acceptLanguage
|
|
911
|
-
],
|
|
912
|
-
responses: {
|
|
913
|
-
200: {
|
|
914
|
-
bodyMapper: OperationListResult
|
|
915
|
-
},
|
|
916
|
-
default: {
|
|
917
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
serializer: serializer$1
|
|
921
|
-
};
|
|
922
|
-
var listNextOperationSpec$1 = {
|
|
923
|
-
httpMethod: "GET",
|
|
924
|
-
baseUrl: "https://management.azure.com",
|
|
925
|
-
path: "{nextLink}",
|
|
926
|
-
urlParameters: [
|
|
927
|
-
nextPageLink
|
|
928
|
-
],
|
|
929
|
-
queryParameters: [
|
|
930
|
-
apiVersion
|
|
931
|
-
],
|
|
932
|
-
headerParameters: [
|
|
933
|
-
acceptLanguage
|
|
934
|
-
],
|
|
935
|
-
responses: {
|
|
936
|
-
200: {
|
|
937
|
-
bodyMapper: OperationListResult
|
|
938
|
-
},
|
|
939
|
-
default: {
|
|
940
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
serializer: serializer$1
|
|
944
|
-
};
|
|
945
|
-
|
|
946
|
-
/*
|
|
947
|
-
* Copyright (c) Microsoft Corporation.
|
|
948
|
-
* Licensed under the MIT License.
|
|
949
|
-
*
|
|
950
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
951
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
952
|
-
*/
|
|
953
|
-
|
|
954
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
955
|
-
__proto__: null,
|
|
956
|
-
BaseResource: BaseResource,
|
|
957
|
-
ConfluentAgreementResource: ConfluentAgreementResource,
|
|
958
|
-
ErrorResponseBody: ErrorResponseBody,
|
|
959
|
-
OfferDetail: OfferDetail,
|
|
960
|
-
OrganizationResource: OrganizationResource,
|
|
961
|
-
OrganizationResourceListResult: OrganizationResourceListResult,
|
|
962
|
-
OrganizationResourceUpdate: OrganizationResourceUpdate,
|
|
963
|
-
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
|
|
964
|
-
SystemData: SystemData,
|
|
965
|
-
UserDetail: UserDetail
|
|
966
|
-
});
|
|
967
|
-
|
|
968
|
-
/*
|
|
969
|
-
* Copyright (c) Microsoft Corporation.
|
|
970
|
-
* Licensed under the MIT License.
|
|
971
|
-
*
|
|
972
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
973
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
974
|
-
* regenerated.
|
|
975
|
-
*/
|
|
976
|
-
/** Class representing a Organization. */
|
|
977
|
-
var Organization = /** @class */ (function () {
|
|
978
|
-
/**
|
|
979
|
-
* Create a Organization.
|
|
980
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
981
|
-
*/
|
|
982
|
-
function Organization(client) {
|
|
983
|
-
this.client = client;
|
|
984
|
-
}
|
|
985
|
-
Organization.prototype.listBySubscription = function (options, callback) {
|
|
986
|
-
return this.client.sendOperationRequest({
|
|
987
|
-
options: options
|
|
988
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
989
|
-
};
|
|
990
|
-
Organization.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
991
|
-
return this.client.sendOperationRequest({
|
|
992
|
-
resourceGroupName: resourceGroupName,
|
|
993
|
-
options: options
|
|
994
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
995
|
-
};
|
|
996
|
-
Organization.prototype.get = function (resourceGroupName, organizationName, options, callback) {
|
|
997
|
-
return this.client.sendOperationRequest({
|
|
998
|
-
resourceGroupName: resourceGroupName,
|
|
999
|
-
organizationName: organizationName,
|
|
1000
|
-
options: options
|
|
1001
|
-
}, getOperationSpec, callback);
|
|
1002
|
-
};
|
|
1003
|
-
/**
|
|
1004
|
-
* @summary Create Organization resource
|
|
1005
|
-
* @param resourceGroupName Resource group name
|
|
1006
|
-
* @param organizationName Organization resource name
|
|
1007
|
-
* @param [options] The optional parameters
|
|
1008
|
-
* @returns Promise<Models.OrganizationCreateResponse>
|
|
1009
|
-
*/
|
|
1010
|
-
Organization.prototype.create = function (resourceGroupName, organizationName, options) {
|
|
1011
|
-
return this.beginCreate(resourceGroupName, organizationName, options)
|
|
1012
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1013
|
-
};
|
|
1014
|
-
Organization.prototype.update = function (resourceGroupName, organizationName, options, callback) {
|
|
1015
|
-
return this.client.sendOperationRequest({
|
|
1016
|
-
resourceGroupName: resourceGroupName,
|
|
1017
|
-
organizationName: organizationName,
|
|
1018
|
-
options: options
|
|
1019
|
-
}, updateOperationSpec, callback);
|
|
1020
|
-
};
|
|
1021
|
-
/**
|
|
1022
|
-
* @summary Delete Organization resource
|
|
1023
|
-
* @param resourceGroupName Resource group name
|
|
1024
|
-
* @param organizationName Organization resource name
|
|
1025
|
-
* @param [options] The optional parameters
|
|
1026
|
-
* @returns Promise<msRest.RestResponse>
|
|
1027
|
-
*/
|
|
1028
|
-
Organization.prototype.deleteMethod = function (resourceGroupName, organizationName, options) {
|
|
1029
|
-
return this.beginDeleteMethod(resourceGroupName, organizationName, options)
|
|
1030
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1031
|
-
};
|
|
1032
|
-
/**
|
|
1033
|
-
* @summary Create Organization resource
|
|
1034
|
-
* @param resourceGroupName Resource group name
|
|
1035
|
-
* @param organizationName Organization resource name
|
|
1036
|
-
* @param [options] The optional parameters
|
|
1037
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1038
|
-
*/
|
|
1039
|
-
Organization.prototype.beginCreate = function (resourceGroupName, organizationName, options) {
|
|
1040
|
-
return this.client.sendLRORequest({
|
|
1041
|
-
resourceGroupName: resourceGroupName,
|
|
1042
|
-
organizationName: organizationName,
|
|
1043
|
-
options: options
|
|
1044
|
-
}, beginCreateOperationSpec, options);
|
|
1045
|
-
};
|
|
1046
|
-
/**
|
|
1047
|
-
* @summary Delete Organization resource
|
|
1048
|
-
* @param resourceGroupName Resource group name
|
|
1049
|
-
* @param organizationName Organization resource name
|
|
1050
|
-
* @param [options] The optional parameters
|
|
1051
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1052
|
-
*/
|
|
1053
|
-
Organization.prototype.beginDeleteMethod = function (resourceGroupName, organizationName, options) {
|
|
1054
|
-
return this.client.sendLRORequest({
|
|
1055
|
-
resourceGroupName: resourceGroupName,
|
|
1056
|
-
organizationName: organizationName,
|
|
1057
|
-
options: options
|
|
1058
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1059
|
-
};
|
|
1060
|
-
Organization.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
1061
|
-
return this.client.sendOperationRequest({
|
|
1062
|
-
nextPageLink: nextPageLink,
|
|
1063
|
-
options: options
|
|
1064
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
1065
|
-
};
|
|
1066
|
-
Organization.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1067
|
-
return this.client.sendOperationRequest({
|
|
1068
|
-
nextPageLink: nextPageLink,
|
|
1069
|
-
options: options
|
|
1070
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1071
|
-
};
|
|
1072
|
-
return Organization;
|
|
1073
|
-
}());
|
|
1074
|
-
// Operation Specifications
|
|
1075
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1076
|
-
var listBySubscriptionOperationSpec = {
|
|
1077
|
-
httpMethod: "GET",
|
|
1078
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
|
|
1079
|
-
urlParameters: [
|
|
1080
|
-
subscriptionId
|
|
1081
|
-
],
|
|
1082
|
-
queryParameters: [
|
|
1083
|
-
apiVersion
|
|
1084
|
-
],
|
|
1085
|
-
headerParameters: [
|
|
1086
|
-
acceptLanguage
|
|
1087
|
-
],
|
|
1088
|
-
responses: {
|
|
1089
|
-
200: {
|
|
1090
|
-
bodyMapper: OrganizationResourceListResult
|
|
1091
|
-
},
|
|
1092
|
-
default: {
|
|
1093
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
serializer: serializer$2
|
|
1097
|
-
};
|
|
1098
|
-
var listByResourceGroupOperationSpec = {
|
|
1099
|
-
httpMethod: "GET",
|
|
1100
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
|
|
1101
|
-
urlParameters: [
|
|
1102
|
-
subscriptionId,
|
|
1103
|
-
resourceGroupName
|
|
1104
|
-
],
|
|
1105
|
-
queryParameters: [
|
|
1106
|
-
apiVersion
|
|
1107
|
-
],
|
|
1108
|
-
headerParameters: [
|
|
1109
|
-
acceptLanguage
|
|
1110
|
-
],
|
|
1111
|
-
responses: {
|
|
1112
|
-
200: {
|
|
1113
|
-
bodyMapper: OrganizationResourceListResult
|
|
1114
|
-
},
|
|
1115
|
-
default: {
|
|
1116
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
serializer: serializer$2
|
|
1120
|
-
};
|
|
1121
|
-
var getOperationSpec = {
|
|
1122
|
-
httpMethod: "GET",
|
|
1123
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
1124
|
-
urlParameters: [
|
|
1125
|
-
subscriptionId,
|
|
1126
|
-
resourceGroupName,
|
|
1127
|
-
organizationName
|
|
1128
|
-
],
|
|
1129
|
-
queryParameters: [
|
|
1130
|
-
apiVersion
|
|
1131
|
-
],
|
|
1132
|
-
headerParameters: [
|
|
1133
|
-
acceptLanguage
|
|
1134
|
-
],
|
|
1135
|
-
responses: {
|
|
1136
|
-
200: {
|
|
1137
|
-
bodyMapper: OrganizationResource
|
|
1138
|
-
},
|
|
1139
|
-
default: {
|
|
1140
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
serializer: serializer$2
|
|
1144
|
-
};
|
|
1145
|
-
var updateOperationSpec = {
|
|
1146
|
-
httpMethod: "PATCH",
|
|
1147
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
1148
|
-
urlParameters: [
|
|
1149
|
-
subscriptionId,
|
|
1150
|
-
resourceGroupName,
|
|
1151
|
-
organizationName
|
|
1152
|
-
],
|
|
1153
|
-
queryParameters: [
|
|
1154
|
-
apiVersion
|
|
1155
|
-
],
|
|
1156
|
-
headerParameters: [
|
|
1157
|
-
acceptLanguage
|
|
1158
|
-
],
|
|
1159
|
-
requestBody: {
|
|
1160
|
-
parameterPath: [
|
|
1161
|
-
"options",
|
|
1162
|
-
"body"
|
|
1163
|
-
],
|
|
1164
|
-
mapper: OrganizationResourceUpdate
|
|
1165
|
-
},
|
|
1166
|
-
responses: {
|
|
1167
|
-
200: {
|
|
1168
|
-
bodyMapper: OrganizationResource
|
|
1169
|
-
},
|
|
1170
|
-
default: {
|
|
1171
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1172
|
-
}
|
|
1173
|
-
},
|
|
1174
|
-
serializer: serializer$2
|
|
1175
|
-
};
|
|
1176
|
-
var beginCreateOperationSpec = {
|
|
1177
|
-
httpMethod: "PUT",
|
|
1178
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
1179
|
-
urlParameters: [
|
|
1180
|
-
subscriptionId,
|
|
1181
|
-
resourceGroupName,
|
|
1182
|
-
organizationName
|
|
1183
|
-
],
|
|
1184
|
-
queryParameters: [
|
|
1185
|
-
apiVersion
|
|
1186
|
-
],
|
|
1187
|
-
headerParameters: [
|
|
1188
|
-
acceptLanguage
|
|
1189
|
-
],
|
|
1190
|
-
requestBody: {
|
|
1191
|
-
parameterPath: [
|
|
1192
|
-
"options",
|
|
1193
|
-
"body"
|
|
1194
|
-
],
|
|
1195
|
-
mapper: OrganizationResource
|
|
1196
|
-
},
|
|
1197
|
-
responses: {
|
|
1198
|
-
200: {
|
|
1199
|
-
bodyMapper: OrganizationResource
|
|
1200
|
-
},
|
|
1201
|
-
201: {
|
|
1202
|
-
bodyMapper: OrganizationResource
|
|
1203
|
-
},
|
|
1204
|
-
default: {
|
|
1205
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1206
|
-
}
|
|
1207
|
-
},
|
|
1208
|
-
serializer: serializer$2
|
|
1209
|
-
};
|
|
1210
|
-
var beginDeleteMethodOperationSpec = {
|
|
1211
|
-
httpMethod: "DELETE",
|
|
1212
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
1213
|
-
urlParameters: [
|
|
1214
|
-
subscriptionId,
|
|
1215
|
-
resourceGroupName,
|
|
1216
|
-
organizationName
|
|
1217
|
-
],
|
|
1218
|
-
queryParameters: [
|
|
1219
|
-
apiVersion
|
|
1220
|
-
],
|
|
1221
|
-
headerParameters: [
|
|
1222
|
-
acceptLanguage
|
|
1223
|
-
],
|
|
1224
|
-
responses: {
|
|
1225
|
-
200: {},
|
|
1226
|
-
202: {},
|
|
1227
|
-
204: {},
|
|
1228
|
-
default: {
|
|
1229
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
serializer: serializer$2
|
|
1233
|
-
};
|
|
1234
|
-
var listBySubscriptionNextOperationSpec = {
|
|
1235
|
-
httpMethod: "GET",
|
|
1236
|
-
baseUrl: "https://management.azure.com",
|
|
1237
|
-
path: "{nextLink}",
|
|
1238
|
-
urlParameters: [
|
|
1239
|
-
nextPageLink
|
|
1240
|
-
],
|
|
1241
|
-
queryParameters: [
|
|
1242
|
-
apiVersion
|
|
1243
|
-
],
|
|
1244
|
-
headerParameters: [
|
|
1245
|
-
acceptLanguage
|
|
1246
|
-
],
|
|
1247
|
-
responses: {
|
|
1248
|
-
200: {
|
|
1249
|
-
bodyMapper: OrganizationResourceListResult
|
|
1250
|
-
},
|
|
1251
|
-
default: {
|
|
1252
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1253
|
-
}
|
|
1254
|
-
},
|
|
1255
|
-
serializer: serializer$2
|
|
1256
|
-
};
|
|
1257
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1258
|
-
httpMethod: "GET",
|
|
1259
|
-
baseUrl: "https://management.azure.com",
|
|
1260
|
-
path: "{nextLink}",
|
|
1261
|
-
urlParameters: [
|
|
1262
|
-
nextPageLink
|
|
1263
|
-
],
|
|
1264
|
-
queryParameters: [
|
|
1265
|
-
apiVersion
|
|
1266
|
-
],
|
|
1267
|
-
headerParameters: [
|
|
1268
|
-
acceptLanguage
|
|
1269
|
-
],
|
|
1270
|
-
responses: {
|
|
1271
|
-
200: {
|
|
1272
|
-
bodyMapper: OrganizationResourceListResult
|
|
1273
|
-
},
|
|
1274
|
-
default: {
|
|
1275
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
serializer: serializer$2
|
|
1279
|
-
};
|
|
1280
|
-
|
|
1281
|
-
/*
|
|
1282
|
-
* Copyright (c) Microsoft Corporation.
|
|
1283
|
-
* Licensed under the MIT License.
|
|
1284
|
-
*
|
|
1285
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1286
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1287
|
-
*/
|
|
1288
|
-
|
|
1289
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1290
|
-
__proto__: null,
|
|
1291
|
-
BaseResource: BaseResource,
|
|
1292
|
-
ConfluentAgreementResource: ConfluentAgreementResource,
|
|
1293
|
-
ErrorResponseBody: ErrorResponseBody,
|
|
1294
|
-
OfferDetail: OfferDetail,
|
|
1295
|
-
OrganizationResource: OrganizationResource,
|
|
1296
|
-
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
|
|
1297
|
-
SystemData: SystemData,
|
|
1298
|
-
UserDetail: UserDetail
|
|
1299
|
-
});
|
|
1300
|
-
|
|
1301
|
-
/*
|
|
1302
|
-
* Copyright (c) Microsoft Corporation.
|
|
1303
|
-
* Licensed under the MIT License.
|
|
1304
|
-
*
|
|
1305
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1306
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1307
|
-
* regenerated.
|
|
1308
|
-
*/
|
|
1309
|
-
/** Class representing a Validations. */
|
|
1310
|
-
var Validations = /** @class */ (function () {
|
|
1311
|
-
/**
|
|
1312
|
-
* Create a Validations.
|
|
1313
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
1314
|
-
*/
|
|
1315
|
-
function Validations(client) {
|
|
1316
|
-
this.client = client;
|
|
1317
|
-
}
|
|
1318
|
-
Validations.prototype.validateOrganization = function (resourceGroupName, organizationName, body, options, callback) {
|
|
1319
|
-
return this.client.sendOperationRequest({
|
|
1320
|
-
resourceGroupName: resourceGroupName,
|
|
1321
|
-
organizationName: organizationName,
|
|
1322
|
-
body: body,
|
|
1323
|
-
options: options
|
|
1324
|
-
}, validateOrganizationOperationSpec, callback);
|
|
1325
|
-
};
|
|
1326
|
-
return Validations;
|
|
1327
|
-
}());
|
|
1328
|
-
// Operation Specifications
|
|
1329
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
1330
|
-
var validateOrganizationOperationSpec = {
|
|
1331
|
-
httpMethod: "POST",
|
|
1332
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
|
|
1333
|
-
urlParameters: [
|
|
1334
|
-
subscriptionId,
|
|
1335
|
-
resourceGroupName,
|
|
1336
|
-
organizationName
|
|
1337
|
-
],
|
|
1338
|
-
queryParameters: [
|
|
1339
|
-
apiVersion
|
|
1340
|
-
],
|
|
1341
|
-
headerParameters: [
|
|
1342
|
-
acceptLanguage
|
|
1343
|
-
],
|
|
1344
|
-
requestBody: {
|
|
1345
|
-
parameterPath: "body",
|
|
1346
|
-
mapper: __assign(__assign({}, OrganizationResource), { required: true })
|
|
1347
|
-
},
|
|
1348
|
-
responses: {
|
|
1349
|
-
200: {
|
|
1350
|
-
bodyMapper: OrganizationResource
|
|
1351
|
-
},
|
|
1352
|
-
default: {
|
|
1353
|
-
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
serializer: serializer$3
|
|
1357
|
-
};
|
|
1358
|
-
|
|
1359
|
-
/*
|
|
1360
|
-
* Copyright (c) Microsoft Corporation.
|
|
1361
|
-
* Licensed under the MIT License.
|
|
1362
|
-
*
|
|
1363
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1364
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1365
|
-
* regenerated.
|
|
1366
|
-
*/
|
|
1367
|
-
var packageName = "@azure/arm-confluent";
|
|
1368
|
-
var packageVersion = "2.2.0";
|
|
1369
|
-
var ConfluentManagementClientContext = /** @class */ (function (_super) {
|
|
1370
|
-
__extends(ConfluentManagementClientContext, _super);
|
|
1371
|
-
/**
|
|
1372
|
-
* Initializes a new instance of the ConfluentManagementClient class.
|
|
1373
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1374
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1375
|
-
* more information about these credentials, see
|
|
1376
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1377
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1378
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1379
|
-
* @param subscriptionId Microsoft Azure subscription id
|
|
1380
|
-
* @param [options] The parameter options
|
|
1381
|
-
*/
|
|
1382
|
-
function ConfluentManagementClientContext(credentials, subscriptionId, options) {
|
|
1383
|
-
var _this = this;
|
|
1384
|
-
if (credentials == undefined) {
|
|
1385
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1386
|
-
}
|
|
1387
|
-
if (subscriptionId == undefined) {
|
|
1388
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
1389
|
-
}
|
|
1390
|
-
if (!options) {
|
|
1391
|
-
options = {};
|
|
1392
|
-
}
|
|
1393
|
-
if (!options.userAgent) {
|
|
1394
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1395
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1396
|
-
}
|
|
1397
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1398
|
-
_this.apiVersion = '2021-09-01-preview';
|
|
1399
|
-
_this.acceptLanguage = 'en-US';
|
|
1400
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1401
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1402
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1403
|
-
_this.credentials = credentials;
|
|
1404
|
-
_this.subscriptionId = subscriptionId;
|
|
1405
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1406
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1407
|
-
}
|
|
1408
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1409
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1410
|
-
}
|
|
1411
|
-
return _this;
|
|
1412
|
-
}
|
|
1413
|
-
return ConfluentManagementClientContext;
|
|
1414
|
-
}(msRestAzure.AzureServiceClient));
|
|
1415
|
-
|
|
1416
|
-
/*
|
|
1417
|
-
* Copyright (c) Microsoft Corporation.
|
|
1418
|
-
* Licensed under the MIT License.
|
|
1419
|
-
*
|
|
1420
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1421
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1422
|
-
* regenerated.
|
|
1423
|
-
*/
|
|
1424
|
-
var ConfluentManagementClient = /** @class */ (function (_super) {
|
|
1425
|
-
__extends(ConfluentManagementClient, _super);
|
|
1426
|
-
/**
|
|
1427
|
-
* Initializes a new instance of the ConfluentManagementClient class.
|
|
1428
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1429
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1430
|
-
* more information about these credentials, see
|
|
1431
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1432
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1433
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1434
|
-
* @param subscriptionId Microsoft Azure subscription id
|
|
1435
|
-
* @param [options] The parameter options
|
|
1436
|
-
*/
|
|
1437
|
-
function ConfluentManagementClient(credentials, subscriptionId, options) {
|
|
1438
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
1439
|
-
_this.marketplaceAgreements = new MarketplaceAgreements(_this);
|
|
1440
|
-
_this.organizationOperations = new OrganizationOperations(_this);
|
|
1441
|
-
_this.organization = new Organization(_this);
|
|
1442
|
-
_this.validations = new Validations(_this);
|
|
1443
|
-
return _this;
|
|
1444
|
-
}
|
|
1445
|
-
return ConfluentManagementClient;
|
|
1446
|
-
}(ConfluentManagementClientContext));
|
|
1447
|
-
|
|
1448
|
-
exports.ConfluentManagementClient = ConfluentManagementClient;
|
|
1449
|
-
exports.ConfluentManagementClientContext = ConfluentManagementClientContext;
|
|
1450
|
-
exports.ConfluentManagementMappers = mappers;
|
|
1451
|
-
exports.ConfluentManagementModels = index;
|
|
1452
|
-
exports.MarketplaceAgreements = MarketplaceAgreements;
|
|
1453
|
-
exports.Organization = Organization;
|
|
1454
|
-
exports.OrganizationOperations = OrganizationOperations;
|
|
1455
|
-
exports.Validations = Validations;
|
|
1456
|
-
|
|
1457
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1458
|
-
|
|
1459
|
-
})));
|
|
1460
|
-
//# sourceMappingURL=arm-confluent.js.map
|