@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
|
@@ -1,317 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/organizationMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a Organization. */
|
|
13
|
-
var Organization = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a Organization.
|
|
16
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function Organization(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
Organization.prototype.listBySubscription = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
Organization.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
resourceGroupName: resourceGroupName,
|
|
29
|
-
options: options
|
|
30
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
Organization.prototype.get = function (resourceGroupName, organizationName, options, callback) {
|
|
33
|
-
return this.client.sendOperationRequest({
|
|
34
|
-
resourceGroupName: resourceGroupName,
|
|
35
|
-
organizationName: organizationName,
|
|
36
|
-
options: options
|
|
37
|
-
}, getOperationSpec, callback);
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @summary Create Organization resource
|
|
41
|
-
* @param resourceGroupName Resource group name
|
|
42
|
-
* @param organizationName Organization resource name
|
|
43
|
-
* @param [options] The optional parameters
|
|
44
|
-
* @returns Promise<Models.OrganizationCreateResponse>
|
|
45
|
-
*/
|
|
46
|
-
Organization.prototype.create = function (resourceGroupName, organizationName, options) {
|
|
47
|
-
return this.beginCreate(resourceGroupName, organizationName, options)
|
|
48
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
49
|
-
};
|
|
50
|
-
Organization.prototype.update = function (resourceGroupName, organizationName, options, callback) {
|
|
51
|
-
return this.client.sendOperationRequest({
|
|
52
|
-
resourceGroupName: resourceGroupName,
|
|
53
|
-
organizationName: organizationName,
|
|
54
|
-
options: options
|
|
55
|
-
}, updateOperationSpec, callback);
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* @summary Delete Organization resource
|
|
59
|
-
* @param resourceGroupName Resource group name
|
|
60
|
-
* @param organizationName Organization resource name
|
|
61
|
-
* @param [options] The optional parameters
|
|
62
|
-
* @returns Promise<msRest.RestResponse>
|
|
63
|
-
*/
|
|
64
|
-
Organization.prototype.deleteMethod = function (resourceGroupName, organizationName, options) {
|
|
65
|
-
return this.beginDeleteMethod(resourceGroupName, organizationName, options)
|
|
66
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* @summary Create Organization resource
|
|
70
|
-
* @param resourceGroupName Resource group name
|
|
71
|
-
* @param organizationName Organization resource name
|
|
72
|
-
* @param [options] The optional parameters
|
|
73
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
74
|
-
*/
|
|
75
|
-
Organization.prototype.beginCreate = function (resourceGroupName, organizationName, options) {
|
|
76
|
-
return this.client.sendLRORequest({
|
|
77
|
-
resourceGroupName: resourceGroupName,
|
|
78
|
-
organizationName: organizationName,
|
|
79
|
-
options: options
|
|
80
|
-
}, beginCreateOperationSpec, options);
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* @summary Delete Organization resource
|
|
84
|
-
* @param resourceGroupName Resource group name
|
|
85
|
-
* @param organizationName Organization resource name
|
|
86
|
-
* @param [options] The optional parameters
|
|
87
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
88
|
-
*/
|
|
89
|
-
Organization.prototype.beginDeleteMethod = function (resourceGroupName, organizationName, options) {
|
|
90
|
-
return this.client.sendLRORequest({
|
|
91
|
-
resourceGroupName: resourceGroupName,
|
|
92
|
-
organizationName: organizationName,
|
|
93
|
-
options: options
|
|
94
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
95
|
-
};
|
|
96
|
-
Organization.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
97
|
-
return this.client.sendOperationRequest({
|
|
98
|
-
nextPageLink: nextPageLink,
|
|
99
|
-
options: options
|
|
100
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
101
|
-
};
|
|
102
|
-
Organization.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
103
|
-
return this.client.sendOperationRequest({
|
|
104
|
-
nextPageLink: nextPageLink,
|
|
105
|
-
options: options
|
|
106
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
107
|
-
};
|
|
108
|
-
return Organization;
|
|
109
|
-
}());
|
|
110
|
-
export { Organization };
|
|
111
|
-
// Operation Specifications
|
|
112
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
113
|
-
var listBySubscriptionOperationSpec = {
|
|
114
|
-
httpMethod: "GET",
|
|
115
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
|
|
116
|
-
urlParameters: [
|
|
117
|
-
Parameters.subscriptionId
|
|
118
|
-
],
|
|
119
|
-
queryParameters: [
|
|
120
|
-
Parameters.apiVersion
|
|
121
|
-
],
|
|
122
|
-
headerParameters: [
|
|
123
|
-
Parameters.acceptLanguage
|
|
124
|
-
],
|
|
125
|
-
responses: {
|
|
126
|
-
200: {
|
|
127
|
-
bodyMapper: Mappers.OrganizationResourceListResult
|
|
128
|
-
},
|
|
129
|
-
default: {
|
|
130
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
serializer: serializer
|
|
134
|
-
};
|
|
135
|
-
var listByResourceGroupOperationSpec = {
|
|
136
|
-
httpMethod: "GET",
|
|
137
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
|
|
138
|
-
urlParameters: [
|
|
139
|
-
Parameters.subscriptionId,
|
|
140
|
-
Parameters.resourceGroupName
|
|
141
|
-
],
|
|
142
|
-
queryParameters: [
|
|
143
|
-
Parameters.apiVersion
|
|
144
|
-
],
|
|
145
|
-
headerParameters: [
|
|
146
|
-
Parameters.acceptLanguage
|
|
147
|
-
],
|
|
148
|
-
responses: {
|
|
149
|
-
200: {
|
|
150
|
-
bodyMapper: Mappers.OrganizationResourceListResult
|
|
151
|
-
},
|
|
152
|
-
default: {
|
|
153
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
serializer: serializer
|
|
157
|
-
};
|
|
158
|
-
var getOperationSpec = {
|
|
159
|
-
httpMethod: "GET",
|
|
160
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
161
|
-
urlParameters: [
|
|
162
|
-
Parameters.subscriptionId,
|
|
163
|
-
Parameters.resourceGroupName,
|
|
164
|
-
Parameters.organizationName
|
|
165
|
-
],
|
|
166
|
-
queryParameters: [
|
|
167
|
-
Parameters.apiVersion
|
|
168
|
-
],
|
|
169
|
-
headerParameters: [
|
|
170
|
-
Parameters.acceptLanguage
|
|
171
|
-
],
|
|
172
|
-
responses: {
|
|
173
|
-
200: {
|
|
174
|
-
bodyMapper: Mappers.OrganizationResource
|
|
175
|
-
},
|
|
176
|
-
default: {
|
|
177
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
serializer: serializer
|
|
181
|
-
};
|
|
182
|
-
var updateOperationSpec = {
|
|
183
|
-
httpMethod: "PATCH",
|
|
184
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
185
|
-
urlParameters: [
|
|
186
|
-
Parameters.subscriptionId,
|
|
187
|
-
Parameters.resourceGroupName,
|
|
188
|
-
Parameters.organizationName
|
|
189
|
-
],
|
|
190
|
-
queryParameters: [
|
|
191
|
-
Parameters.apiVersion
|
|
192
|
-
],
|
|
193
|
-
headerParameters: [
|
|
194
|
-
Parameters.acceptLanguage
|
|
195
|
-
],
|
|
196
|
-
requestBody: {
|
|
197
|
-
parameterPath: [
|
|
198
|
-
"options",
|
|
199
|
-
"body"
|
|
200
|
-
],
|
|
201
|
-
mapper: Mappers.OrganizationResourceUpdate
|
|
202
|
-
},
|
|
203
|
-
responses: {
|
|
204
|
-
200: {
|
|
205
|
-
bodyMapper: Mappers.OrganizationResource
|
|
206
|
-
},
|
|
207
|
-
default: {
|
|
208
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
serializer: serializer
|
|
212
|
-
};
|
|
213
|
-
var beginCreateOperationSpec = {
|
|
214
|
-
httpMethod: "PUT",
|
|
215
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
216
|
-
urlParameters: [
|
|
217
|
-
Parameters.subscriptionId,
|
|
218
|
-
Parameters.resourceGroupName,
|
|
219
|
-
Parameters.organizationName
|
|
220
|
-
],
|
|
221
|
-
queryParameters: [
|
|
222
|
-
Parameters.apiVersion
|
|
223
|
-
],
|
|
224
|
-
headerParameters: [
|
|
225
|
-
Parameters.acceptLanguage
|
|
226
|
-
],
|
|
227
|
-
requestBody: {
|
|
228
|
-
parameterPath: [
|
|
229
|
-
"options",
|
|
230
|
-
"body"
|
|
231
|
-
],
|
|
232
|
-
mapper: Mappers.OrganizationResource
|
|
233
|
-
},
|
|
234
|
-
responses: {
|
|
235
|
-
200: {
|
|
236
|
-
bodyMapper: Mappers.OrganizationResource
|
|
237
|
-
},
|
|
238
|
-
201: {
|
|
239
|
-
bodyMapper: Mappers.OrganizationResource
|
|
240
|
-
},
|
|
241
|
-
default: {
|
|
242
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
serializer: serializer
|
|
246
|
-
};
|
|
247
|
-
var beginDeleteMethodOperationSpec = {
|
|
248
|
-
httpMethod: "DELETE",
|
|
249
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
250
|
-
urlParameters: [
|
|
251
|
-
Parameters.subscriptionId,
|
|
252
|
-
Parameters.resourceGroupName,
|
|
253
|
-
Parameters.organizationName
|
|
254
|
-
],
|
|
255
|
-
queryParameters: [
|
|
256
|
-
Parameters.apiVersion
|
|
257
|
-
],
|
|
258
|
-
headerParameters: [
|
|
259
|
-
Parameters.acceptLanguage
|
|
260
|
-
],
|
|
261
|
-
responses: {
|
|
262
|
-
200: {},
|
|
263
|
-
202: {},
|
|
264
|
-
204: {},
|
|
265
|
-
default: {
|
|
266
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
serializer: serializer
|
|
270
|
-
};
|
|
271
|
-
var listBySubscriptionNextOperationSpec = {
|
|
272
|
-
httpMethod: "GET",
|
|
273
|
-
baseUrl: "https://management.azure.com",
|
|
274
|
-
path: "{nextLink}",
|
|
275
|
-
urlParameters: [
|
|
276
|
-
Parameters.nextPageLink
|
|
277
|
-
],
|
|
278
|
-
queryParameters: [
|
|
279
|
-
Parameters.apiVersion
|
|
280
|
-
],
|
|
281
|
-
headerParameters: [
|
|
282
|
-
Parameters.acceptLanguage
|
|
283
|
-
],
|
|
284
|
-
responses: {
|
|
285
|
-
200: {
|
|
286
|
-
bodyMapper: Mappers.OrganizationResourceListResult
|
|
287
|
-
},
|
|
288
|
-
default: {
|
|
289
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
serializer: serializer
|
|
293
|
-
};
|
|
294
|
-
var listByResourceGroupNextOperationSpec = {
|
|
295
|
-
httpMethod: "GET",
|
|
296
|
-
baseUrl: "https://management.azure.com",
|
|
297
|
-
path: "{nextLink}",
|
|
298
|
-
urlParameters: [
|
|
299
|
-
Parameters.nextPageLink
|
|
300
|
-
],
|
|
301
|
-
queryParameters: [
|
|
302
|
-
Parameters.apiVersion
|
|
303
|
-
],
|
|
304
|
-
headerParameters: [
|
|
305
|
-
Parameters.acceptLanguage
|
|
306
|
-
],
|
|
307
|
-
responses: {
|
|
308
|
-
200: {
|
|
309
|
-
bodyMapper: Mappers.OrganizationResourceListResult
|
|
310
|
-
},
|
|
311
|
-
default: {
|
|
312
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
serializer: serializer
|
|
316
|
-
};
|
|
317
|
-
//# sourceMappingURL=organization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/operations/organization.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yCAAkB,GAAl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as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
|
|
4
|
-
/** Class representing a OrganizationOperations. */
|
|
5
|
-
export declare class OrganizationOperations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a OrganizationOperations.
|
|
9
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: ConfluentManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* @summary List all operations provided by Microsoft.Confluent.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OrganizationOperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OrganizationOperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* @summary List all operations provided by Microsoft.Confluent.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OrganizationOperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OrganizationOperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=organizationOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organizationOperations.d.ts","sourceRoot":"","sources":["../../src/operations/organizationOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAEvF,mDAAmD;AACnD,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,kCAAkC,CAAC;IAC7F;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sCAAsC,CAAC;IAC3H;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,79 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/organizationOperationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a OrganizationOperations. */
|
|
13
|
-
var OrganizationOperations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a OrganizationOperations.
|
|
16
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function OrganizationOperations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
OrganizationOperations.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
OrganizationOperations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
nextPageLink: nextPageLink,
|
|
29
|
-
options: options
|
|
30
|
-
}, listNextOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
return OrganizationOperations;
|
|
33
|
-
}());
|
|
34
|
-
export { OrganizationOperations };
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
-
var listOperationSpec = {
|
|
38
|
-
httpMethod: "GET",
|
|
39
|
-
path: "providers/Microsoft.Confluent/operations",
|
|
40
|
-
queryParameters: [
|
|
41
|
-
Parameters.apiVersion
|
|
42
|
-
],
|
|
43
|
-
headerParameters: [
|
|
44
|
-
Parameters.acceptLanguage
|
|
45
|
-
],
|
|
46
|
-
responses: {
|
|
47
|
-
200: {
|
|
48
|
-
bodyMapper: Mappers.OperationListResult
|
|
49
|
-
},
|
|
50
|
-
default: {
|
|
51
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
serializer: serializer
|
|
55
|
-
};
|
|
56
|
-
var listNextOperationSpec = {
|
|
57
|
-
httpMethod: "GET",
|
|
58
|
-
baseUrl: "https://management.azure.com",
|
|
59
|
-
path: "{nextLink}",
|
|
60
|
-
urlParameters: [
|
|
61
|
-
Parameters.nextPageLink
|
|
62
|
-
],
|
|
63
|
-
queryParameters: [
|
|
64
|
-
Parameters.apiVersion
|
|
65
|
-
],
|
|
66
|
-
headerParameters: [
|
|
67
|
-
Parameters.acceptLanguage
|
|
68
|
-
],
|
|
69
|
-
responses: {
|
|
70
|
-
200: {
|
|
71
|
-
bodyMapper: Mappers.OperationListResult
|
|
72
|
-
},
|
|
73
|
-
default: {
|
|
74
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
serializer: serializer
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=organizationOperations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organizationOperations.js","sourceRoot":"","sources":["../../src/operations/organizationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,sBAAs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T,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
|
|
4
|
-
/** Class representing a Validations. */
|
|
5
|
-
export declare class Validations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Validations.
|
|
9
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: ConfluentManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* @summary Organization Validate proxy resource
|
|
14
|
-
* @param resourceGroupName Resource group name
|
|
15
|
-
* @param organizationName Organization resource name
|
|
16
|
-
* @param body Organization resource model
|
|
17
|
-
* @param [options] The optional parameters
|
|
18
|
-
* @returns Promise<Models.ValidationsValidateOrganizationResponse>
|
|
19
|
-
*/
|
|
20
|
-
validateOrganization(resourceGroupName: string, organizationName: string, body: Models.OrganizationResource, options?: msRest.RequestOptionsBase): Promise<Models.ValidationsValidateOrganizationResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* @param resourceGroupName Resource group name
|
|
23
|
-
* @param organizationName Organization resource name
|
|
24
|
-
* @param body Organization resource model
|
|
25
|
-
* @param callback The callback
|
|
26
|
-
*/
|
|
27
|
-
validateOrganization(resourceGroupName: string, organizationName: string, body: Models.OrganizationResource, callback: msRest.ServiceCallback<Models.OrganizationResource>): void;
|
|
28
|
-
/**
|
|
29
|
-
* @param resourceGroupName Resource group name
|
|
30
|
-
* @param organizationName Organization resource name
|
|
31
|
-
* @param body Organization resource model
|
|
32
|
-
* @param options The optional parameters
|
|
33
|
-
* @param callback The callback
|
|
34
|
-
*/
|
|
35
|
-
validateOrganization(resourceGroupName: string, organizationName: string, body: Models.OrganizationResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OrganizationResource>): void;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=validations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../src/operations/validations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAEvF,wCAAwC;AACxC,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;;OAOG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,oBAAoB,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;IAC1M;;;;;OAKG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,oBAAoB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,oBAAoB,CAAC,GAAG,IAAI;IACjL;;;;;;OAMG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,oBAAoB,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,oBAAoB,CAAC,GAAG,IAAI;CAYtN"}
|
|
@@ -1,63 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/validationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Validations. */
|
|
14
|
-
var Validations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Validations.
|
|
17
|
-
* @param {ConfluentManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Validations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Validations.prototype.validateOrganization = function (resourceGroupName, organizationName, body, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroupName: resourceGroupName,
|
|
25
|
-
organizationName: organizationName,
|
|
26
|
-
body: body,
|
|
27
|
-
options: options
|
|
28
|
-
}, validateOrganizationOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
return Validations;
|
|
31
|
-
}());
|
|
32
|
-
export { Validations };
|
|
33
|
-
// Operation Specifications
|
|
34
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
35
|
-
var validateOrganizationOperationSpec = {
|
|
36
|
-
httpMethod: "POST",
|
|
37
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
|
|
38
|
-
urlParameters: [
|
|
39
|
-
Parameters.subscriptionId,
|
|
40
|
-
Parameters.resourceGroupName,
|
|
41
|
-
Parameters.organizationName
|
|
42
|
-
],
|
|
43
|
-
queryParameters: [
|
|
44
|
-
Parameters.apiVersion
|
|
45
|
-
],
|
|
46
|
-
headerParameters: [
|
|
47
|
-
Parameters.acceptLanguage
|
|
48
|
-
],
|
|
49
|
-
requestBody: {
|
|
50
|
-
parameterPath: "body",
|
|
51
|
-
mapper: __assign(__assign({}, Mappers.OrganizationResource), { required: true })
|
|
52
|
-
},
|
|
53
|
-
responses: {
|
|
54
|
-
200: {
|
|
55
|
-
bodyMapper: Mappers.OrganizationResource
|
|
56
|
-
},
|
|
57
|
-
default: {
|
|
58
|
-
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
serializer: serializer
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=validations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validations.js","sourceRoot":"","sources":["../../src/operations/validations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,wCAAwC;AACxC;IAGE;;;OAGG;IACH,qBAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA0BD,0CAAoB,GAApB,UAAqB,iBAAyB,EAAE,gBAAwB,EAAE,IAAiC,EAAE,OAAyF,EAAE,QAA8D;QACpQ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,gBAAgB,kBAAA;YAChB,IAAI,MAAA;YACJ,OAAO,SAAA;SACR,EACD,iCAAiC,EACjC,QAAQ,CAA4D,CAAC;IACzE,CAAC;IACH,kBAAC;AAAD,CAAC,AA9CD,IA8CC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iCAAiC,GAAyB;IAC9D,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,4IAA4I;IAClJ,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;KAC5B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,MAAM;QACrB,MAAM,wBACD,OAAO,CAAC,oBAAoB,KAC/B,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,67 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import * as Models from "./models";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-confluent";
|
|
16
|
-
const packageVersion = "2.2.0";
|
|
17
|
-
|
|
18
|
-
export class ConfluentManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
20
|
-
apiVersion?: string;
|
|
21
|
-
subscriptionId: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the ConfluentManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
26
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
27
|
-
* more information about these credentials, see
|
|
28
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
29
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
30
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
31
|
-
* @param subscriptionId Microsoft Azure subscription id
|
|
32
|
-
* @param [options] The parameter options
|
|
33
|
-
*/
|
|
34
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConfluentManagementClientOptions) {
|
|
35
|
-
if (credentials == undefined) {
|
|
36
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
37
|
-
}
|
|
38
|
-
if (subscriptionId == undefined) {
|
|
39
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if (!options) {
|
|
43
|
-
options = {};
|
|
44
|
-
}
|
|
45
|
-
if (!options.userAgent) {
|
|
46
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
47
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
super(credentials, options);
|
|
51
|
-
|
|
52
|
-
this.apiVersion = '2021-09-01-preview';
|
|
53
|
-
this.acceptLanguage = 'en-US';
|
|
54
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
55
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
56
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
57
|
-
this.credentials = credentials;
|
|
58
|
-
this.subscriptionId = subscriptionId;
|
|
59
|
-
|
|
60
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
61
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
62
|
-
}
|
|
63
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
64
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,19 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
BaseResource,
|
|
11
|
-
ConfluentAgreementResource,
|
|
12
|
-
ConfluentAgreementResourceListResponse,
|
|
13
|
-
ErrorResponseBody,
|
|
14
|
-
OfferDetail,
|
|
15
|
-
OrganizationResource,
|
|
16
|
-
ResourceProviderDefaultErrorResponse,
|
|
17
|
-
SystemData,
|
|
18
|
-
UserDetail
|
|
19
|
-
} from "../models/mappers";
|