@azure/arm-devspaces 1.2.1 → 2.0.0
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 +21 -0
- package/README.md +69 -83
- package/dist/index.js +1321 -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/devSpacesManagementClient.d.ts +20 -0
- package/dist-esm/src/devSpacesManagementClient.d.ts.map +1 -0
- package/dist-esm/src/devSpacesManagementClient.js +53 -0
- package/dist-esm/src/devSpacesManagementClient.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 +287 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +29 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +204 -231
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +129 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/containerHostMappings.d.ts +23 -0
- package/dist-esm/src/operations/containerHostMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/containerHostMappings.js +59 -0
- package/dist-esm/src/operations/containerHostMappings.js.map +1 -0
- package/dist-esm/src/operations/controllers.d.ts +111 -0
- package/dist-esm/src/operations/controllers.d.ts.map +1 -0
- package/dist-esm/src/operations/controllers.js +490 -0
- package/dist-esm/src/operations/controllers.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +34 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerHostMappings.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/containerHostMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerHostMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/containerHostMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/controllers.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/controllers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/controllers.js +9 -0
- package/dist-esm/src/operationsInterfaces/controllers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +68 -33
- package/review/arm-devspaces.api.md +300 -0
- package/rollup.config.js +184 -27
- package/src/devSpacesManagementClient.ts +74 -39
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +251 -512
- package/src/models/mappers.ts +202 -226
- package/src/models/parameters.ts +98 -38
- package/src/operations/containerHostMappings.ts +51 -69
- package/src/operations/controllers.ts +469 -377
- package/src/operations/index.ts +4 -6
- package/src/operations/operations.ts +87 -81
- package/src/operationsInterfaces/containerHostMappings.ts +32 -0
- package/src/operationsInterfaces/controllers.ts +140 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +26 -0
- package/tsconfig.json +4 -4
- package/types/arm-devspaces.d.ts +451 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-devspaces.js +0 -1261
- package/dist/arm-devspaces.js.map +0 -1
- package/dist/arm-devspaces.min.js +0 -1
- package/dist/arm-devspaces.min.js.map +0 -1
- package/esm/devSpacesManagementClient.d.ts +0 -26
- package/esm/devSpacesManagementClient.d.ts.map +0 -1
- package/esm/devSpacesManagementClient.js +0 -40
- package/esm/devSpacesManagementClient.js.map +0 -1
- package/esm/devSpacesManagementClientContext.d.ts +0 -22
- package/esm/devSpacesManagementClientContext.d.ts.map +0 -1
- package/esm/devSpacesManagementClientContext.js +0 -61
- package/esm/devSpacesManagementClientContext.js.map +0 -1
- package/esm/models/containerHostMappingsMappers.d.ts +0 -2
- package/esm/models/containerHostMappingsMappers.d.ts.map +0 -1
- package/esm/models/containerHostMappingsMappers.js +0 -11
- package/esm/models/containerHostMappingsMappers.js.map +0 -1
- package/esm/models/controllersMappers.d.ts +0 -2
- package/esm/models/controllersMappers.d.ts.map +0 -1
- package/esm/models/controllersMappers.js +0 -11
- package/esm/models/controllersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -564
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -24
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -9
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -90
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/containerHostMappings.d.ts +0 -35
- package/esm/operations/containerHostMappings.d.ts.map +0 -1
- package/esm/operations/containerHostMappings.js +0 -66
- package/esm/operations/containerHostMappings.js.map +0 -1
- package/esm/operations/controllers.d.ts +0 -198
- package/esm/operations/controllers.d.ts.map +0 -1
- package/esm/operations/controllers.js +0 -346
- package/esm/operations/controllers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -50
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/src/devSpacesManagementClientContext.ts +0 -68
- package/src/models/containerHostMappingsMappers.ts +0 -16
- package/src/models/controllersMappers.ts +0 -27
- package/src/models/operationsMappers.ts +0 -18
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/controllersMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Controllers. */
|
|
15
|
-
var Controllers = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Controllers.
|
|
18
|
-
* @param {DevSpacesManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Controllers(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Controllers.prototype.get = function (resourceGroupName, name, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroupName: resourceGroupName,
|
|
26
|
-
name: name,
|
|
27
|
-
options: options
|
|
28
|
-
}, getOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Creates an Azure Dev Spaces Controller with the specified create parameters.
|
|
32
|
-
* @summary Creates an Azure Dev Spaces Controller.
|
|
33
|
-
* @param resourceGroupName Resource group to which the resource belongs.
|
|
34
|
-
* @param name Name of the resource.
|
|
35
|
-
* @param controller Controller create parameters.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.ControllersCreateResponse>
|
|
38
|
-
*/
|
|
39
|
-
Controllers.prototype.create = function (resourceGroupName, name, controller, options) {
|
|
40
|
-
return this.beginCreate(resourceGroupName, name, controller, options)
|
|
41
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Deletes an existing Azure Dev Spaces Controller.
|
|
45
|
-
* @summary Deletes an Azure Dev Spaces Controller.
|
|
46
|
-
* @param resourceGroupName Resource group to which the resource belongs.
|
|
47
|
-
* @param name Name of the resource.
|
|
48
|
-
* @param [options] The optional parameters
|
|
49
|
-
* @returns Promise<msRest.RestResponse>
|
|
50
|
-
*/
|
|
51
|
-
Controllers.prototype.deleteMethod = function (resourceGroupName, name, options) {
|
|
52
|
-
return this.beginDeleteMethod(resourceGroupName, name, options)
|
|
53
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
54
|
-
};
|
|
55
|
-
Controllers.prototype.update = function (resourceGroupName, name, controllerUpdateParameters, options, callback) {
|
|
56
|
-
return this.client.sendOperationRequest({
|
|
57
|
-
resourceGroupName: resourceGroupName,
|
|
58
|
-
name: name,
|
|
59
|
-
controllerUpdateParameters: controllerUpdateParameters,
|
|
60
|
-
options: options
|
|
61
|
-
}, updateOperationSpec, callback);
|
|
62
|
-
};
|
|
63
|
-
Controllers.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
64
|
-
return this.client.sendOperationRequest({
|
|
65
|
-
resourceGroupName: resourceGroupName,
|
|
66
|
-
options: options
|
|
67
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
68
|
-
};
|
|
69
|
-
Controllers.prototype.list = function (options, callback) {
|
|
70
|
-
return this.client.sendOperationRequest({
|
|
71
|
-
options: options
|
|
72
|
-
}, listOperationSpec, callback);
|
|
73
|
-
};
|
|
74
|
-
Controllers.prototype.listConnectionDetails = function (resourceGroupName, name, options, callback) {
|
|
75
|
-
return this.client.sendOperationRequest({
|
|
76
|
-
resourceGroupName: resourceGroupName,
|
|
77
|
-
name: name,
|
|
78
|
-
options: options
|
|
79
|
-
}, listConnectionDetailsOperationSpec, callback);
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Creates an Azure Dev Spaces Controller with the specified create parameters.
|
|
83
|
-
* @summary Creates an Azure Dev Spaces Controller.
|
|
84
|
-
* @param resourceGroupName Resource group to which the resource belongs.
|
|
85
|
-
* @param name Name of the resource.
|
|
86
|
-
* @param controller Controller create parameters.
|
|
87
|
-
* @param [options] The optional parameters
|
|
88
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
89
|
-
*/
|
|
90
|
-
Controllers.prototype.beginCreate = function (resourceGroupName, name, controller, options) {
|
|
91
|
-
return this.client.sendLRORequest({
|
|
92
|
-
resourceGroupName: resourceGroupName,
|
|
93
|
-
name: name,
|
|
94
|
-
controller: controller,
|
|
95
|
-
options: options
|
|
96
|
-
}, beginCreateOperationSpec, options);
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Deletes an existing Azure Dev Spaces Controller.
|
|
100
|
-
* @summary Deletes an Azure Dev Spaces Controller.
|
|
101
|
-
* @param resourceGroupName Resource group to which the resource belongs.
|
|
102
|
-
* @param name Name of the resource.
|
|
103
|
-
* @param [options] The optional parameters
|
|
104
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
105
|
-
*/
|
|
106
|
-
Controllers.prototype.beginDeleteMethod = function (resourceGroupName, name, options) {
|
|
107
|
-
return this.client.sendLRORequest({
|
|
108
|
-
resourceGroupName: resourceGroupName,
|
|
109
|
-
name: name,
|
|
110
|
-
options: options
|
|
111
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
112
|
-
};
|
|
113
|
-
Controllers.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
114
|
-
return this.client.sendOperationRequest({
|
|
115
|
-
nextPageLink: nextPageLink,
|
|
116
|
-
options: options
|
|
117
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
118
|
-
};
|
|
119
|
-
Controllers.prototype.listNext = function (nextPageLink, options, callback) {
|
|
120
|
-
return this.client.sendOperationRequest({
|
|
121
|
-
nextPageLink: nextPageLink,
|
|
122
|
-
options: options
|
|
123
|
-
}, listNextOperationSpec, callback);
|
|
124
|
-
};
|
|
125
|
-
return Controllers;
|
|
126
|
-
}());
|
|
127
|
-
export { Controllers };
|
|
128
|
-
// Operation Specifications
|
|
129
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
130
|
-
var getOperationSpec = {
|
|
131
|
-
httpMethod: "GET",
|
|
132
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
|
|
133
|
-
urlParameters: [
|
|
134
|
-
Parameters.subscriptionId,
|
|
135
|
-
Parameters.resourceGroupName,
|
|
136
|
-
Parameters.name
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion
|
|
140
|
-
],
|
|
141
|
-
headerParameters: [
|
|
142
|
-
Parameters.acceptLanguage
|
|
143
|
-
],
|
|
144
|
-
responses: {
|
|
145
|
-
200: {
|
|
146
|
-
bodyMapper: Mappers.Controller
|
|
147
|
-
},
|
|
148
|
-
default: {
|
|
149
|
-
bodyMapper: Mappers.ErrorResponse
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
serializer: serializer
|
|
153
|
-
};
|
|
154
|
-
var updateOperationSpec = {
|
|
155
|
-
httpMethod: "PATCH",
|
|
156
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
|
|
157
|
-
urlParameters: [
|
|
158
|
-
Parameters.subscriptionId,
|
|
159
|
-
Parameters.resourceGroupName,
|
|
160
|
-
Parameters.name
|
|
161
|
-
],
|
|
162
|
-
queryParameters: [
|
|
163
|
-
Parameters.apiVersion
|
|
164
|
-
],
|
|
165
|
-
headerParameters: [
|
|
166
|
-
Parameters.acceptLanguage
|
|
167
|
-
],
|
|
168
|
-
requestBody: {
|
|
169
|
-
parameterPath: "controllerUpdateParameters",
|
|
170
|
-
mapper: __assign(__assign({}, Mappers.ControllerUpdateParameters), { required: true })
|
|
171
|
-
},
|
|
172
|
-
responses: {
|
|
173
|
-
200: {
|
|
174
|
-
bodyMapper: Mappers.Controller
|
|
175
|
-
},
|
|
176
|
-
default: {
|
|
177
|
-
bodyMapper: Mappers.ErrorResponse
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
serializer: serializer
|
|
181
|
-
};
|
|
182
|
-
var listByResourceGroupOperationSpec = {
|
|
183
|
-
httpMethod: "GET",
|
|
184
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers",
|
|
185
|
-
urlParameters: [
|
|
186
|
-
Parameters.subscriptionId,
|
|
187
|
-
Parameters.resourceGroupName
|
|
188
|
-
],
|
|
189
|
-
queryParameters: [
|
|
190
|
-
Parameters.apiVersion
|
|
191
|
-
],
|
|
192
|
-
headerParameters: [
|
|
193
|
-
Parameters.acceptLanguage
|
|
194
|
-
],
|
|
195
|
-
responses: {
|
|
196
|
-
200: {
|
|
197
|
-
bodyMapper: Mappers.ControllerList
|
|
198
|
-
},
|
|
199
|
-
default: {
|
|
200
|
-
bodyMapper: Mappers.ErrorResponse
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
serializer: serializer
|
|
204
|
-
};
|
|
205
|
-
var listOperationSpec = {
|
|
206
|
-
httpMethod: "GET",
|
|
207
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers",
|
|
208
|
-
urlParameters: [
|
|
209
|
-
Parameters.subscriptionId
|
|
210
|
-
],
|
|
211
|
-
queryParameters: [
|
|
212
|
-
Parameters.apiVersion
|
|
213
|
-
],
|
|
214
|
-
headerParameters: [
|
|
215
|
-
Parameters.acceptLanguage
|
|
216
|
-
],
|
|
217
|
-
responses: {
|
|
218
|
-
200: {
|
|
219
|
-
bodyMapper: Mappers.ControllerList
|
|
220
|
-
},
|
|
221
|
-
default: {
|
|
222
|
-
bodyMapper: Mappers.ErrorResponse
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
serializer: serializer
|
|
226
|
-
};
|
|
227
|
-
var listConnectionDetailsOperationSpec = {
|
|
228
|
-
httpMethod: "POST",
|
|
229
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails",
|
|
230
|
-
urlParameters: [
|
|
231
|
-
Parameters.subscriptionId,
|
|
232
|
-
Parameters.resourceGroupName,
|
|
233
|
-
Parameters.name
|
|
234
|
-
],
|
|
235
|
-
queryParameters: [
|
|
236
|
-
Parameters.apiVersion
|
|
237
|
-
],
|
|
238
|
-
headerParameters: [
|
|
239
|
-
Parameters.acceptLanguage
|
|
240
|
-
],
|
|
241
|
-
responses: {
|
|
242
|
-
200: {
|
|
243
|
-
bodyMapper: Mappers.ControllerConnectionDetailsList
|
|
244
|
-
},
|
|
245
|
-
default: {
|
|
246
|
-
bodyMapper: Mappers.ErrorResponse
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
serializer: serializer
|
|
250
|
-
};
|
|
251
|
-
var beginCreateOperationSpec = {
|
|
252
|
-
httpMethod: "PUT",
|
|
253
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
|
|
254
|
-
urlParameters: [
|
|
255
|
-
Parameters.subscriptionId,
|
|
256
|
-
Parameters.resourceGroupName,
|
|
257
|
-
Parameters.name
|
|
258
|
-
],
|
|
259
|
-
queryParameters: [
|
|
260
|
-
Parameters.apiVersion
|
|
261
|
-
],
|
|
262
|
-
headerParameters: [
|
|
263
|
-
Parameters.acceptLanguage
|
|
264
|
-
],
|
|
265
|
-
requestBody: {
|
|
266
|
-
parameterPath: "controller",
|
|
267
|
-
mapper: __assign(__assign({}, Mappers.Controller), { required: true })
|
|
268
|
-
},
|
|
269
|
-
responses: {
|
|
270
|
-
200: {
|
|
271
|
-
bodyMapper: Mappers.Controller
|
|
272
|
-
},
|
|
273
|
-
201: {
|
|
274
|
-
bodyMapper: Mappers.Controller
|
|
275
|
-
},
|
|
276
|
-
default: {
|
|
277
|
-
bodyMapper: Mappers.ErrorResponse
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
serializer: serializer
|
|
281
|
-
};
|
|
282
|
-
var beginDeleteMethodOperationSpec = {
|
|
283
|
-
httpMethod: "DELETE",
|
|
284
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
|
|
285
|
-
urlParameters: [
|
|
286
|
-
Parameters.subscriptionId,
|
|
287
|
-
Parameters.resourceGroupName,
|
|
288
|
-
Parameters.name
|
|
289
|
-
],
|
|
290
|
-
queryParameters: [
|
|
291
|
-
Parameters.apiVersion
|
|
292
|
-
],
|
|
293
|
-
headerParameters: [
|
|
294
|
-
Parameters.acceptLanguage
|
|
295
|
-
],
|
|
296
|
-
responses: {
|
|
297
|
-
200: {},
|
|
298
|
-
202: {},
|
|
299
|
-
204: {},
|
|
300
|
-
default: {
|
|
301
|
-
bodyMapper: Mappers.ErrorResponse
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
serializer: serializer
|
|
305
|
-
};
|
|
306
|
-
var listByResourceGroupNextOperationSpec = {
|
|
307
|
-
httpMethod: "GET",
|
|
308
|
-
baseUrl: "https://management.azure.com",
|
|
309
|
-
path: "{nextLink}",
|
|
310
|
-
urlParameters: [
|
|
311
|
-
Parameters.nextPageLink
|
|
312
|
-
],
|
|
313
|
-
headerParameters: [
|
|
314
|
-
Parameters.acceptLanguage
|
|
315
|
-
],
|
|
316
|
-
responses: {
|
|
317
|
-
200: {
|
|
318
|
-
bodyMapper: Mappers.ControllerList
|
|
319
|
-
},
|
|
320
|
-
default: {
|
|
321
|
-
bodyMapper: Mappers.ErrorResponse
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
serializer: serializer
|
|
325
|
-
};
|
|
326
|
-
var listNextOperationSpec = {
|
|
327
|
-
httpMethod: "GET",
|
|
328
|
-
baseUrl: "https://management.azure.com",
|
|
329
|
-
path: "{nextLink}",
|
|
330
|
-
urlParameters: [
|
|
331
|
-
Parameters.nextPageLink
|
|
332
|
-
],
|
|
333
|
-
headerParameters: [
|
|
334
|
-
Parameters.acceptLanguage
|
|
335
|
-
],
|
|
336
|
-
responses: {
|
|
337
|
-
200: {
|
|
338
|
-
bodyMapper: Mappers.ControllerList
|
|
339
|
-
},
|
|
340
|
-
default: {
|
|
341
|
-
bodyMapper: Mappers.ErrorResponse
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
serializer: serializer
|
|
345
|
-
};
|
|
346
|
-
//# sourceMappingURL=controllers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controllers.js","sourceRoot":"","sources":["../../src/operations/controllers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C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E;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { DevSpacesManagementClientContext } from "../devSpacesManagementClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {DevSpacesManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: DevSpacesManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their
|
|
14
|
-
* description.
|
|
15
|
-
* @summary Lists operations for the resource provider.
|
|
16
|
-
* @param [options] The optional parameters
|
|
17
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
18
|
-
*/
|
|
19
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @param callback The callback
|
|
22
|
-
*/
|
|
23
|
-
list(callback: msRest.ServiceCallback<Models.ResourceProviderOperationList>): void;
|
|
24
|
-
/**
|
|
25
|
-
* @param options The optional parameters
|
|
26
|
-
* @param callback The callback
|
|
27
|
-
*/
|
|
28
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceProviderOperationList>): void;
|
|
29
|
-
/**
|
|
30
|
-
* Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their
|
|
31
|
-
* description.
|
|
32
|
-
* @summary Lists operations for the resource provider.
|
|
33
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
36
|
-
*/
|
|
37
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResourceProviderOperationList>): void;
|
|
43
|
-
/**
|
|
44
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
45
|
-
* @param options The optional parameters
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceProviderOperationList>): void;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAEvF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;IAClF;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;IAUtH;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;IAC5G;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;CAUjJ"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {DevSpacesManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
nextPageLink: nextPageLink,
|
|
30
|
-
options: options
|
|
31
|
-
}, listNextOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Operations;
|
|
34
|
-
}());
|
|
35
|
-
export { Operations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.DevSpaces/operations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.ResourceProviderOperationList
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.CloudError
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var listNextOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
baseUrl: "https://management.azure.com",
|
|
60
|
-
path: "{nextLink}",
|
|
61
|
-
urlParameters: [
|
|
62
|
-
Parameters.nextPageLink
|
|
63
|
-
],
|
|
64
|
-
headerParameters: [
|
|
65
|
-
Parameters.acceptLanguage
|
|
66
|
-
],
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
bodyMapper: Mappers.ResourceProviderOperationList
|
|
70
|
-
},
|
|
71
|
-
default: {
|
|
72
|
-
bodyMapper: Mappers.CloudError
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
serializer: serializer
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD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,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
15
|
-
|
|
16
|
-
const packageName = "@azure/arm-devspaces";
|
|
17
|
-
const packageVersion = "1.2.1";
|
|
18
|
-
|
|
19
|
-
export class DevSpacesManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
20
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
21
|
-
subscriptionId: string;
|
|
22
|
-
apiVersion?: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Initializes a new instance of the DevSpacesManagementClient class.
|
|
26
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
27
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
28
|
-
* more information about these credentials, see
|
|
29
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
30
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
31
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
32
|
-
* @param subscriptionId Azure subscription ID.
|
|
33
|
-
* @param [options] The parameter options
|
|
34
|
-
*/
|
|
35
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DevSpacesManagementClientOptions) {
|
|
36
|
-
if (credentials == undefined) {
|
|
37
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
38
|
-
}
|
|
39
|
-
if (subscriptionId == undefined) {
|
|
40
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (!options) {
|
|
44
|
-
options = {};
|
|
45
|
-
}
|
|
46
|
-
if (!options.userAgent) {
|
|
47
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
48
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
super(credentials, options);
|
|
52
|
-
|
|
53
|
-
this.apiVersion = '2018-06-01-preview';
|
|
54
|
-
this.acceptLanguage = 'en-US';
|
|
55
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
56
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
57
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
58
|
-
this.credentials = credentials;
|
|
59
|
-
this.subscriptionId = subscriptionId;
|
|
60
|
-
|
|
61
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
62
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
63
|
-
}
|
|
64
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
65
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
discriminators,
|
|
13
|
-
ContainerHostMapping,
|
|
14
|
-
CloudError
|
|
15
|
-
} from "../models/mappers";
|
|
16
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
discriminators,
|
|
13
|
-
Controller,
|
|
14
|
-
TrackedResource,
|
|
15
|
-
Resource,
|
|
16
|
-
BaseResource,
|
|
17
|
-
Sku,
|
|
18
|
-
ErrorResponse,
|
|
19
|
-
ErrorDetails,
|
|
20
|
-
ControllerUpdateParameters,
|
|
21
|
-
ControllerList,
|
|
22
|
-
ControllerConnectionDetailsList,
|
|
23
|
-
ControllerConnectionDetails,
|
|
24
|
-
OrchestratorSpecificConnectionDetails,
|
|
25
|
-
KubernetesConnectionDetails
|
|
26
|
-
} from "../models/mappers";
|
|
27
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
discriminators,
|
|
13
|
-
ResourceProviderOperationList,
|
|
14
|
-
ResourceProviderOperationDefinition,
|
|
15
|
-
ResourceProviderOperationDisplay,
|
|
16
|
-
CloudError
|
|
17
|
-
} from "../models/mappers";
|
|
18
|
-
|