@azure/arm-containerinstance 6.3.0 → 8.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.
Files changed (154) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +70 -78
  4. package/dist/index.js +3335 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/containerInstanceManagementClient.d.ts +22 -0
  9. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/containerInstanceManagementClient.js +55 -0
  11. package/dist-esm/src/containerInstanceManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +964 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +70 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +54 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +799 -788
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +17 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +67 -37
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/containerGroups.d.ts +159 -0
  33. package/dist-esm/src/operations/containerGroups.d.ts.map +1 -0
  34. package/dist-esm/src/operations/containerGroups.js +678 -0
  35. package/dist-esm/src/operations/containerGroups.js.map +1 -0
  36. package/dist-esm/src/operations/containers.d.ts +40 -0
  37. package/dist-esm/src/operations/containers.d.ts.map +1 -0
  38. package/dist-esm/src/operations/containers.js +134 -0
  39. package/dist-esm/src/operations/containers.js.map +1 -0
  40. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/{esm → dist-esm/src}/operations/index.js +1 -2
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/location.d.ts +70 -0
  45. package/dist-esm/src/operations/location.d.ts.map +1 -0
  46. package/dist-esm/src/operations/location.js +310 -0
  47. package/dist-esm/src/operations/location.js.map +1 -0
  48. package/dist-esm/src/operations/operations.d.ts +32 -0
  49. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/operations.js +120 -0
  51. package/dist-esm/src/operations/operations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +119 -0
  53. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +1 -0
  54. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/containerGroups.js} +2 -7
  55. package/dist-esm/src/operationsInterfaces/containerGroups.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/containers.d.ts +32 -0
  57. package/dist-esm/src/operationsInterfaces/containers.d.ts.map +1 -0
  58. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/containers.js} +2 -2
  59. package/dist-esm/src/operationsInterfaces/containers.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/location.d.ts +24 -0
  65. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  66. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/location.js} +2 -1
  67. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{src/models/containersMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/test/containerinstance_examples.d.ts +4 -0
  73. package/dist-esm/test/containerinstance_examples.d.ts.map +1 -0
  74. package/dist-esm/test/containerinstance_examples.js +156 -0
  75. package/dist-esm/test/containerinstance_examples.js.map +1 -0
  76. package/package.json +65 -32
  77. package/review/arm-containerinstance.api.md +752 -0
  78. package/rollup.config.js +181 -30
  79. package/src/containerInstanceManagementClient.ts +78 -40
  80. package/src/index.ts +12 -0
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +734 -1215
  83. package/src/models/mappers.ts +808 -793
  84. package/src/models/parameters.ts +90 -38
  85. package/src/operations/containerGroups.ts +660 -424
  86. package/src/operations/containers.ts +89 -143
  87. package/src/operations/index.ts +1 -2
  88. package/src/operations/location.ts +262 -179
  89. package/src/operations/operations.ts +85 -73
  90. package/src/operationsInterfaces/containerGroups.ts +212 -0
  91. package/src/operationsInterfaces/containers.ts +64 -0
  92. package/src/operationsInterfaces/index.ts +12 -0
  93. package/src/operationsInterfaces/location.ts +49 -0
  94. package/src/operationsInterfaces/operations.ts +22 -0
  95. package/tsconfig.json +3 -3
  96. package/types/arm-containerinstance.d.ts +1282 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-containerinstance.js +0 -3019
  99. package/dist/arm-containerinstance.js.map +0 -1
  100. package/dist/arm-containerinstance.min.js +0 -1
  101. package/dist/arm-containerinstance.min.js.map +0 -1
  102. package/esm/containerInstanceManagementClient.d.ts +0 -28
  103. package/esm/containerInstanceManagementClient.d.ts.map +0 -1
  104. package/esm/containerInstanceManagementClient.js +0 -41
  105. package/esm/containerInstanceManagementClient.js.map +0 -1
  106. package/esm/containerInstanceManagementClientContext.d.ts +0 -23
  107. package/esm/containerInstanceManagementClientContext.d.ts.map +0 -1
  108. package/esm/containerInstanceManagementClientContext.js +0 -61
  109. package/esm/containerInstanceManagementClientContext.js.map +0 -1
  110. package/esm/models/containerGroupsMappers.d.ts +0 -2
  111. package/esm/models/containerGroupsMappers.d.ts.map +0 -1
  112. package/esm/models/containerGroupsMappers.js +0 -9
  113. package/esm/models/containerGroupsMappers.js.map +0 -1
  114. package/esm/models/containersMappers.d.ts +0 -2
  115. package/esm/models/containersMappers.d.ts.map +0 -1
  116. package/esm/models/containersMappers.js +0 -9
  117. package/esm/models/containersMappers.js.map +0 -1
  118. package/esm/models/index.d.ts +0 -1469
  119. package/esm/models/index.d.ts.map +0 -1
  120. package/esm/models/index.js.map +0 -1
  121. package/esm/models/locationMappers.d.ts +0 -2
  122. package/esm/models/locationMappers.d.ts.map +0 -1
  123. package/esm/models/locationMappers.js +0 -9
  124. package/esm/models/locationMappers.js.map +0 -1
  125. package/esm/models/mappers.d.ts +0 -54
  126. package/esm/models/mappers.d.ts.map +0 -1
  127. package/esm/models/mappers.js.map +0 -1
  128. package/esm/models/operationsMappers.d.ts +0 -2
  129. package/esm/models/operationsMappers.d.ts.map +0 -1
  130. package/esm/models/operationsMappers.js.map +0 -1
  131. package/esm/models/parameters.d.ts +0 -12
  132. package/esm/models/parameters.d.ts.map +0 -1
  133. package/esm/models/parameters.js.map +0 -1
  134. package/esm/operations/containerGroups.d.ts +0 -247
  135. package/esm/operations/containerGroups.d.ts.map +0 -1
  136. package/esm/operations/containerGroups.js +0 -455
  137. package/esm/operations/containerGroups.js.map +0 -1
  138. package/esm/operations/containers.d.ts +0 -94
  139. package/esm/operations/containers.d.ts.map +0 -1
  140. package/esm/operations/containers.js +0 -133
  141. package/esm/operations/containers.js.map +0 -1
  142. package/esm/operations/index.d.ts.map +0 -1
  143. package/esm/operations/index.js.map +0 -1
  144. package/esm/operations/location.d.ts +0 -107
  145. package/esm/operations/location.d.ts.map +0 -1
  146. package/esm/operations/location.js +0 -171
  147. package/esm/operations/location.js.map +0 -1
  148. package/esm/operations/operations.d.ts +0 -46
  149. package/esm/operations/operations.d.ts.map +0 -1
  150. package/esm/operations/operations.js +0 -79
  151. package/esm/operations/operations.js.map +0 -1
  152. package/src/containerInstanceManagementClientContext.ts +0 -68
  153. package/src/models/containerGroupsMappers.ts +0 -46
  154. package/src/models/locationMappers.ts +0 -19
@@ -3,96 +3,71 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
 
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Models from "../models";
12
- import * as Mappers from "../models/containersMappers";
9
+ import { Containers } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
13
12
  import * as Parameters from "../models/parameters";
14
- import { ContainerInstanceManagementClientContext } from "../containerInstanceManagementClientContext";
13
+ import { ContainerInstanceManagementClient } from "../containerInstanceManagementClient";
14
+ import {
15
+ ContainersListLogsOptionalParams,
16
+ ContainersListLogsResponse,
17
+ ContainerExecRequest,
18
+ ContainersExecuteCommandOptionalParams,
19
+ ContainersExecuteCommandResponse,
20
+ ContainersAttachOptionalParams,
21
+ ContainersAttachResponse
22
+ } from "../models";
15
23
 
16
- /** Class representing a Containers. */
17
- export class Containers {
18
- private readonly client: ContainerInstanceManagementClientContext;
24
+ /** Class containing Containers operations. */
25
+ export class ContainersImpl implements Containers {
26
+ private readonly client: ContainerInstanceManagementClient;
19
27
 
20
28
  /**
21
- * Create a Containers.
22
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
29
+ * Initialize a new instance of the class Containers class.
30
+ * @param client Reference to the service client
23
31
  */
24
- constructor(client: ContainerInstanceManagementClientContext) {
32
+ constructor(client: ContainerInstanceManagementClient) {
25
33
  this.client = client;
26
34
  }
27
35
 
28
36
  /**
29
- * Get the logs for a specified container instance in a specified resource group and container
30
- * group.
31
- * @summary Get the logs for a specified container instance.
32
- * @param resourceGroupName The name of the resource group.
33
- * @param containerGroupName The name of the container group.
34
- * @param containerName The name of the container instance.
35
- * @param [options] The optional parameters
36
- * @returns Promise<Models.ContainersListLogsResponse>
37
- */
38
- listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: Models.ContainersListLogsOptionalParams): Promise<Models.ContainersListLogsResponse>;
39
- /**
37
+ * Get the logs for a specified container instance in a specified resource group and container group.
40
38
  * @param resourceGroupName The name of the resource group.
41
39
  * @param containerGroupName The name of the container group.
42
40
  * @param containerName The name of the container instance.
43
- * @param callback The callback
41
+ * @param options The options parameters.
44
42
  */
45
- listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, callback: msRest.ServiceCallback<Models.Logs>): void;
46
- /**
47
- * @param resourceGroupName The name of the resource group.
48
- * @param containerGroupName The name of the container group.
49
- * @param containerName The name of the container instance.
50
- * @param options The optional parameters
51
- * @param callback The callback
52
- */
53
- listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options: Models.ContainersListLogsOptionalParams, callback: msRest.ServiceCallback<Models.Logs>): void;
54
- listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: Models.ContainersListLogsOptionalParams | msRest.ServiceCallback<Models.Logs>, callback?: msRest.ServiceCallback<Models.Logs>): Promise<Models.ContainersListLogsResponse> {
43
+ listLogs(
44
+ resourceGroupName: string,
45
+ containerGroupName: string,
46
+ containerName: string,
47
+ options?: ContainersListLogsOptionalParams
48
+ ): Promise<ContainersListLogsResponse> {
55
49
  return this.client.sendOperationRequest(
56
- {
57
- resourceGroupName,
58
- containerGroupName,
59
- containerName,
60
- options
61
- },
62
- listLogsOperationSpec,
63
- callback) as Promise<Models.ContainersListLogsResponse>;
50
+ { resourceGroupName, containerGroupName, containerName, options },
51
+ listLogsOperationSpec
52
+ );
64
53
  }
