@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
@@ -1,133 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/containersMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Containers. */
14
- var Containers = /** @class */ (function () {
15
- /**
16
- * Create a Containers.
17
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
18
- */
19
- function Containers(client) {
20
- this.client = client;
21
- }
22
- Containers.prototype.listLogs = function (resourceGroupName, containerGroupName, containerName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- containerGroupName: containerGroupName,
26
- containerName: containerName,
27
- options: options
28
- }, listLogsOperationSpec, callback);
29
- };
30
- Containers.prototype.executeCommand = function (resourceGroupName, containerGroupName, containerName, containerExecRequest, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- containerGroupName: containerGroupName,
34
- containerName: containerName,
35
- containerExecRequest: containerExecRequest,
36
- options: options
37
- }, executeCommandOperationSpec, callback);
38
- };
39
- Containers.prototype.attach = function (resourceGroupName, containerGroupName, containerName, options, callback) {
40
- return this.client.sendOperationRequest({
41
- resourceGroupName: resourceGroupName,
42
- containerGroupName: containerGroupName,
43
- containerName: containerName,
44
- options: options
45
- }, attachOperationSpec, callback);
46
- };
47
- return Containers;
48
- }());
49
- export { Containers };
50
- // Operation Specifications
51
- var serializer = new msRest.Serializer(Mappers);
52
- var listLogsOperationSpec = {
53
- httpMethod: "GET",
54
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs",
55
- urlParameters: [
56
- Parameters.subscriptionId,
57
- Parameters.resourceGroupName,
58
- Parameters.containerGroupName,
59
- Parameters.containerName
60
- ],
61
- queryParameters: [
62
- Parameters.apiVersion,
63
- Parameters.tail,
64
- Parameters.timestamps
65
- ],
66
- headerParameters: [
67
- Parameters.acceptLanguage
68
- ],
69
- responses: {
70
- 200: {
71
- bodyMapper: Mappers.Logs
72
- },
73
- default: {
74
- bodyMapper: Mappers.CloudError
75
- }
76
- },
77
- serializer: serializer
78
- };
79
- var executeCommandOperationSpec = {
80
- httpMethod: "POST",
81
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec",
82
- urlParameters: [
83
- Parameters.subscriptionId,
84
- Parameters.resourceGroupName,
85
- Parameters.containerGroupName,
86
- Parameters.containerName
87
- ],
88
- queryParameters: [
89
- Parameters.apiVersion
90
- ],
91
- headerParameters: [
92
- Parameters.acceptLanguage
93
- ],
94
- requestBody: {
95
- parameterPath: "containerExecRequest",
96
- mapper: __assign(__assign({}, Mappers.ContainerExecRequest), { required: true })
97
- },
98
- responses: {
99
- 200: {
100
- bodyMapper: Mappers.ContainerExecResponse
101
- },
102
- default: {
103
- bodyMapper: Mappers.CloudError
104
- }
105
- },
106
- serializer: serializer
107
- };
108
- var attachOperationSpec = {
109
- httpMethod: "POST",
110
- path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach",
111
- urlParameters: [
112
- Parameters.subscriptionId,
113
- Parameters.resourceGroupName,
114
- Parameters.containerGroupName,
115
- Parameters.containerName
116
- ],
117
- queryParameters: [
118
- Parameters.apiVersion
119
- ],
120
- headerParameters: [
121
- Parameters.acceptLanguage
122
- ],
123
- responses: {
124
- 200: {
125
- bodyMapper: Mappers.ContainerAttachResponse
126
- },
127
- default: {
128
- bodyMapper: Mappers.CloudError
129
- }
130
- },
131
- serializer: serializer
132
- };
133
- //# sourceMappingURL=containers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"containers.js","sourceRoot":"","sources":["../../src/operations/containers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA4BD,6BAAQ,GAAR,UAAS,iBAAyB,EAAE,kBAA0B,EAAE,aAAqB,EAAE,OAAuF,EAAE,QAA8C;QAC5N,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,kBAAkB,oBAAA;YAClB,aAAa,eAAA;YACb,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IA+BD,mCAAc,GAAd,UAAe,iBAAyB,EAAE,kBAA0B,EAAE,aAAqB,EAAE,oBAAiD,EAAE,OAA0F,EAAE,QAA+D;QACzS,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,kBAAkB,oBAAA;YAClB,aAAa,eAAA;YACb,oBAAoB,sBAAA;YACpB,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAAq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B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,sBAAsB;QACrC,MAAM,wBACD,OAAO,CAAC,oBAAoB,KAC/B,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mBAAmB,GAAyB;IAChD,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,gLAAgL;IACtL,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,aAAa;KACzB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1,107 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { ContainerInstanceManagementClientContext } from "../containerInstanceManagementClientContext";
4
- /** Class representing a Location. */
5
- export declare class Location {
6
- private readonly client;
7
- /**
8
- * Create a Location.
9
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: ContainerInstanceManagementClientContext);
12
- /**
13
- * Get the usage for a subscription
14
- * @param location The identifier for the physical azure location.
15
- * @param [options] The optional parameters
16
- * @returns Promise<Models.LocationListUsageResponse>
17
- */
18
- listUsage(location: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationListUsageResponse>;
19
- /**
20
- * @param location The identifier for the physical azure location.
21
- * @param callback The callback
22
- */
23
- listUsage(location: string, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
24
- /**
25
- * @param location The identifier for the physical azure location.
26
- * @param options The optional parameters
27
- * @param callback The callback
28
- */
29
- listUsage(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
30
- /**
31
- * Get the list of cached images on specific OS type for a subscription in a region.
32
- * @summary Get the list of cached images.
33
- * @param location The identifier for the physical azure location.
34
- * @param [options] The optional parameters
35
- * @returns Promise<Models.LocationListCachedImagesResponse>
36
- */
37
- listCachedImages(location: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationListCachedImagesResponse>;
38
- /**
39
- * @param location The identifier for the physical azure location.
40
- * @param callback The callback
41
- */
42
- listCachedImages(location: string, callback: msRest.ServiceCallback<Models.CachedImagesListResult>): void;
43
- /**
44
- * @param location The identifier for the physical azure location.
45
- * @param options The optional parameters
46
- * @param callback The callback
47
- */
48
- listCachedImages(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CachedImagesListResult>): void;
49
- /**
50
- * Get the list of CPU/memory/GPU capabilities of a region.
51
- * @summary Get the list of capabilities of the location.
52
- * @param location The identifier for the physical azure location.
53
- * @param [options] The optional parameters
54
- * @returns Promise<Models.LocationListCapabilitiesResponse>
55
- */
56
- listCapabilities(location: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationListCapabilitiesResponse>;
57
- /**
58
- * @param location The identifier for the physical azure location.
59
- * @param callback The callback
60
- */
61
- listCapabilities(location: string, callback: msRest.ServiceCallback<Models.CapabilitiesListResult>): void;
62
- /**
63
- * @param location The identifier for the physical azure location.
64
- * @param options The optional parameters
65
- * @param callback The callback
66
- */
67
- listCapabilities(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CapabilitiesListResult>): void;
68
- /**
69
- * Get the list of cached images on specific OS type for a subscription in a region.
70
- * @summary Get the list of cached images.
71
- * @param nextPageLink The NextLink from the previous successful call to List operation.
72
- * @param [options] The optional parameters
73
- * @returns Promise<Models.LocationListCachedImagesNextResponse>
74
- */
75
- listCachedImagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationListCachedImagesNextResponse>;
76
- /**
77
- * @param nextPageLink The NextLink from the previous successful call to List operation.
78
- * @param callback The callback
79
- */
80
- listCachedImagesNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.CachedImagesListResult>): void;
81
- /**
82
- * @param nextPageLink The NextLink from the previous successful call to List operation.
83
- * @param options The optional parameters
84
- * @param callback The callback
85
- */
86
- listCachedImagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CachedImagesListResult>): void;
87
- /**
88
- * Get the list of CPU/memory/GPU capabilities of a region.
89
- * @summary Get the list of capabilities of the location.
90
- * @param nextPageLink The NextLink from the previous successful call to List operation.
91
- * @param [options] The optional parameters
92
- * @returns Promise<Models.LocationListCapabilitiesNextResponse>
93
- */
94
- listCapabilitiesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationListCapabilitiesNextResponse>;
95
- /**
96
- * @param nextPageLink The NextLink from the previous successful call to List operation.
97
- * @param callback The callback
98
- */
99
- listCapabilitiesNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.CapabilitiesListResult>): void;
100
- /**
101
- * @param nextPageLink The NextLink from the previous successful call to List operation.
102
- * @param options The optional parameters
103
- * @param callback The callback
104
- */
105
- listCapabilitiesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CapabilitiesListResult>): void;
106
- }
107
- //# sourceMappingURL=location.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/operations/location.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,yBAAyB,CAAC;IAC3G;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAC3F;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAW/H;;;;;;OAMG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,gCAAgC,CAAC;IACzH;;;OAGG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IACzG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;OAGG;IACH,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IACjH;;;;OAIG;IACH,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;CAUtJ"}
@@ -1,171 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/locationMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a Location. */
13
- var Location = /** @class */ (function () {
14
- /**
15
- * Create a Location.
16
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
17
- */
18
- function Location(client) {
19
- this.client = client;
20
- }
21
- Location.prototype.listUsage = function (location, options, callback) {
22
- return this.client.sendOperationRequest({
23
- location: location,
24
- options: options
25
- }, listUsageOperationSpec, callback);
26
- };
27
- Location.prototype.listCachedImages = function (location, options, callback) {
28
- return this.client.sendOperationRequest({
29
- location: location,
30
- options: options
31
- }, listCachedImagesOperationSpec, callback);
32
- };
33
- Location.prototype.listCapabilities = function (location, options, callback) {
34
- return this.client.sendOperationRequest({
35
- location: location,
36
- options: options
37
- }, listCapabilitiesOperationSpec, callback);
38
- };
39
- Location.prototype.listCachedImagesNext = function (nextPageLink, options, callback) {
40
- return this.client.sendOperationRequest({
41
- nextPageLink: nextPageLink,
42
- options: options
43
- }, listCachedImagesNextOperationSpec, callback);
44
- };
45
- Location.prototype.listCapabilitiesNext = function (nextPageLink, options, callback) {
46
- return this.client.sendOperationRequest({
47
- nextPageLink: nextPageLink,
48
- options: options
49
- }, listCapabilitiesNextOperationSpec, callback);
50
- };
51
- return Location;
52
- }());
53
- export { Location };
54
- // Operation Specifications
55
- var serializer = new msRest.Serializer(Mappers);
56
- var listUsageOperationSpec = {
57
- httpMethod: "GET",
58
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages",
59
- urlParameters: [
60
- Parameters.subscriptionId,
61
- Parameters.location
62
- ],
63
- queryParameters: [
64
- Parameters.apiVersion
65
- ],
66
- headerParameters: [
67
- Parameters.acceptLanguage
68
- ],
69
- responses: {
70
- 200: {
71
- bodyMapper: Mappers.UsageListResult
72
- },
73
- default: {
74
- bodyMapper: Mappers.CloudError
75
- }
76
- },
77
- serializer: serializer
78
- };
79
- var listCachedImagesOperationSpec = {
80
- httpMethod: "GET",
81
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/cachedImages",
82
- urlParameters: [
83
- Parameters.subscriptionId,
84
- Parameters.location
85
- ],
86
- queryParameters: [
87
- Parameters.apiVersion
88
- ],
89
- headerParameters: [
90
- Parameters.acceptLanguage
91
- ],
92
- responses: {
93
- 200: {
94
- bodyMapper: Mappers.CachedImagesListResult
95
- },
96
- default: {
97
- bodyMapper: Mappers.CloudError
98
- }
99
- },
100
- serializer: serializer
101
- };
102
- var listCapabilitiesOperationSpec = {
103
- httpMethod: "GET",
104
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/capabilities",
105
- urlParameters: [
106
- Parameters.subscriptionId,
107
- Parameters.location
108
- ],
109
- queryParameters: [
110
- Parameters.apiVersion
111
- ],
112
- headerParameters: [
113
- Parameters.acceptLanguage
114
- ],
115
- responses: {
116
- 200: {
117
- bodyMapper: Mappers.CapabilitiesListResult
118
- },
119
- default: {
120
- bodyMapper: Mappers.CloudError
121
- }
122
- },
123
- serializer: serializer
124
- };
125
- var listCachedImagesNextOperationSpec = {
126
- httpMethod: "GET",
127
- baseUrl: "https://management.azure.com",
128
- path: "{nextLink}",
129
- urlParameters: [
130
- Parameters.nextPageLink
131
- ],
132
- queryParameters: [
133
- Parameters.apiVersion
134
- ],
135
- headerParameters: [
136
- Parameters.acceptLanguage
137
- ],
138
- responses: {
139
- 200: {
140
- bodyMapper: Mappers.CachedImagesListResult
141
- },
142
- default: {
143
- bodyMapper: Mappers.CloudError
144
- }
145
- },
146
- serializer: serializer
147
- };
148
- var listCapabilitiesNextOperationSpec = {
149
- httpMethod: "GET",
150
- baseUrl: "https://management.azure.com",
151
- path: "{nextLink}",
152
- urlParameters: [
153
- Parameters.nextPageLink
154
- ],
155
- queryParameters: [
156
- Parameters.apiVersion
157
- ],
158
- headerParameters: [
159
- Parameters.acceptLanguage
160
- ],
161
- responses: {
162
- 200: {
163
- bodyMapper: Mappers.CapabilitiesListResult
164
- },
165
- default: {
166
- bodyMapper: Mappers.CloudError
167
- }
168
- },
169
- serializer: serializer
170
- };
171
- //# sourceMappingURL=location.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/operations/location.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,4BAAS,GAAT,UAAU,QAAgB,EAAE,OAAoF,EAAE,QAAyD;QACzK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,QAAQ,UAAA;YACR,OAAO,SAAA;SACR,EACD,sBAAsB,EACtB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAqBD,mCAAgB,GAAhB,UAAiB,QAAgB,EAAE,OAA2F,EAAE,QAAgE;QAC9L,OAAO,IAAI,CAAC,MAAM,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OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,iCAAiC,GAAyB;IAC9D,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,46 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { ContainerInstanceManagementClientContext } from "../containerInstanceManagementClientContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: ContainerInstanceManagementClientContext);
12
- /**
13
- * List the operations for Azure Container Instance service.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- /**
28
- * List the operations for Azure Container Instance service.
29
- * @param nextPageLink The NextLink from the previous successful call to List operation.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.OperationsListNextResponse>
32
- */
33
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
34
- /**
35
- * @param nextPageLink The NextLink from the previous successful call to List operation.
36
- * @param callback The callback
37
- */
38
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
39
- /**
40
- * @param nextPageLink The NextLink from the previous successful call to List operation.
41
- * @param options The optional parameters
42
- * @param callback The callback
43
- */
44
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
45
- }
46
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
@@ -1,79 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/operationsMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a Operations. */
13
- var Operations = /** @class */ (function () {
14
- /**
15
- * Create a Operations.
16
- * @param {ContainerInstanceManagementClientContext} client Reference to the service client.
17
- */
18
- function Operations(client) {
19
- this.client = client;
20
- }
21
- Operations.prototype.list = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, listOperationSpec, callback);
25
- };
26
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
27
- return this.client.sendOperationRequest({
28
- nextPageLink: nextPageLink,
29
- options: options
30
- }, listNextOperationSpec, callback);
31
- };
32
- return Operations;
33
- }());
34
- export { Operations };
35
- // Operation Specifications
36
- var serializer = new msRest.Serializer(Mappers);
37
- var listOperationSpec = {
38
- httpMethod: "GET",
39
- path: "providers/Microsoft.ContainerInstance/operations",
40
- queryParameters: [
41
- Parameters.apiVersion
42
- ],
43
- headerParameters: [
44
- Parameters.acceptLanguage
45
- ],
46
- responses: {
47
- 200: {
48
- bodyMapper: Mappers.OperationListResult
49
- },
50
- default: {
51
- bodyMapper: Mappers.CloudError
52
- }
53
- },
54
- serializer: serializer
55
- };
56
- var listNextOperationSpec = {
57
- httpMethod: "GET",
58
- baseUrl: "https://management.azure.com",
59
- path: "{nextLink}",
60
- urlParameters: [
61
- Parameters.nextPageLink
62
- ],
63
- queryParameters: [
64
- Parameters.apiVersion
65
- ],
66
- headerParameters: [
67
- Parameters.acceptLanguage
68
- ],
69
- responses: {
70
- 200: {
71
- bodyMapper: Mappers.OperationListResult
72
- },
73
- default: {
74
- bodyMapper: Mappers.CloudError
75
- }
76
- },
77
- serializer: serializer
78
- };
79
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,kDAAkD;IACxD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,68 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
-
15
- const packageName = "@azure/arm-containerinstance";
16
- const packageVersion = "6.3.0";
17
-
18
- export class ContainerInstanceManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials | TokenCredential;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the ContainerInstanceManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
32
- * subscription. The subscription ID forms part of the URI for every service call.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerInstanceManagementClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if (!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.apiVersion = '2021-03-01';
54
- this.acceptLanguage = 'en-US';
55
- this.longRunningOperationRetryTimeout = 30;
56
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
- this.requestContentType = "application/json; charset=utf-8";
58
- this.credentials = credentials;
59
- this.subscriptionId = subscriptionId;
60
-
61
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
- this.acceptLanguage = options.acceptLanguage;
63
- }
64
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
- }
67
- }
68
- }