@azure/arm-batch 7.0.1-alpha.20220315.1 → 7.1.0-alpha.20220325.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 (222) hide show
  1. package/CHANGELOG.md +19 -11
  2. package/LICENSE +1 -1
  3. package/README.md +11 -0
  4. package/dist/index.js +207 -6
  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/applicationCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/applicationCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/applicationCreateSample.js +37 -0
  11. package/dist-esm/samples-dev/applicationCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/applicationDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/applicationDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/applicationDeleteSample.js +32 -0
  15. package/dist-esm/samples-dev/applicationDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/applicationGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/applicationGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/applicationGetSample.js +32 -0
  19. package/dist-esm/samples-dev/applicationGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/applicationListSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/applicationListSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/applicationListSample.js +45 -0
  23. package/dist-esm/samples-dev/applicationListSample.js.map +1 -0
  24. package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/applicationPackageActivateSample.js +34 -0
  27. package/dist-esm/samples-dev/applicationPackageActivateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/applicationPackageCreateSample.js +33 -0
  31. package/dist-esm/samples-dev/applicationPackageCreateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/applicationPackageDeleteSample.js +33 -0
  35. package/dist-esm/samples-dev/applicationPackageDeleteSample.js.map +1 -0
  36. package/dist-esm/samples-dev/applicationPackageGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/applicationPackageGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/applicationPackageGetSample.js +33 -0
  39. package/dist-esm/samples-dev/applicationPackageGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/applicationPackageListSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/applicationPackageListSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/applicationPackageListSample.js +46 -0
  43. package/dist-esm/samples-dev/applicationPackageListSample.js.map +1 -0
  44. package/dist-esm/samples-dev/applicationUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/applicationUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/applicationUpdateSample.js +37 -0
  47. package/dist-esm/samples-dev/applicationUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/batchAccountCreateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/batchAccountCreateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/batchAccountCreateSample.js +150 -0
  51. package/dist-esm/samples-dev/batchAccountCreateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/batchAccountDeleteSample.js +31 -0
  55. package/dist-esm/samples-dev/batchAccountDeleteSample.js.map +1 -0
  56. package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +32 -0
  59. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js.map +1 -0
  60. package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/batchAccountGetKeysSample.js +31 -0
  63. package/dist-esm/samples-dev/batchAccountGetKeysSample.js.map +1 -0
  64. package/dist-esm/samples-dev/batchAccountGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/batchAccountGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/batchAccountGetSample.js +49 -0
  67. package/dist-esm/samples-dev/batchAccountGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +44 -0
  71. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js.map +1 -0
  72. package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +45 -0
  75. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js.map +1 -0
  76. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +45 -0
  79. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
  80. package/dist-esm/samples-dev/batchAccountListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/batchAccountListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/batchAccountListSample.js +43 -0
  83. package/dist-esm/samples-dev/batchAccountListSample.js.map +1 -0
  84. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts +2 -0
  85. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +34 -0
  87. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js.map +1 -0
  88. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +31 -0
  91. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js.map +1 -0
  92. package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/batchAccountUpdateSample.js +36 -0
  95. package/dist-esm/samples-dev/batchAccountUpdateSample.js.map +1 -0
  96. package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/certificateCancelDeletionSample.js +32 -0
  99. package/dist-esm/samples-dev/certificateCancelDeletionSample.js.map +1 -0
  100. package/dist-esm/samples-dev/certificateCreateSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/certificateCreateSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/certificateCreateSample.js +85 -0
  103. package/dist-esm/samples-dev/certificateCreateSample.js.map +1 -0
  104. package/dist-esm/samples-dev/certificateDeleteSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/certificateDeleteSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/certificateDeleteSample.js +32 -0
  107. package/dist-esm/samples-dev/certificateDeleteSample.js.map +1 -0
  108. package/dist-esm/samples-dev/certificateGetSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/certificateGetSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/certificateGetSample.js +51 -0
  111. package/dist-esm/samples-dev/certificateGetSample.js.map +1 -0
  112. package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +83 -0
  115. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +1 -0
  116. package/dist-esm/samples-dev/certificateUpdateSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/certificateUpdateSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/certificateUpdateSample.js +36 -0
  119. package/dist-esm/samples-dev/certificateUpdateSample.js.map +1 -0
  120. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts +2 -0
  121. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +55 -0
  123. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js.map +1 -0
  124. package/dist-esm/samples-dev/locationGetQuotasSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/locationGetQuotasSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/locationGetQuotasSample.js +30 -0
  127. package/dist-esm/samples-dev/locationGetQuotasSample.js.map +1 -0
  128. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +44 -0
  131. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +1 -0
  132. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +44 -0
  135. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js.map +1 -0
  136. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  137. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  139. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  140. package/dist-esm/samples-dev/poolCreateSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/poolCreateSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/poolCreateSample.js +456 -0
  143. package/dist-esm/samples-dev/poolCreateSample.js.map +1 -0
  144. package/dist-esm/samples-dev/poolDeleteSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/poolDeleteSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/poolDeleteSample.js +32 -0
  147. package/dist-esm/samples-dev/poolDeleteSample.js.map +1 -0
  148. package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +32 -0
  151. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js.map +1 -0
  152. package/dist-esm/samples-dev/poolGetSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/poolGetSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/poolGetSample.js +51 -0
  155. package/dist-esm/samples-dev/poolGetSample.js.map +1 -0
  156. package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts +2 -0
  157. package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +80 -0
  159. package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +1 -0
  160. package/dist-esm/samples-dev/poolStopResizeSample.d.ts +2 -0
  161. package/dist-esm/samples-dev/poolStopResizeSample.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/poolStopResizeSample.js +32 -0
  163. package/dist-esm/samples-dev/poolStopResizeSample.js.map +1 -0
  164. package/dist-esm/samples-dev/poolUpdateSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/poolUpdateSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/poolUpdateSample.js +122 -0
  167. package/dist-esm/samples-dev/poolUpdateSample.js.map +1 -0
  168. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +32 -0
  171. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +1 -0
  172. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +45 -0
  175. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js.map +1 -0
  176. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +38 -0
  179. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
  180. package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/privateLinkResourceGetSample.js +32 -0
  183. package/dist-esm/samples-dev/privateLinkResourceGetSample.js.map +1 -0
  184. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +45 -0
  187. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js.map +1 -0
  188. package/dist-esm/src/batchManagementClient.js +2 -2
  189. package/dist-esm/src/models/index.d.ts +35 -4
  190. package/dist-esm/src/models/index.d.ts.map +1 -1
  191. package/dist-esm/src/models/mappers.d.ts +2 -0
  192. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  193. package/dist-esm/src/models/mappers.js +45 -0
  194. package/dist-esm/src/models/mappers.js.map +1 -1
  195. package/dist-esm/src/models/parameters.d.ts +1 -0
  196. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  197. package/dist-esm/src/models/parameters.js +11 -1
  198. package/dist-esm/src/models/parameters.js.map +1 -1
  199. package/dist-esm/src/operations/batchAccountOperations.d.ts +33 -1
  200. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -1
  201. package/dist-esm/src/operations/batchAccountOperations.js +147 -3
  202. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +16 -1
  204. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -1
  205. package/dist-esm/test/{sampleTest.d.ts → batch_examples.d.ts} +1 -1
  206. package/dist-esm/test/batch_examples.d.ts.map +1 -0
  207. package/dist-esm/test/{sampleTest.js → batch_examples.js} +1 -1
  208. package/dist-esm/test/batch_examples.js.map +1 -0
  209. package/package.json +24 -8
  210. package/review/arm-batch.api.md +38 -0
  211. package/rollup.config.js +6 -72
  212. package/src/batchManagementClient.ts +2 -2
  213. package/src/models/index.ts +43 -4
  214. package/src/models/mappers.ts +50 -0
  215. package/src/models/parameters.ts +12 -1
  216. package/src/operations/batchAccountOperations.ts +200 -0
  217. package/src/operationsInterfaces/batchAccountOperations.ts +29 -1
  218. package/tsconfig.json +19 -5
  219. package/types/arm-batch.d.ts +59 -4
  220. package/types/tsdoc-metadata.json +1 -1
  221. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  222. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -0,0 +1,456 @@
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 regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { BatchManagementClient } from "@azure/arm-batch";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates a new pool inside the specified account.
15
+ *
16
+ * @summary Creates a new pool inside the specified account.
17
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_SharedImageGallery.json
18
+ */
19
+ function createPoolCustomImage() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "default-azurebatch-japaneast";
23
+ const accountName = "sampleacct";
24
+ const poolName = "testpool";
25
+ const parameters = {
26
+ deploymentConfiguration: {
27
+ virtualMachineConfiguration: {
28
+ imageReference: {
29
+ id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"
30
+ },
31
+ nodeAgentSkuId: "batch.node.ubuntu 18.04"
32
+ }
33
+ },
34
+ vmSize: "STANDARD_D4"
35
+ };
36
+ const credential = new DefaultAzureCredential();
37
+ const client = new BatchManagementClient(credential, subscriptionId);
38
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
39
+ console.log(result);
40
+ });
41
+ }
42
+ createPoolCustomImage().catch(console.error);
43
+ /**
44
+ * This sample demonstrates how to Creates a new pool inside the specified account.
45
+ *
46
+ * @summary Creates a new pool inside the specified account.
47
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_CloudServiceConfiguration.json
48
+ */
49
+ function createPoolFullCloudServiceConfiguration() {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ const subscriptionId = "subid";
52
+ const resourceGroupName = "default-azurebatch-japaneast";
53
+ const accountName = "sampleacct";
54
+ const poolName = "testpool";
55
+ const parameters = {
56
+ applicationLicenses: ["app-license0", "app-license1"],
57
+ applicationPackages: [
58
+ {
59
+ id: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234",
60
+ version: "asdf"
61
+ }
62
+ ],
63
+ certificates: [
64
+ {
65
+ id: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567",
66
+ storeLocation: "LocalMachine",
67
+ storeName: "MY",
68
+ visibility: ["RemoteUser"]
69
+ }
70
+ ],
71
+ deploymentConfiguration: {
72
+ cloudServiceConfiguration: {
73
+ osFamily: "4",
74
+ osVersion: "WA-GUEST-OS-4.45_201708-01"
75
+ }
76
+ },
77
+ displayName: "my-pool-name",
78
+ interNodeCommunication: "Enabled",
79
+ metadata: [
80
+ { name: "metadata-1", value: "value-1" },
81
+ { name: "metadata-2", value: "value-2" }
82
+ ],
83
+ networkConfiguration: {
84
+ publicIPAddressConfiguration: {
85
+ ipAddressIds: [
86
+ "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135",
87
+ "/subscriptions/subid2/resourceGroups/rg24/providers/Microsoft.Network/publicIPAddresses/ip268"
88
+ ],
89
+ provision: "UserManaged"
90
+ },
91
+ subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"
92
+ },
93
+ scaleSettings: {
94
+ fixedScale: {
95
+ nodeDeallocationOption: "TaskCompletion",
96
+ resizeTimeout: "PT8M",
97
+ targetDedicatedNodes: 6,
98
+ targetLowPriorityNodes: 28
99
+ }
100
+ },
101
+ startTask: {
102
+ commandLine: "cmd /c SET",
103
+ environmentSettings: [{ name: "MYSET", value: "1234" }],
104
+ maxTaskRetryCount: 6,
105
+ resourceFiles: [
106
+ {
107
+ fileMode: "777",
108
+ filePath: "c:\tempgohere",
109
+ httpUrl: "https://testaccount.blob.core.windows.net/example-blob-file"
110
+ }
111
+ ],
112
+ userIdentity: { autoUser: { elevationLevel: "Admin", scope: "Pool" } },
113
+ waitForSuccess: true
114
+ },
115
+ taskSchedulingPolicy: { nodeFillType: "Pack" },
116
+ taskSlotsPerNode: 13,
117
+ userAccounts: [
118
+ {
119
+ name: "username1",
120
+ elevationLevel: "Admin",
121
+ linuxUserConfiguration: {
122
+ gid: 4567,
123
+ sshPrivateKey: "sshprivatekeyvalue",
124
+ uid: 1234
125
+ },
126
+ password: "<ExamplePassword>"
127
+ }
128
+ ],
129
+ vmSize: "STANDARD_D4"
130
+ };
131
+ const credential = new DefaultAzureCredential();
132
+ const client = new BatchManagementClient(credential, subscriptionId);
133
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
134
+ console.log(result);
135
+ });
136
+ }
137
+ createPoolFullCloudServiceConfiguration().catch(console.error);
138
+ /**
139
+ * This sample demonstrates how to Creates a new pool inside the specified account.
140
+ *
141
+ * @summary Creates a new pool inside the specified account.
142
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_VirtualMachineConfiguration.json
143
+ */
144
+ function createPoolFullVirtualMachineConfiguration() {
145
+ return __awaiter(this, void 0, void 0, function* () {
146
+ const subscriptionId = "subid";
147
+ const resourceGroupName = "default-azurebatch-japaneast";
148
+ const accountName = "sampleacct";
149
+ const poolName = "testpool";
150
+ const parameters = {
151
+ deploymentConfiguration: {
152
+ virtualMachineConfiguration: {
153
+ dataDisks: [
154
+ {
155
+ caching: "ReadWrite",
156
+ diskSizeGB: 30,
157
+ lun: 0,
158
+ storageAccountType: "Premium_LRS"
159
+ },
160
+ {
161
+ caching: "None",
162
+ diskSizeGB: 200,
163
+ lun: 1,
164
+ storageAccountType: "Standard_LRS"
165
+ }
166
+ ],
167
+ diskEncryptionConfiguration: { targets: ["OsDisk", "TemporaryDisk"] },
168
+ imageReference: {
169
+ offer: "WindowsServer",
170
+ publisher: "MicrosoftWindowsServer",
171
+ sku: "2016-Datacenter-SmallDisk",
172
+ version: "latest"
173
+ },
174
+ licenseType: "Windows_Server",
175
+ nodeAgentSkuId: "batch.node.windows amd64",
176
+ nodePlacementConfiguration: { policy: "Zonal" },
177
+ osDisk: { ephemeralOSDiskSettings: { placement: "CacheDisk" } },
178
+ windowsConfiguration: { enableAutomaticUpdates: false }
179
+ }
180
+ },
181
+ networkConfiguration: {
182
+ endpointConfiguration: {
183
+ inboundNatPools: [
184
+ {
185
+ name: "testnat",
186
+ backendPort: 12001,
187
+ frontendPortRangeEnd: 15100,
188
+ frontendPortRangeStart: 15000,
189
+ networkSecurityGroupRules: [
190
+ {
191
+ access: "Allow",
192
+ priority: 150,
193
+ sourceAddressPrefix: "192.100.12.45",
194
+ sourcePortRanges: ["1", "2"]
195
+ },
196
+ {
197
+ access: "Deny",
198
+ priority: 3500,
199
+ sourceAddressPrefix: "*",
200
+ sourcePortRanges: ["*"]
201
+ }
202
+ ],
203
+ protocol: "TCP"
204
+ }
205
+ ]
206
+ }
207
+ },
208
+ scaleSettings: {
209
+ autoScale: {
210
+ evaluationInterval: "PT5M",
211
+ formula: "$TargetDedicatedNodes=1"
212
+ }
213
+ },
214
+ vmSize: "STANDARD_D4"
215
+ };
216
+ const credential = new DefaultAzureCredential();
217
+ const client = new BatchManagementClient(credential, subscriptionId);
218
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
219
+ console.log(result);
220
+ });
221
+ }
222
+ createPoolFullVirtualMachineConfiguration().catch(console.error);
223
+ /**
224
+ * This sample demonstrates how to Creates a new pool inside the specified account.
225
+ *
226
+ * @summary Creates a new pool inside the specified account.
227
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
228
+ */
229
+ function createPoolMinimalCloudServiceConfiguration() {
230
+ return __awaiter(this, void 0, void 0, function* () {
231
+ const subscriptionId = "subid";
232
+ const resourceGroupName = "default-azurebatch-japaneast";
233
+ const accountName = "sampleacct";
234
+ const poolName = "testpool";
235
+ const parameters = {
236
+ deploymentConfiguration: { cloudServiceConfiguration: { osFamily: "5" } },
237
+ scaleSettings: { fixedScale: { targetDedicatedNodes: 3 } },
238
+ vmSize: "STANDARD_D4"
239
+ };
240
+ const credential = new DefaultAzureCredential();
241
+ const client = new BatchManagementClient(credential, subscriptionId);
242
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
243
+ console.log(result);
244
+ });
245
+ }
246
+ createPoolMinimalCloudServiceConfiguration().catch(console.error);
247
+ /**
248
+ * This sample demonstrates how to Creates a new pool inside the specified account.
249
+ *
250
+ * @summary Creates a new pool inside the specified account.
251
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
252
+ */
253
+ function createPoolMinimalVirtualMachineConfiguration() {
254
+ return __awaiter(this, void 0, void 0, function* () {
255
+ const subscriptionId = "subid";
256
+ const resourceGroupName = "default-azurebatch-japaneast";
257
+ const accountName = "sampleacct";
258
+ const poolName = "testpool";
259
+ const parameters = {
260
+ deploymentConfiguration: {
261
+ virtualMachineConfiguration: {
262
+ imageReference: {
263
+ offer: "UbuntuServer",
264
+ publisher: "Canonical",
265
+ sku: "18.04-LTS",
266
+ version: "latest"
267
+ },
268
+ nodeAgentSkuId: "batch.node.ubuntu 18.04"
269
+ }
270
+ },
271
+ scaleSettings: {
272
+ autoScale: {
273
+ evaluationInterval: "PT5M",
274
+ formula: "$TargetDedicatedNodes=1"
275
+ }
276
+ },
277
+ vmSize: "STANDARD_D4"
278
+ };
279
+ const credential = new DefaultAzureCredential();
280
+ const client = new BatchManagementClient(credential, subscriptionId);
281
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
282
+ console.log(result);
283
+ });
284
+ }
285
+ createPoolMinimalVirtualMachineConfiguration().catch(console.error);
286
+ /**
287
+ * This sample demonstrates how to Creates a new pool inside the specified account.
288
+ *
289
+ * @summary Creates a new pool inside the specified account.
290
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_NoPublicIPAddresses.json
291
+ */
292
+ function createPoolNoPublicIP() {
293
+ return __awaiter(this, void 0, void 0, function* () {
294
+ const subscriptionId = "subid";
295
+ const resourceGroupName = "default-azurebatch-japaneast";
296
+ const accountName = "sampleacct";
297
+ const poolName = "testpool";
298
+ const parameters = {
299
+ deploymentConfiguration: {
300
+ virtualMachineConfiguration: {
301
+ imageReference: {
302
+ id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"
303
+ },
304
+ nodeAgentSkuId: "batch.node.ubuntu 18.04"
305
+ }
306
+ },
307
+ networkConfiguration: {
308
+ publicIPAddressConfiguration: { provision: "NoPublicIPAddresses" },
309
+ subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"
310
+ },
311
+ vmSize: "STANDARD_D4"
312
+ };
313
+ const credential = new DefaultAzureCredential();
314
+ const client = new BatchManagementClient(credential, subscriptionId);
315
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
316
+ console.log(result);
317
+ });
318
+ }
319
+ createPoolNoPublicIP().catch(console.error);
320
+ /**
321
+ * This sample demonstrates how to Creates a new pool inside the specified account.
322
+ *
323
+ * @summary Creates a new pool inside the specified account.
324
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_PublicIPs.json
325
+ */
326
+ function createPoolPublicIPs() {
327
+ return __awaiter(this, void 0, void 0, function* () {
328
+ const subscriptionId = "subid";
329
+ const resourceGroupName = "default-azurebatch-japaneast";
330
+ const accountName = "sampleacct";
331
+ const poolName = "testpool";
332
+ const parameters = {
333
+ deploymentConfiguration: {
334
+ virtualMachineConfiguration: {
335
+ imageReference: {
336
+ id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"
337
+ },
338
+ nodeAgentSkuId: "batch.node.ubuntu 18.04"
339
+ }
340
+ },
341
+ networkConfiguration: {
342
+ publicIPAddressConfiguration: {
343
+ ipAddressIds: [
344
+ "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"
345
+ ],
346
+ provision: "UserManaged"
347
+ },
348
+ subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"
349
+ },
350
+ vmSize: "STANDARD_D4"
351
+ };
352
+ const credential = new DefaultAzureCredential();
353
+ const client = new BatchManagementClient(credential, subscriptionId);
354
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
355
+ console.log(result);
356
+ });
357
+ }
358
+ createPoolPublicIPs().catch(console.error);
359
+ /**
360
+ * This sample demonstrates how to Creates a new pool inside the specified account.
361
+ *
362
+ * @summary Creates a new pool inside the specified account.
363
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_UserAssignedIdentities.json
364
+ */
365
+ function createPoolUserAssignedIdentities() {
366
+ return __awaiter(this, void 0, void 0, function* () {
367
+ const subscriptionId = "subid";
368
+ const resourceGroupName = "default-azurebatch-japaneast";
369
+ const accountName = "sampleacct";
370
+ const poolName = "testpool";
371
+ const parameters = {
372
+ deploymentConfiguration: {
373
+ virtualMachineConfiguration: {
374
+ imageReference: {
375
+ offer: "UbuntuServer",
376
+ publisher: "Canonical",
377
+ sku: "18.04-LTS",
378
+ version: "latest"
379
+ },
380
+ nodeAgentSkuId: "batch.node.ubuntu 18.04"
381
+ }
382
+ },
383
+ identity: {
384
+ type: "UserAssigned",
385
+ userAssignedIdentities: {
386
+ "/subscriptions/subid/resourceGroups/defaultAzurebatchJapaneast/providers/MicrosoftManagedIdentity/userAssignedIdentities/id1": {},
387
+ "/subscriptions/subid/resourceGroups/defaultAzurebatchJapaneast/providers/MicrosoftManagedIdentity/userAssignedIdentities/id2": {}
388
+ }
389
+ },
390
+ scaleSettings: {
391
+ autoScale: {
392
+ evaluationInterval: "PT5M",
393
+ formula: "$TargetDedicatedNodes=1"
394
+ }
395
+ },
396
+ vmSize: "STANDARD_D4"
397
+ };
398
+ const credential = new DefaultAzureCredential();
399
+ const client = new BatchManagementClient(credential, subscriptionId);
400
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
401
+ console.log(result);
402
+ });
403
+ }
404
+ createPoolUserAssignedIdentities().catch(console.error);
405
+ /**
406
+ * This sample demonstrates how to Creates a new pool inside the specified account.
407
+ *
408
+ * @summary Creates a new pool inside the specified account.
409
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolCreate_VirtualMachineConfiguration_Extensions.json
410
+ */
411
+ function createPoolVirtualMachineConfigurationExtensions() {
412
+ return __awaiter(this, void 0, void 0, function* () {
413
+ const subscriptionId = "subid";
414
+ const resourceGroupName = "default-azurebatch-japaneast";
415
+ const accountName = "sampleacct";
416
+ const poolName = "testpool";
417
+ const parameters = {
418
+ deploymentConfiguration: {
419
+ virtualMachineConfiguration: {
420
+ imageReference: {
421
+ offer: "0001-com-ubuntu-server-focal",
422
+ publisher: "Canonical",
423
+ sku: "20_04-lts"
424
+ },
425
+ nodeAgentSkuId: "batch.node.ubuntu 20.04",
426
+ extensions: [
427
+ {
428
+ name: "batchextension1",
429
+ type: "SecurityMonitoringForLinux",
430
+ autoUpgradeMinorVersion: true,
431
+ protectedSettings: {
432
+ protectedSettingsKey: "protectedSettingsValue"
433
+ },
434
+ publisher: "Microsoft.Azure.Security.Monitoring",
435
+ settings: { settingsKey: "settingsValue" },
436
+ typeHandlerVersion: "1.0"
437
+ }
438
+ ]
439
+ }
440
+ },
441
+ scaleSettings: {
442
+ autoScale: {
443
+ evaluationInterval: "PT5M",
444
+ formula: "$TargetDedicatedNodes=1"
445
+ }
446
+ },
447
+ vmSize: "STANDARD_D4"
448
+ };
449
+ const credential = new DefaultAzureCredential();
450
+ const client = new BatchManagementClient(credential, subscriptionId);
451
+ const result = yield client.poolOperations.create(resourceGroupName, accountName, poolName, parameters);
452
+ console.log(result);
453
+ });
454
+ }
455
+ createPoolVirtualMachineConfigurationExtensions().catch(console.error);
456
+ //# sourceMappingURL=poolCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolCreateSample.js","sourceRoot":"","sources":["../../samples-dev/poolCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAQ,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAS;YACvB,uBAAuB,EAAE;gBACvB,2BAA2B,EAAE;oBAC3B,cAAc,EAAE;wBACd,EAAE,EACA,2IAA2I;qBAC9I;oBACD,cAAc,EAAE,yBAAyB;iBAC1C;aACF;YACD,MAAM,EAAE,aAAa;SACtB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAA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AC1B,OAAO,EAAE,yBAAyB;iBACnC;aACF;YACD,MAAM,EAAE,aAAa;SACtB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,MAAM,CAC/C,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+CAA+C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=poolDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/poolDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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 regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { BatchManagementClient } from "@azure/arm-batch";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes the specified pool.
15
+ *
16
+ * @summary Deletes the specified pool.
17
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolDelete.json
18
+ */
19
+ function deletePool() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "default-azurebatch-japaneast";
23
+ const accountName = "sampleacct";
24
+ const poolName = "testpool";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new BatchManagementClient(credential, subscriptionId);
27
+ const result = yield client.poolOperations.beginDeleteAndWait(resourceGroupName, accountName, poolName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ deletePool().catch(console.error);
32
+ //# sourceMappingURL=poolDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/poolDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,UAAU;;QACvB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,UAAU,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=poolDisableAutoScaleSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolDisableAutoScaleSample.d.ts","sourceRoot":"","sources":["../../samples-dev/poolDisableAutoScaleSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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 regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { BatchManagementClient } from "@azure/arm-batch";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Disables automatic scaling for a pool.
15
+ *
16
+ * @summary Disables automatic scaling for a pool.
17
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolDisableAutoScale.json
18
+ */
19
+ function disableAutoScale() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "default-azurebatch-japaneast";
23
+ const accountName = "sampleacct";
24
+ const poolName = "testpool";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new BatchManagementClient(credential, subscriptionId);
27
+ const result = yield client.poolOperations.disableAutoScale(resourceGroupName, accountName, poolName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ disableAutoScale().catch(console.error);
32
+ //# sourceMappingURL=poolDisableAutoScaleSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolDisableAutoScaleSample.js","sourceRoot":"","sources":["../../samples-dev/poolDisableAutoScaleSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,gBAAgB,CACzD,iBAAiB,EACjB,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=poolGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/poolGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
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 regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { BatchManagementClient } from "@azure/arm-batch";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets information about the specified pool.
15
+ *
16
+ * @summary Gets information about the specified pool.
17
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolGet.json
18
+ */
19
+ function getPool() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "subid";
22
+ const resourceGroupName = "default-azurebatch-japaneast";
23
+ const accountName = "sampleacct";
24
+ const poolName = "testpool";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new BatchManagementClient(credential, subscriptionId);
27
+ const result = yield client.poolOperations.get(resourceGroupName, accountName, poolName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ getPool().catch(console.error);
32
+ /**
33
+ * This sample demonstrates how to Gets information about the specified pool.
34
+ *
35
+ * @summary Gets information about the specified pool.
36
+ * x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json
37
+ */
38
+ function getPoolVirtualMachineConfigurationExtensions() {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ const subscriptionId = "subid";
41
+ const resourceGroupName = "default-azurebatch-japaneast";
42
+ const accountName = "sampleacct";
43
+ const poolName = "testpool";
44
+ const credential = new DefaultAzureCredential();
45
+ const client = new BatchManagementClient(credential, subscriptionId);
46
+ const result = yield client.poolOperations.get(resourceGroupName, accountName, poolName);
47
+ console.log(result);
48
+ });
49
+ }
50
+ getPoolVirtualMachineConfigurationExtensions().catch(console.error);
51
+ //# sourceMappingURL=poolGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolGetSample.js","sourceRoot":"","sources":["../../samples-dev/poolGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,OAAO;;QACpB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,iBAAiB,EACjB,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,OAAO,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAE/B;;;;;GAKG;AACH,SAAe,4CAA4C;;QACzD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,iBAAiB,EACjB,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4CAA4C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=poolListByBatchAccountSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolListByBatchAccountSample.d.ts","sourceRoot":"","sources":["../../samples-dev/poolListByBatchAccountSample.ts"],"names":[],"mappings":""}