@azure/arm-containerinstance 9.1.1-alpha.20241024.1 → 9.2.0-beta.1

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 (159) hide show
  1. package/CHANGELOG.md +41 -10
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1855 -966
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +40 -0
  11. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +1 -0
  12. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +55 -0
  15. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +1 -0
  16. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +260 -0
  19. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +39 -0
  23. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +58 -0
  27. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +54 -0
  31. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +1 -0
  32. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/containerGroupProfilesListSample.js +53 -0
  35. package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +42 -0
  39. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +1 -0
  40. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +88 -51
  41. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +1 -1
  42. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +3 -2
  43. package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +1 -1
  44. package/dist-esm/samples-dev/containerGroupsGetSample.js +9 -6
  45. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +1 -1
  46. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +3 -2
  47. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +1 -1
  48. package/dist-esm/samples-dev/containerGroupsListSample.js +3 -2
  49. package/dist-esm/samples-dev/containerGroupsListSample.js.map +1 -1
  50. package/dist-esm/samples-dev/containerGroupsRestartSample.js +3 -2
  51. package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +1 -1
  52. package/dist-esm/samples-dev/containerGroupsStartSample.js +3 -2
  53. package/dist-esm/samples-dev/containerGroupsStartSample.js.map +1 -1
  54. package/dist-esm/samples-dev/containerGroupsStopSample.js +3 -2
  55. package/dist-esm/samples-dev/containerGroupsStopSample.js.map +1 -1
  56. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +5 -4
  57. package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +1 -1
  58. package/dist-esm/samples-dev/containersAttachSample.js +3 -2
  59. package/dist-esm/samples-dev/containersAttachSample.js.map +1 -1
  60. package/dist-esm/samples-dev/containersExecuteCommandSample.js +5 -4
  61. package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +1 -1
  62. package/dist-esm/samples-dev/containersListLogsSample.js +4 -3
  63. package/dist-esm/samples-dev/containersListLogsSample.js.map +1 -1
  64. package/dist-esm/samples-dev/locationListCachedImagesSample.js +3 -2
  65. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +1 -1
  66. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +3 -2
  67. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +1 -1
  68. package/dist-esm/samples-dev/locationListUsageSample.js +3 -2
  69. package/dist-esm/samples-dev/locationListUsageSample.js.map +1 -1
  70. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  71. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +3 -2
  72. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +1 -1
  73. package/dist-esm/src/containerInstanceManagementClient.d.ts +4 -3
  74. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -1
  75. package/dist-esm/src/containerInstanceManagementClient.js +13 -11
  76. package/dist-esm/src/containerInstanceManagementClient.js.map +1 -1
  77. package/dist-esm/src/lroImpl.js +1 -1
  78. package/dist-esm/src/models/index.d.ts +145 -3
  79. package/dist-esm/src/models/index.d.ts.map +1 -1
  80. package/dist-esm/src/models/index.js.map +1 -1
  81. package/dist-esm/src/models/mappers.d.ts +7 -0
  82. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  83. package/dist-esm/src/models/mappers.js +898 -640
  84. package/dist-esm/src/models/mappers.js.map +1 -1
  85. package/dist-esm/src/models/parameters.d.ts +4 -0
  86. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  87. package/dist-esm/src/models/parameters.js +87 -47
  88. package/dist-esm/src/models/parameters.js.map +1 -1
  89. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts +55 -0
  90. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +1 -0
  91. package/dist-esm/src/operations/containerGroupProfileOperations.js +191 -0
  92. package/dist-esm/src/operations/containerGroupProfileOperations.js.map +1 -0
  93. package/dist-esm/src/operations/containerGroupProfiles.d.ts +95 -0
  94. package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +1 -0
  95. package/dist-esm/src/operations/containerGroupProfiles.js +401 -0
  96. package/dist-esm/src/operations/containerGroupProfiles.js.map +1 -0
  97. package/dist-esm/src/operations/containerGroups.d.ts +15 -15
  98. package/dist-esm/src/operations/containerGroups.d.ts.map +1 -1
  99. package/dist-esm/src/operations/containerGroups.js +97 -97
  100. package/dist-esm/src/operations/containerGroups.js.map +1 -1
  101. package/dist-esm/src/operations/containers.d.ts +3 -3
  102. package/dist-esm/src/operations/containers.js +20 -20
  103. package/dist-esm/src/operations/containers.js.map +1 -1
  104. package/dist-esm/src/operations/index.d.ts +2 -0
  105. package/dist-esm/src/operations/index.d.ts.map +1 -1
  106. package/dist-esm/src/operations/index.js +2 -0
  107. package/dist-esm/src/operations/index.js.map +1 -1
  108. package/dist-esm/src/operations/location.d.ts +8 -8
  109. package/dist-esm/src/operations/location.js +36 -36
  110. package/dist-esm/src/operations/location.js.map +1 -1
  111. package/dist-esm/src/operations/operations.js +9 -9
  112. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts +2 -2
  113. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +1 -1
  114. package/dist-esm/src/operations/subnetServiceAssociationLink.js +11 -11
  115. package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  117. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  121. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +13 -13
  125. package/dist-esm/src/operationsInterfaces/containers.d.ts +3 -3
  126. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  127. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  129. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  130. package/dist-esm/src/operationsInterfaces/location.d.ts +3 -3
  131. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts +2 -2
  132. package/dist-esm/test/containerinstance_examples.d.ts.map +1 -1
  133. package/dist-esm/test/containerinstance_examples.js +1 -4
  134. package/dist-esm/test/containerinstance_examples.js.map +1 -1
  135. package/package.json +30 -31
  136. package/review/arm-containerinstance.api.md +155 -3
  137. package/src/containerInstanceManagementClient.ts +29 -20
  138. package/src/lroImpl.ts +3 -3
  139. package/src/models/index.ts +194 -17
  140. package/src/models/mappers.ts +974 -702
  141. package/src/models/parameters.ts +94 -48
  142. package/src/operations/containerGroupProfileOperations.ts +255 -0
  143. package/src/operations/containerGroupProfiles.ts +485 -0
  144. package/src/operations/containerGroups.ts +188 -201
  145. package/src/operations/containers.ts +30 -33
  146. package/src/operations/index.ts +2 -0
  147. package/src/operations/location.ts +63 -66
  148. package/src/operations/operations.ts +16 -16
  149. package/src/operations/subnetServiceAssociationLink.ts +24 -25
  150. package/src/operationsInterfaces/containerGroupProfileOperations.ts +50 -0
  151. package/src/operationsInterfaces/containerGroupProfiles.ts +99 -0
  152. package/src/operationsInterfaces/containerGroups.ts +28 -28
  153. package/src/operationsInterfaces/containers.ts +7 -7
  154. package/src/operationsInterfaces/index.ts +2 -0
  155. package/src/operationsInterfaces/location.ts +7 -7
  156. package/src/operationsInterfaces/operations.ts +1 -1
  157. package/src/operationsInterfaces/subnetServiceAssociationLink.ts +4 -4
  158. package/src/pagingHelper.ts +1 -1
  159. package/types/arm-containerinstance.d.ts +275 -26
