@azure/arm-devspaces 1.1.0 → 2.0.1-alpha.20220113.2
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 +21 -0
- package/LICENSE +21 -0
- package/README.md +75 -77
- 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 +71 -25
- package/review/arm-devspaces.api.md +300 -0
- package/rollup.config.js +184 -27
- package/src/devSpacesManagementClient.ts +87 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +343 -0
- package/{lib → src}/models/mappers.ts +202 -226
- package/src/models/parameters.ts +152 -0
- package/src/operations/containerHostMappings.ts +80 -0
- package/src/operations/controllers.ts +640 -0
- package/{lib → src}/operations/index.ts +4 -6
- package/src/operations/operations.ts +133 -0
- 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 -1251
- 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 -20
- package/esm/devSpacesManagementClient.d.ts.map +0 -1
- package/esm/devSpacesManagementClient.js +0 -35
- package/esm/devSpacesManagementClient.js.map +0 -1
- package/esm/devSpacesManagementClientContext.d.ts +0 -16
- package/esm/devSpacesManagementClientContext.d.ts.map +0 -1
- package/esm/devSpacesManagementClientContext.js +0 -56
- 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/lib/devSpacesManagementClient.ts +0 -46
- package/lib/devSpacesManagementClientContext.ts +0 -62
- package/lib/models/containerHostMappingsMappers.ts +0 -16
- package/lib/models/controllersMappers.ts +0 -27
- package/lib/models/index.ts +0 -604
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -92
- package/lib/operations/containerHostMappings.ts +0 -98
- package/lib/operations/controllers.ts +0 -548
- package/lib/operations/operations.ts +0 -127
package/lib/models/index.ts
DELETED
|
@@ -1,604 +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 { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
|
|
14
|
-
export { BaseResource, CloudError };
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing ContainerHostMapping.
|
|
20
|
-
* Container host mapping object specifying the Container host resource ID and
|
|
21
|
-
* its associated Controller resource.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export interface ContainerHostMapping {
|
|
25
|
-
/**
|
|
26
|
-
* @member {string} [containerHostResourceId] ARM ID of the Container Host
|
|
27
|
-
* resource
|
|
28
|
-
*/
|
|
29
|
-
containerHostResourceId?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @member {string} [mappedControllerResourceId] ARM ID of the mapped
|
|
32
|
-
* Controller resource
|
|
33
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
34
|
-
* the server.**
|
|
35
|
-
*/
|
|
36
|
-
readonly mappedControllerResourceId?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @interface
|
|
41
|
-
* An interface representing Sku.
|
|
42
|
-
* Model representing SKU for Azure Dev Spaces Controller.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export interface Sku {
|
|
46
|
-
/**
|
|
47
|
-
* @member {SkuTier} [tier] The tier of the SKU for Azure Dev Spaces
|
|
48
|
-
* Controller. Possible values include: 'Standard'
|
|
49
|
-
*/
|
|
50
|
-
tier?: SkuTier;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @interface
|
|
55
|
-
* An interface representing Resource.
|
|
56
|
-
* An Azure resource.
|
|
57
|
-
*
|
|
58
|
-
* @extends BaseResource
|
|
59
|
-
*/
|
|
60
|
-
export interface Resource extends BaseResource {
|
|
61
|
-
/**
|
|
62
|
-
* @member {string} [id] Fully qualified resource Id for the resource.
|
|
63
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
64
|
-
* the server.**
|
|
65
|
-
*/
|
|
66
|
-
readonly id?: string;
|
|
67
|
-
/**
|
|
68
|
-
* @member {string} [name] The name of the resource.
|
|
69
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
70
|
-
* the server.**
|
|
71
|
-
*/
|
|
72
|
-
readonly name?: string;
|
|
73
|
-
/**
|
|
74
|
-
* @member {string} [type] The type of the resource.
|
|
75
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
76
|
-
* the server.**
|
|
77
|
-
*/
|
|
78
|
-
readonly type?: string;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @interface
|
|
83
|
-
* An interface representing TrackedResource.
|
|
84
|
-
* The resource model definition for a ARM tracked top level resource.
|
|
85
|
-
*
|
|
86
|
-
* @extends Resource
|
|
87
|
-
*/
|
|
88
|
-
export interface TrackedResource extends Resource {
|
|
89
|
-
/**
|
|
90
|
-
* @member {{ [propertyName: string]: string }} [tags] Tags for the Azure
|
|
91
|
-
* resource.
|
|
92
|
-
*/
|
|
93
|
-
tags?: { [propertyName: string]: string };
|
|
94
|
-
/**
|
|
95
|
-
* @member {string} [location] Region where the Azure resource is located.
|
|
96
|
-
*/
|
|
97
|
-
location?: string;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @interface
|
|
102
|
-
* An interface representing Controller.
|
|
103
|
-
* @extends TrackedResource
|
|
104
|
-
*/
|
|
105
|
-
export interface Controller extends TrackedResource {
|
|
106
|
-
/**
|
|
107
|
-
* @member {ProvisioningState} [provisioningState] Provisioning state of the
|
|
108
|
-
* Azure Dev Spaces Controller. Possible values include: 'Succeeded',
|
|
109
|
-
* 'Failed', 'Canceled', 'Updating', 'Creating', 'Deleting', 'Deleted'
|
|
110
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
111
|
-
* the server.**
|
|
112
|
-
*/
|
|
113
|
-
readonly provisioningState?: ProvisioningState;
|
|
114
|
-
/**
|
|
115
|
-
* @member {string} hostSuffix DNS suffix for public endpoints running in the
|
|
116
|
-
* Azure Dev Spaces Controller.
|
|
117
|
-
*/
|
|
118
|
-
hostSuffix: string;
|
|
119
|
-
/**
|
|
120
|
-
* @member {string} [dataPlaneFqdn] DNS name for accessing DataPlane services
|
|
121
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
122
|
-
* the server.**
|
|
123
|
-
*/
|
|
124
|
-
readonly dataPlaneFqdn?: string;
|
|
125
|
-
/**
|
|
126
|
-
* @member {string} targetContainerHostResourceId Resource ID of the target
|
|
127
|
-
* container host
|
|
128
|
-
*/
|
|
129
|
-
targetContainerHostResourceId: string;
|
|
130
|
-
/**
|
|
131
|
-
* @member {string} targetContainerHostCredentialsBase64 Credentials of the
|
|
132
|
-
* target container host (base64).
|
|
133
|
-
*/
|
|
134
|
-
targetContainerHostCredentialsBase64: string;
|
|
135
|
-
/**
|
|
136
|
-
* @member {Sku} sku
|
|
137
|
-
*/
|
|
138
|
-
sku: Sku;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @interface
|
|
143
|
-
* An interface representing ControllerUpdateParameters.
|
|
144
|
-
* Parameters for updating an Azure Dev Spaces Controller.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
export interface ControllerUpdateParameters {
|
|
148
|
-
/**
|
|
149
|
-
* @member {{ [propertyName: string]: string }} [tags] Tags for the Azure Dev
|
|
150
|
-
* Spaces Controller.
|
|
151
|
-
*/
|
|
152
|
-
tags?: { [propertyName: string]: string };
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Contains the possible cases for OrchestratorSpecificConnectionDetails.
|
|
157
|
-
*/
|
|
158
|
-
export type OrchestratorSpecificConnectionDetailsUnion = OrchestratorSpecificConnectionDetails | KubernetesConnectionDetails;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @interface
|
|
162
|
-
* An interface representing OrchestratorSpecificConnectionDetails.
|
|
163
|
-
* Base class for types that supply values used to connect to container
|
|
164
|
-
* orchestrators
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
export interface OrchestratorSpecificConnectionDetails {
|
|
168
|
-
/**
|
|
169
|
-
* @member {string} instanceType Polymorphic Discriminator
|
|
170
|
-
*/
|
|
171
|
-
instanceType: "OrchestratorSpecificConnectionDetails";
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @interface
|
|
176
|
-
* An interface representing ControllerConnectionDetails.
|
|
177
|
-
*/
|
|
178
|
-
export interface ControllerConnectionDetails {
|
|
179
|
-
/**
|
|
180
|
-
* @member {string} [authKey] Authentication key for communicating with
|
|
181
|
-
* services.
|
|
182
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
183
|
-
* the server.**
|
|
184
|
-
*/
|
|
185
|
-
readonly authKey?: string;
|
|
186
|
-
/**
|
|
187
|
-
* @member {string} [workspaceStorageAccountName] Workspace storage account
|
|
188
|
-
* name.
|
|
189
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
190
|
-
* the server.**
|
|
191
|
-
*/
|
|
192
|
-
readonly workspaceStorageAccountName?: string;
|
|
193
|
-
/**
|
|
194
|
-
* @member {string} [workspaceStorageSasToken] Workspace storage account SAS
|
|
195
|
-
* token.
|
|
196
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
197
|
-
* the server.**
|
|
198
|
-
*/
|
|
199
|
-
readonly workspaceStorageSasToken?: string;
|
|
200
|
-
/**
|
|
201
|
-
* @member {OrchestratorSpecificConnectionDetailsUnion}
|
|
202
|
-
* [orchestratorSpecificConnectionDetails]
|
|
203
|
-
*/
|
|
204
|
-
orchestratorSpecificConnectionDetails?: OrchestratorSpecificConnectionDetailsUnion;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* @interface
|
|
209
|
-
* An interface representing ControllerConnectionDetailsList.
|
|
210
|
-
*/
|
|
211
|
-
export interface ControllerConnectionDetailsList {
|
|
212
|
-
/**
|
|
213
|
-
* @member {ControllerConnectionDetails[]} [connectionDetailsList] List of
|
|
214
|
-
* Azure Dev Spaces Controller connection details.
|
|
215
|
-
*/
|
|
216
|
-
connectionDetailsList?: ControllerConnectionDetails[];
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @interface
|
|
221
|
-
* An interface representing ResourceProviderOperationDisplay.
|
|
222
|
-
*/
|
|
223
|
-
export interface ResourceProviderOperationDisplay {
|
|
224
|
-
/**
|
|
225
|
-
* @member {string} [provider] Name of the resource provider.
|
|
226
|
-
*/
|
|
227
|
-
provider?: string;
|
|
228
|
-
/**
|
|
229
|
-
* @member {string} [resource] Name of the resource type.
|
|
230
|
-
*/
|
|
231
|
-
resource?: string;
|
|
232
|
-
/**
|
|
233
|
-
* @member {string} [operation] Name of the resource provider operation.
|
|
234
|
-
*/
|
|
235
|
-
operation?: string;
|
|
236
|
-
/**
|
|
237
|
-
* @member {string} [description] Description of the resource provider
|
|
238
|
-
* operation.
|
|
239
|
-
*/
|
|
240
|
-
description?: string;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* @interface
|
|
245
|
-
* An interface representing ResourceProviderOperationDefinition.
|
|
246
|
-
*/
|
|
247
|
-
export interface ResourceProviderOperationDefinition {
|
|
248
|
-
/**
|
|
249
|
-
* @member {string} [name] Resource provider operation name.
|
|
250
|
-
*/
|
|
251
|
-
name?: string;
|
|
252
|
-
/**
|
|
253
|
-
* @member {ResourceProviderOperationDisplay} [display]
|
|
254
|
-
*/
|
|
255
|
-
display?: ResourceProviderOperationDisplay;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @interface
|
|
260
|
-
* An interface representing KubernetesConnectionDetails.
|
|
261
|
-
* Contains information used to connect to a Kubernetes cluster
|
|
262
|
-
*
|
|
263
|
-
*/
|
|
264
|
-
export interface KubernetesConnectionDetails {
|
|
265
|
-
/**
|
|
266
|
-
* @member {string} instanceType Polymorphic Discriminator
|
|
267
|
-
*/
|
|
268
|
-
instanceType: "Kubernetes";
|
|
269
|
-
/**
|
|
270
|
-
* @member {string} [kubeConfig] Gets the kubeconfig for the cluster.
|
|
271
|
-
*/
|
|
272
|
-
kubeConfig?: string;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @interface
|
|
277
|
-
* An interface representing ErrorDetails.
|
|
278
|
-
*/
|
|
279
|
-
export interface ErrorDetails {
|
|
280
|
-
/**
|
|
281
|
-
* @member {string} [code] Status code for the error.
|
|
282
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
283
|
-
* the server.**
|
|
284
|
-
*/
|
|
285
|
-
readonly code?: string;
|
|
286
|
-
/**
|
|
287
|
-
* @member {string} [message] Error message describing the error in detail.
|
|
288
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
289
|
-
* the server.**
|
|
290
|
-
*/
|
|
291
|
-
readonly message?: string;
|
|
292
|
-
/**
|
|
293
|
-
* @member {string} [target] The target of the particular error.
|
|
294
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
295
|
-
* the server.**
|
|
296
|
-
*/
|
|
297
|
-
readonly target?: string;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @interface
|
|
302
|
-
* An interface representing ErrorResponse.
|
|
303
|
-
* Error response indicates that the service is not able to process the
|
|
304
|
-
* incoming request. The reason is provided in the error message.
|
|
305
|
-
*
|
|
306
|
-
*/
|
|
307
|
-
export interface ErrorResponse {
|
|
308
|
-
/**
|
|
309
|
-
* @member {ErrorDetails} [error] The details of the error.
|
|
310
|
-
*/
|
|
311
|
-
error?: ErrorDetails;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @interface
|
|
316
|
-
* An interface representing DevSpacesManagementClientOptions.
|
|
317
|
-
* @extends AzureServiceClientOptions
|
|
318
|
-
*/
|
|
319
|
-
export interface DevSpacesManagementClientOptions extends AzureServiceClientOptions {
|
|
320
|
-
/**
|
|
321
|
-
* @member {string} [baseUri]
|
|
322
|
-
*/
|
|
323
|
-
baseUri?: string;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* @interface
|
|
329
|
-
* An interface representing the ControllerList.
|
|
330
|
-
* @extends Array<Controller>
|
|
331
|
-
*/
|
|
332
|
-
export interface ControllerList extends Array<Controller> {
|
|
333
|
-
/**
|
|
334
|
-
* @member {string} [nextLink] The URI that can be used to request the next
|
|
335
|
-
* page for list of Azure Dev Spaces Controllers.
|
|
336
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
337
|
-
* the server.**
|
|
338
|
-
*/
|
|
339
|
-
readonly nextLink?: string;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* @interface
|
|
344
|
-
* An interface representing the ResourceProviderOperationList.
|
|
345
|
-
* @extends Array<ResourceProviderOperationDefinition>
|
|
346
|
-
*/
|
|
347
|
-
export interface ResourceProviderOperationList extends Array<ResourceProviderOperationDefinition> {
|
|
348
|
-
/**
|
|
349
|
-
* @member {string} [nextLink] The URI that can be used to request the next
|
|
350
|
-
* page for list of Azure operations.
|
|
351
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
352
|
-
* the server.**
|
|
353
|
-
*/
|
|
354
|
-
readonly nextLink?: string;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Defines values for ProvisioningState.
|
|
359
|
-
* Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Updating', 'Creating', 'Deleting',
|
|
360
|
-
* 'Deleted'
|
|
361
|
-
* @readonly
|
|
362
|
-
* @enum {string}
|
|
363
|
-
*/
|
|
364
|
-
export type ProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'Updating' | 'Creating' | 'Deleting' | 'Deleted';
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Defines values for SkuTier.
|
|
368
|
-
* Possible values include: 'Standard'
|
|
369
|
-
* @readonly
|
|
370
|
-
* @enum {string}
|
|
371
|
-
*/
|
|
372
|
-
export type SkuTier = 'Standard';
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Contains response data for the getContainerHostMapping operation.
|
|
376
|
-
*/
|
|
377
|
-
export type ContainerHostMappingsGetContainerHostMappingResponse = {
|
|
378
|
-
/**
|
|
379
|
-
* The parsed response body.
|
|
380
|
-
*/
|
|
381
|
-
body: any;
|
|
382
|
-
/**
|
|
383
|
-
* The underlying HTTP response.
|
|
384
|
-
*/
|
|
385
|
-
_response: msRest.HttpResponse & {
|
|
386
|
-
/**
|
|
387
|
-
* The response body as text (string format)
|
|
388
|
-
*/
|
|
389
|
-
bodyAsText: string;
|
|
390
|
-
/**
|
|
391
|
-
* The response body as parsed JSON or XML
|
|
392
|
-
*/
|
|
393
|
-
parsedBody: any;
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Contains response data for the get operation.
|
|
399
|
-
*/
|
|
400
|
-
export type ControllersGetResponse = Controller & {
|
|
401
|
-
/**
|
|
402
|
-
* The underlying HTTP response.
|
|
403
|
-
*/
|
|
404
|
-
_response: msRest.HttpResponse & {
|
|
405
|
-
/**
|
|
406
|
-
* The response body as text (string format)
|
|
407
|
-
*/
|
|
408
|
-
bodyAsText: string;
|
|
409
|
-
/**
|
|
410
|
-
* The response body as parsed JSON or XML
|
|
411
|
-
*/
|
|
412
|
-
parsedBody: Controller;
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Contains response data for the create operation.
|
|
418
|
-
*/
|
|
419
|
-
export type ControllersCreateResponse = Controller & {
|
|
420
|
-
/**
|
|
421
|
-
* The underlying HTTP response.
|
|
422
|
-
*/
|
|
423
|
-
_response: msRest.HttpResponse & {
|
|
424
|
-
/**
|
|
425
|
-
* The response body as text (string format)
|
|
426
|
-
*/
|
|
427
|
-
bodyAsText: string;
|
|
428
|
-
/**
|
|
429
|
-
* The response body as parsed JSON or XML
|
|
430
|
-
*/
|
|
431
|
-
parsedBody: Controller;
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Contains response data for the update operation.
|
|
437
|
-
*/
|
|
438
|
-
export type ControllersUpdateResponse = Controller & {
|
|
439
|
-
/**
|
|
440
|
-
* The underlying HTTP response.
|
|
441
|
-
*/
|
|
442
|
-
_response: msRest.HttpResponse & {
|
|
443
|
-
/**
|
|
444
|
-
* The response body as text (string format)
|
|
445
|
-
*/
|
|
446
|
-
bodyAsText: string;
|
|
447
|
-
/**
|
|
448
|
-
* The response body as parsed JSON or XML
|
|
449
|
-
*/
|
|
450
|
-
parsedBody: Controller;
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* Contains response data for the listByResourceGroup operation.
|
|
456
|
-
*/
|
|
457
|
-
export type ControllersListByResourceGroupResponse = ControllerList & {
|
|
458
|
-
/**
|
|
459
|
-
* The underlying HTTP response.
|
|
460
|
-
*/
|
|
461
|
-
_response: msRest.HttpResponse & {
|
|
462
|
-
/**
|
|
463
|
-
* The response body as text (string format)
|
|
464
|
-
*/
|
|
465
|
-
bodyAsText: string;
|
|
466
|
-
/**
|
|
467
|
-
* The response body as parsed JSON or XML
|
|
468
|
-
*/
|
|
469
|
-
parsedBody: ControllerList;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* Contains response data for the list operation.
|
|
475
|
-
*/
|
|
476
|
-
export type ControllersListResponse = ControllerList & {
|
|
477
|
-
/**
|
|
478
|
-
* The underlying HTTP response.
|
|
479
|
-
*/
|
|
480
|
-
_response: msRest.HttpResponse & {
|
|
481
|
-
/**
|
|
482
|
-
* The response body as text (string format)
|
|
483
|
-
*/
|
|
484
|
-
bodyAsText: string;
|
|
485
|
-
/**
|
|
486
|
-
* The response body as parsed JSON or XML
|
|
487
|
-
*/
|
|
488
|
-
parsedBody: ControllerList;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* Contains response data for the listConnectionDetails operation.
|
|
494
|
-
*/
|
|
495
|
-
export type ControllersListConnectionDetailsResponse = ControllerConnectionDetailsList & {
|
|
496
|
-
/**
|
|
497
|
-
* The underlying HTTP response.
|
|
498
|
-
*/
|
|
499
|
-
_response: msRest.HttpResponse & {
|
|
500
|
-
/**
|
|
501
|
-
* The response body as text (string format)
|
|
502
|
-
*/
|
|
503
|
-
bodyAsText: string;
|
|
504
|
-
/**
|
|
505
|
-
* The response body as parsed JSON or XML
|
|
506
|
-
*/
|
|
507
|
-
parsedBody: ControllerConnectionDetailsList;
|
|
508
|
-
};
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* Contains response data for the beginCreate operation.
|
|
513
|
-
*/
|
|
514
|
-
export type ControllersBeginCreateResponse = Controller & {
|
|
515
|
-
/**
|
|
516
|
-
* The underlying HTTP response.
|
|
517
|
-
*/
|
|
518
|
-
_response: msRest.HttpResponse & {
|
|
519
|
-
/**
|
|
520
|
-
* The response body as text (string format)
|
|
521
|
-
*/
|
|
522
|
-
bodyAsText: string;
|
|
523
|
-
/**
|
|
524
|
-
* The response body as parsed JSON or XML
|
|
525
|
-
*/
|
|
526
|
-
parsedBody: Controller;
|
|
527
|
-
};
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* Contains response data for the listByResourceGroupNext operation.
|
|
532
|
-
*/
|
|
533
|
-
export type ControllersListByResourceGroupNextResponse = ControllerList & {
|
|
534
|
-
/**
|
|
535
|
-
* The underlying HTTP response.
|
|
536
|
-
*/
|
|
537
|
-
_response: msRest.HttpResponse & {
|
|
538
|
-
/**
|
|
539
|
-
* The response body as text (string format)
|
|
540
|
-
*/
|
|
541
|
-
bodyAsText: string;
|
|
542
|
-
/**
|
|
543
|
-
* The response body as parsed JSON or XML
|
|
544
|
-
*/
|
|
545
|
-
parsedBody: ControllerList;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* Contains response data for the listNext operation.
|
|
551
|
-
*/
|
|
552
|
-
export type ControllersListNextResponse = ControllerList & {
|
|
553
|
-
/**
|
|
554
|
-
* The underlying HTTP response.
|
|
555
|
-
*/
|
|
556
|
-
_response: msRest.HttpResponse & {
|
|
557
|
-
/**
|
|
558
|
-
* The response body as text (string format)
|
|
559
|
-
*/
|
|
560
|
-
bodyAsText: string;
|
|
561
|
-
/**
|
|
562
|
-
* The response body as parsed JSON or XML
|
|
563
|
-
*/
|
|
564
|
-
parsedBody: ControllerList;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Contains response data for the list operation.
|
|
570
|
-
*/
|
|
571
|
-
export type OperationsListResponse = ResourceProviderOperationList & {
|
|
572
|
-
/**
|
|
573
|
-
* The underlying HTTP response.
|
|
574
|
-
*/
|
|
575
|
-
_response: msRest.HttpResponse & {
|
|
576
|
-
/**
|
|
577
|
-
* The response body as text (string format)
|
|
578
|
-
*/
|
|
579
|
-
bodyAsText: string;
|
|
580
|
-
/**
|
|
581
|
-
* The response body as parsed JSON or XML
|
|
582
|
-
*/
|
|
583
|
-
parsedBody: ResourceProviderOperationList;
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Contains response data for the listNext operation.
|
|
589
|
-
*/
|
|
590
|
-
export type OperationsListNextResponse = ResourceProviderOperationList & {
|
|
591
|
-
/**
|
|
592
|
-
* The underlying HTTP response.
|
|
593
|
-
*/
|
|
594
|
-
_response: msRest.HttpResponse & {
|
|
595
|
-
/**
|
|
596
|
-
* The response body as text (string format)
|
|
597
|
-
*/
|
|
598
|
-
bodyAsText: string;
|
|
599
|
-
/**
|
|
600
|
-
* The response body as parsed JSON or XML
|
|
601
|
-
*/
|
|
602
|
-
parsedBody: ResourceProviderOperationList;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
@@ -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
|
-
|
package/lib/models/parameters.ts
DELETED
|
@@ -1,92 +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 msRest from "@azure/ms-rest-js";
|
|
12
|
-
|
|
13
|
-
export const acceptLanguage: msRest.OperationParameter = {
|
|
14
|
-
parameterPath: "acceptLanguage",
|
|
15
|
-
mapper: {
|
|
16
|
-
serializedName: "accept-language",
|
|
17
|
-
defaultValue: 'en-US',
|
|
18
|
-
type: {
|
|
19
|
-
name: "String"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export const apiVersion: msRest.OperationQueryParameter = {
|
|
24
|
-
parameterPath: "apiVersion",
|
|
25
|
-
mapper: {
|
|
26
|
-
required: true,
|
|
27
|
-
serializedName: "api-version",
|
|
28
|
-
type: {
|
|
29
|
-
name: "String"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export const location: msRest.OperationURLParameter = {
|
|
34
|
-
parameterPath: "location",
|
|
35
|
-
mapper: {
|
|
36
|
-
required: true,
|
|
37
|
-
serializedName: "location",
|
|
38
|
-
type: {
|
|
39
|
-
name: "String"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export const name: msRest.OperationURLParameter = {
|
|
44
|
-
parameterPath: "name",
|
|
45
|
-
mapper: {
|
|
46
|
-
required: true,
|
|
47
|
-
serializedName: "name",
|
|
48
|
-
constraints: {
|
|
49
|
-
MaxLength: 31,
|
|
50
|
-
MinLength: 3,
|
|
51
|
-
Pattern: /^[a-zA-Z0-9](-?[a-zA-Z0-9])*$/
|
|
52
|
-
},
|
|
53
|
-
type: {
|
|
54
|
-
name: "String"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
export const nextPageLink: msRest.OperationURLParameter = {
|
|
59
|
-
parameterPath: "nextPageLink",
|
|
60
|
-
mapper: {
|
|
61
|
-
required: true,
|
|
62
|
-
serializedName: "nextLink",
|
|
63
|
-
type: {
|
|
64
|
-
name: "String"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
skipEncoding: true
|
|
68
|
-
};
|
|
69
|
-
export const resourceGroupName: msRest.OperationURLParameter = {
|
|
70
|
-
parameterPath: "resourceGroupName",
|
|
71
|
-
mapper: {
|
|
72
|
-
required: true,
|
|
73
|
-
serializedName: "resourceGroupName",
|
|
74
|
-
constraints: {
|
|
75
|
-
MaxLength: 90,
|
|
76
|
-
MinLength: 1
|
|
77
|
-
},
|
|
78
|
-
type: {
|
|
79
|
-
name: "String"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
export const subscriptionId: msRest.OperationURLParameter = {
|
|
84
|
-
parameterPath: "subscriptionId",
|
|
85
|
-
mapper: {
|
|
86
|
-
required: true,
|
|
87
|
-
serializedName: "subscriptionId",
|
|
88
|
-
type: {
|
|
89
|
-
name: "String"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
};
|