@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
package/src/models/index.ts
CHANGED
|
@@ -1,604 +1,343 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
13
10
|
|
|
14
|
-
export
|
|
11
|
+
export type OrchestratorSpecificConnectionDetailsUnion =
|
|
12
|
+
| OrchestratorSpecificConnectionDetails
|
|
13
|
+
| KubernetesConnectionDetails;
|
|
15
14
|
|
|
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
|
-
*/
|
|
15
|
+
/** Container host mapping object specifying the Container host resource ID and its associated Controller resource. */
|
|
24
16
|
export interface ContainerHostMapping {
|
|
25
|
-
/**
|
|
26
|
-
* @member {string} [containerHostResourceId] ARM ID of the Container Host
|
|
27
|
-
* resource
|
|
28
|
-
*/
|
|
17
|
+
/** ARM ID of the Container Host resource */
|
|
29
18
|
containerHostResourceId?: string;
|
|
30
19
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
34
|
-
* the server.**
|
|
20
|
+
* ARM ID of the mapped Controller resource
|
|
21
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
35
22
|
*/
|
|
36
23
|
readonly mappedControllerResourceId?: string;
|
|
37
24
|
}
|
|
38
25
|
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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;
|
|
26
|
+
/** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */
|
|
27
|
+
export interface DevSpacesErrorResponse {
|
|
28
|
+
/** The details of the error. */
|
|
29
|
+
error?: ErrorDetails;
|
|
51
30
|
}
|
|
52
31
|
|
|
53
|
-
|
|
54
|
-
* @interface
|
|
55
|
-
* An interface representing Resource.
|
|
56
|
-
* An Azure resource.
|
|
57
|
-
*
|
|
58
|
-
* @extends BaseResource
|
|
59
|
-
*/
|
|
60
|
-
export interface Resource extends BaseResource {
|
|
32
|
+
export interface ErrorDetails {
|
|
61
33
|
/**
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* the server.**
|
|
34
|
+
* Status code for the error.
|
|
35
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
65
36
|
*/
|
|
66
|
-
readonly
|
|
37
|
+
readonly code?: string;
|
|
67
38
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* the server.**
|
|
39
|
+
* Error message describing the error in detail.
|
|
40
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
41
|
*/
|
|
72
|
-
readonly
|
|
42
|
+
readonly message?: string;
|
|
73
43
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* the server.**
|
|
44
|
+
* The target of the particular error.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
77
46
|
*/
|
|
78
|
-
readonly
|
|
47
|
+
readonly target?: string;
|
|
79
48
|
}
|
|
80
49
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
* The resource model definition for a ARM tracked top level resource.
|
|
85
|
-
*
|
|
86
|
-
* @extends Resource
|
|
87
|
-
*/
|
|
88
|
-
export interface TrackedResource extends Resource {
|
|
50
|
+
export interface ResourceProviderOperationList {
|
|
51
|
+
/** Resource provider operations list. */
|
|
52
|
+
value?: ResourceProviderOperationDefinition[];
|
|
89
53
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
54
|
+
* The URI that can be used to request the next page for list of Azure operations.
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
92
56
|
*/
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @member {string} [location] Region where the Azure resource is located.
|
|
96
|
-
*/
|
|
97
|
-
location?: string;
|
|
57
|
+
readonly nextLink?: string;
|
|
98
58
|
}
|
|
99
59
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
60
|
+
export interface ResourceProviderOperationDefinition {
|
|
61
|
+
/** Resource provider operation name. */
|
|
62
|
+
name?: string;
|
|
63
|
+
display?: ResourceProviderOperationDisplay;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface ResourceProviderOperationDisplay {
|
|
67
|
+
/** Name of the resource provider. */
|
|
68
|
+
provider?: string;
|
|
69
|
+
/** Name of the resource type. */
|
|
70
|
+
resource?: string;
|
|
71
|
+
/** Name of the resource provider operation. */
|
|
72
|
+
operation?: string;
|
|
73
|
+
/** Description of the resource provider operation. */
|
|
74
|
+
description?: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Model representing SKU for Azure Dev Spaces Controller. */
|
|
78
|
+
export interface Sku {
|
|
79
|
+
/** The name of the SKU for Azure Dev Spaces Controller. */
|
|
80
|
+
name: SkuName;
|
|
81
|
+
/** The tier of the SKU for Azure Dev Spaces Controller. */
|
|
82
|
+
tier?: SkuTier;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** An Azure resource. */
|
|
86
|
+
export interface Resource {
|
|
125
87
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
88
|
+
* Fully qualified resource Id for the resource.
|
|
89
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
128
90
|
*/
|
|
129
|
-
|
|
91
|
+
readonly id?: string;
|
|
130
92
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
93
|
+
* The name of the resource.
|
|
94
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
133
95
|
*/
|
|
134
|
-
|
|
96
|
+
readonly name?: string;
|
|
135
97
|
/**
|
|
136
|
-
*
|
|
98
|
+
* The type of the resource.
|
|
99
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
137
100
|
*/
|
|
138
|
-
|
|
101
|
+
readonly type?: string;
|
|
139
102
|
}
|
|
140
103
|
|
|
141
|
-
/**
|
|
142
|
-
* @interface
|
|
143
|
-
* An interface representing ControllerUpdateParameters.
|
|
144
|
-
* Parameters for updating an Azure Dev Spaces Controller.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
104
|
+
/** Parameters for updating an Azure Dev Spaces Controller. */
|
|
147
105
|
export interface ControllerUpdateParameters {
|
|
148
|
-
/**
|
|
149
|
-
* @member {{ [propertyName: string]: string }} [tags] Tags for the Azure Dev
|
|
150
|
-
* Spaces Controller.
|
|
151
|
-
*/
|
|
106
|
+
/** Tags for the Azure Dev Spaces Controller. */
|
|
152
107
|
tags?: { [propertyName: string]: string };
|
|
108
|
+
/** Credentials of the target container host (base64). */
|
|
109
|
+
targetContainerHostCredentialsBase64?: string;
|
|
153
110
|
}
|
|
154
111
|
|
|
155
|
-
|
|
156
|
-
|
|
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 {
|
|
112
|
+
export interface ControllerList {
|
|
113
|
+
/** List of Azure Dev Spaces Controllers. */
|
|
114
|
+
value?: Controller[];
|
|
168
115
|
/**
|
|
169
|
-
*
|
|
116
|
+
* The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.
|
|
117
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
170
118
|
*/
|
|
171
|
-
|
|
119
|
+
readonly nextLink?: string;
|
|
172
120
|
}
|
|
173
121
|
|
|
174
|
-
/**
|
|
175
|
-
|
|
176
|
-
|
|
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;
|
|
122
|
+
/** Parameters for listing connection details of an Azure Dev Spaces Controller. */
|
|
123
|
+
export interface ListConnectionDetailsParameters {
|
|
124
|
+
/** Resource ID of the target container host mapped to the Azure Dev Spaces Controller. */
|
|
125
|
+
targetContainerHostResourceId: string;
|
|
205
126
|
}
|
|
206
127
|
|
|
207
|
-
/**
|
|
208
|
-
* @interface
|
|
209
|
-
* An interface representing ControllerConnectionDetailsList.
|
|
210
|
-
*/
|
|
211
128
|
export interface ControllerConnectionDetailsList {
|
|
212
|
-
/**
|
|
213
|
-
* @member {ControllerConnectionDetails[]} [connectionDetailsList] List of
|
|
214
|
-
* Azure Dev Spaces Controller connection details.
|
|
215
|
-
*/
|
|
129
|
+
/** List of Azure Dev Spaces Controller connection details. */
|
|
216
130
|
connectionDetailsList?: ControllerConnectionDetails[];
|
|
217
131
|
}
|
|
218
132
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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;
|
|
133
|
+
export interface ControllerConnectionDetails {
|
|
134
|
+
/** Base class for types that supply values used to connect to container orchestrators */
|
|
135
|
+
orchestratorSpecificConnectionDetails?: OrchestratorSpecificConnectionDetailsUnion;
|
|
241
136
|
}
|
|
242
137
|
|
|
243
|
-
/**
|
|
244
|
-
|
|
245
|
-
|
|
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;
|
|
138
|
+
/** Base class for types that supply values used to connect to container orchestrators */
|
|
139
|
+
export interface OrchestratorSpecificConnectionDetails {
|
|
140
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
141
|
+
instanceType: "Kubernetes";
|
|
256
142
|
}
|
|
257
143
|
|
|
258
|
-
/**
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
144
|
+
/** The resource model definition for a ARM tracked top level resource. */
|
|
145
|
+
export type TrackedResource = Resource & {
|
|
146
|
+
/** Tags for the Azure resource. */
|
|
147
|
+
tags?: { [propertyName: string]: string };
|
|
148
|
+
/** Region where the Azure resource is located. */
|
|
149
|
+
location?: string;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/** Contains information used to connect to a Kubernetes cluster */
|
|
153
|
+
export type KubernetesConnectionDetails = OrchestratorSpecificConnectionDetails & {
|
|
154
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
268
155
|
instanceType: "Kubernetes";
|
|
269
|
-
/**
|
|
270
|
-
* @member {string} [kubeConfig] Gets the kubeconfig for the cluster.
|
|
271
|
-
*/
|
|
156
|
+
/** Gets the kubeconfig for the cluster. */
|
|
272
157
|
kubeConfig?: string;
|
|
273
|
-
}
|
|
158
|
+
};
|
|
274
159
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
*/
|
|
279
|
-
export interface ErrorDetails {
|
|
160
|
+
export type Controller = TrackedResource & {
|
|
161
|
+
/** Model representing SKU for Azure Dev Spaces Controller. */
|
|
162
|
+
sku: Sku;
|
|
280
163
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* the server.**
|
|
164
|
+
* Provisioning state of the Azure Dev Spaces Controller.
|
|
165
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
284
166
|
*/
|
|
285
|
-
readonly
|
|
167
|
+
readonly provisioningState?: ProvisioningState;
|
|
286
168
|
/**
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
* the server.**
|
|
169
|
+
* DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
|
|
170
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
290
171
|
*/
|
|
291
|
-
readonly
|
|
172
|
+
readonly hostSuffix?: string;
|
|
292
173
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* the server.**
|
|
174
|
+
* DNS name for accessing DataPlane services
|
|
175
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
296
176
|
*/
|
|
297
|
-
readonly
|
|
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 {
|
|
177
|
+
readonly dataPlaneFqdn?: string;
|
|
308
178
|
/**
|
|
309
|
-
*
|
|
179
|
+
* DNS of the target container host's API server
|
|
180
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
310
181
|
*/
|
|
311
|
-
|
|
182
|
+
readonly targetContainerHostApiServerFqdn?: string;
|
|
183
|
+
/** Resource ID of the target container host */
|
|
184
|
+
targetContainerHostResourceId: string;
|
|
185
|
+
/** Credentials of the target container host (base64). */
|
|
186
|
+
targetContainerHostCredentialsBase64: string;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
190
|
+
export enum KnownProvisioningState {
|
|
191
|
+
Succeeded = "Succeeded",
|
|
192
|
+
Failed = "Failed",
|
|
193
|
+
Canceled = "Canceled",
|
|
194
|
+
Updating = "Updating",
|
|
195
|
+
Creating = "Creating",
|
|
196
|
+
Deleting = "Deleting",
|
|
197
|
+
Deleted = "Deleted"
|
|
312
198
|
}
|
|
313
199
|
|
|
314
200
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
201
|
+
* Defines values for ProvisioningState. \
|
|
202
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
203
|
+
* this enum contains the known values that the service supports.
|
|
204
|
+
* ### Known values supported by the service
|
|
205
|
+
* **Succeeded** \
|
|
206
|
+
* **Failed** \
|
|
207
|
+
* **Canceled** \
|
|
208
|
+
* **Updating** \
|
|
209
|
+
* **Creating** \
|
|
210
|
+
* **Deleting** \
|
|
211
|
+
* **Deleted**
|
|
318
212
|
*/
|
|
319
|
-
export
|
|
320
|
-
/**
|
|
321
|
-
* @member {string} [baseUri]
|
|
322
|
-
*/
|
|
323
|
-
baseUri?: string;
|
|
324
|
-
}
|
|
213
|
+
export type ProvisioningState = string;
|
|
325
214
|
|
|
215
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
216
|
+
export enum KnownSkuName {
|
|
217
|
+
S1 = "S1"
|
|
218
|
+
}
|
|
326
219
|
|
|
327
220
|
/**
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
221
|
+
* Defines values for SkuName. \
|
|
222
|
+
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
223
|
+
* this enum contains the known values that the service supports.
|
|
224
|
+
* ### Known values supported by the service
|
|
225
|
+
* **S1**
|
|
331
226
|
*/
|
|
332
|
-
export
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
* the server.**
|
|
338
|
-
*/
|
|
339
|
-
readonly nextLink?: string;
|
|
227
|
+
export type SkuName = string;
|
|
228
|
+
|
|
229
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
230
|
+
export enum KnownSkuTier {
|
|
231
|
+
Standard = "Standard"
|
|
340
232
|
}
|
|
341
233
|
|
|
342
234
|
/**
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
235
|
+
* Defines values for SkuTier. \
|
|
236
|
+
* {@link KnownSkuTier} can be used interchangeably with SkuTier,
|
|
237
|
+
* this enum contains the known values that the service supports.
|
|
238
|
+
* ### Known values supported by the service
|
|
239
|
+
* **Standard**
|
|
346
240
|
*/
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
241
|
+
export type SkuTier = string;
|
|
242
|
+
|
|
243
|
+
/** Optional parameters. */
|
|
244
|
+
export interface ContainerHostMappingsGetContainerHostMappingOptionalParams
|
|
245
|
+
extends coreClient.OperationOptions {}
|
|
246
|
+
|
|
247
|
+
/** Contains response data for the getContainerHostMapping operation. */
|
|
248
|
+
export type ContainerHostMappingsGetContainerHostMappingResponse = ContainerHostMapping;
|
|
249
|
+
|
|
250
|
+
/** Optional parameters. */
|
|
251
|
+
export interface OperationsListOptionalParams
|
|
252
|
+
extends coreClient.OperationOptions {}
|
|
253
|
+
|
|
254
|
+
/** Contains response data for the list operation. */
|
|
255
|
+
export type OperationsListResponse = ResourceProviderOperationList;
|
|
256
|
+
|
|
257
|
+
/** Optional parameters. */
|
|
258
|
+
export interface OperationsListNextOptionalParams
|
|
259
|
+
extends coreClient.OperationOptions {}
|
|
260
|
+
|
|
261
|
+
/** Contains response data for the listNext operation. */
|
|
262
|
+
export type OperationsListNextResponse = ResourceProviderOperationList;
|
|
263
|
+
|
|
264
|
+
/** Optional parameters. */
|
|
265
|
+
export interface ControllersGetOptionalParams
|
|
266
|
+
extends coreClient.OperationOptions {}
|
|
267
|
+
|
|
268
|
+
/** Contains response data for the get operation. */
|
|
269
|
+
export type ControllersGetResponse = Controller;
|
|
270
|
+
|
|
271
|
+
/** Optional parameters. */
|
|
272
|
+
export interface ControllersCreateOptionalParams
|
|
273
|
+
extends coreClient.OperationOptions {
|
|
274
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
275
|
+
updateIntervalInMs?: number;
|
|
276
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
277
|
+
resumeFrom?: string;
|
|
355
278
|
}
|
|
356
279
|
|
|
357
|
-
/**
|
|
358
|
-
|
|
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';
|
|
280
|
+
/** Contains response data for the create operation. */
|
|
281
|
+
export type ControllersCreateResponse = Controller;
|
|
365
282
|
|
|
366
|
-
/**
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
*/
|
|
372
|
-
|
|
283
|
+
/** Optional parameters. */
|
|
284
|
+
export interface ControllersDeleteOptionalParams
|
|
285
|
+
extends coreClient.OperationOptions {
|
|
286
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
287
|
+
updateIntervalInMs?: number;
|
|
288
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
289
|
+
resumeFrom?: string;
|
|
290
|
+
}
|
|
373
291
|
|
|
374
|
-
/**
|
|
375
|
-
|
|
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
|
-
};
|
|
292
|
+
/** Optional parameters. */
|
|
293
|
+
export interface ControllersUpdateOptionalParams
|
|
294
|
+
extends coreClient.OperationOptions {}
|
|
396
295
|
|
|
397
|
-
/**
|
|
398
|
-
|
|
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
|
-
};
|
|
296
|
+
/** Contains response data for the update operation. */
|
|
297
|
+
export type ControllersUpdateResponse = Controller;
|
|
415
298
|
|
|
416
|
-
/**
|
|
417
|
-
|
|
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
|
-
};
|
|
299
|
+
/** Optional parameters. */
|
|
300
|
+
export interface ControllersListByResourceGroupOptionalParams
|
|
301
|
+
extends coreClient.OperationOptions {}
|
|
434
302
|
|
|
435
|
-
/**
|
|
436
|
-
|
|
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
|
-
};
|
|
303
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
304
|
+
export type ControllersListByResourceGroupResponse = ControllerList;
|
|
453
305
|
|
|
454
|
-
/**
|
|
455
|
-
|
|
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
|
-
};
|
|
306
|
+
/** Optional parameters. */
|
|
307
|
+
export interface ControllersListOptionalParams
|
|
308
|
+
extends coreClient.OperationOptions {}
|
|
472
309
|
|
|
473
|
-
/**
|
|
474
|
-
|
|
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
|
-
};
|
|
310
|
+
/** Contains response data for the list operation. */
|
|
311
|
+
export type ControllersListResponse = ControllerList;
|
|
491
312
|
|
|
492
|
-
/**
|
|
493
|
-
|
|
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
|
-
};
|
|
313
|
+
/** Optional parameters. */
|
|
314
|
+
export interface ControllersListConnectionDetailsOptionalParams
|
|
315
|
+
extends coreClient.OperationOptions {}
|
|
510
316
|
|
|
511
|
-
/**
|
|
512
|
-
|
|
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
|
-
};
|
|
317
|
+
/** Contains response data for the listConnectionDetails operation. */
|
|
318
|
+
export type ControllersListConnectionDetailsResponse = ControllerConnectionDetailsList;
|
|
529
319
|
|
|
530
|
-
/**
|
|
531
|
-
|
|
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
|
-
};
|
|
320
|
+
/** Optional parameters. */
|
|
321
|
+
export interface ControllersListByResourceGroupNextOptionalParams
|
|
322
|
+
extends coreClient.OperationOptions {}
|
|
548
323
|
|
|
549
|
-
/**
|
|
550
|
-
|
|
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
|
-
};
|
|
324
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
325
|
+
export type ControllersListByResourceGroupNextResponse = ControllerList;
|
|
567
326
|
|
|
568
|
-
/**
|
|
569
|
-
|
|
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
|
-
};
|
|
327
|
+
/** Optional parameters. */
|
|
328
|
+
export interface ControllersListNextOptionalParams
|
|
329
|
+
extends coreClient.OperationOptions {}
|
|
586
330
|
|
|
587
|
-
/**
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
* The response body as parsed JSON or XML
|
|
601
|
-
*/
|
|
602
|
-
parsedBody: ResourceProviderOperationList;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
331
|
+
/** Contains response data for the listNext operation. */
|
|
332
|
+
export type ControllersListNextResponse = ControllerList;
|
|
333
|
+
|
|
334
|
+
/** Optional parameters. */
|
|
335
|
+
export interface DevSpacesManagementClientOptionalParams
|
|
336
|
+
extends coreClient.ServiceClientOptions {
|
|
337
|
+
/** server parameter */
|
|
338
|
+
$host?: string;
|
|
339
|
+
/** Api Version */
|
|
340
|
+
apiVersion?: string;
|
|
341
|
+
/** Overrides client endpoint. */
|
|
342
|
+
endpoint?: string;
|
|
343
|
+
}
|