@@ -16,11 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Attach to the output stream of a specific container instance in a specified resource group and container group.
17
17
  *
18
18
  * @summary Attach to the output stream of a specific container instance in a specified resource group and container group.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/ContainerAttach.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerAttach.json
20
20
  */
21
21
  function containerAttach() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
23
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
24
25
  const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
25
26
  const containerGroupName = "demo1";
26
27
  const containerName = "container1";
@@ -1 +1 @@
1
- {"version":3,"file":"containersAttachSample.js","sourceRoot":"","sources":["../../samples-dev/containersAttachSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,OAAO,CAAC;QAC9D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"containersAttachSample.js","sourceRoot":"","sources":["../../samples-dev/containersAttachSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
11
+ import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,17 +16,18 @@ dotenv.config();
16
16
  * This sample demonstrates how to Executes a command for a specific container instance in a specified resource group and container group.
17
17
  *
18
18
  * @summary Executes a command for a specific container instance in a specified resource group and container group.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/ContainerExec.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerExec.json
20
20
  */
21
21
  function containerExec() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
23
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
24
25
  const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
25
26
  const containerGroupName = "demo1";
26
27
  const containerName = "container1";
27
28
  const containerExecRequest = {
28
29
  command: "/bin/bash",
29
- terminalSize: { cols: 12, rows: 12 }
30
+ terminalSize: { cols: 12, rows: 12 },
30
31
  };
31
32
  const credential = new DefaultAzureCredential();
32
33
  const client = new ContainerInstanceManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"containersExecuteCommandSample.js","sourceRoot":"","sources":["../../samples-dev/containersExecuteCommandSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,OAAO,CAAC;QAC9D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,oBAAoB,GAAyB;YACjD,OAAO,EAAE,WAAW;YACpB,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SACrC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,cAAc,CACnD,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"containersExecuteCommandSample.js","sourceRoot":"","sources":["../../samples-dev/containersExecuteCommandSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,oBAAoB,GAAyB;YACjD,OAAO,EAAE,WAAW;YACpB,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SACrC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,cAAc,CACnD,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
11
+ import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,11 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the logs for a specified container instance in a specified resource group and container group.
17
17
  *
18
18
  * @summary Get the logs for a specified container instance in a specified resource group and container group.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/ContainerListLogs.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerListLogs.json
20
20
  */
21
21
  function containerListLogs() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
23
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
24
25
  const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
25
26
  const containerGroupName = "demo1";
26
27
  const containerName = "container1";
@@ -1 +1 @@
1
- {"version":3,"file":"containersListLogsSample.js","sourceRoot":"","sources":["../../samples-dev/containersListLogsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,OAAO,CAAC;QAC9D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,IAAI,GAAG,EAAE,CAAC;QAChB,MAAM,OAAO,GAAqC,EAAE,IAAI,EAAE,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,QAAQ,CAC7C,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"containersListLogsSample.js","sourceRoot":"","sources":["../../samples-dev/containersListLogsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,IAAI,GAAG,EAAE,CAAC;QAChB,MAAM,OAAO,GAAqC,EAAE,IAAI,EAAE,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,QAAQ,CAC7C,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,12 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the list of cached images on specific OS type for a subscription in a region.
17
17
  *
18
18
  * @summary Get the list of cached images on specific OS type for a subscription in a region.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/CachedImagesList.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/CachedImagesList.json
20
20
  */
21
21
  function cachedImages() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  var _a, e_1, _b, _c;
24
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
24
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
25
26
  const location = "westcentralus";
26
27
  const credential = new DefaultAzureCredential();
27
28
  const client = new ContainerInstanceManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"locationListCachedImagesSample.js","sourceRoot":"","sources":["../../samples-dev/locationListCachedImagesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,YAAY;;;QACzB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,OAAO,CAAC;QAC9D,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAA7C,cAA0C;gBAA1C,WAA0C;gBAAtD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,YAAY,EAAE,CAAC;IACjB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"locationListCachedImagesSample.js","sourceRoot":"","sources":["../../samples-dev/locationListCachedImagesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,YAAY;;;QACzB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAA7C,cAA0C;gBAA1C,WAA0C;gBAAtD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,YAAY,EAAE,CAAC;IACjB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,12 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the list of CPU/memory/GPU capabilities of a region.
17
17
  *
18
18
  * @summary Get the list of CPU/memory/GPU capabilities of a region.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/CapabilitiesList.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/CapabilitiesList.json
20
20
  */
21
21
  function getCapabilities() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  var _a, e_1, _b, _c;
24
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
24
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
25
26
  const location = "westus";
26
27
  const credential = new DefaultAzureCredential();
27
28
  const client = new ContainerInstanceManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"locationListCapabilitiesSample.js","sourceRoot":"","sources":["../../samples-dev/locationListCapabilitiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CA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,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAA7C,cAA0C;gBAA1C,WAA0C;gBAAtD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,12 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the usage for a subscription
17
17
  *
18
18
  * @summary Get the usage for a subscription
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/ContainerGroupUsage.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupUsage.json
20
20
  */
21
21
  function containerUsage() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  var _a, e_1, _b, _c;
24
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
24
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
25
26
  const location = "westcentralus";
26
27
  const credential = new DefaultAzureCredential();
27
28
  const client = new ContainerInstanceManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"locationListUsageSample.js","sourceRoot":"","sources":["../../samples-dev/locationListUsageSample.ts"],"names":[],"mappings":"AAAA;;;;;;GA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OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAAtC,cAAmC;gBAAnC,WAAmC;gBAA/C,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List the operations for Azure Container Instance service.
17
17
  *
18
18
  * @summary List the operations for Azure Container Instance service.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/OperationsList.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/OperationsList.json
20
20
  */
21
21
  function operationsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,11 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete container group virtual network association links. The operation does not delete other resources provided by the user.
17
17
  *
18
18
  * @summary Delete container group virtual network association links. The operation does not delete other resources provided by the user.
19
- * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2023-05-01/examples/SubnetServiceAssociationLinkDelete.json
19
+ * x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/SubnetServiceAssociationLinkDelete.json
20
20
  */
21
21
  function subnetServiceAssociationLinkDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] || "subid";
23
+ const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
24
25
  const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
25
26
  const virtualNetworkName = "demo2";
26
27
  const subnetName = "demo3";
@@ -1 +1 @@
1
- {"version":3,"file":"subnetServiceAssociationLinkDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/subnetServiceAssociationLinkDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,OAAO,CAAC;QAC9D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,4BAA4B,CAAC,kBAAkB,CACzE,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kCAAkC,EAAE,CAAC;IACvC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"subnetServiceAssociationLinkDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/subnetServiceAssociationLinkDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,4BAA4B,CAAC,kBAAkB,CACzE,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kCAAkC,EAAE,CAAC;IACvC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { ContainerGroups, Operations, Location, Containers, SubnetServiceAssociationLink } from "./operationsInterfaces";
3
+ import { ContainerGroups, Operations, Location, Containers, SubnetServiceAssociationLink, ContainerGroupProfiles, ContainerGroupProfileOperations } from "./operationsInterfaces";
4
4
  import { ContainerInstanceManagementClientOptionalParams } from "./models";
5
5
  export declare class ContainerInstanceManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -9,8 +9,7 @@ export declare class ContainerInstanceManagementClient extends coreClient.Servic
9
9
  /**
10
10
  * Initializes a new instance of the ContainerInstanceManagementClient class.
11
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
13
- * The subscription ID forms part of the URI for every service call.
12
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
14
13
  * @param options The parameter options
15
14
  */
16
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerInstanceManagementClientOptionalParams);
@@ -21,5 +20,7 @@ export declare class ContainerInstanceManagementClient extends coreClient.Servic
21
20
  location: Location;
22
21
  containers: Containers;
23
22
  subnetServiceAssociationLink: SubnetServiceAssociationLink;
23
+ containerGroupProfiles: ContainerGroupProfiles;
24
+ containerGroupProfileOperations: ContainerGroupProfileOperations;
24
25
  }
25
26
  //# sourceMappingURL=containerInstanceManagementClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"containerInstanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,eAAe,EACf,UAAU,EACV,QAAQ,EACR,UAAU,EACV,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IAkF3D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D"}
1
+ {"version":3,"file":"containerInstanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,eAAe,EACf,UAAU,EACV,QAAQ,EACR,UAAU,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IAsF3D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,+BAA+B,EAAE,+BAA+B,CAAC;CAClE"}
@@ -8,13 +8,12 @@
8
8
  import { __awaiter } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { ContainerGroupsImpl, OperationsImpl, LocationImpl, ContainersImpl, SubnetServiceAssociationLinkImpl } from "./operations";
11
+ import { ContainerGroupsImpl, OperationsImpl, LocationImpl, ContainersImpl, SubnetServiceAssociationLinkImpl, ContainerGroupProfilesImpl, ContainerGroupProfileOperationsImpl, } from "./operations";
12
12
  export class ContainerInstanceManagementClient extends coreClient.ServiceClient {
13
13
  /**
14
14
  * Initializes a new instance of the ContainerInstanceManagementClient class.
15
15
  * @param credentials Subscription credentials which uniquely identify client subscription.
16
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
17
- * The subscription ID forms part of the URI for every service call.
16
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
18
17
  * @param options The parameter options
19
18
  */
20
19
  constructor(credentials, subscriptionId, options) {
@@ -31,14 +30,14 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
31
30
  }
32
31
  const defaults = {
33
32
  requestContentType: "application/json; charset=utf-8",
34
- credential: credentials
33
+ credential: credentials,
35
34
  };
36
- const packageDetails = `azsdk-js-arm-containerinstance/9.1.1`;
35
+ const packageDetails = `azsdk-js-arm-containerinstance/9.2.0-beta.1`;
37
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
38
  : `${packageDetails}`;
40
39
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
41
- userAgentPrefix
40
+ userAgentPrefix,
42
41
  }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
43
42
  super(optionsWithDefaults);
44
43
  let bearerTokenAuthenticationPolicyFound = false;
@@ -52,26 +51,29 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
52
51
  options.pipeline.getOrderedPolicies().length == 0 ||
53
52
  !bearerTokenAuthenticationPolicyFound) {
54
53
  this.pipeline.removePolicy({
55
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
56
55
  });
57
56
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
58
57
  credential: credentials,
59
58
  scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
60
59
  challengeCallbacks: {
61
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
62
- }
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
61
+ },
63
62
  }));
64
63
  }