65
54
 
66
55
  /**
67
56
  * Executes a command for a specific container instance in a specified resource group and container
68
57
  * group.
69
- * @summary Executes a command in a specific container instance.
70
- * @param resourceGroupName The name of the resource group.
71
- * @param containerGroupName The name of the container group.
72
- * @param containerName The name of the container instance.
73
- * @param containerExecRequest The request for the exec command.
74
- * @param [options] The optional parameters
75
- * @returns Promise<Models.ContainersExecuteCommandResponse>
76
- */
77
- executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options?: msRest.RequestOptionsBase): Promise<Models.ContainersExecuteCommandResponse>;
78
- /**
79
58
  * @param resourceGroupName The name of the resource group.
80
59
  * @param containerGroupName The name of the container group.
81
60
  * @param containerName The name of the container instance.
82
61
  * @param containerExecRequest The request for the exec command.
83
- * @param callback The callback
62
+ * @param options The options parameters.
84
63
  */
85
- executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, callback: msRest.ServiceCallback<Models.ContainerExecResponse>): void;
86
- /**
87
- * @param resourceGroupName The name of the resource group.
88
- * @param containerGroupName The name of the container group.
89
- * @param containerName The name of the container instance.
90
- * @param containerExecRequest The request for the exec command.
91
- * @param options The optional parameters
92
- * @param callback The callback
93
- */
94
- executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ContainerExecResponse>): void;
95
- executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ContainerExecResponse>, callback?: msRest.ServiceCallback<Models.ContainerExecResponse>): Promise<Models.ContainersExecuteCommandResponse> {
64
+ executeCommand(
65
+ resourceGroupName: string,
66
+ containerGroupName: string,
67
+ containerName: string,
68
+ containerExecRequest: ContainerExecRequest,
69
+ options?: ContainersExecuteCommandOptionalParams
70
+ ): Promise<ContainersExecuteCommandResponse> {
96
71
  return this.client.sendOperationRequest(
97
72
  {
98
73
  resourceGroupName,
@@ -101,68 +76,37 @@ export class Containers {
101
76
  containerExecRequest,
102
77
  options
103
78
  },
104
- executeCommandOperationSpec,
105
- callback) as Promise<Models.ContainersExecuteCommandResponse>;
79
+ executeCommandOperationSpec
80
+ );
106
81
  }
107
82
 
108
83
  /**
109
84
  * Attach to the output stream of a specific container instance in a specified resource group and
110
85
  * container group.
111
- * @summary Attach to the output of a specific container instance.
112
86
  * @param resourceGroupName The name of the resource group.
113
87
  * @param containerGroupName The name of the container group.
114
88
  * @param containerName The name of the container instance.
115
- * @param [options] The optional parameters
116
- * @returns Promise<Models.ContainersAttachResponse>
89
+ * @param options The options parameters.
117
90
  */
118
- attach(resourceGroupName: string, containerGroupName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise<Models.ContainersAttachResponse>;
119
- /**
120
- * @param resourceGroupName The name of the resource group.
121
- * @param containerGroupName The name of the container group.
122
- * @param containerName The name of the container instance.
123
- * @param callback The callback
124
- */
125
- attach(resourceGroupName: string, containerGroupName: string, containerName: string, callback: msRest.ServiceCallback<Models.ContainerAttachResponse>): void;
126
- /**
127
- * @param resourceGroupName The name of the resource group.
128
- * @param containerGroupName The name of the container group.
129
- * @param containerName The name of the container instance.
130
- * @param options The optional parameters
131
- * @param callback The callback
132
- */
133
- attach(resourceGroupName: string, containerGroupName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ContainerAttachResponse>): void;
134
- attach(resourceGroupName: string, containerGroupName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ContainerAttachResponse>, callback?: msRest.ServiceCallback<Models.ContainerAttachResponse>): Promise<Models.ContainersAttachResponse> {
91
+ attach(
92
+ resourceGroupName: string,
93
+ containerGroupName: string,
94
+ containerName: string,
95
+ options?: ContainersAttachOptionalParams
96
+ ): Promise<ContainersAttachResponse> {
135
97
  return this.client.sendOperationRequest(
136
- {
137
- resourceGroupName,
138
- containerGroupName,
139
- containerName,
140
- options
141
- },
142
- attachOperationSpec,
143
- callback) as Promise<Models.ContainersAttachResponse>;
98
+ { resourceGroupName, containerGroupName, containerName, options },
99
+ attachOperationSpec
100
+ );
144
101
  }
145
102
  }
146
-
147
103
  // Operation Specifications
148
- const serializer = new msRest.Serializer(Mappers);
149
- const listLogsOperationSpec: msRest.OperationSpec = {
104
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
105
+
106
+ const listLogsOperationSpec: coreClient.OperationSpec = {
107
+ path:
108
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs",
150
109
  httpMethod: "GET",
151
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs",
152
- urlParameters: [
153
- Parameters.subscriptionId,
154
- Parameters.resourceGroupName,
155
- Parameters.containerGroupName,
156
- Parameters.containerName
157
- ],
158
- queryParameters: [
159
- Parameters.apiVersion,
160
- Parameters.tail,
161
- Parameters.timestamps
162
- ],
163
- headerParameters: [
164
- Parameters.acceptLanguage
165
- ],
166
110
  responses: {
167
111
  200: {
168
112
  bodyMapper: Mappers.Logs
@@ -171,31 +115,25 @@ const listLogsOperationSpec: msRest.OperationSpec = {
171
115
  bodyMapper: Mappers.CloudError
172
116
  }
173
117
  },
174
- serializer
175
- };
176
-
177
- const executeCommandOperationSpec: msRest.OperationSpec = {
178
- httpMethod: "POST",
179
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec",
118
+ queryParameters: [
119
+ Parameters.apiVersion,
120
+ Parameters.tail,
121
+ Parameters.timestamps
122
+ ],
180
123
  urlParameters: [
124
+ Parameters.$host,
181
125
  Parameters.subscriptionId,
182
126
  Parameters.resourceGroupName,
183
127
  Parameters.containerGroupName,
184
128
  Parameters.containerName
185
129
  ],
186
- queryParameters: [
187
- Parameters.apiVersion
188
- ],
189
- headerParameters: [
190
- Parameters.acceptLanguage
191
- ],
192
- requestBody: {
193
- parameterPath: "containerExecRequest",
194
- mapper: {
195
- ...Mappers.ContainerExecRequest,
196
- required: true
197
- }
198
- },
130
+ headerParameters: [Parameters.accept],
131
+ serializer
132
+ };
133
+ const executeCommandOperationSpec: coreClient.OperationSpec = {
134
+ path:
135
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec",
136
+ httpMethod: "POST",
199
137
  responses: {
200
138
  200: {
201
139
  bodyMapper: Mappers.ContainerExecResponse
@@ -204,24 +142,23 @@ const executeCommandOperationSpec: msRest.OperationSpec = {
204
142
  bodyMapper: Mappers.CloudError
205
143
  }
206
144
  },
207
- serializer
208
- };
209
-
210
- const attachOperationSpec: msRest.OperationSpec = {
211
- httpMethod: "POST",
212
- path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach",
145
+ requestBody: Parameters.containerExecRequest,
146
+ queryParameters: [Parameters.apiVersion],
213
147
  urlParameters: [
148
+ Parameters.$host,
214
149
  Parameters.subscriptionId,
215
150
  Parameters.resourceGroupName,
216
151
  Parameters.containerGroupName,
217
152
  Parameters.containerName
218
153
  ],
219
- queryParameters: [
220
- Parameters.apiVersion
221
- ],
222
- headerParameters: [
223
- Parameters.acceptLanguage
224
- ],
154
+ headerParameters: [Parameters.accept, Parameters.contentType],
155
+ mediaType: "json",
156
+ serializer
157
+ };
158
+ const attachOperationSpec: coreClient.OperationSpec = {
159
+ path:
160
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach",
161
+ httpMethod: "POST",
225
162
  responses: {
226
163
  200: {
227
164
  bodyMapper: Mappers.ContainerAttachResponse
@@ -230,5 +167,14 @@ const attachOperationSpec: msRest.OperationSpec = {
230
167
  bodyMapper: Mappers.CloudError
231
168
  }
232
169
  },
170
+ queryParameters: [Parameters.apiVersion],
171
+ urlParameters: [
172
+ Parameters.$host,
173
+ Parameters.subscriptionId,
174
+ Parameters.resourceGroupName,
175
+ Parameters.containerGroupName,
176
+ Parameters.containerName
177
+ ],
178
+ headerParameters: [Parameters.accept],
233
179
  serializer
234
180
  };
@@ -3,8 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
 
10
9
  export * from "./containerGroups";