65
64
  // Parameter assignments
66
65
  this.subscriptionId = subscriptionId;
67
66
  // Assigning values to Constant parameters
68
67
  this.$host = options.$host || "https://management.azure.com";
69
- this.apiVersion = options.apiVersion || "2023-05-01";
68
+ this.apiVersion = options.apiVersion || "2024-05-01-preview";
70
69
  this.containerGroups = new ContainerGroupsImpl(this);
71
70
  this.operations = new OperationsImpl(this);
72
71
  this.location = new LocationImpl(this);
73
72
  this.containers = new ContainersImpl(this);
74
73
  this.subnetServiceAssociationLink = new SubnetServiceAssociationLinkImpl(this);
74
+ this.containerGroupProfiles = new ContainerGroupProfilesImpl(this);
75
+ this.containerGroupProfileOperations =
76
+ new ContainerGroupProfileOperationsImpl(this);
75
77
  this.addCustomApiVersionPolicy(options.apiVersion);
76
78
  }
77
79
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -97,7 +99,7 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
97
99
  }
98
100
  return next(request);
99
101
  });
100
- }
102
+ },
101
103
  };
102
104
  this.pipeline.addPolicy(apiVersionPolicy);
103
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"containerInstanceManagementClient.js","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,gCAAgC,EACjC,MAAM,cAAc,CAAC;AAUtB,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAoD;YAChE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB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AC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;gCACrC,OAAO,cAAc,GAAG,UAAU,CAAC;4BACrC,CAAC;iCAAM,CAAC;gCACN,OAAO,IAAI,CAAC;4BACd,CAAC;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACrD,CAAC;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAOF"}
1
+ {"version":3,"file":"containerInstanceManagementClient.js","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,gCAAgC,EAChC,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,cAAc,CAAC;AAYtB,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAoD;YAChE,kBAA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,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;gCACrC,OAAO,cAAc,GAAG,UAAU,CAAC;4BACrC,CAAC;iCAAM,CAAC;gCACN,OAAO,IAAI,CAAC;4BACd,CAAC;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACrD,CAAC;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CASF"}
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
15
15
  sendPollRequest: (path, options) => {
16
16
  const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
17
17
  return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
18
- }
18
+ },
19
19
  };
20
20
  }
21
21
  //# sourceMappingURL=lroImpl.js.map
@@ -56,7 +56,7 @@ export interface ContainerGroupProperties {
56
56
  /** The IP address type of the container group. */
57
57
  ipAddress?: IpAddress;
58
58
  /** The operating system type required by the containers in the container group. */
59
- osType: OperatingSystemTypes;
59
+ osType?: OperatingSystemTypes;
60
60
  /** The list of volumes that can be mounted by containers in this container group. */
61
61
  volumes?: Volume[];
62
62
  /**
@@ -82,6 +82,15 @@ export interface ContainerGroupProperties {
82
82
  confidentialComputeProperties?: ConfidentialComputeProperties;
83
83
  /** The priority of the container group. */
84
84
  priority?: ContainerGroupPriority;
85
+ /** The reference container group profile properties. */
86
+ containerGroupProfile?: ContainerGroupProfileReferenceDefinition;
87
+ /** The reference standby pool profile properties. */
88
+ standbyPoolProfile?: StandbyPoolProfileDefinition;
89
+ /**
90
+ * The flag indicating whether the container group is created by standby pool.
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
+ */
93
+ readonly isCreatedFromStandbyPool?: boolean;
85
94
  }
86
95
  /** Identity for the container group. */
87
96
  export interface ContainerGroupIdentity {
@@ -120,7 +129,7 @@ export interface Container {
120
129
  /** The user-provided name of the container instance. */
121
130
  name: string;
122
131
  /** The name of the image used to create the container instance. */
123
- image: string;
132
+ image?: string;
124
133
  /** The commands to execute within the container instance in exec form. */
125
134
  command?: string[];
126
135
  /** The exposed ports on the container instance. */
@@ -133,7 +142,7 @@ export interface Container {
133
142
  */
134
143
  readonly instanceView?: ContainerPropertiesInstanceView;
135
144
  /** The resource requirements of the container instance. */
136
- resources: ResourceRequirements;
145
+ resources?: ResourceRequirements;
137
146
  /** The volume mounts available to the container instance. */
138
147
  volumeMounts?: VolumeMount[];
139
148
  /** The liveness probe. */
@@ -142,6 +151,8 @@ export interface Container {
142
151
  readinessProbe?: ContainerProbe;
143
152
  /** The container security properties. */
144
153
  securityContext?: SecurityContextDefinition;
154
+ /** The config map. */
155
+ configMap?: ConfigMap;
145
156
  }
146
157
  /** The port exposed on the container instance. */
147
158
  export interface ContainerPort {
@@ -346,6 +357,13 @@ export interface SecurityContextCapabilitiesDefinition {
346
357
  /** The capabilities to drop from the container. */
347
358
  drop?: string[];
348
359
  }
360
+ /** The container config map. */
361
+ export interface ConfigMap {
362
+ /** The key value pairs dictionary in the config map. */
363
+ keyValuePairs?: {
364
+ [propertyName: string]: string;
365
+ };
366
+ }
349
367
  /** Image registry credential. */
350
368
  export interface ImageRegistryCredential {
351
369
  /** The Docker image registry server without a protocol such as "http" and "https". */
@@ -540,6 +558,20 @@ export interface ConfidentialComputeProperties {
540
558
  /** The base64 encoded confidential compute enforcement policy */
541
559
  ccePolicy?: string;
542
560
  }
561
+ /** The container group profile reference. */
562
+ export interface ContainerGroupProfileReferenceDefinition {
563
+ /** The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'. */
564
+ id?: string;
565
+ /** The container group profile reference revision. */
566
+ revision?: number;
567
+ }
568
+ /** The standby pool profile reference. */
569
+ export interface StandbyPoolProfileDefinition {
570
+ /** The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'. */
571
+ id?: string;
572
+ /** The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool. */
573
+ failContainerGroupCreateOnReuseFailure?: boolean;
574
+ }
543
575
  /** An error response from the Container Instance service. */
544
576
  export interface CloudError {
545
577
  /** An error response from the Container Instance service. */
@@ -739,9 +771,66 @@ export interface CapabilitiesCapabilities {
739
771
  */
740
772
  readonly maxGpuCount?: number;
741
773
  }
774
+ /** The container group profile list response that contains the container group profile properties. */
775
+ export interface ContainerGroupProfileListResult {
776
+ /** The list of container group profiles. */
777
+ value?: ContainerGroupProfile[];
778
+ /** The URI to fetch the next page of container group profiles. */
779
+ nextLink?: string;
780
+ }
781
+ /** The container group profile properties */
782
+ export interface ContainerGroupProfileProperties {
783
+ /** The containers within the container group. */
784
+ containers: Container[];
785
+ /** The image registry credentials by which the container group is created from. */
786
+ imageRegistryCredentials?: ImageRegistryCredential[];
787
+ /**
788
+ * Restart policy for all containers within the container group.
789
+ * - `Always` Always restart
790
+ * - `OnFailure` Restart on failure
791
+ * - `Never` Never restart
792
+ *
793
+ */
794
+ restartPolicy?: ContainerGroupRestartPolicy;
795
+ /** The IP address type of the container group. */
796
+ ipAddress?: IpAddress;
797
+ /** The operating system type required by the containers in the container group. */
798
+ osType: OperatingSystemTypes;
799
+ /** The list of volumes that can be mounted by containers in this container group. */
800
+ volumes?: Volume[];
801
+ /** The diagnostic information for a container group. */
802
+ diagnostics?: ContainerGroupDiagnostics;
803
+ /** The SKU for a container group. */
804
+ sku?: ContainerGroupSku;
805
+ /** The encryption properties for a container group. */
806
+ encryptionProperties?: EncryptionProperties;
807
+ /** The init containers for a container group. */
808
+ initContainers?: InitContainerDefinition[];
809
+ /** extensions used by virtual kubelet */
810
+ extensions?: DeploymentExtensionSpec[];
811
+ /** The properties for confidential container group */
812
+ confidentialComputeProperties?: ConfidentialComputeProperties;
813
+ /** The priority of the container group. */
814
+ priority?: ContainerGroupPriority;
815
+ /**
816
+ * The container group profile current revision number. This only appears in the response.
817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
818
+ */
819
+ readonly revision?: number;
820
+ }
821
+ /** Properties of container group profile that need to be patched */
822
+ export interface ContainerGroupProfilePatch {
823
+ /** Resource tags. */
824
+ tags?: {
825
+ [propertyName: string]: string;
826
+ };
827
+ }
742
828
  /** A container group. */
743
829
  export interface ContainerGroup extends Resource, ContainerGroupProperties {
744
830
  }
831
+ /** A container group profile. */
832
+ export interface ContainerGroupProfile extends Resource, ContainerGroupProfileProperties {
833
+ }
745
834
  /** Known values of {@link ContainerNetworkProtocol} that the service accepts. */
746
835
  export declare enum KnownContainerNetworkProtocol {
747
836
  /** TCP */
@@ -1089,6 +1178,59 @@ export interface SubnetServiceAssociationLinkDeleteOptionalParams extends coreCl
1089
1178
  resumeFrom?: string;
1090
1179
  }
1091
1180
  /** Optional parameters. */
1181
+ export interface ContainerGroupProfilesListOptionalParams extends coreClient.OperationOptions {
1182
+ }
1183
+ /** Contains response data for the list operation. */
1184
+ export type ContainerGroupProfilesListResponse = ContainerGroupProfileListResult;
1185
+ /** Optional parameters. */
1186
+ export interface ContainerGroupProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1187
+ }
1188
+ /** Contains response data for the listByResourceGroup operation. */
1189
+ export type ContainerGroupProfilesListByResourceGroupResponse = ContainerGroupProfileListResult;
1190
+ /** Optional parameters. */
1191
+ export interface ContainerGroupProfilesGetOptionalParams extends coreClient.OperationOptions {
1192
+ }
1193
+ /** Contains response data for the get operation. */
1194
+ export type ContainerGroupProfilesGetResponse = ContainerGroupProfile;
1195
+ /** Optional parameters. */
1196
+ export interface ContainerGroupProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1197
+ }
1198
+ /** Contains response data for the createOrUpdate operation. */
1199
+ export type ContainerGroupProfilesCreateOrUpdateResponse = ContainerGroupProfile;
1200
+ /** Optional parameters. */
1201
+ export interface ContainerGroupProfilesPatchOptionalParams extends coreClient.OperationOptions {
1202
+ }
1203
+ /** Contains response data for the patch operation. */
1204
+ export type ContainerGroupProfilesPatchResponse = ContainerGroupProfile;
1205
+ /** Optional parameters. */
1206
+ export interface ContainerGroupProfilesDeleteOptionalParams extends coreClient.OperationOptions {
1207
+ }
1208
+ /** Optional parameters. */
1209
+ export interface ContainerGroupProfilesListNextOptionalParams extends coreClient.OperationOptions {
1210
+ }
1211
+ /** Contains response data for the listNext operation. */
1212
+ export type ContainerGroupProfilesListNextResponse = ContainerGroupProfileListResult;
1213
+ /** Optional parameters. */
1214
+ export interface ContainerGroupProfilesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1215
+ }
1216
+ /** Contains response data for the listByResourceGroupNext operation. */
1217
+ export type ContainerGroupProfilesListByResourceGroupNextResponse = ContainerGroupProfileListResult;
1218
+ /** Optional parameters. */
1219
+ export interface ContainerGroupProfileListAllRevisionsOptionalParams extends coreClient.OperationOptions {
1220
+ }
1221
+ /** Contains response data for the listAllRevisions operation. */
1222
+ export type ContainerGroupProfileListAllRevisionsResponse = ContainerGroupProfileListResult;
1223
+ /** Optional parameters. */
1224
+ export interface ContainerGroupProfileGetByRevisionNumberOptionalParams extends coreClient.OperationOptions {
1225
+ }
1226
+ /** Contains response data for the getByRevisionNumber operation. */
1227
+ export type ContainerGroupProfileGetByRevisionNumberResponse = ContainerGroupProfile;
1228
+ /** Optional parameters. */
1229
+ export interface ContainerGroupProfileListAllRevisionsNextOptionalParams extends coreClient.OperationOptions {
1230
+ }
1231
+ /** Contains response data for the listAllRevisionsNext operation. */
1232
+ export type ContainerGroupProfileListAllRevisionsNextResponse = ContainerGroupProfileListResult;
1233
+ /** Optional parameters. */
1092
1234
  export interface ContainerInstanceManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1093
1235
  /** server parameter */
1094
1236
  $host?: string;