@azure/arm-containerservice 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/LICENSE.txt +21 -0
  2. package/README.md +106 -0
  3. package/dist/arm-containerservice.js +6451 -0
  4. package/dist/arm-containerservice.js.map +1 -0
  5. package/dist/arm-containerservice.min.js +1 -0
  6. package/dist/arm-containerservice.min.js.map +1 -0
  7. package/esm/containerServiceClient.d.ts +32 -0
  8. package/esm/containerServiceClient.d.ts.map +1 -0
  9. package/esm/containerServiceClient.js +45 -0
  10. package/esm/containerServiceClient.js.map +1 -0
  11. package/esm/containerServiceClientContext.d.ts +23 -0
  12. package/esm/containerServiceClientContext.d.ts.map +1 -0
  13. package/esm/containerServiceClientContext.js +61 -0
  14. package/esm/containerServiceClientContext.js.map +1 -0
  15. package/esm/models/agentPoolsMappers.d.ts +2 -0
  16. package/esm/models/agentPoolsMappers.d.ts.map +1 -0
  17. package/esm/models/agentPoolsMappers.js +9 -0
  18. package/esm/models/agentPoolsMappers.js.map +1 -0
  19. package/esm/models/index.d.ts +3479 -0
  20. package/esm/models/index.d.ts.map +1 -0
  21. package/esm/models/index.js +8 -0
  22. package/esm/models/index.js.map +1 -0
  23. package/esm/models/maintenanceConfigurationsMappers.d.ts +2 -0
  24. package/esm/models/maintenanceConfigurationsMappers.d.ts.map +1 -0
  25. package/esm/models/maintenanceConfigurationsMappers.js +9 -0
  26. package/esm/models/maintenanceConfigurationsMappers.js.map +1 -0
  27. package/esm/models/managedClustersMappers.d.ts +2 -0
  28. package/esm/models/managedClustersMappers.d.ts.map +1 -0
  29. package/esm/models/managedClustersMappers.js +9 -0
  30. package/esm/models/managedClustersMappers.js.map +1 -0
  31. package/esm/models/mappers.d.ts +88 -0
  32. package/esm/models/mappers.d.ts.map +1 -0
  33. package/esm/models/mappers.js +3516 -0
  34. package/esm/models/mappers.js.map +1 -0
  35. package/esm/models/operationsMappers.d.ts +2 -0
  36. package/esm/models/operationsMappers.d.ts.map +1 -0
  37. package/esm/models/operationsMappers.js +9 -0
  38. package/esm/models/operationsMappers.js.map +1 -0
  39. package/esm/models/parameters.d.ts +16 -0
  40. package/esm/models/parameters.d.ts.map +1 -0
  41. package/esm/models/parameters.js +162 -0
  42. package/esm/models/parameters.js.map +1 -0
  43. package/esm/models/privateEndpointConnectionsMappers.d.ts +2 -0
  44. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +1 -0
  45. package/esm/models/privateEndpointConnectionsMappers.js +9 -0
  46. package/esm/models/privateEndpointConnectionsMappers.js.map +1 -0
  47. package/esm/models/privateLinkResourcesMappers.d.ts +2 -0
  48. package/esm/models/privateLinkResourcesMappers.d.ts.map +1 -0
  49. package/esm/models/privateLinkResourcesMappers.js +9 -0
  50. package/esm/models/privateLinkResourcesMappers.js.map +1 -0
  51. package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts +2 -0
  52. package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts.map +1 -0
  53. package/esm/models/resolvePrivateLinkServiceIdMappers.js +9 -0
  54. package/esm/models/resolvePrivateLinkServiceIdMappers.js.map +1 -0
  55. package/esm/models/snapshotsMappers.d.ts +2 -0
  56. package/esm/models/snapshotsMappers.d.ts.map +1 -0
  57. package/esm/models/snapshotsMappers.js +9 -0
  58. package/esm/models/snapshotsMappers.js.map +1 -0
  59. package/esm/operations/agentPools.d.ts +187 -0
  60. package/esm/operations/agentPools.d.ts.map +1 -0
  61. package/esm/operations/agentPools.js +359 -0
  62. package/esm/operations/agentPools.js.map +1 -0
  63. package/esm/operations/index.d.ts +9 -0
  64. package/esm/operations/index.d.ts.map +1 -0
  65. package/esm/operations/index.js +17 -0
  66. package/esm/operations/index.js.map +1 -0
  67. package/esm/operations/maintenanceConfigurations.d.ts +127 -0
  68. package/esm/operations/maintenanceConfigurations.d.ts.map +1 -0
  69. package/esm/operations/maintenanceConfigurations.js +190 -0
  70. package/esm/operations/maintenanceConfigurations.js.map +1 -0
  71. package/esm/operations/managedClusters.d.ts +487 -0
  72. package/esm/operations/managedClusters.d.ts.map +1 -0
  73. package/esm/operations/managedClusters.js +956 -0
  74. package/esm/operations/managedClusters.js.map +1 -0
  75. package/esm/operations/operations.d.ts +28 -0
  76. package/esm/operations/operations.d.ts.map +1 -0
  77. package/esm/operations/operations.js +50 -0
  78. package/esm/operations/operations.js.map +1 -0
  79. package/esm/operations/privateEndpointConnections.d.ts +106 -0
  80. package/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  81. package/esm/operations/privateEndpointConnections.js +181 -0
  82. package/esm/operations/privateEndpointConnections.js.map +1 -0
  83. package/esm/operations/privateLinkResources.d.ts +35 -0
  84. package/esm/operations/privateLinkResources.d.ts.map +1 -0
  85. package/esm/operations/privateLinkResources.js +57 -0
  86. package/esm/operations/privateLinkResources.js.map +1 -0
  87. package/esm/operations/resolvePrivateLinkServiceId.d.ts +37 -0
  88. package/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -0
  89. package/esm/operations/resolvePrivateLinkServiceId.js +63 -0
  90. package/esm/operations/resolvePrivateLinkServiceId.js.map +1 -0
  91. package/esm/operations/snapshots.d.ts +172 -0
  92. package/esm/operations/snapshots.d.ts.map +1 -0
  93. package/esm/operations/snapshots.js +277 -0
  94. package/esm/operations/snapshots.js.map +1 -0
  95. package/package.json +59 -0
  96. package/rollup.config.js +37 -0
  97. package/src/containerServiceClient.ts +62 -0
  98. package/src/containerServiceClientContext.ts +68 -0
  99. package/src/models/agentPoolsMappers.ts +72 -0
  100. package/src/models/index.ts +3679 -0
  101. package/src/models/maintenanceConfigurationsMappers.ts +68 -0
  102. package/src/models/managedClustersMappers.ts +82 -0
  103. package/src/models/mappers.ts +3695 -0
  104. package/src/models/operationsMappers.ts +13 -0
  105. package/src/models/parameters.ts +164 -0
  106. package/src/models/privateEndpointConnectionsMappers.ts +68 -0
  107. package/src/models/privateLinkResourcesMappers.ts +13 -0
  108. package/src/models/resolvePrivateLinkServiceIdMappers.ts +12 -0
  109. package/src/models/snapshotsMappers.ts +69 -0
  110. package/src/operations/agentPools.ts +519 -0
  111. package/src/operations/index.ts +17 -0
  112. package/src/operations/maintenanceConfigurations.ts +334 -0
  113. package/src/operations/managedClusters.ts +1391 -0
  114. package/src/operations/operations.ts +73 -0
  115. package/src/operations/privateEndpointConnections.ts +282 -0
  116. package/src/operations/privateLinkResources.ts +87 -0
  117. package/src/operations/resolvePrivateLinkServiceId.ts +97 -0
  118. package/src/operations/snapshots.ts +484 -0
  119. package/tsconfig.json +19 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshots.js","sourceRoot":"","sources":["../../src/operations/snapshots.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,wBAAI,GAAJ,UAAK,OAAuF,EAAE,QAA4D;QACxJ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA0C,CAAC;IACvD,CAAC;IAoBD,uCAAmB,GAAnB,UAAoB,iBAAyB,EAAE,OAAuF,EAAE,QAA4D;QAClM,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,OAAO,SAAA;SACR,EACD,gCAAgC,EAChC,QAAQ,CAAyD,CAAC;IACtE,CAAC;IAuBD,uBAAG,GAAH,UAAI,iBAAyB,EAAE,YAAoB,EAAE,OAA6E,EAAE,QAAkD;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IA0BD,kCAAc,GAAd,UAAe,iBAAyB,EAAE,YAAoB,EAAE,UAA2B,EAAE,OAA6E,EAAE,QAAkD;QAC5N,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAAoD,CAAC;IACjE,CAAC;IA0BD,8BAAU,GAAV,UAAW,iBAAyB,EAAE,YAAoB,EAAE,UAA6B,EAAE,OAA6E,EAAE,QAAkD;QAC1N,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,uBAAuB,EACvB,QAAQ,CAAgD,CAAC;IAC7D,CAAC;IAuBD,gCAAY,GAAZ,UAAa,iBAAyB,EAAE,YAAoB,EAAE,OAAkE,EAAE,QAAuC;QACvK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,yBAAyB,EACzB,QAAQ,CAAC,CAAC;IACd,CAAC;IAoBD,4BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAuF,EAAE,QAA4D;QAClL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAoBD,2CAAuB,GAAvB,UAAwB,YAAoB,EAAE,OAAuF,EAAE,QAA4D;QACjM,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,oCAAoC,EACpC,QAAQ,CAA6D,CAAC;IAC1E,CAAC;IACH,gBAAC;AAAD,CAAC,AA9PD,IA8PC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,+EAA+E;IACrF,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,gCAAgC,GAAyB;IAC7D,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,kHAAkH;IACxH,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,gBAAgB,GAAyB;IAC7C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,iIAAiI;IACvI,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,2BAA2B,GAAyB;IACxD,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,iIAAiI;IACvI,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,QAAQ,KACnB,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,uBAAuB,GAAyB;IACpD,UAAU,EAAE,OAAO;IACnB,IAAI,EAAE,iIAAiI;IACvI,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,UAAU,KACrB,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,yBAAyB,GAAyB;IACtD,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,iIAAiI;IACvI,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@azure/arm-containerservice",
3
+ "author": "Microsoft Corporation",
4
+ "description": "ContainerServiceClient Library with typescript type definitions for node.js and browser.",
5
+ "version": "14.1.0",
6
+ "dependencies": {
7
+ "@azure/ms-rest-azure-js": "^2.1.0",
8
+ "@azure/ms-rest-js": "^2.2.0",
9
+ "@azure/core-auth": "^1.1.4",
10
+ "tslib": "^1.10.0"
11
+ },
12
+ "keywords": [
13
+ "node",
14
+ "azure",
15
+ "typescript",
16
+ "browser",
17
+ "isomorphic"
18
+ ],
19
+ "license": "MIT",
20
+ "main": "./dist/arm-containerservice.js",
21
+ "module": "./esm/containerServiceClient.js",
22
+ "types": "./esm/containerServiceClient.d.ts",
23
+ "devDependencies": {
24
+ "typescript": "^3.6.0",
25
+ "rollup": "^1.18.0",
26
+ "rollup-plugin-node-resolve": "^5.2.0",
27
+ "rollup-plugin-sourcemaps": "^0.4.2",
28
+ "uglify-js": "^3.6.0"
29
+ },
30
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/containerservice/arm-containerservice",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/Azure/azure-sdk-for-js.git"
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
37
+ },
38
+ "files": [
39
+ "dist/**/*.js",
40
+ "dist/**/*.js.map",
41
+ "dist/**/*.d.ts",
42
+ "dist/**/*.d.ts.map",
43
+ "esm/**/*.js",
44
+ "esm/**/*.js.map",
45
+ "esm/**/*.d.ts",
46
+ "esm/**/*.d.ts.map",
47
+ "src/**/*.ts",
48
+ "README.md",
49
+ "rollup.config.js",
50
+ "tsconfig.json"
51
+ ],
52
+ "scripts": {
53
+ "build": "tsc && rollup -c rollup.config.js && npm run minify",
54
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-containerservice.js.map'\" -o ./dist/arm-containerservice.min.js ./dist/arm-containerservice.js",
55
+ "prepack": "npm install && npm run build"
56
+ },
57
+ "sideEffects": false,
58
+ "autoPublish": true
59
+ }
@@ -0,0 +1,37 @@
1
+ import rollup from "rollup";
2
+ import nodeResolve from "rollup-plugin-node-resolve";
3
+ import sourcemaps from "rollup-plugin-sourcemaps";
4
+
5
+ /**
6
+ * @type {rollup.RollupFileOptions}
7
+ */
8
+ const config = {
9
+ input: "./esm/containerServiceClient.js",
10
+ external: [
11
+ "@azure/ms-rest-js",
12
+ "@azure/ms-rest-azure-js"
13
+ ],
14
+ output: {
15
+ file: "./dist/arm-containerservice.js",
16
+ format: "umd",
17
+ name: "Azure.ArmContainerservice",
18
+ sourcemap: true,
19
+ globals: {
20
+ "@azure/ms-rest-js": "msRest",
21
+ "@azure/ms-rest-azure-js": "msRestAzure"
22
+ },
23
+ banner: `/*
24
+ * Copyright (c) Microsoft Corporation.
25
+ * Licensed under the MIT License.
26
+ *
27
+ * Code generated by Microsoft (R) AutoRest Code Generator.
28
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
29
+ */`
30
+ },
31
+ plugins: [
32
+ nodeResolve({ mainFields: ['module', 'main'] }),
33
+ sourcemaps()
34
+ ]
35
+ };
36
+
37
+ export default config;
@@ -0,0 +1,62 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is
7
+ * regenerated.
8
+ */
9
+
10
+ import * as msRest from "@azure/ms-rest-js";
11
+ import { TokenCredential } from "@azure/core-auth";
12
+ import * as Models from "./models";
13
+ import * as Mappers from "./models/mappers";
14
+ import * as operations from "./operations";
15
+ import { ContainerServiceClientContext } from "./containerServiceClientContext";
16
+
17
+
18
+ class ContainerServiceClient extends ContainerServiceClientContext {
19
+ // Operation groups
20
+ operations: operations.Operations;
21
+ managedClusters: operations.ManagedClusters;
22
+ maintenanceConfigurations: operations.MaintenanceConfigurations;
23
+ agentPools: operations.AgentPools;
24
+ privateEndpointConnections: operations.PrivateEndpointConnections;
25
+ privateLinkResources: operations.PrivateLinkResources;
26
+ resolvePrivateLinkServiceId: operations.ResolvePrivateLinkServiceId;
27
+ snapshots: operations.Snapshots;
28
+
29
+ /**
30
+ * Initializes a new instance of the ContainerServiceClient class.
31
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
32
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
33
+ * more information about these credentials, see
34
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
35
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
36
+ * @azure/ms-rest-browserauth are also supported.
37
+ * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
38
+ * subscription. The subscription ID forms part of the URI for every service call.
39
+ * @param [options] The parameter options
40
+ */
41
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerServiceClientOptions) {
42
+ super(credentials, subscriptionId, options);
43
+ this.operations = new operations.Operations(this);
44
+ this.managedClusters = new operations.ManagedClusters(this);
45
+ this.maintenanceConfigurations = new operations.MaintenanceConfigurations(this);
46
+ this.agentPools = new operations.AgentPools(this);
47
+ this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
48
+ this.privateLinkResources = new operations.PrivateLinkResources(this);
49
+ this.resolvePrivateLinkServiceId = new operations.ResolvePrivateLinkServiceId(this);
50
+ this.snapshots = new operations.Snapshots(this);
51
+ }
52
+ }
53
+
54
+ // Operation Specifications
55
+
56
+ export {
57
+ ContainerServiceClient,
58
+ ContainerServiceClientContext,
59
+ Models as ContainerServiceModels,
60
+ Mappers as ContainerServiceMappers
61
+ };
62
+ export * from "./operations";
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is
7
+ * regenerated.
8
+ */
9
+
10
+ import * as Models from "./models";
11
+ import * as msRest from "@azure/ms-rest-js";
12
+ import * as msRestAzure from "@azure/ms-rest-azure-js";
13
+ import { TokenCredential } from "@azure/core-auth";
14
+
15
+ const packageName = "@azure/arm-containerservice";
16
+ const packageVersion = "14.1.0";
17
+
18
+ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClient {
19
+ credentials: msRest.ServiceClientCredentials | TokenCredential;
20
+ subscriptionId: string;
21
+ apiVersion?: string;
22
+
23
+ /**
24
+ * Initializes a new instance of the ContainerServiceClient class.
25
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
+ * more information about these credentials, see
28
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
+ * @azure/ms-rest-browserauth are also supported.
31
+ * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
32
+ * subscription. The subscription ID forms part of the URI for every service call.
33
+ * @param [options] The parameter options
34
+ */
35
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerServiceClientOptions) {
36
+ if (credentials == undefined) {
37
+ throw new Error('\'credentials\' cannot be null.');
38
+ }
39
+ if (subscriptionId == undefined) {
40
+ throw new Error('\'subscriptionId\' cannot be null.');
41
+ }
42
+
43
+ if (!options) {
44
+ options = {};
45
+ }
46
+ if (!options.userAgent) {
47
+ const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
+ options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
+ }
50
+
51
+ super(credentials, options);
52
+
53
+ this.apiVersion = '2021-08-01';
54
+ this.acceptLanguage = 'en-US';
55
+ this.longRunningOperationRetryTimeout = 30;
56
+ this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
+ this.requestContentType = "application/json; charset=utf-8";
58
+ this.credentials = credentials;
59
+ this.subscriptionId = subscriptionId;
60
+
61
+ if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
+ this.acceptLanguage = options.acceptLanguage;
63
+ }
64
+ if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
+ this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,72 @@
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
+
9
+ export {
10
+ AgentPool,
11
+ AgentPoolAvailableVersions,
12
+ AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem,
13
+ AgentPoolListResult,
14
+ AgentPoolUpgradeProfile,
15
+ AgentPoolUpgradeProfilePropertiesUpgradesItem,
16
+ AgentPoolUpgradeSettings,
17
+ BaseResource,
18
+ CloudError,
19
+ ContainerServiceLinuxProfile,
20
+ ContainerServiceNetworkProfile,
21
+ ContainerServiceSshConfiguration,
22
+ ContainerServiceSshPublicKey,
23
+ CreationData,
24
+ ExtendedLocation,
25
+ KubeletConfig,
26
+ LinuxOSConfig,
27
+ MaintenanceConfiguration,
28
+ ManagedCluster,
29
+ ManagedClusterAADProfile,
30
+ ManagedClusterAccessProfile,
31
+ ManagedClusterAddonProfile,
32
+ ManagedClusterAddonProfileIdentity,
33
+ ManagedClusterAgentPoolProfile,
34
+ ManagedClusterAgentPoolProfileProperties,
35
+ ManagedClusterAPIServerAccessProfile,
36
+ ManagedClusterAutoUpgradeProfile,
37
+ ManagedClusterHTTPProxyConfig,
38
+ ManagedClusterIdentity,
39
+ ManagedClusterIdentityUserAssignedIdentitiesValue,
40
+ ManagedClusterLoadBalancerProfile,
41
+ ManagedClusterLoadBalancerProfileManagedOutboundIPs,
42
+ ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
43
+ ManagedClusterLoadBalancerProfileOutboundIPs,
44
+ ManagedClusterManagedOutboundIPProfile,
45
+ ManagedClusterNATGatewayProfile,
46
+ ManagedClusterPodIdentity,
47
+ ManagedClusterPodIdentityException,
48
+ ManagedClusterPodIdentityProfile,
49
+ ManagedClusterPodIdentityProvisioningError,
50
+ ManagedClusterPodIdentityProvisioningErrorBody,
51
+ ManagedClusterPodIdentityProvisioningInfo,
52
+ ManagedClusterPropertiesAutoScalerProfile,
53
+ ManagedClusterSecurityProfile,
54
+ ManagedClusterSecurityProfileAzureDefender,
55
+ ManagedClusterServicePrincipalProfile,
56
+ ManagedClusterSKU,
57
+ ManagedClusterWindowsProfile,
58
+ PowerState,
59
+ PrivateEndpoint,
60
+ PrivateEndpointConnection,
61
+ PrivateLinkResource,
62
+ PrivateLinkServiceConnectionState,
63
+ Resource,
64
+ ResourceReference,
65
+ Snapshot,
66
+ SubResource,
67
+ SysctlConfig,
68
+ SystemData,
69
+ TimeInWeek,
70
+ TimeSpan,
71
+ UserAssignedIdentity
72
+ } from "../models/mappers";
@@ -0,0 +1,3679 @@
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
+
9
+ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
+ import * as msRest from "@azure/ms-rest-js";
11
+
12
+ export { BaseResource, CloudError };
13
+
14
+ /**
15
+ * Describes the properties of a Operation value.
16
+ */
17
+ export interface OperationValue {
18
+ /**
19
+ * The origin of the operation.
20
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
21
+ */
22
+ readonly origin?: string;
23
+ /**
24
+ * The name of the operation.
25
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
26
+ */
27
+ readonly name?: string;
28
+ /**
29
+ * The display name of the operation.
30
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
31
+ */
32
+ readonly operation?: string;
33
+ /**
34
+ * The display name of the resource the operation applies to.
35
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
36
+ */
37
+ readonly resource?: string;
38
+ /**
39
+ * The description of the operation.
40
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
41
+ */
42
+ readonly description?: string;
43
+ /**
44
+ * The resource provider for the operation.
45
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
46
+ */
47
+ readonly provider?: string;
48
+ }
49
+
50
+ /**
51
+ * The Resource model definition.
52
+ */
53
+ export interface Resource extends BaseResource {
54
+ /**
55
+ * Resource Id
56
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
57
+ */
58
+ readonly id?: string;
59
+ /**
60
+ * Resource name
61
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
62
+ */
63
+ readonly name?: string;
64
+ /**
65
+ * Resource type
66
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
67
+ */
68
+ readonly type?: string;
69
+ /**
70
+ * Resource location
71
+ */
72
+ location: string;
73
+ /**
74
+ * Resource tags
75
+ */
76
+ tags?: { [propertyName: string]: string };
77
+ }
78
+
79
+ /**
80
+ * Reference to another subresource.
81
+ */
82
+ export interface SubResource extends BaseResource {
83
+ /**
84
+ * Resource ID.
85
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
86
+ */
87
+ readonly id?: string;
88
+ /**
89
+ * The name of the resource that is unique within a resource group. This name can be used to
90
+ * access the resource.
91
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
92
+ */
93
+ readonly name?: string;
94
+ /**
95
+ * Resource type
96
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
97
+ */
98
+ readonly type?: string;
99
+ }
100
+
101
+ /**
102
+ * Tags object for patch operations.
103
+ */
104
+ export interface TagsObject {
105
+ /**
106
+ * Resource tags.
107
+ */
108
+ tags?: { [propertyName: string]: string };
109
+ }
110
+
111
+ /**
112
+ * Information about a service principal identity for the cluster to use for manipulating Azure
113
+ * APIs.
114
+ */
115
+ export interface ManagedClusterServicePrincipalProfile {
116
+ /**
117
+ * The ID for the service principal.
118
+ */
119
+ clientId: string;
120
+ /**
121
+ * The secret password associated with the service principal in plain text.
122
+ */
123
+ secret?: string;
124
+ }
125
+
126
+ /**
127
+ * Profile for the container service master.
128
+ */
129
+ export interface ContainerServiceMasterProfile {
130
+ /**
131
+ * Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The
132
+ * default value is 1. Default value: 1.
133
+ */
134
+ count?: number;
135
+ /**
136
+ * DNS prefix to be used to create the FQDN for the master pool.
137
+ */
138
+ dnsPrefix: string;
139
+ /**
140
+ * Size of agent VMs. Possible values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
141
+ * 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3',
142
+ * 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', 'Standard_A6',
143
+ * 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9',
144
+ * 'Standard_B2ms', 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
145
+ * 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', 'Standard_D12_v2',
146
+ * 'Standard_D12_v2_Promo', 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
147
+ * 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2',
148
+ * 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
149
+ * 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', 'Standard_D32_v3',
150
+ * 'Standard_D32s_v3', 'Standard_D3_v2', 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
151
+ * 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', 'Standard_D5_v2',
152
+ * 'Standard_D5_v2_Promo', 'Standard_D64_v3', 'Standard_D64s_v3', 'Standard_D8_v3',
153
+ * 'Standard_D8s_v3', 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
154
+ * 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', 'Standard_DS12_v2_Promo',
155
+ * 'Standard_DS13', 'Standard_DS13-2_v2', 'Standard_DS13-4_v2', 'Standard_DS13_v2',
156
+ * 'Standard_DS13_v2_Promo', 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
157
+ * 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', 'Standard_DS1_v2',
158
+ * 'Standard_DS2', 'Standard_DS2_v2', 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
159
+ * 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', 'Standard_DS4_v2_Promo',
160
+ * 'Standard_DS5_v2', 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3',
161
+ * 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
162
+ * 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3', 'Standard_E4s_v3',
163
+ * 'Standard_E64-16s_v3', 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3',
164
+ * 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
165
+ * 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s', 'Standard_F2s_v2',
166
+ * 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', 'Standard_F64s_v2',
167
+ * 'Standard_F72s_v2', 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
168
+ * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2',
169
+ * 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5',
170
+ * 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
171
+ * 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s', 'Standard_L32s',
172
+ * 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms',
173
+ * 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms', 'Standard_M64s',
174
+ * 'Standard_NC12', 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
175
+ * 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2', 'Standard_NC24s_v3',
176
+ * 'Standard_NC6', 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
177
+ * 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6'
178
+ */
179
+ vmSize: ContainerServiceVMSizeTypes;
180
+ /**
181
+ * OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent
182
+ * pool. If you specify 0, it will apply the default osDisk size according to the vmSize
183
+ * specified.
184
+ */
185
+ osDiskSizeGB?: number;
186
+ /**
187
+ * VNet SubnetID specifies the VNet's subnet identifier.
188
+ */
189
+ vnetSubnetID?: string;
190
+ /**
191
+ * FirstConsecutiveStaticIP used to specify the first static ip of masters. Default value:
192
+ * '10.240.255.5'.
193
+ */
194
+ firstConsecutiveStaticIP?: string;
195
+ /**
196
+ * Storage profile specifies what kind of storage used. Choose from StorageAccount and
197
+ * ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice.
198
+ * Possible values include: 'StorageAccount', 'ManagedDisks'
199
+ */
200
+ storageProfile?: ContainerServiceStorageProfileTypes;
201
+ /**
202
+ * FQDN for the master pool.
203
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
204
+ */
205
+ readonly fqdn?: string;
206
+ }
207
+
208
+ /**
209
+ * Settings for upgrading an agentpool
210
+ */
211
+ export interface AgentPoolUpgradeSettings {
212
+ /**
213
+ * The maximum number or percentage of nodes that are surged during upgrade. This can either be
214
+ * set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is
215
+ * the percentage of the total agent pool size at the time of the upgrade. For percentages,
216
+ * fractional nodes are rounded up. If not specified, the default is 1. For more information,
217
+ * including best practices, see:
218
+ * https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
219
+ */
220
+ maxSurge?: string;
221
+ }
222
+
223
+ /**
224
+ * Describes the Power State of the cluster
225
+ */
226
+ export interface PowerState {
227
+ /**
228
+ * Tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'
229
+ */
230
+ code?: Code;
231
+ }
232
+
233
+ /**
234
+ * See [AKS custom node
235
+ * configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
236
+ * @summary Kubelet configurations of agent nodes.
237
+ */
238
+ export interface KubeletConfig {
239
+ /**
240
+ * The CPU Manager policy to use. The default is 'none'. See [Kubernetes CPU management
241
+ * policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies)
242
+ * for more information. Allowed values are 'none' and 'static'.
243
+ */
244
+ cpuManagerPolicy?: string;
245
+ /**
246
+ * If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is
247
+ * true.
248
+ */
249
+ cpuCfsQuota?: boolean;
250
+ /**
251
+ * The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal
252
+ * numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported
253
+ * units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
254
+ */
255
+ cpuCfsQuotaPeriod?: string;
256
+ /**
257
+ * The percent of disk usage after which image garbage collection is always run. To disable image
258
+ * garbage collection, set to 100. The default is 85%
259
+ */
260
+ imageGcHighThreshold?: number;
261
+ /**
262
+ * The percent of disk usage before which image garbage collection is never run. This cannot be
263
+ * set higher than imageGcHighThreshold. The default is 80%
264
+ */
265
+ imageGcLowThreshold?: number;
266
+ /**
267
+ * The Topology Manager policy to use. For more information see [Kubernetes Topology
268
+ * Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is
269
+ * 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
270
+ */
271
+ topologyManagerPolicy?: string;
272
+ /**
273
+ * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
274
+ */
275
+ allowedUnsafeSysctls?: string[];
276
+ /**
277
+ * If set to true it will make the Kubelet fail to start if swap is enabled on the node.
278
+ */
279
+ failSwapOn?: boolean;
280
+ /**
281
+ * The maximum size (e.g. 10Mi) of container log file before it is rotated.
282
+ */
283
+ containerLogMaxSizeMB?: number;
284
+ /**
285
+ * The maximum number of container log files that can be present for a container. The number must
286
+ * be ≥ 2.
287
+ */
288
+ containerLogMaxFiles?: number;
289
+ /**
290
+ * The maximum number of processes per pod.
291
+ */
292
+ podMaxPids?: number;
293
+ }
294
+
295
+ /**
296
+ * Sysctl settings for Linux agent nodes.
297
+ */
298
+ export interface SysctlConfig {
299
+ /**
300
+ * Sysctl setting net.core.somaxconn.
301
+ */
302
+ netCoreSomaxconn?: number;
303
+ /**
304
+ * Sysctl setting net.core.netdev_max_backlog.
305
+ */
306
+ netCoreNetdevMaxBacklog?: number;
307
+ /**
308
+ * Sysctl setting net.core.rmem_default.
309
+ */
310
+ netCoreRmemDefault?: number;
311
+ /**
312
+ * Sysctl setting net.core.rmem_max.
313
+ */
314
+ netCoreRmemMax?: number;
315
+ /**
316
+ * Sysctl setting net.core.wmem_default.
317
+ */
318
+ netCoreWmemDefault?: number;
319
+ /**
320
+ * Sysctl setting net.core.wmem_max.
321
+ */
322
+ netCoreWmemMax?: number;
323
+ /**
324
+ * Sysctl setting net.core.optmem_max.
325
+ */
326
+ netCoreOptmemMax?: number;
327
+ /**
328
+ * Sysctl setting net.ipv4.tcp_max_syn_backlog.
329
+ */
330
+ netIpv4TcpMaxSynBacklog?: number;
331
+ /**
332
+ * Sysctl setting net.ipv4.tcp_max_tw_buckets.
333
+ */
334
+ netIpv4TcpMaxTwBuckets?: number;
335
+ /**
336
+ * Sysctl setting net.ipv4.tcp_fin_timeout.
337
+ */
338
+ netIpv4TcpFinTimeout?: number;
339
+ /**
340
+ * Sysctl setting net.ipv4.tcp_keepalive_time.
341
+ */
342
+ netIpv4TcpKeepaliveTime?: number;
343
+ /**
344
+ * Sysctl setting net.ipv4.tcp_keepalive_probes.
345
+ */
346
+ netIpv4TcpKeepaliveProbes?: number;
347
+ /**
348
+ * Sysctl setting net.ipv4.tcp_keepalive_intvl.
349
+ */
350
+ netIpv4TcpkeepaliveIntvl?: number;
351
+ /**
352
+ * Sysctl setting net.ipv4.tcp_tw_reuse.
353
+ */
354
+ netIpv4TcpTwReuse?: boolean;
355
+ /**
356
+ * Sysctl setting net.ipv4.ip_local_port_range.
357
+ */
358
+ netIpv4IpLocalPortRange?: string;
359
+ /**
360
+ * Sysctl setting net.ipv4.neigh.default.gc_thresh1.
361
+ */
362
+ netIpv4NeighDefaultGcThresh1?: number;
363
+ /**
364
+ * Sysctl setting net.ipv4.neigh.default.gc_thresh2.
365
+ */
366
+ netIpv4NeighDefaultGcThresh2?: number;
367
+ /**
368
+ * Sysctl setting net.ipv4.neigh.default.gc_thresh3.
369
+ */
370
+ netIpv4NeighDefaultGcThresh3?: number;
371
+ /**
372
+ * Sysctl setting net.netfilter.nf_conntrack_max.
373
+ */
374
+ netNetfilterNfConntrackMax?: number;
375
+ /**
376
+ * Sysctl setting net.netfilter.nf_conntrack_buckets.
377
+ */
378
+ netNetfilterNfConntrackBuckets?: number;
379
+ /**
380
+ * Sysctl setting fs.inotify.max_user_watches.
381
+ */
382
+ fsInotifyMaxUserWatches?: number;
383
+ /**
384
+ * Sysctl setting fs.file-max.
385
+ */
386
+ fsFileMax?: number;
387
+ /**
388
+ * Sysctl setting fs.aio-max-nr.
389
+ */
390
+ fsAioMaxNr?: number;
391
+ /**
392
+ * Sysctl setting fs.nr_open.
393
+ */
394
+ fsNrOpen?: number;
395
+ /**
396
+ * Sysctl setting kernel.threads-max.
397
+ */
398
+ kernelThreadsMax?: number;
399
+ /**
400
+ * Sysctl setting vm.max_map_count.
401
+ */
402
+ vmMaxMapCount?: number;
403
+ /**
404
+ * Sysctl setting vm.swappiness.
405
+ */
406
+ vmSwappiness?: number;
407
+ /**
408
+ * Sysctl setting vm.vfs_cache_pressure.
409
+ */
410
+ vmVfsCachePressure?: number;
411
+ }
412
+
413
+ /**
414
+ * See [AKS custom node
415
+ * configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
416
+ * @summary OS configurations of Linux agent nodes.
417
+ */
418
+ export interface LinuxOSConfig {
419
+ /**
420
+ * Sysctl settings for Linux agent nodes.
421
+ */
422
+ sysctls?: SysctlConfig;
423
+ /**
424
+ * Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'.
425
+ * The default is 'always'. For more information see [Transparent
426
+ * Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
427
+ */
428
+ transparentHugePageEnabled?: string;
429
+ /**
430
+ * Whether the kernel should make aggressive use of memory compaction to make more hugepages
431
+ * available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The
432
+ * default is 'madvise'. For more information see [Transparent
433
+ * Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
434
+ */
435
+ transparentHugePageDefrag?: string;
436
+ /**
437
+ * The size in MB of a swap file that will be created on each node.
438
+ */
439
+ swapFileSizeMB?: number;
440
+ }
441
+
442
+ /**
443
+ * Data used when creating a target resource from a source resource.
444
+ */
445
+ export interface CreationData {
446
+ /**
447
+ * This is the ARM ID of the source object to be used to create the target object.
448
+ */
449
+ sourceResourceId?: string;
450
+ }
451
+
452
+ /**
453
+ * Properties for the container service agent pool profile.
454
+ */
455
+ export interface ManagedClusterAgentPoolProfileProperties {
456
+ /**
457
+ * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to
458
+ * 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools.
459
+ * The default value is 1.
460
+ */
461
+ count?: number;
462
+ /**
463
+ * The size of the agent pool VMs. VM size availability varies by region. If a node contains
464
+ * insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more
465
+ * details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
466
+ */
467
+ vmSize?: string;
468
+ osDiskSizeGB?: number;
469
+ /**
470
+ * Possible values include: 'Managed', 'Ephemeral'
471
+ */
472
+ osDiskType?: OSDiskType;
473
+ /**
474
+ * Possible values include: 'OS', 'Temporary'
475
+ */
476
+ kubeletDiskType?: KubeletDiskType;
477
+ /**
478
+ * Possible values include: 'OCIContainer', 'WasmWasi'
479
+ */
480
+ workloadRuntime?: WorkloadRuntime;
481
+ /**
482
+ * The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
483
+ * is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
484
+ * specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the
485
+ * form:
486
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
487
+ */
488
+ vnetSubnetID?: string;
489
+ /**
490
+ * The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically
491
+ * assigned on the node subnet (see vnetSubnetID for more details). This is of the form:
492
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
493
+ */
494
+ podSubnetID?: string;
495
+ /**
496
+ * The maximum number of pods that can run on a node.
497
+ */
498
+ maxPods?: number;
499
+ /**
500
+ * Possible values include: 'Linux', 'Windows'. Default value: 'Linux'.
501
+ */
502
+ osType?: OSType;
503
+ /**
504
+ * Possible values include: 'Ubuntu', 'CBLMariner'
505
+ */
506
+ osSKU?: OSSKU;
507
+ /**
508
+ * The maximum number of nodes for auto-scaling
509
+ */
510
+ maxCount?: number;
511
+ /**
512
+ * The minimum number of nodes for auto-scaling
513
+ */
514
+ minCount?: number;
515
+ /**
516
+ * Whether to enable auto-scaler
517
+ */
518
+ enableAutoScaling?: boolean;
519
+ /**
520
+ * The scale down mode to use when scaling the Agent Pool. This also effects the cluster
521
+ * autoscaler behavior. If not specified, it defaults to Delete. Possible values include:
522
+ * 'Delete', 'Deallocate'
523
+ */
524
+ scaleDownMode?: ScaleDownMode;
525
+ /**
526
+ * Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet'
527
+ */
528
+ type?: AgentPoolType;
529
+ /**
530
+ * Possible values include: 'System', 'User'
531
+ */
532
+ mode?: AgentPoolMode;
533
+ /**
534
+ * The version of Kubernetes running on the Agent Pool. As a best practice, you should upgrade
535
+ * all node pools in an AKS cluster to the same Kubernetes version. The node pool version must
536
+ * have the same major version as the control plane. The node pool minor version must be within
537
+ * two minor versions of the control plane version. The node pool version cannot be greater than
538
+ * the control plane version. For more information see [upgrading a node
539
+ * pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
540
+ */
541
+ orchestratorVersion?: string;
542
+ /**
543
+ * The version of node image
544
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
545
+ */
546
+ readonly nodeImageVersion?: string;
547
+ /**
548
+ * Settings for upgrading the agentpool
549
+ */
550
+ upgradeSettings?: AgentPoolUpgradeSettings;
551
+ /**
552
+ * The current deployment or provisioning state.
553
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
554
+ */
555
+ readonly provisioningState?: string;
556
+ /**
557
+ * Describes whether the Agent Pool is Running or Stopped
558
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
559
+ */
560
+ readonly powerState?: PowerState;
561
+ /**
562
+ * The list of Availability zones to use for nodes. This can only be specified if the
563
+ * AgentPoolType property is 'VirtualMachineScaleSets'.
564
+ */
565
+ availabilityZones?: string[];
566
+ /**
567
+ * Whether each node is allocated its own public IP. Some scenarios may require nodes in a node
568
+ * pool to receive their own dedicated public IP addresses. A common scenario is for gaming
569
+ * workloads, where a console needs to make a direct connection to a cloud virtual machine to
570
+ * minimize hops. For more information see [assigning a public IP per
571
+ * node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools).
572
+ * The default is false.
573
+ */
574
+ enableNodePublicIP?: boolean;
575
+ /**
576
+ * The public IP prefix ID which VM nodes should use IPs from. This is of the form:
577
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
578
+ */
579
+ nodePublicIPPrefixID?: string;
580
+ /**
581
+ * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. Possible
582
+ * values include: 'Spot', 'Regular'. Default value: 'Regular'.
583
+ */
584
+ scaleSetPriority?: ScaleSetPriority;
585
+ /**
586
+ * The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the
587
+ * scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. Possible values
588
+ * include: 'Delete', 'Deallocate'. Default value: 'Delete'.
589
+ */
590
+ scaleSetEvictionPolicy?: ScaleSetEvictionPolicy;
591
+ /**
592
+ * The max price (in US Dollars) you are willing to pay for spot instances. Possible values are
593
+ * any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
594
+ * Possible values are any decimal value greater than zero or -1 which indicates the willingness
595
+ * to pay any on-demand price. For more details on spot pricing, see [spot VMs
596
+ * pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
597
+ */
598
+ spotMaxPrice?: number;
599
+ /**
600
+ * The tags to be persisted on the agent pool virtual machine scale set.
601
+ */
602
+ tags?: { [propertyName: string]: string };
603
+ /**
604
+ * The node labels to be persisted across all nodes in agent pool.
605
+ */
606
+ nodeLabels?: { [propertyName: string]: string };
607
+ /**
608
+ * The taints added to new nodes during node pool create and scale. For example,
609
+ * key=value:NoSchedule.
610
+ */
611
+ nodeTaints?: string[];
612
+ /**
613
+ * The ID for Proximity Placement Group.
614
+ */
615
+ proximityPlacementGroupID?: string;
616
+ /**
617
+ * The Kubelet configuration on the agent pool nodes.
618
+ */
619
+ kubeletConfig?: KubeletConfig;
620
+ /**
621
+ * The OS configuration of Linux agent nodes.
622
+ */
623
+ linuxOSConfig?: LinuxOSConfig;
624
+ /**
625
+ * Whether to enable host based OS and data drive encryption. This is only supported on certain
626
+ * VM sizes and in certain Azure regions. For more information, see:
627
+ * https://docs.microsoft.com/azure/aks/enable-host-encryption
628
+ */
629
+ enableEncryptionAtHost?: boolean;
630
+ /**
631
+ * Whether to enable UltraSSD
632
+ */
633
+ enableUltraSSD?: boolean;
634
+ /**
635
+ * Whether to use a FIPS-enabled OS. See [Add a FIPS-enabled node
636
+ * pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview)
637
+ * for more details.
638
+ */
639
+ enableFIPS?: boolean;
640
+ /**
641
+ * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
642
+ * Possible values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g'
643
+ */
644
+ gpuInstanceProfile?: GPUInstanceProfile;
645
+ /**
646
+ * CreationData to be used to specify the source Snapshot ID if the node pool will be
647
+ * created/upgraded using a snapshot.
648
+ */
649
+ creationData?: CreationData;
650
+ }
651
+
652
+ /**
653
+ * Profile for the container service agent pool.
654
+ */
655
+ export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties {
656
+ /**
657
+ * Unique name of the agent pool profile in the context of the subscription and resource group.
658
+ * Windows agent pool names must be 6 characters or less.
659
+ */
660
+ name: string;
661
+ }
662
+
663
+ /**
664
+ * Agent Pool.
665
+ */
666
+ export interface AgentPool extends SubResource {
667
+ /**
668
+ * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to
669
+ * 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools.
670
+ * The default value is 1.
671
+ */
672
+ count?: number;
673
+ /**
674
+ * The size of the agent pool VMs. VM size availability varies by region. If a node contains
675
+ * insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more
676
+ * details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
677
+ */
678
+ vmSize?: string;
679
+ osDiskSizeGB?: number;
680
+ /**
681
+ * Possible values include: 'Managed', 'Ephemeral'
682
+ */
683
+ osDiskType?: OSDiskType;
684
+ /**
685
+ * Possible values include: 'OS', 'Temporary'
686
+ */
687
+ kubeletDiskType?: KubeletDiskType;
688
+ /**
689
+ * Possible values include: 'OCIContainer', 'WasmWasi'
690
+ */
691
+ workloadRuntime?: WorkloadRuntime;
692
+ /**
693
+ * The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
694
+ * is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
695
+ * specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the
696
+ * form:
697
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
698
+ */
699
+ vnetSubnetID?: string;
700
+ /**
701
+ * The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically
702
+ * assigned on the node subnet (see vnetSubnetID for more details). This is of the form:
703
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
704
+ */
705
+ podSubnetID?: string;
706
+ /**
707
+ * The maximum number of pods that can run on a node.
708
+ */
709
+ maxPods?: number;
710
+ /**
711
+ * Possible values include: 'Linux', 'Windows'. Default value: 'Linux'.
712
+ */
713
+ osType?: OSType;
714
+ /**
715
+ * Possible values include: 'Ubuntu', 'CBLMariner'
716
+ */
717
+ osSKU?: OSSKU;
718
+ /**
719
+ * The maximum number of nodes for auto-scaling
720
+ */
721
+ maxCount?: number;
722
+ /**
723
+ * The minimum number of nodes for auto-scaling
724
+ */
725
+ minCount?: number;
726
+ /**
727
+ * Whether to enable auto-scaler
728
+ */
729
+ enableAutoScaling?: boolean;
730
+ /**
731
+ * The scale down mode to use when scaling the Agent Pool. This also effects the cluster
732
+ * autoscaler behavior. If not specified, it defaults to Delete. Possible values include:
733
+ * 'Delete', 'Deallocate'
734
+ */
735
+ scaleDownMode?: ScaleDownMode;
736
+ /**
737
+ * Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet'
738
+ */
739
+ agentPoolType?: AgentPoolType;
740
+ /**
741
+ * Possible values include: 'System', 'User'
742
+ */
743
+ mode?: AgentPoolMode;
744
+ /**
745
+ * The version of Kubernetes running on the Agent Pool. As a best practice, you should upgrade
746
+ * all node pools in an AKS cluster to the same Kubernetes version. The node pool version must
747
+ * have the same major version as the control plane. The node pool minor version must be within
748
+ * two minor versions of the control plane version. The node pool version cannot be greater than
749
+ * the control plane version. For more information see [upgrading a node
750
+ * pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
751
+ */
752
+ orchestratorVersion?: string;
753
+ /**
754
+ * The version of node image
755
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
756
+ */
757
+ readonly nodeImageVersion?: string;
758
+ /**
759
+ * Settings for upgrading the agentpool
760
+ */
761
+ upgradeSettings?: AgentPoolUpgradeSettings;
762
+ /**
763
+ * The current deployment or provisioning state.
764
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
765
+ */
766
+ readonly provisioningState?: string;
767
+ /**
768
+ * Describes whether the Agent Pool is Running or Stopped
769
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
770
+ */
771
+ readonly powerState?: PowerState;
772
+ /**
773
+ * The list of Availability zones to use for nodes. This can only be specified if the
774
+ * AgentPoolType property is 'VirtualMachineScaleSets'.
775
+ */
776
+ availabilityZones?: string[];
777
+ /**
778
+ * Whether each node is allocated its own public IP. Some scenarios may require nodes in a node
779
+ * pool to receive their own dedicated public IP addresses. A common scenario is for gaming
780
+ * workloads, where a console needs to make a direct connection to a cloud virtual machine to
781
+ * minimize hops. For more information see [assigning a public IP per
782
+ * node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools).
783
+ * The default is false.
784
+ */
785
+ enableNodePublicIP?: boolean;
786
+ /**
787
+ * The public IP prefix ID which VM nodes should use IPs from. This is of the form:
788
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
789
+ */
790
+ nodePublicIPPrefixID?: string;
791
+ /**
792
+ * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. Possible
793
+ * values include: 'Spot', 'Regular'. Default value: 'Regular'.
794
+ */
795
+ scaleSetPriority?: ScaleSetPriority;
796
+ /**
797
+ * The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the
798
+ * scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. Possible values
799
+ * include: 'Delete', 'Deallocate'. Default value: 'Delete'.
800
+ */
801
+ scaleSetEvictionPolicy?: ScaleSetEvictionPolicy;
802
+ /**
803
+ * The max price (in US Dollars) you are willing to pay for spot instances. Possible values are
804
+ * any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
805
+ * Possible values are any decimal value greater than zero or -1 which indicates the willingness
806
+ * to pay any on-demand price. For more details on spot pricing, see [spot VMs
807
+ * pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
808
+ */
809
+ spotMaxPrice?: number;
810
+ /**
811
+ * The tags to be persisted on the agent pool virtual machine scale set.
812
+ */
813
+ tags?: { [propertyName: string]: string };
814
+ /**
815
+ * The node labels to be persisted across all nodes in agent pool.
816
+ */
817
+ nodeLabels?: { [propertyName: string]: string };
818
+ /**
819
+ * The taints added to new nodes during node pool create and scale. For example,
820
+ * key=value:NoSchedule.
821
+ */
822
+ nodeTaints?: string[];
823
+ /**
824
+ * The ID for Proximity Placement Group.
825
+ */
826
+ proximityPlacementGroupID?: string;
827
+ /**
828
+ * The Kubelet configuration on the agent pool nodes.
829
+ */
830
+ kubeletConfig?: KubeletConfig;
831
+ /**
832
+ * The OS configuration of Linux agent nodes.
833
+ */
834
+ linuxOSConfig?: LinuxOSConfig;
835
+ /**
836
+ * Whether to enable host based OS and data drive encryption. This is only supported on certain
837
+ * VM sizes and in certain Azure regions. For more information, see:
838
+ * https://docs.microsoft.com/azure/aks/enable-host-encryption
839
+ */
840
+ enableEncryptionAtHost?: boolean;
841
+ /**
842
+ * Whether to enable UltraSSD
843
+ */
844
+ enableUltraSSD?: boolean;
845
+ /**
846
+ * Whether to use a FIPS-enabled OS. See [Add a FIPS-enabled node
847
+ * pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview)
848
+ * for more details.
849
+ */
850
+ enableFIPS?: boolean;
851
+ /**
852
+ * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
853
+ * Possible values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g'
854
+ */
855
+ gpuInstanceProfile?: GPUInstanceProfile;
856
+ /**
857
+ * CreationData to be used to specify the source Snapshot ID if the node pool will be
858
+ * created/upgraded using a snapshot.
859
+ */
860
+ creationData?: CreationData;
861
+ }
862
+
863
+ /**
864
+ * Profile for Windows VMs in the managed cluster.
865
+ */
866
+ export interface ManagedClusterWindowsProfile {
867
+ /**
868
+ * Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "."
869
+ * <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2",
870
+ * "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup",
871
+ * "console", "david", "guest", "john", "owner", "root", "server", "sql", "support",
872
+ * "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1
873
+ * character <br><br> **Max-length:** 20 characters
874
+ */
875
+ adminUsername: string;
876
+ /**
877
+ * Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters
878
+ * <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4
879
+ * conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br>
880
+ * Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:**
881
+ * "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!",
882
+ * "Password1", "Password22", "iloveyou!"
883
+ */
884
+ adminPassword?: string;
885
+ /**
886
+ * The license type to use for Windows VMs. See [Azure Hybrid User
887
+ * Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. Possible
888
+ * values include: 'None', 'Windows_Server'
889
+ */
890
+ licenseType?: LicenseType;
891
+ /**
892
+ * Whether to enable CSI proxy. For more details on CSI proxy, see the [CSI proxy GitHub
893
+ * repo](https://github.com/kubernetes-csi/csi-proxy).
894
+ */
895
+ enableCSIProxy?: boolean;
896
+ }
897
+
898
+ /**
899
+ * Contains information about SSH certificate public key data.
900
+ */
901
+ export interface ContainerServiceSshPublicKey {
902
+ /**
903
+ * Certificate public key used to authenticate with VMs through SSH. The certificate must be in
904
+ * PEM format with or without headers.
905
+ */
906
+ keyData: string;
907
+ }
908
+
909
+ /**
910
+ * SSH configuration for Linux-based VMs running on Azure.
911
+ */
912
+ export interface ContainerServiceSshConfiguration {
913
+ /**
914
+ * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may
915
+ * be specified.
916
+ */
917
+ publicKeys: ContainerServiceSshPublicKey[];
918
+ }
919
+
920
+ /**
921
+ * Profile for Linux VMs in the container service cluster.
922
+ */
923
+ export interface ContainerServiceLinuxProfile {
924
+ /**
925
+ * The administrator username to use for Linux VMs.
926
+ */
927
+ adminUsername: string;
928
+ /**
929
+ * The SSH configuration for Linux-based VMs running on Azure.
930
+ */
931
+ ssh: ContainerServiceSshConfiguration;
932
+ }
933
+
934
+ /**
935
+ * Desired managed outbound IPs for the cluster load balancer.
936
+ */
937
+ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs {
938
+ /**
939
+ * The desired number of outbound IPs created/managed by Azure for the cluster load balancer.
940
+ * Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. Default
941
+ * value: 1.
942
+ */
943
+ count?: number;
944
+ }
945
+
946
+ /**
947
+ * A reference to an Azure resource.
948
+ */
949
+ export interface ResourceReference {
950
+ /**
951
+ * The fully qualified Azure resource id.
952
+ */
953
+ id?: string;
954
+ }
955
+
956
+ /**
957
+ * Desired outbound IP Prefix resources for the cluster load balancer.
958
+ */
959
+ export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixes {
960
+ /**
961
+ * A list of public IP prefix resources.
962
+ */
963
+ publicIPPrefixes?: ResourceReference[];
964
+ }
965
+
966
+ /**
967
+ * Desired outbound IP resources for the cluster load balancer.
968
+ */
969
+ export interface ManagedClusterLoadBalancerProfileOutboundIPs {
970
+ /**
971
+ * A list of public IP resources.
972
+ */
973
+ publicIPs?: ResourceReference[];
974
+ }
975
+
976
+ /**
977
+ * Profile of the managed cluster load balancer.
978
+ */
979
+ export interface ManagedClusterLoadBalancerProfile {
980
+ /**
981
+ * Desired managed outbound IPs for the cluster load balancer.
982
+ */
983
+ managedOutboundIPs?: ManagedClusterLoadBalancerProfileManagedOutboundIPs;
984
+ /**
985
+ * Desired outbound IP Prefix resources for the cluster load balancer.
986
+ */
987
+ outboundIPPrefixes?: ManagedClusterLoadBalancerProfileOutboundIPPrefixes;
988
+ /**
989
+ * Desired outbound IP resources for the cluster load balancer.
990
+ */
991
+ outboundIPs?: ManagedClusterLoadBalancerProfileOutboundIPs;
992
+ /**
993
+ * The effective outbound IP resources of the cluster load balancer.
994
+ */
995
+ effectiveOutboundIPs?: ResourceReference[];
996
+ /**
997
+ * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to
998
+ * 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
999
+ * Default value: 0.
1000
+ */
1001
+ allocatedOutboundPorts?: number;
1002
+ /**
1003
+ * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
1004
+ * (inclusive). The default value is 30 minutes. Default value: 30.
1005
+ */
1006
+ idleTimeoutInMinutes?: number;
1007
+ /**
1008
+ * Enable multiple standard load balancers per AKS cluster or not.
1009
+ */
1010
+ enableMultipleStandardLoadBalancers?: boolean;
1011
+ }
1012
+
1013
+ /**
1014
+ * Profile of the managed outbound IP resources of the managed cluster.
1015
+ */
1016
+ export interface ManagedClusterManagedOutboundIPProfile {
1017
+ /**
1018
+ * The desired number of outbound IPs created/managed by Azure. Allowed values must be in the
1019
+ * range of 1 to 16 (inclusive). The default value is 1. Default value: 1.
1020
+ */
1021
+ count?: number;
1022
+ }
1023
+
1024
+ /**
1025
+ * Profile of the managed cluster NAT gateway.
1026
+ */
1027
+ export interface ManagedClusterNATGatewayProfile {
1028
+ /**
1029
+ * Profile of the managed outbound IP resources of the cluster NAT gateway.
1030
+ */
1031
+ managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile;
1032
+ /**
1033
+ * The effective outbound IP resources of the cluster NAT gateway.
1034
+ */
1035
+ effectiveOutboundIPs?: ResourceReference[];
1036
+ /**
1037
+ * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
1038
+ * (inclusive). The default value is 4 minutes. Default value: 4.
1039
+ */
1040
+ idleTimeoutInMinutes?: number;
1041
+ }
1042
+
1043
+ /**
1044
+ * Profile of network configuration.
1045
+ */
1046
+ export interface ContainerServiceNetworkProfile {
1047
+ /**
1048
+ * Network plugin used for building the Kubernetes network. Possible values include: 'azure',
1049
+ * 'kubenet'. Default value: 'kubenet'.
1050
+ */
1051
+ networkPlugin?: NetworkPlugin;
1052
+ /**
1053
+ * Network policy used for building the Kubernetes network. Possible values include: 'calico',
1054
+ * 'azure'
1055
+ */
1056
+ networkPolicy?: NetworkPolicy;
1057
+ /**
1058
+ * The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is
1059
+ * anything other than 'azure'. Possible values include: 'transparent', 'bridge'
1060
+ */
1061
+ networkMode?: NetworkMode;
1062
+ /**
1063
+ * A CIDR notation IP range from which to assign pod IPs when kubenet is used. Default value:
1064
+ * '10.244.0.0/16'.
1065
+ */
1066
+ podCidr?: string;
1067
+ /**
1068
+ * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with
1069
+ * any Subnet IP ranges. Default value: '10.0.0.0/16'.
1070
+ */
1071
+ serviceCidr?: string;
1072
+ /**
1073
+ * An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service
1074
+ * address range specified in serviceCidr. Default value: '10.0.0.10'.
1075
+ */
1076
+ dnsServiceIP?: string;
1077
+ /**
1078
+ * A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any
1079
+ * Subnet IP ranges or the Kubernetes service address range. Default value: '172.17.0.1/16'.
1080
+ */
1081
+ dockerBridgeCidr?: string;
1082
+ /**
1083
+ * The outbound (egress) routing method. This can only be set at cluster creation time and cannot
1084
+ * be changed later. For more information see [egress outbound
1085
+ * type](https://docs.microsoft.com/azure/aks/egress-outboundtype). Possible values include:
1086
+ * 'loadBalancer', 'userDefinedRouting', 'managedNATGateway', 'userAssignedNATGateway'. Default
1087
+ * value: 'loadBalancer'.
1088
+ */
1089
+ outboundType?: OutboundType;
1090
+ /**
1091
+ * The load balancer sku for the managed cluster. The default is 'standard'. See [Azure Load
1092
+ * Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about
1093
+ * the differences between load balancer SKUs. Possible values include: 'standard', 'basic'
1094
+ */
1095
+ loadBalancerSku?: LoadBalancerSku;
1096
+ /**
1097
+ * Profile of the cluster load balancer.
1098
+ */
1099
+ loadBalancerProfile?: ManagedClusterLoadBalancerProfile;
1100
+ /**
1101
+ * Profile of the cluster NAT gateway.
1102
+ */
1103
+ natGatewayProfile?: ManagedClusterNATGatewayProfile;
1104
+ }
1105
+
1106
+ /**
1107
+ * Metadata pertaining to creation and last modification of the resource.
1108
+ */
1109
+ export interface SystemData {
1110
+ /**
1111
+ * The identity that created the resource.
1112
+ */
1113
+ createdBy?: string;
1114
+ /**
1115
+ * The type of identity that created the resource. Possible values include: 'User',
1116
+ * 'Application', 'ManagedIdentity', 'Key'
1117
+ */
1118
+ createdByType?: CreatedByType;
1119
+ /**
1120
+ * The UTC timestamp of resource creation.
1121
+ */
1122
+ createdAt?: Date;
1123
+ /**
1124
+ * The identity that last modified the resource.
1125
+ */
1126
+ lastModifiedBy?: string;
1127
+ /**
1128
+ * The type of identity that last modified the resource. Possible values include: 'User',
1129
+ * 'Application', 'ManagedIdentity', 'Key'
1130
+ */
1131
+ lastModifiedByType?: CreatedByType;
1132
+ /**
1133
+ * The type of identity that last modified the resource.
1134
+ */
1135
+ lastModifiedAt?: Date;
1136
+ }
1137
+
1138
+ /**
1139
+ * Time in a week.
1140
+ */
1141
+ export interface TimeInWeek {
1142
+ /**
1143
+ * The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday',
1144
+ * 'Thursday', 'Friday', 'Saturday'
1145
+ */
1146
+ day?: WeekDay;
1147
+ /**
1148
+ * A list of hours in the day used to identify a time range. Each integer hour represents a time
1149
+ * range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to
1150
+ * 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time
1151
+ * range.
1152
+ */
1153
+ hourSlots?: number[];
1154
+ }
1155
+
1156
+ /**
1157
+ * For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z.
1158
+ * @summary A time range.
1159
+ */
1160
+ export interface TimeSpan {
1161
+ /**
1162
+ * The start of a time span
1163
+ */
1164
+ start?: Date;
1165
+ /**
1166
+ * The end of a time span
1167
+ */
1168
+ end?: Date;
1169
+ }
1170
+
1171
+ /**
1172
+ * See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more
1173
+ * information about planned maintenance.
1174
+ * @summary Planned maintenance configuration, used to configure when updates can be deployed to a
1175
+ * Managed Cluster.
1176
+ */
1177
+ export interface MaintenanceConfiguration extends SubResource {
1178
+ /**
1179
+ * The system metadata relating to this resource.
1180
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1181
+ */
1182
+ readonly systemData?: SystemData;
1183
+ /**
1184
+ * Time slots during the week when planned maintenance is allowed to proceed. If two array
1185
+ * entries specify the same day of the week, the applied configuration is the union of times in
1186
+ * both entries.
1187
+ */
1188
+ timeInWeek?: TimeInWeek[];
1189
+ /**
1190
+ * Time slots on which upgrade is not allowed.
1191
+ */
1192
+ notAllowedTime?: TimeSpan[];
1193
+ }
1194
+
1195
+ /**
1196
+ * A run command request
1197
+ */
1198
+ export interface RunCommandRequest {
1199
+ /**
1200
+ * The command to run.
1201
+ */
1202
+ command: string;
1203
+ /**
1204
+ * A base64 encoded zip file containing the files required by the command.
1205
+ */
1206
+ context?: string;
1207
+ /**
1208
+ * AuthToken issued for AKS AAD Server App.
1209
+ */
1210
+ clusterToken?: string;
1211
+ }
1212
+
1213
+ /**
1214
+ * run command result.
1215
+ */
1216
+ export interface RunCommandResult {
1217
+ /**
1218
+ * The command id.
1219
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1220
+ */
1221
+ readonly id?: string;
1222
+ /**
1223
+ * provisioning State
1224
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1225
+ */
1226
+ readonly provisioningState?: string;
1227
+ /**
1228
+ * The exit code of the command
1229
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1230
+ */
1231
+ readonly exitCode?: number;
1232
+ /**
1233
+ * The time when the command started.
1234
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1235
+ */
1236
+ readonly startedAt?: Date;
1237
+ /**
1238
+ * The time when the command finished.
1239
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1240
+ */
1241
+ readonly finishedAt?: Date;
1242
+ /**
1243
+ * The command output.
1244
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1245
+ */
1246
+ readonly logs?: string;
1247
+ /**
1248
+ * An explanation of why provisioningState is set to failed (if so).
1249
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1250
+ */
1251
+ readonly reason?: string;
1252
+ }
1253
+
1254
+ /**
1255
+ * Profile for diagnostics on the container service VMs.
1256
+ */
1257
+ export interface ContainerServiceVMDiagnostics {
1258
+ /**
1259
+ * Whether the VM diagnostic agent is provisioned on the VM.
1260
+ */
1261
+ enabled: boolean;
1262
+ /**
1263
+ * The URI of the storage account where diagnostics are stored.
1264
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1265
+ */
1266
+ readonly storageUri?: string;
1267
+ }
1268
+
1269
+ /**
1270
+ * Profile for diagnostics on the container service cluster.
1271
+ */
1272
+ export interface ContainerServiceDiagnosticsProfile {
1273
+ /**
1274
+ * Profile for diagnostics on the container service VMs.
1275
+ */
1276
+ vmDiagnostics: ContainerServiceVMDiagnostics;
1277
+ }
1278
+
1279
+ /**
1280
+ * The SKU of a Managed Cluster.
1281
+ */
1282
+ export interface ManagedClusterSKU {
1283
+ /**
1284
+ * The name of a managed cluster SKU. Possible values include: 'Basic'
1285
+ */
1286
+ name?: ManagedClusterSKUName;
1287
+ /**
1288
+ * The tier of a managed cluster SKU. If not specified, the default is 'Free'. See [uptime
1289
+ * SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details. Possible values
1290
+ * include: 'Paid', 'Free'
1291
+ */
1292
+ tier?: ManagedClusterSKUTier;
1293
+ }
1294
+
1295
+ /**
1296
+ * The complex type of the extended location.
1297
+ */
1298
+ export interface ExtendedLocation {
1299
+ /**
1300
+ * The name of the extended location.
1301
+ */
1302
+ name?: string;
1303
+ /**
1304
+ * The type of the extended location. Possible values include: 'EdgeZone'
1305
+ */
1306
+ type?: ExtendedLocationTypes;
1307
+ }
1308
+
1309
+ /**
1310
+ * An interface representing ManagedClusterIdentityUserAssignedIdentitiesValue.
1311
+ */
1312
+ export interface ManagedClusterIdentityUserAssignedIdentitiesValue {
1313
+ /**
1314
+ * The principal id of user assigned identity.
1315
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1316
+ */
1317
+ readonly principalId?: string;
1318
+ /**
1319
+ * The client id of user assigned identity.
1320
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1321
+ */
1322
+ readonly clientId?: string;
1323
+ }
1324
+
1325
+ /**
1326
+ * Identity for the managed cluster.
1327
+ */
1328
+ export interface ManagedClusterIdentity {
1329
+ /**
1330
+ * The principal id of the system assigned identity which is used by master components.
1331
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1332
+ */
1333
+ readonly principalId?: string;
1334
+ /**
1335
+ * The tenant id of the system assigned identity which is used by master components.
1336
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1337
+ */
1338
+ readonly tenantId?: string;
1339
+ /**
1340
+ * The type of identity used for the managed cluster. For more information see [use managed
1341
+ * identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). Possible values
1342
+ * include: 'SystemAssigned', 'UserAssigned', 'None'
1343
+ */
1344
+ type?: ResourceIdentityType;
1345
+ /**
1346
+ * The user identity associated with the managed cluster. This identity will be used in control
1347
+ * plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the
1348
+ * form:
1349
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
1350
+ */
1351
+ userAssignedIdentities?: { [propertyName: string]: ManagedClusterIdentityUserAssignedIdentitiesValue };
1352
+ }
1353
+
1354
+ /**
1355
+ * Details about a user assigned identity.
1356
+ */
1357
+ export interface UserAssignedIdentity {
1358
+ /**
1359
+ * The resource ID of the user assigned identity.
1360
+ */
1361
+ resourceId?: string;
1362
+ /**
1363
+ * The client ID of the user assigned identity.
1364
+ */
1365
+ clientId?: string;
1366
+ /**
1367
+ * The object ID of the user assigned identity.
1368
+ */
1369
+ objectId?: string;
1370
+ }
1371
+
1372
+ /**
1373
+ * Information of user assigned identity used by this add-on.
1374
+ */
1375
+ export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity {
1376
+ }
1377
+
1378
+ /**
1379
+ * A Kubernetes add-on profile for a managed cluster.
1380
+ */
1381
+ export interface ManagedClusterAddonProfile {
1382
+ /**
1383
+ * Whether the add-on is enabled or not.
1384
+ */
1385
+ enabled: boolean;
1386
+ /**
1387
+ * Key-value pairs for configuring an add-on.
1388
+ */
1389
+ config?: { [propertyName: string]: string };
1390
+ /**
1391
+ * Information of user assigned identity used by this add-on.
1392
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1393
+ */
1394
+ readonly identity?: ManagedClusterAddonProfileIdentity;
1395
+ }
1396
+
1397
+ /**
1398
+ * An error response from the pod identity provisioning.
1399
+ */
1400
+ export interface ManagedClusterPodIdentityProvisioningErrorBody {
1401
+ /**
1402
+ * An identifier for the error. Codes are invariant and are intended to be consumed
1403
+ * programmatically.
1404
+ */
1405
+ code?: string;
1406
+ /**
1407
+ * A message describing the error, intended to be suitable for display in a user interface.
1408
+ */
1409
+ message?: string;
1410
+ /**
1411
+ * The target of the particular error. For example, the name of the property in error.
1412
+ */
1413
+ target?: string;
1414
+ /**
1415
+ * A list of additional details about the error.
1416
+ */
1417
+ details?: ManagedClusterPodIdentityProvisioningErrorBody[];
1418
+ }
1419
+
1420
+ /**
1421
+ * An error response from the pod identity provisioning.
1422
+ */
1423
+ export interface ManagedClusterPodIdentityProvisioningError {
1424
+ /**
1425
+ * Details about the error.
1426
+ */
1427
+ error?: ManagedClusterPodIdentityProvisioningErrorBody;
1428
+ }
1429
+
1430
+ /**
1431
+ * An interface representing ManagedClusterPodIdentityProvisioningInfo.
1432
+ */
1433
+ export interface ManagedClusterPodIdentityProvisioningInfo {
1434
+ /**
1435
+ * Pod identity assignment error (if any).
1436
+ */
1437
+ error?: ManagedClusterPodIdentityProvisioningError;
1438
+ }
1439
+
1440
+ /**
1441
+ * Details about the pod identity assigned to the Managed Cluster.
1442
+ */
1443
+ export interface ManagedClusterPodIdentity {
1444
+ /**
1445
+ * The name of the pod identity.
1446
+ */
1447
+ name: string;
1448
+ /**
1449
+ * The namespace of the pod identity.
1450
+ */
1451
+ namespace: string;
1452
+ /**
1453
+ * The binding selector to use for the AzureIdentityBinding resource.
1454
+ */
1455
+ bindingSelector?: string;
1456
+ /**
1457
+ * The user assigned identity details.
1458
+ */
1459
+ identity: UserAssignedIdentity;
1460
+ /**
1461
+ * The current provisioning state of the pod identity. Possible values include: 'Assigned',
1462
+ * 'Updating', 'Deleting', 'Failed'
1463
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1464
+ */
1465
+ readonly provisioningState?: ManagedClusterPodIdentityProvisioningState;
1466
+ /**
1467
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1468
+ */
1469
+ readonly provisioningInfo?: ManagedClusterPodIdentityProvisioningInfo;
1470
+ }
1471
+
1472
+ /**
1473
+ * See [disable AAD Pod Identity for a specific
1474
+ * Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/)
1475
+ * for more details.
1476
+ * @summary A pod identity exception, which allows pods with certain labels to access the Azure
1477
+ * Instance Metadata Service (IMDS) endpoint without being intercepted by the node-managed identity
1478
+ * (NMI) server.
1479
+ */
1480
+ export interface ManagedClusterPodIdentityException {
1481
+ /**
1482
+ * The name of the pod identity exception.
1483
+ */
1484
+ name: string;
1485
+ /**
1486
+ * The namespace of the pod identity exception.
1487
+ */
1488
+ namespace: string;
1489
+ /**
1490
+ * The pod labels to match.
1491
+ */
1492
+ podLabels: { [propertyName: string]: string };
1493
+ }
1494
+
1495
+ /**
1496
+ * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for
1497
+ * more details on pod identity integration.
1498
+ * @summary The pod identity profile of the Managed Cluster.
1499
+ */
1500
+ export interface ManagedClusterPodIdentityProfile {
1501
+ /**
1502
+ * Whether the pod identity addon is enabled.
1503
+ */
1504
+ enabled?: boolean;
1505
+ /**
1506
+ * Whether pod identity is allowed to run on clusters with Kubenet networking. Running in Kubenet
1507
+ * is disabled by default due to the security related nature of AAD Pod Identity and the risks of
1508
+ * IP spoofing. See [using Kubenet network plugin with AAD Pod
1509
+ * Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities)
1510
+ * for more information.
1511
+ */
1512
+ allowNetworkPluginKubenet?: boolean;
1513
+ /**
1514
+ * The pod identities to use in the cluster.
1515
+ */
1516
+ userAssignedIdentities?: ManagedClusterPodIdentity[];
1517
+ /**
1518
+ * The pod identity exceptions to allow.
1519
+ */
1520
+ userAssignedIdentityExceptions?: ManagedClusterPodIdentityException[];
1521
+ }
1522
+
1523
+ /**
1524
+ * For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
1525
+ * @summary AADProfile specifies attributes for Azure Active Directory integration.
1526
+ */
1527
+ export interface ManagedClusterAADProfile {
1528
+ /**
1529
+ * Whether to enable managed AAD.
1530
+ */
1531
+ managed?: boolean;
1532
+ /**
1533
+ * Whether to enable Azure RBAC for Kubernetes authorization.
1534
+ */
1535
+ enableAzureRBAC?: boolean;
1536
+ /**
1537
+ * The list of AAD group object IDs that will have admin role of the cluster.
1538
+ */
1539
+ adminGroupObjectIDs?: string[];
1540
+ /**
1541
+ * The client AAD application ID.
1542
+ */
1543
+ clientAppID?: string;
1544
+ /**
1545
+ * The server AAD application ID.
1546
+ */
1547
+ serverAppID?: string;
1548
+ /**
1549
+ * The server AAD application secret.
1550
+ */
1551
+ serverAppSecret?: string;
1552
+ /**
1553
+ * The AAD tenant ID to use for authentication. If not specified, will use the tenant of the
1554
+ * deployment subscription.
1555
+ */
1556
+ tenantID?: string;
1557
+ }
1558
+
1559
+ /**
1560
+ * Auto upgrade profile for a managed cluster.
1561
+ */
1562
+ export interface ManagedClusterAutoUpgradeProfile {
1563
+ /**
1564
+ * The upgrade channel for auto upgrade. The default is 'none'. For more information see [setting
1565
+ * the AKS cluster auto-upgrade
1566
+ * channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
1567
+ * Possible values include: 'rapid', 'stable', 'patch', 'node-image', 'none'
1568
+ */
1569
+ upgradeChannel?: UpgradeChannel;
1570
+ }
1571
+
1572
+ /**
1573
+ * Parameters to be applied to the cluster-autoscaler when enabled
1574
+ */
1575
+ export interface ManagedClusterPropertiesAutoScalerProfile {
1576
+ /**
1577
+ * Detects similar node pools and balances the number of nodes between them. Valid values are
1578
+ * 'true' and 'false'
1579
+ */
1580
+ balanceSimilarNodeGroups?: string;
1581
+ /**
1582
+ * The expander to use when scaling up. If not specified, the default is 'random'. See
1583
+ * [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders)
1584
+ * for more information. Possible values include: 'least-waste', 'most-pods', 'priority',
1585
+ * 'random'
1586
+ */
1587
+ expander?: Expander;
1588
+ /**
1589
+ * The maximum number of empty nodes that can be deleted at the same time. This must be a
1590
+ * positive integer. The default is 10.
1591
+ */
1592
+ maxEmptyBulkDelete?: string;
1593
+ /**
1594
+ * The maximum number of seconds the cluster autoscaler waits for pod termination when trying to
1595
+ * scale down a node. The default is 600.
1596
+ */
1597
+ maxGracefulTerminationSec?: string;
1598
+ /**
1599
+ * The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'.
1600
+ * Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is
1601
+ * supported.
1602
+ */
1603
+ maxNodeProvisionTime?: string;
1604
+ /**
1605
+ * The maximum percentage of unready nodes in the cluster. After this percentage is exceeded,
1606
+ * cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is
1607
+ * 0.
1608
+ */
1609
+ maxTotalUnreadyPercentage?: string;
1610
+ /**
1611
+ * Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale
1612
+ * where you don't want CA to act before the kubernetes scheduler could schedule all the pods,
1613
+ * you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'.
1614
+ * Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours,
1615
+ * etc).
1616
+ */
1617
+ newPodScaleUpDelay?: string;
1618
+ /**
1619
+ * The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must
1620
+ * be an integer. The default is 3.
1621
+ */
1622
+ okTotalUnreadyCount?: string;
1623
+ /**
1624
+ * How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an
1625
+ * integer number of seconds.
1626
+ */
1627
+ scanInterval?: string;
1628
+ /**
1629
+ * How long after scale up that scale down evaluation resumes. The default is '10m'. Values must
1630
+ * be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
1631
+ */
1632
+ scaleDownDelayAfterAdd?: string;
1633
+ /**
1634
+ * How long after node deletion that scale down evaluation resumes. The default is the
1635
+ * scan-interval. Values must be an integer followed by an 'm'. No unit of time other than
1636
+ * minutes (m) is supported.
1637
+ */
1638
+ scaleDownDelayAfterDelete?: string;
1639
+ /**
1640
+ * How long after scale down failure that scale down evaluation resumes. The default is '3m'.
1641
+ * Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is
1642
+ * supported.
1643
+ */
1644
+ scaleDownDelayAfterFailure?: string;
1645
+ /**
1646
+ * How long a node should be unneeded before it is eligible for scale down. The default is '10m'.
1647
+ * Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is
1648
+ * supported.
1649
+ */
1650
+ scaleDownUnneededTime?: string;
1651
+ /**
1652
+ * How long an unready node should be unneeded before it is eligible for scale down. The default
1653
+ * is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m)
1654
+ * is supported.
1655
+ */
1656
+ scaleDownUnreadyTime?: string;
1657
+ /**
1658
+ * Node utilization level, defined as sum of requested resources divided by capacity, below which
1659
+ * a node can be considered for scale down. The default is '0.5'.
1660
+ */
1661
+ scaleDownUtilizationThreshold?: string;
1662
+ /**
1663
+ * If cluster autoscaler will skip deleting nodes with pods with local storage, for example,
1664
+ * EmptyDir or HostPath. The default is true.
1665
+ */
1666
+ skipNodesWithLocalStorage?: string;
1667
+ /**
1668
+ * If cluster autoscaler will skip deleting nodes with pods from kube-system (except for
1669
+ * DaemonSet or mirror pods). The default is true.
1670
+ */
1671
+ skipNodesWithSystemPods?: string;
1672
+ }
1673
+
1674
+ /**
1675
+ * Access profile for managed cluster API server.
1676
+ */
1677
+ export interface ManagedClusterAPIServerAccessProfile {
1678
+ /**
1679
+ * The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR
1680
+ * format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public
1681
+ * IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API
1682
+ * server authorized IP
1683
+ * ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges).
1684
+ */
1685
+ authorizedIPRanges?: string[];
1686
+ /**
1687
+ * Whether to create the cluster as a private cluster or not. For more details, see [Creating a
1688
+ * private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters).
1689
+ */
1690
+ enablePrivateCluster?: boolean;
1691
+ /**
1692
+ * The private DNS zone mode for the cluster. The default is System. For more details see
1693
+ * [configure private DNS
1694
+ * zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone).
1695
+ * Allowed values are 'system' and 'none'.
1696
+ */
1697
+ privateDNSZone?: string;
1698
+ /**
1699
+ * Whether to create additional public FQDN for private cluster or not.
1700
+ */
1701
+ enablePrivateClusterPublicFQDN?: boolean;
1702
+ /**
1703
+ * Whether to disable run command for the cluster or not.
1704
+ */
1705
+ disableRunCommand?: boolean;
1706
+ }
1707
+
1708
+ /**
1709
+ * A private link resource
1710
+ */
1711
+ export interface PrivateLinkResource {
1712
+ /**
1713
+ * The ID of the private link resource.
1714
+ */
1715
+ id?: string;
1716
+ /**
1717
+ * The name of the private link resource.
1718
+ */
1719
+ name?: string;
1720
+ /**
1721
+ * The resource type.
1722
+ */
1723
+ type?: string;
1724
+ /**
1725
+ * The group ID of the resource.
1726
+ */
1727
+ groupId?: string;
1728
+ /**
1729
+ * The RequiredMembers of the resource
1730
+ */
1731
+ requiredMembers?: string[];
1732
+ /**
1733
+ * The private link service ID of the resource, this field is exposed only to NRP internally.
1734
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1735
+ */
1736
+ readonly privateLinkServiceID?: string;
1737
+ }
1738
+
1739
+ /**
1740
+ * Cluster HTTP proxy configuration.
1741
+ */
1742
+ export interface ManagedClusterHTTPProxyConfig {
1743
+ /**
1744
+ * The HTTP proxy server endpoint to use.
1745
+ */
1746
+ httpProxy?: string;
1747
+ /**
1748
+ * The HTTPS proxy server endpoint to use.
1749
+ */
1750
+ httpsProxy?: string;
1751
+ /**
1752
+ * The endpoints that should not go through proxy.
1753
+ */
1754
+ noProxy?: string[];
1755
+ /**
1756
+ * Alternative CA cert to use for connecting to proxy servers.
1757
+ */
1758
+ trustedCa?: string;
1759
+ }
1760
+
1761
+ /**
1762
+ * Azure Defender settings for the security profile.
1763
+ */
1764
+ export interface ManagedClusterSecurityProfileAzureDefender {
1765
+ /**
1766
+ * Whether to enable Azure Defender
1767
+ */
1768
+ enabled?: boolean;
1769
+ /**
1770
+ * Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure
1771
+ * Defender is enabled, this field is required and must be a valid workspace resource ID. When
1772
+ * Azure Defender is disabled, leave the field empty.
1773
+ */
1774
+ logAnalyticsWorkspaceResourceId?: string;
1775
+ }
1776
+
1777
+ /**
1778
+ * Security profile for the container service cluster.
1779
+ */
1780
+ export interface ManagedClusterSecurityProfile {
1781
+ /**
1782
+ * Azure Defender settings for the security profile.
1783
+ */
1784
+ azureDefender?: ManagedClusterSecurityProfileAzureDefender;
1785
+ }
1786
+
1787
+ /**
1788
+ * Managed cluster.
1789
+ */
1790
+ export interface ManagedCluster extends Resource {
1791
+ /**
1792
+ * The managed cluster SKU.
1793
+ */
1794
+ sku?: ManagedClusterSKU;
1795
+ /**
1796
+ * The extended location of the Virtual Machine.
1797
+ */
1798
+ extendedLocation?: ExtendedLocation;
1799
+ /**
1800
+ * The identity of the managed cluster, if configured.
1801
+ */
1802
+ identity?: ManagedClusterIdentity;
1803
+ /**
1804
+ * The current provisioning state.
1805
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1806
+ */
1807
+ readonly provisioningState?: string;
1808
+ /**
1809
+ * The Power State of the cluster.
1810
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1811
+ */
1812
+ readonly powerState?: PowerState;
1813
+ /**
1814
+ * The max number of agent pools for the managed cluster.
1815
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1816
+ */
1817
+ readonly maxAgentPools?: number;
1818
+ /**
1819
+ * The version of Kubernetes the Managed Cluster is running. When you upgrade a supported AKS
1820
+ * cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed
1821
+ * sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x
1822
+ * -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
1823
+ * cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
1824
+ */
1825
+ kubernetesVersion?: string;
1826
+ /**
1827
+ * The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has
1828
+ * been created.
1829
+ */
1830
+ dnsPrefix?: string;
1831
+ /**
1832
+ * The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated
1833
+ * once the Managed Cluster has been created.
1834
+ */
1835
+ fqdnSubdomain?: string;
1836
+ /**
1837
+ * The FQDN of the master pool.
1838
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1839
+ */
1840
+ readonly fqdn?: string;
1841
+ /**
1842
+ * The FQDN of private cluster.
1843
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1844
+ */
1845
+ readonly privateFQDN?: string;
1846
+ /**
1847
+ * The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use
1848
+ * only by the Azure Portal and should not be used by other clients. The Azure Portal requires
1849
+ * certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which
1850
+ * Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the
1851
+ * Azure Portal to function properly.
1852
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
1853
+ */
1854
+ readonly azurePortalFQDN?: string;
1855
+ /**
1856
+ * The agent pool properties.
1857
+ */
1858
+ agentPoolProfiles?: ManagedClusterAgentPoolProfile[];
1859
+ /**
1860
+ * The profile for Linux VMs in the Managed Cluster.
1861
+ */
1862
+ linuxProfile?: ContainerServiceLinuxProfile;
1863
+ /**
1864
+ * The profile for Windows VMs in the Managed Cluster.
1865
+ */
1866
+ windowsProfile?: ManagedClusterWindowsProfile;
1867
+ /**
1868
+ * Information about a service principal identity for the cluster to use for manipulating Azure
1869
+ * APIs.
1870
+ */
1871
+ servicePrincipalProfile?: ManagedClusterServicePrincipalProfile;
1872
+ /**
1873
+ * The profile of managed cluster add-on.
1874
+ */
1875
+ addonProfiles?: { [propertyName: string]: ManagedClusterAddonProfile };
1876
+ /**
1877
+ * The pod identity profile of the Managed Cluster. See [use AAD pod
1878
+ * identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on
1879
+ * AAD pod identity integration.
1880
+ */
1881
+ podIdentityProfile?: ManagedClusterPodIdentityProfile;
1882
+ /**
1883
+ * The name of the resource group containing agent pool nodes.
1884
+ */
1885
+ nodeResourceGroup?: string;
1886
+ /**
1887
+ * Whether to enable Kubernetes Role-Based Access Control.
1888
+ */
1889
+ enableRBAC?: boolean;
1890
+ /**
1891
+ * (DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set
1892
+ * for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy.
1893
+ */
1894
+ enablePodSecurityPolicy?: boolean;
1895
+ /**
1896
+ * The network configuration profile.
1897
+ */
1898
+ networkProfile?: ContainerServiceNetworkProfile;
1899
+ /**
1900
+ * The Azure Active Directory configuration.
1901
+ */
1902
+ aadProfile?: ManagedClusterAADProfile;
1903
+ /**
1904
+ * The auto upgrade configuration.
1905
+ */
1906
+ autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile;
1907
+ /**
1908
+ * Parameters to be applied to the cluster-autoscaler when enabled
1909
+ */
1910
+ autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile;
1911
+ /**
1912
+ * The access profile for managed cluster API server.
1913
+ */
1914
+ apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile;
1915
+ /**
1916
+ * The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of
1917
+ * the form:
1918
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
1919
+ */
1920
+ diskEncryptionSetID?: string;
1921
+ /**
1922
+ * Identities associated with the cluster.
1923
+ */
1924
+ identityProfile?: { [propertyName: string]: UserAssignedIdentity };
1925
+ /**
1926
+ * Private link resources associated with the cluster.
1927
+ */
1928
+ privateLinkResources?: PrivateLinkResource[];
1929
+ /**
1930
+ * If local accounts should be disabled on the Managed Cluster. If set to true, getting static
1931
+ * credentials will be disabled for this cluster. This must only be used on Managed Clusters that
1932
+ * are AAD enabled. For more details see [disable local
1933
+ * accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview).
1934
+ */
1935
+ disableLocalAccounts?: boolean;
1936
+ /**
1937
+ * Configurations for provisioning the cluster with HTTP proxy servers.
1938
+ */
1939
+ httpProxyConfig?: ManagedClusterHTTPProxyConfig;
1940
+ /**
1941
+ * Security profile for the managed cluster.
1942
+ */
1943
+ securityProfile?: ManagedClusterSecurityProfile;
1944
+ /**
1945
+ * Whether the cluster can be accessed through public network or not. Default value is 'Enabled'
1946
+ * (case insensitive). Could be set to 'Disabled' to enable private cluster. Possible values
1947
+ * include: 'Enabled', 'Disabled'
1948
+ */
1949
+ publicNetworkAccess?: PublicNetworkAccess;
1950
+ }
1951
+
1952
+ /**
1953
+ * Managed cluster Access Profile.
1954
+ */
1955
+ export interface ManagedClusterAccessProfile extends Resource {
1956
+ /**
1957
+ * Base64-encoded Kubernetes configuration file.
1958
+ */
1959
+ kubeConfig?: Uint8Array;
1960
+ }
1961
+
1962
+ /**
1963
+ * An interface representing ManagedClusterPoolUpgradeProfileUpgradesItem.
1964
+ */
1965
+ export interface ManagedClusterPoolUpgradeProfileUpgradesItem {
1966
+ /**
1967
+ * The Kubernetes version (major.minor.patch).
1968
+ */
1969
+ kubernetesVersion?: string;
1970
+ /**
1971
+ * Whether the Kubernetes version is currently in preview.
1972
+ */
1973
+ isPreview?: boolean;
1974
+ }
1975
+
1976
+ /**
1977
+ * The list of available upgrade versions.
1978
+ */
1979
+ export interface ManagedClusterPoolUpgradeProfile {
1980
+ /**
1981
+ * The Kubernetes version (major.minor.patch).
1982
+ */
1983
+ kubernetesVersion: string;
1984
+ /**
1985
+ * The Agent Pool name.
1986
+ */
1987
+ name?: string;
1988
+ /**
1989
+ * Possible values include: 'Linux', 'Windows'. Default value: 'Linux'.
1990
+ */
1991
+ osType: OSType;
1992
+ /**
1993
+ * List of orchestrator types and versions available for upgrade.
1994
+ */
1995
+ upgrades?: ManagedClusterPoolUpgradeProfileUpgradesItem[];
1996
+ }
1997
+
1998
+ /**
1999
+ * The list of available upgrades for compute pools.
2000
+ */
2001
+ export interface ManagedClusterUpgradeProfile {
2002
+ /**
2003
+ * The ID of the upgrade profile.
2004
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2005
+ */
2006
+ readonly id?: string;
2007
+ /**
2008
+ * The name of the upgrade profile.
2009
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2010
+ */
2011
+ readonly name?: string;
2012
+ /**
2013
+ * The type of the upgrade profile.
2014
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2015
+ */
2016
+ readonly type?: string;
2017
+ /**
2018
+ * The list of available upgrade versions for the control plane.
2019
+ */
2020
+ controlPlaneProfile: ManagedClusterPoolUpgradeProfile;
2021
+ /**
2022
+ * The list of available upgrade versions for agent pools.
2023
+ */
2024
+ agentPoolProfiles: ManagedClusterPoolUpgradeProfile[];
2025
+ }
2026
+
2027
+ /**
2028
+ * An interface representing AgentPoolUpgradeProfilePropertiesUpgradesItem.
2029
+ */
2030
+ export interface AgentPoolUpgradeProfilePropertiesUpgradesItem {
2031
+ /**
2032
+ * The Kubernetes version (major.minor.patch).
2033
+ */
2034
+ kubernetesVersion?: string;
2035
+ /**
2036
+ * Whether the Kubernetes version is currently in preview.
2037
+ */
2038
+ isPreview?: boolean;
2039
+ }
2040
+
2041
+ /**
2042
+ * The list of available upgrades for an agent pool.
2043
+ */
2044
+ export interface AgentPoolUpgradeProfile {
2045
+ /**
2046
+ * The ID of the agent pool upgrade profile.
2047
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2048
+ */
2049
+ readonly id?: string;
2050
+ /**
2051
+ * The name of the agent pool upgrade profile.
2052
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2053
+ */
2054
+ readonly name?: string;
2055
+ /**
2056
+ * The type of the agent pool upgrade profile.
2057
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2058
+ */
2059
+ readonly type?: string;
2060
+ /**
2061
+ * The Kubernetes version (major.minor.patch).
2062
+ */
2063
+ kubernetesVersion: string;
2064
+ /**
2065
+ * Possible values include: 'Linux', 'Windows'. Default value: 'Linux'.
2066
+ */
2067
+ osType: OSType;
2068
+ /**
2069
+ * List of orchestrator types and versions available for upgrade.
2070
+ */
2071
+ upgrades?: AgentPoolUpgradeProfilePropertiesUpgradesItem[];
2072
+ /**
2073
+ * The latest AKS supported node image version.
2074
+ */
2075
+ latestNodeImageVersion?: string;
2076
+ }
2077
+
2078
+ /**
2079
+ * An interface representing AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.
2080
+ */
2081
+ export interface AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem {
2082
+ /**
2083
+ * Whether this version is the default agent pool version.
2084
+ */
2085
+ default?: boolean;
2086
+ /**
2087
+ * The Kubernetes version (major.minor.patch).
2088
+ */
2089
+ kubernetesVersion?: string;
2090
+ /**
2091
+ * Whether Kubernetes version is currently in preview.
2092
+ */
2093
+ isPreview?: boolean;
2094
+ }
2095
+
2096
+ /**
2097
+ * The list of available versions for an agent pool.
2098
+ */
2099
+ export interface AgentPoolAvailableVersions {
2100
+ /**
2101
+ * The ID of the agent pool version list.
2102
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2103
+ */
2104
+ readonly id?: string;
2105
+ /**
2106
+ * The name of the agent pool version list.
2107
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2108
+ */
2109
+ readonly name?: string;
2110
+ /**
2111
+ * Type of the agent pool version list.
2112
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2113
+ */
2114
+ readonly type?: string;
2115
+ /**
2116
+ * List of versions available for agent pool.
2117
+ */
2118
+ agentPoolVersions?: AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem[];
2119
+ }
2120
+
2121
+ /**
2122
+ * The credential result response.
2123
+ */
2124
+ export interface CredentialResult {
2125
+ /**
2126
+ * The name of the credential.
2127
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2128
+ */
2129
+ readonly name?: string;
2130
+ /**
2131
+ * Base64-encoded Kubernetes configuration file.
2132
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2133
+ */
2134
+ readonly value?: Uint8Array;
2135
+ }
2136
+
2137
+ /**
2138
+ * The list credential result response.
2139
+ */
2140
+ export interface CredentialResults {
2141
+ /**
2142
+ * Base64-encoded Kubernetes configuration file.
2143
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2144
+ */
2145
+ readonly kubeconfigs?: CredentialResult[];
2146
+ }
2147
+
2148
+ /**
2149
+ * Private endpoint which a connection belongs to.
2150
+ */
2151
+ export interface PrivateEndpoint {
2152
+ /**
2153
+ * The resource ID of the private endpoint
2154
+ */
2155
+ id?: string;
2156
+ }
2157
+
2158
+ /**
2159
+ * The state of a private link service connection.
2160
+ */
2161
+ export interface PrivateLinkServiceConnectionState {
2162
+ /**
2163
+ * The private link service connection status. Possible values include: 'Pending', 'Approved',
2164
+ * 'Rejected', 'Disconnected'
2165
+ */
2166
+ status?: ConnectionStatus;
2167
+ /**
2168
+ * The private link service connection description.
2169
+ */
2170
+ description?: string;
2171
+ }
2172
+
2173
+ /**
2174
+ * A private endpoint connection
2175
+ */
2176
+ export interface PrivateEndpointConnection extends BaseResource {
2177
+ /**
2178
+ * The ID of the private endpoint connection.
2179
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2180
+ */
2181
+ readonly id?: string;
2182
+ /**
2183
+ * The name of the private endpoint connection.
2184
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2185
+ */
2186
+ readonly name?: string;
2187
+ /**
2188
+ * The resource type.
2189
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2190
+ */
2191
+ readonly type?: string;
2192
+ /**
2193
+ * The current provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting',
2194
+ * 'Failed'
2195
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2196
+ */
2197
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2198
+ /**
2199
+ * The resource of private endpoint.
2200
+ */
2201
+ privateEndpoint?: PrivateEndpoint;
2202
+ /**
2203
+ * A collection of information about the state of the connection between service consumer and
2204
+ * provider.
2205
+ */
2206
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
2207
+ }
2208
+
2209
+ /**
2210
+ * A list of private endpoint connections
2211
+ */
2212
+ export interface PrivateEndpointConnectionListResult {
2213
+ /**
2214
+ * The collection value.
2215
+ */
2216
+ value?: PrivateEndpointConnection[];
2217
+ }
2218
+
2219
+ /**
2220
+ * A list of private link resources
2221
+ */
2222
+ export interface PrivateLinkResourcesListResult {
2223
+ /**
2224
+ * The collection value.
2225
+ */
2226
+ value?: PrivateLinkResource[];
2227
+ }
2228
+
2229
+ /**
2230
+ * OS option property.
2231
+ */
2232
+ export interface OSOptionProperty {
2233
+ /**
2234
+ * The OS type.
2235
+ */
2236
+ osType: string;
2237
+ /**
2238
+ * Whether the image is FIPS-enabled.
2239
+ */
2240
+ enableFipsImage: boolean;
2241
+ }
2242
+
2243
+ /**
2244
+ * The OS option profile.
2245
+ */
2246
+ export interface OSOptionProfile {
2247
+ /**
2248
+ * The ID of the OS option resource.
2249
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2250
+ */
2251
+ readonly id?: string;
2252
+ /**
2253
+ * The name of the OS option resource.
2254
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2255
+ */
2256
+ readonly name?: string;
2257
+ /**
2258
+ * The type of the OS option resource.
2259
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2260
+ */
2261
+ readonly type?: string;
2262
+ /**
2263
+ * The list of OS options.
2264
+ */
2265
+ osOptionPropertyList: OSOptionProperty[];
2266
+ }
2267
+
2268
+ /**
2269
+ * connect information from the AKS agent nodes to a single endpoint.
2270
+ */
2271
+ export interface EndpointDetail {
2272
+ /**
2273
+ * An IP Address that Domain Name currently resolves to.
2274
+ */
2275
+ ipAddress?: string;
2276
+ /**
2277
+ * The port an endpoint is connected to.
2278
+ */
2279
+ port?: number;
2280
+ /**
2281
+ * The protocol used for connection
2282
+ */
2283
+ protocol?: string;
2284
+ /**
2285
+ * Description of the detail
2286
+ */
2287
+ description?: string;
2288
+ }
2289
+
2290
+ /**
2291
+ * A domain name that AKS agent nodes are reaching at.
2292
+ */
2293
+ export interface EndpointDependency {
2294
+ /**
2295
+ * The domain name of the dependency.
2296
+ */
2297
+ domainName?: string;
2298
+ /**
2299
+ * The Ports and Protocols used when connecting to domainName.
2300
+ */
2301
+ endpointDetails?: EndpointDetail[];
2302
+ }
2303
+
2304
+ /**
2305
+ * Egress endpoints which AKS agent nodes connect to for common purpose.
2306
+ */
2307
+ export interface OutboundEnvironmentEndpoint {
2308
+ /**
2309
+ * The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management,
2310
+ * apiserver, etc.
2311
+ */
2312
+ category?: string;
2313
+ /**
2314
+ * The endpoints that AKS agent nodes connect to
2315
+ */
2316
+ endpoints?: EndpointDependency[];
2317
+ }
2318
+
2319
+ /**
2320
+ * A node pool snapshot resource.
2321
+ */
2322
+ export interface Snapshot extends Resource {
2323
+ /**
2324
+ * The system metadata relating to this snapshot.
2325
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2326
+ */
2327
+ readonly systemData?: SystemData;
2328
+ /**
2329
+ * CreationData to be used to specify the source agent pool resource ID to create this snapshot.
2330
+ */
2331
+ creationData?: CreationData;
2332
+ /**
2333
+ * Possible values include: 'NodePool'. Default value: 'NodePool'.
2334
+ */
2335
+ snapshotType?: SnapshotType;
2336
+ }
2337
+
2338
+ /**
2339
+ * Optional Parameters.
2340
+ */
2341
+ export interface ManagedClustersGetOSOptionsOptionalParams extends msRest.RequestOptionsBase {
2342
+ /**
2343
+ * The resource type for which the OS options needs to be returned
2344
+ */
2345
+ resourceType?: string;
2346
+ }
2347
+
2348
+ /**
2349
+ * Optional Parameters.
2350
+ */
2351
+ export interface ManagedClustersListClusterAdminCredentialsOptionalParams extends msRest.RequestOptionsBase {
2352
+ /**
2353
+ * server fqdn type for credentials to be returned
2354
+ */
2355
+ serverFqdn?: string;
2356
+ }
2357
+
2358
+ /**
2359
+ * Optional Parameters.
2360
+ */
2361
+ export interface ManagedClustersListClusterUserCredentialsOptionalParams extends msRest.RequestOptionsBase {
2362
+ /**
2363
+ * server fqdn type for credentials to be returned
2364
+ */
2365
+ serverFqdn?: string;
2366
+ }
2367
+
2368
+ /**
2369
+ * Optional Parameters.
2370
+ */
2371
+ export interface ManagedClustersListClusterMonitoringUserCredentialsOptionalParams extends msRest.RequestOptionsBase {
2372
+ /**
2373
+ * server fqdn type for credentials to be returned
2374
+ */
2375
+ serverFqdn?: string;
2376
+ }
2377
+
2378
+ /**
2379
+ * An interface representing ContainerServiceClientOptions.
2380
+ */
2381
+ export interface ContainerServiceClientOptions extends AzureServiceClientOptions {
2382
+ baseUri?: string;
2383
+ }
2384
+
2385
+ /**
2386
+ * @interface
2387
+ * The List Operation response.
2388
+ * @extends Array<OperationValue>
2389
+ */
2390
+ export interface OperationListResult extends Array<OperationValue> {
2391
+ }
2392
+
2393
+ /**
2394
+ * @interface
2395
+ * The response from the List Managed Clusters operation.
2396
+ * @extends Array<ManagedCluster>
2397
+ */
2398
+ export interface ManagedClusterListResult extends Array<ManagedCluster> {
2399
+ /**
2400
+ * The URL to get the next set of managed cluster results.
2401
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2402
+ */
2403
+ readonly nextLink?: string;
2404
+ }
2405
+
2406
+ /**
2407
+ * @interface
2408
+ * Collection of OutboundEnvironmentEndpoint
2409
+ * @extends Array<OutboundEnvironmentEndpoint>
2410
+ */
2411
+ export interface OutboundEnvironmentEndpointCollection extends Array<OutboundEnvironmentEndpoint> {
2412
+ /**
2413
+ * Link to next page of resources.
2414
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2415
+ */
2416
+ readonly nextLink?: string;
2417
+ }
2418
+
2419
+ /**
2420
+ * @interface
2421
+ * The response from the List maintenance configurations operation.
2422
+ * @extends Array<MaintenanceConfiguration>
2423
+ */
2424
+ export interface MaintenanceConfigurationListResult extends Array<MaintenanceConfiguration> {
2425
+ /**
2426
+ * The URL to get the next set of maintenance configuration results.
2427
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2428
+ */
2429
+ readonly nextLink?: string;
2430
+ }
2431
+
2432
+ /**
2433
+ * @interface
2434
+ * The response from the List Agent Pools operation.
2435
+ * @extends Array<AgentPool>
2436
+ */
2437
+ export interface AgentPoolListResult extends Array<AgentPool> {
2438
+ /**
2439
+ * The URL to get the next set of agent pool results.
2440
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2441
+ */
2442
+ readonly nextLink?: string;
2443
+ }
2444
+
2445
+ /**
2446
+ * @interface
2447
+ * The response from the List Snapshots operation.
2448
+ * @extends Array<Snapshot>
2449
+ */
2450
+ export interface SnapshotListResult extends Array<Snapshot> {
2451
+ /**
2452
+ * The URL to get the next set of snapshot results.
2453
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2454
+ */
2455
+ readonly nextLink?: string;
2456
+ }
2457
+
2458
+ /**
2459
+ * Defines values for ContainerServiceStorageProfileTypes.
2460
+ * Possible values include: 'StorageAccount', 'ManagedDisks'
2461
+ * @readonly
2462
+ * @enum {string}
2463
+ */
2464
+ export type ContainerServiceStorageProfileTypes = 'StorageAccount' | 'ManagedDisks';
2465
+
2466
+ /**
2467
+ * Defines values for ContainerServiceVMSizeTypes.
2468
+ * Possible values include: 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2',
2469
+ * 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', 'Standard_A4',
2470
+ * 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
2471
+ * 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s',
2472
+ * 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', 'Standard_D11_v2',
2473
+ * 'Standard_D11_v2_Promo', 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
2474
+ * 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', 'Standard_D14_v2',
2475
+ * 'Standard_D14_v2_Promo', 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
2476
+ * 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', 'Standard_D2_v3',
2477
+ * 'Standard_D2s_v3', 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
2478
+ * 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', 'Standard_D4_v2_Promo',
2479
+ * 'Standard_D4_v3', 'Standard_D4s_v3', 'Standard_D5_v2', 'Standard_D5_v2_Promo',
2480
+ * 'Standard_D64_v3', 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', 'Standard_DS1',
2481
+ * 'Standard_DS11', 'Standard_DS11_v2', 'Standard_DS11_v2_Promo', 'Standard_DS12',
2482
+ * 'Standard_DS12_v2', 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
2483
+ * 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', 'Standard_DS14',
2484
+ * 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', 'Standard_DS14_v2', 'Standard_DS14_v2_Promo',
2485
+ * 'Standard_DS15_v2', 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
2486
+ * 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', 'Standard_DS3_v2_Promo',
2487
+ * 'Standard_DS4', 'Standard_DS4_v2', 'Standard_DS4_v2_Promo', 'Standard_DS5_v2',
2488
+ * 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
2489
+ * 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3', 'Standard_E32_v3',
2490
+ * 'Standard_E32s_v3', 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3',
2491
+ * 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
2492
+ * 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s', 'Standard_F16s_v2',
2493
+ * 'Standard_F1s', 'Standard_F2', 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2',
2494
+ * 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
2495
+ * 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3',
2496
+ * 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
2497
+ * 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', 'Standard_GS5-8',
2498
+ * 'Standard_H16', 'Standard_H16m', 'Standard_H16mr', 'Standard_H16r', 'Standard_H8',
2499
+ * 'Standard_H8m', 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s',
2500
+ * 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
2501
+ * 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12',
2502
+ * 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
2503
+ * 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2', 'Standard_NC24s_v3',
2504
+ * 'Standard_NC6', 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
2505
+ * 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6'
2506
+ * @readonly
2507
+ * @enum {string}
2508
+ */
2509
+ export type ContainerServiceVMSizeTypes = 'Standard_A1' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2' | 'Standard_A2_v2' | 'Standard_A2m_v2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A4_v2' | 'Standard_A4m_v2' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A8_v2' | 'Standard_A8m_v2' | 'Standard_A9' | 'Standard_B2ms' | 'Standard_B2s' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D11' | 'Standard_D11_v2' | 'Standard_D11_v2_Promo' | 'Standard_D12' | 'Standard_D12_v2' | 'Standard_D12_v2_Promo' | 'Standard_D13' | 'Standard_D13_v2' | 'Standard_D13_v2_Promo' | 'Standard_D14' | 'Standard_D14_v2' | 'Standard_D14_v2_Promo' | 'Standard_D15_v2' | 'Standard_D16_v3' | 'Standard_D16s_v3' | 'Standard_D1_v2' | 'Standard_D2' | 'Standard_D2_v2' | 'Standard_D2_v2_Promo' | 'Standard_D2_v3' | 'Standard_D2s_v3' | 'Standard_D3' | 'Standard_D32_v3' | 'Standard_D32s_v3' | 'Standard_D3_v2' | 'Standard_D3_v2_Promo' | 'Standard_D4' | 'Standard_D4_v2' | 'Standard_D4_v2_Promo' | 'Standard_D4_v3' | 'Standard_D4s_v3' | 'Standard_D5_v2' | 'Standard_D5_v2_Promo' | 'Standard_D64_v3' | 'Standard_D64s_v3' | 'Standard_D8_v3' | 'Standard_D8s_v3' | 'Standard_DS1' | 'Standard_DS11' | 'Standard_DS11_v2' | 'Standard_DS11_v2_Promo' | 'Standard_DS12' | 'Standard_DS12_v2' | 'Standard_DS12_v2_Promo' | 'Standard_DS13' | 'Standard_DS13-2_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13_v2' | 'Standard_DS13_v2_Promo' | 'Standard_DS14' | 'Standard_DS14-4_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14_v2' | 'Standard_DS14_v2_Promo' | 'Standard_DS15_v2' | 'Standard_DS1_v2' | 'Standard_DS2' | 'Standard_DS2_v2' | 'Standard_DS2_v2_Promo' | 'Standard_DS3' | 'Standard_DS3_v2' | 'Standard_DS3_v2_Promo' | 'Standard_DS4' | 'Standard_DS4_v2' | 'Standard_DS4_v2_Promo' | 'Standard_DS5_v2' | 'Standard_DS5_v2_Promo' | 'Standard_E16_v3' | 'Standard_E16s_v3' | 'Standard_E2_v3' | 'Standard_E2s_v3' | 'Standard_E32-16s_v3' | 'Standard_E32-8s_v3' | 'Standard_E32_v3' | 'Standard_E32s_v3' | 'Standard_E4_v3' | 'Standard_E4s_v3' | 'Standard_E64-16s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64_v3' | 'Standard_E64s_v3' | 'Standard_E8_v3' | 'Standard_E8s_v3' | 'Standard_F1' | 'Standard_F16' | 'Standard_F16s' | 'Standard_F16s_v2' | 'Standard_F1s' | 'Standard_F2' | 'Standard_F2s' | 'Standard_F2s_v2' | 'Standard_F32s_v2' | 'Standard_F4' | 'Standard_F4s' | 'Standard_F4s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_F8' | 'Standard_F8s' | 'Standard_F8s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS4-4' | 'Standard_GS4-8' | 'Standard_GS5' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H16' | 'Standard_H16m' | 'Standard_H16mr' | 'Standard_H16r' | 'Standard_H8' | 'Standard_H8m' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_M128-32ms' | 'Standard_M128-64ms' | 'Standard_M128ms' | 'Standard_M128s' | 'Standard_M64-16ms' | 'Standard_M64-32ms' | 'Standard_M64ms' | 'Standard_M64s' | 'Standard_NC12' | 'Standard_NC12s_v2' | 'Standard_NC12s_v3' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC24rs_v2' | 'Standard_NC24rs_v3' | 'Standard_NC24s_v2' | 'Standard_NC24s_v3' | 'Standard_NC6' | 'Standard_NC6s_v2' | 'Standard_NC6s_v3' | 'Standard_ND12s' | 'Standard_ND24rs' | 'Standard_ND24s' | 'Standard_ND6s' | 'Standard_NV12' | 'Standard_NV24' | 'Standard_NV6';
2510
+
2511
+ /**
2512
+ * Defines values for OSDiskType.
2513
+ * Possible values include: 'Managed', 'Ephemeral'
2514
+ * @readonly
2515
+ * @enum {string}
2516
+ */
2517
+ export type OSDiskType = 'Managed' | 'Ephemeral';
2518
+
2519
+ /**
2520
+ * Defines values for KubeletDiskType.
2521
+ * Possible values include: 'OS', 'Temporary'
2522
+ * @readonly
2523
+ * @enum {string}
2524
+ */
2525
+ export type KubeletDiskType = 'OS' | 'Temporary';
2526
+
2527
+ /**
2528
+ * Defines values for WorkloadRuntime.
2529
+ * Possible values include: 'OCIContainer', 'WasmWasi'
2530
+ * @readonly
2531
+ * @enum {string}
2532
+ */
2533
+ export type WorkloadRuntime = 'OCIContainer' | 'WasmWasi';
2534
+
2535
+ /**
2536
+ * Defines values for OSType.
2537
+ * Possible values include: 'Linux', 'Windows'
2538
+ * @readonly
2539
+ * @enum {string}
2540
+ */
2541
+ export type OSType = 'Linux' | 'Windows';
2542
+
2543
+ /**
2544
+ * Defines values for OSSKU.
2545
+ * Possible values include: 'Ubuntu', 'CBLMariner'
2546
+ * @readonly
2547
+ * @enum {string}
2548
+ */
2549
+ export type OSSKU = 'Ubuntu' | 'CBLMariner';
2550
+
2551
+ /**
2552
+ * Defines values for ScaleDownMode.
2553
+ * Possible values include: 'Delete', 'Deallocate'
2554
+ * @readonly
2555
+ * @enum {string}
2556
+ */
2557
+ export type ScaleDownMode = 'Delete' | 'Deallocate';
2558
+
2559
+ /**
2560
+ * Defines values for AgentPoolType.
2561
+ * Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet'
2562
+ * @readonly
2563
+ * @enum {string}
2564
+ */
2565
+ export type AgentPoolType = 'VirtualMachineScaleSets' | 'AvailabilitySet';
2566
+
2567
+ /**
2568
+ * Defines values for AgentPoolMode.
2569
+ * Possible values include: 'System', 'User'
2570
+ * @readonly
2571
+ * @enum {string}
2572
+ */
2573
+ export type AgentPoolMode = 'System' | 'User';
2574
+
2575
+ /**
2576
+ * Defines values for Code.
2577
+ * Possible values include: 'Running', 'Stopped'
2578
+ * @readonly
2579
+ * @enum {string}
2580
+ */
2581
+ export type Code = 'Running' | 'Stopped';
2582
+
2583
+ /**
2584
+ * Defines values for ScaleSetPriority.
2585
+ * Possible values include: 'Spot', 'Regular'
2586
+ * @readonly
2587
+ * @enum {string}
2588
+ */
2589
+ export type ScaleSetPriority = 'Spot' | 'Regular';
2590
+
2591
+ /**
2592
+ * Defines values for ScaleSetEvictionPolicy.
2593
+ * Possible values include: 'Delete', 'Deallocate'
2594
+ * @readonly
2595
+ * @enum {string}
2596
+ */
2597
+ export type ScaleSetEvictionPolicy = 'Delete' | 'Deallocate';
2598
+
2599
+ /**
2600
+ * Defines values for GPUInstanceProfile.
2601
+ * Possible values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g'
2602
+ * @readonly
2603
+ * @enum {string}
2604
+ */
2605
+ export type GPUInstanceProfile = 'MIG1g' | 'MIG2g' | 'MIG3g' | 'MIG4g' | 'MIG7g';
2606
+
2607
+ /**
2608
+ * Defines values for LicenseType.
2609
+ * Possible values include: 'None', 'Windows_Server'
2610
+ * @readonly
2611
+ * @enum {string}
2612
+ */
2613
+ export type LicenseType = 'None' | 'Windows_Server';
2614
+
2615
+ /**
2616
+ * Defines values for NetworkPlugin.
2617
+ * Possible values include: 'azure', 'kubenet'
2618
+ * @readonly
2619
+ * @enum {string}
2620
+ */
2621
+ export type NetworkPlugin = 'azure' | 'kubenet';
2622
+
2623
+ /**
2624
+ * Defines values for NetworkPolicy.
2625
+ * Possible values include: 'calico', 'azure'
2626
+ * @readonly
2627
+ * @enum {string}
2628
+ */
2629
+ export type NetworkPolicy = 'calico' | 'azure';
2630
+
2631
+ /**
2632
+ * Defines values for NetworkMode.
2633
+ * Possible values include: 'transparent', 'bridge'
2634
+ * @readonly
2635
+ * @enum {string}
2636
+ */
2637
+ export type NetworkMode = 'transparent' | 'bridge';
2638
+
2639
+ /**
2640
+ * Defines values for OutboundType.
2641
+ * Possible values include: 'loadBalancer', 'userDefinedRouting', 'managedNATGateway',
2642
+ * 'userAssignedNATGateway'
2643
+ * @readonly
2644
+ * @enum {string}
2645
+ */
2646
+ export type OutboundType = 'loadBalancer' | 'userDefinedRouting' | 'managedNATGateway' | 'userAssignedNATGateway';
2647
+
2648
+ /**
2649
+ * Defines values for LoadBalancerSku.
2650
+ * Possible values include: 'standard', 'basic'
2651
+ * @readonly
2652
+ * @enum {string}
2653
+ */
2654
+ export type LoadBalancerSku = 'standard' | 'basic';
2655
+
2656
+ /**
2657
+ * Defines values for CreatedByType.
2658
+ * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
2659
+ * @readonly
2660
+ * @enum {string}
2661
+ */
2662
+ export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
2663
+
2664
+ /**
2665
+ * Defines values for WeekDay.
2666
+ * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
2667
+ * 'Saturday'
2668
+ * @readonly
2669
+ * @enum {string}
2670
+ */
2671
+ export type WeekDay = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
2672
+
2673
+ /**
2674
+ * Defines values for ManagedClusterSKUName.
2675
+ * Possible values include: 'Basic'
2676
+ * @readonly
2677
+ * @enum {string}
2678
+ */
2679
+ export type ManagedClusterSKUName = 'Basic';
2680
+
2681
+ /**
2682
+ * Defines values for ManagedClusterSKUTier.
2683
+ * Possible values include: 'Paid', 'Free'
2684
+ * @readonly
2685
+ * @enum {string}
2686
+ */
2687
+ export type ManagedClusterSKUTier = 'Paid' | 'Free';
2688
+
2689
+ /**
2690
+ * Defines values for ExtendedLocationTypes.
2691
+ * Possible values include: 'EdgeZone'
2692
+ * @readonly
2693
+ * @enum {string}
2694
+ */
2695
+ export type ExtendedLocationTypes = 'EdgeZone';
2696
+
2697
+ /**
2698
+ * Defines values for ResourceIdentityType.
2699
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'None'
2700
+ * @readonly
2701
+ * @enum {string}
2702
+ */
2703
+ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'None';
2704
+
2705
+ /**
2706
+ * Defines values for ManagedClusterPodIdentityProvisioningState.
2707
+ * Possible values include: 'Assigned', 'Updating', 'Deleting', 'Failed'
2708
+ * @readonly
2709
+ * @enum {string}
2710
+ */
2711
+ export type ManagedClusterPodIdentityProvisioningState = 'Assigned' | 'Updating' | 'Deleting' | 'Failed';
2712
+
2713
+ /**
2714
+ * Defines values for UpgradeChannel.
2715
+ * Possible values include: 'rapid', 'stable', 'patch', 'node-image', 'none'
2716
+ * @readonly
2717
+ * @enum {string}
2718
+ */
2719
+ export type UpgradeChannel = 'rapid' | 'stable' | 'patch' | 'node-image' | 'none';
2720
+
2721
+ /**
2722
+ * Defines values for Expander.
2723
+ * Possible values include: 'least-waste', 'most-pods', 'priority', 'random'
2724
+ * @readonly
2725
+ * @enum {string}
2726
+ */
2727
+ export type Expander = 'least-waste' | 'most-pods' | 'priority' | 'random';
2728
+
2729
+ /**
2730
+ * Defines values for PublicNetworkAccess.
2731
+ * Possible values include: 'Enabled', 'Disabled'
2732
+ * @readonly
2733
+ * @enum {string}
2734
+ */
2735
+ export type PublicNetworkAccess = 'Enabled' | 'Disabled';
2736
+
2737
+ /**
2738
+ * Defines values for PrivateEndpointConnectionProvisioningState.
2739
+ * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
2740
+ * @readonly
2741
+ * @enum {string}
2742
+ */
2743
+ export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
2744
+
2745
+ /**
2746
+ * Defines values for ConnectionStatus.
2747
+ * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
2748
+ * @readonly
2749
+ * @enum {string}
2750
+ */
2751
+ export type ConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
2752
+
2753
+ /**
2754
+ * Defines values for SnapshotType.
2755
+ * Possible values include: 'NodePool'
2756
+ * @readonly
2757
+ * @enum {string}
2758
+ */
2759
+ export type SnapshotType = 'NodePool';
2760
+
2761
+ /**
2762
+ * Contains response data for the list operation.
2763
+ */
2764
+ export type OperationsListResponse = OperationListResult & {
2765
+ /**
2766
+ * The underlying HTTP response.
2767
+ */
2768
+ _response: msRest.HttpResponse & {
2769
+ /**
2770
+ * The response body as text (string format)
2771
+ */
2772
+ bodyAsText: string;
2773
+
2774
+ /**
2775
+ * The response body as parsed JSON or XML
2776
+ */
2777
+ parsedBody: OperationListResult;
2778
+ };
2779
+ };
2780
+
2781
+ /**
2782
+ * Contains response data for the getOSOptions operation.
2783
+ */
2784
+ export type ManagedClustersGetOSOptionsResponse = OSOptionProfile & {
2785
+ /**
2786
+ * The underlying HTTP response.
2787
+ */
2788
+ _response: msRest.HttpResponse & {
2789
+ /**
2790
+ * The response body as text (string format)
2791
+ */
2792
+ bodyAsText: string;
2793
+
2794
+ /**
2795
+ * The response body as parsed JSON or XML
2796
+ */
2797
+ parsedBody: OSOptionProfile;
2798
+ };
2799
+ };
2800
+
2801
+ /**
2802
+ * Contains response data for the list operation.
2803
+ */
2804
+ export type ManagedClustersListResponse = ManagedClusterListResult & {
2805
+ /**
2806
+ * The underlying HTTP response.
2807
+ */
2808
+ _response: msRest.HttpResponse & {
2809
+ /**
2810
+ * The response body as text (string format)
2811
+ */
2812
+ bodyAsText: string;
2813
+
2814
+ /**
2815
+ * The response body as parsed JSON or XML
2816
+ */
2817
+ parsedBody: ManagedClusterListResult;
2818
+ };
2819
+ };
2820
+
2821
+ /**
2822
+ * Contains response data for the listByResourceGroup operation.
2823
+ */
2824
+ export type ManagedClustersListByResourceGroupResponse = ManagedClusterListResult & {
2825
+ /**
2826
+ * The underlying HTTP response.
2827
+ */
2828
+ _response: msRest.HttpResponse & {
2829
+ /**
2830
+ * The response body as text (string format)
2831
+ */
2832
+ bodyAsText: string;
2833
+
2834
+ /**
2835
+ * The response body as parsed JSON or XML
2836
+ */
2837
+ parsedBody: ManagedClusterListResult;
2838
+ };
2839
+ };
2840
+
2841
+ /**
2842
+ * Contains response data for the getUpgradeProfile operation.
2843
+ */
2844
+ export type ManagedClustersGetUpgradeProfileResponse = ManagedClusterUpgradeProfile & {
2845
+ /**
2846
+ * The underlying HTTP response.
2847
+ */
2848
+ _response: msRest.HttpResponse & {
2849
+ /**
2850
+ * The response body as text (string format)
2851
+ */
2852
+ bodyAsText: string;
2853
+
2854
+ /**
2855
+ * The response body as parsed JSON or XML
2856
+ */
2857
+ parsedBody: ManagedClusterUpgradeProfile;
2858
+ };
2859
+ };
2860
+
2861
+ /**
2862
+ * Contains response data for the getAccessProfile operation.
2863
+ */
2864
+ export type ManagedClustersGetAccessProfileResponse = ManagedClusterAccessProfile & {
2865
+ /**
2866
+ * The underlying HTTP response.
2867
+ */
2868
+ _response: msRest.HttpResponse & {
2869
+ /**
2870
+ * The response body as text (string format)
2871
+ */
2872
+ bodyAsText: string;
2873
+
2874
+ /**
2875
+ * The response body as parsed JSON or XML
2876
+ */
2877
+ parsedBody: ManagedClusterAccessProfile;
2878
+ };
2879
+ };
2880
+
2881
+ /**
2882
+ * Contains response data for the listClusterAdminCredentials operation.
2883
+ */
2884
+ export type ManagedClustersListClusterAdminCredentialsResponse = CredentialResults & {
2885
+ /**
2886
+ * The underlying HTTP response.
2887
+ */
2888
+ _response: msRest.HttpResponse & {
2889
+ /**
2890
+ * The response body as text (string format)
2891
+ */
2892
+ bodyAsText: string;
2893
+
2894
+ /**
2895
+ * The response body as parsed JSON or XML
2896
+ */
2897
+ parsedBody: CredentialResults;
2898
+ };
2899
+ };
2900
+
2901
+ /**
2902
+ * Contains response data for the listClusterUserCredentials operation.
2903
+ */
2904
+ export type ManagedClustersListClusterUserCredentialsResponse = CredentialResults & {
2905
+ /**
2906
+ * The underlying HTTP response.
2907
+ */
2908
+ _response: msRest.HttpResponse & {
2909
+ /**
2910
+ * The response body as text (string format)
2911
+ */
2912
+ bodyAsText: string;
2913
+
2914
+ /**
2915
+ * The response body as parsed JSON or XML
2916
+ */
2917
+ parsedBody: CredentialResults;
2918
+ };
2919
+ };
2920
+
2921
+ /**
2922
+ * Contains response data for the listClusterMonitoringUserCredentials operation.
2923
+ */
2924
+ export type ManagedClustersListClusterMonitoringUserCredentialsResponse = CredentialResults & {
2925
+ /**
2926
+ * The underlying HTTP response.
2927
+ */
2928
+ _response: msRest.HttpResponse & {
2929
+ /**
2930
+ * The response body as text (string format)
2931
+ */
2932
+ bodyAsText: string;
2933
+
2934
+ /**
2935
+ * The response body as parsed JSON or XML
2936
+ */
2937
+ parsedBody: CredentialResults;
2938
+ };
2939
+ };
2940
+
2941
+ /**
2942
+ * Contains response data for the get operation.
2943
+ */
2944
+ export type ManagedClustersGetResponse = ManagedCluster & {
2945
+ /**
2946
+ * The underlying HTTP response.
2947
+ */
2948
+ _response: msRest.HttpResponse & {
2949
+ /**
2950
+ * The response body as text (string format)
2951
+ */
2952
+ bodyAsText: string;
2953
+
2954
+ /**
2955
+ * The response body as parsed JSON or XML
2956
+ */
2957
+ parsedBody: ManagedCluster;
2958
+ };
2959
+ };
2960
+
2961
+ /**
2962
+ * Contains response data for the createOrUpdate operation.
2963
+ */
2964
+ export type ManagedClustersCreateOrUpdateResponse = ManagedCluster & {
2965
+ /**
2966
+ * The underlying HTTP response.
2967
+ */
2968
+ _response: msRest.HttpResponse & {
2969
+ /**
2970
+ * The response body as text (string format)
2971
+ */
2972
+ bodyAsText: string;
2973
+
2974
+ /**
2975
+ * The response body as parsed JSON or XML
2976
+ */
2977
+ parsedBody: ManagedCluster;
2978
+ };
2979
+ };
2980
+
2981
+ /**
2982
+ * Contains response data for the updateTags operation.
2983
+ */
2984
+ export type ManagedClustersUpdateTagsResponse = ManagedCluster & {
2985
+ /**
2986
+ * The underlying HTTP response.
2987
+ */
2988
+ _response: msRest.HttpResponse & {
2989
+ /**
2990
+ * The response body as text (string format)
2991
+ */
2992
+ bodyAsText: string;
2993
+
2994
+ /**
2995
+ * The response body as parsed JSON or XML
2996
+ */
2997
+ parsedBody: ManagedCluster;
2998
+ };
2999
+ };
3000
+
3001
+ /**
3002
+ * Contains response data for the runCommand operation.
3003
+ */
3004
+ export type ManagedClustersRunCommandResponse = RunCommandResult & {
3005
+ /**
3006
+ * The underlying HTTP response.
3007
+ */
3008
+ _response: msRest.HttpResponse & {
3009
+ /**
3010
+ * The response body as text (string format)
3011
+ */
3012
+ bodyAsText: string;
3013
+
3014
+ /**
3015
+ * The response body as parsed JSON or XML
3016
+ */
3017
+ parsedBody: RunCommandResult;
3018
+ };
3019
+ };
3020
+
3021
+ /**
3022
+ * Contains response data for the getCommandResult operation.
3023
+ */
3024
+ export type ManagedClustersGetCommandResultResponse = RunCommandResult & {
3025
+ /**
3026
+ * The underlying HTTP response.
3027
+ */
3028
+ _response: msRest.HttpResponse & {
3029
+ /**
3030
+ * The response body as text (string format)
3031
+ */
3032
+ bodyAsText: string;
3033
+
3034
+ /**
3035
+ * The response body as parsed JSON or XML
3036
+ */
3037
+ parsedBody: RunCommandResult;
3038
+ };
3039
+ };
3040
+
3041
+ /**
3042
+ * Contains response data for the listOutboundNetworkDependenciesEndpoints operation.
3043
+ */
3044
+ export type ManagedClustersListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection & {
3045
+ /**
3046
+ * The underlying HTTP response.
3047
+ */
3048
+ _response: msRest.HttpResponse & {
3049
+ /**
3050
+ * The response body as text (string format)
3051
+ */
3052
+ bodyAsText: string;
3053
+
3054
+ /**
3055
+ * The response body as parsed JSON or XML
3056
+ */
3057
+ parsedBody: OutboundEnvironmentEndpointCollection;
3058
+ };
3059
+ };
3060
+
3061
+ /**
3062
+ * Contains response data for the beginCreateOrUpdate operation.
3063
+ */
3064
+ export type ManagedClustersBeginCreateOrUpdateResponse = ManagedCluster & {
3065
+ /**
3066
+ * The underlying HTTP response.
3067
+ */
3068
+ _response: msRest.HttpResponse & {
3069
+ /**
3070
+ * The response body as text (string format)
3071
+ */
3072
+ bodyAsText: string;
3073
+
3074
+ /**
3075
+ * The response body as parsed JSON or XML
3076
+ */
3077
+ parsedBody: ManagedCluster;
3078
+ };
3079
+ };
3080
+
3081
+ /**
3082
+ * Contains response data for the beginUpdateTags operation.
3083
+ */
3084
+ export type ManagedClustersBeginUpdateTagsResponse = ManagedCluster & {
3085
+ /**
3086
+ * The underlying HTTP response.
3087
+ */
3088
+ _response: msRest.HttpResponse & {
3089
+ /**
3090
+ * The response body as text (string format)
3091
+ */
3092
+ bodyAsText: string;
3093
+
3094
+ /**
3095
+ * The response body as parsed JSON or XML
3096
+ */
3097
+ parsedBody: ManagedCluster;
3098
+ };
3099
+ };
3100
+
3101
+ /**
3102
+ * Contains response data for the beginRunCommand operation.
3103
+ */
3104
+ export type ManagedClustersBeginRunCommandResponse = RunCommandResult & {
3105
+ /**
3106
+ * The underlying HTTP response.
3107
+ */
3108
+ _response: msRest.HttpResponse & {
3109
+ /**
3110
+ * The response body as text (string format)
3111
+ */
3112
+ bodyAsText: string;
3113
+
3114
+ /**
3115
+ * The response body as parsed JSON or XML
3116
+ */
3117
+ parsedBody: RunCommandResult;
3118
+ };
3119
+ };
3120
+
3121
+ /**
3122
+ * Contains response data for the listNext operation.
3123
+ */
3124
+ export type ManagedClustersListNextResponse = ManagedClusterListResult & {
3125
+ /**
3126
+ * The underlying HTTP response.
3127
+ */
3128
+ _response: msRest.HttpResponse & {
3129
+ /**
3130
+ * The response body as text (string format)
3131
+ */
3132
+ bodyAsText: string;
3133
+
3134
+ /**
3135
+ * The response body as parsed JSON or XML
3136
+ */
3137
+ parsedBody: ManagedClusterListResult;
3138
+ };
3139
+ };
3140
+
3141
+ /**
3142
+ * Contains response data for the listByResourceGroupNext operation.
3143
+ */
3144
+ export type ManagedClustersListByResourceGroupNextResponse = ManagedClusterListResult & {
3145
+ /**
3146
+ * The underlying HTTP response.
3147
+ */
3148
+ _response: msRest.HttpResponse & {
3149
+ /**
3150
+ * The response body as text (string format)
3151
+ */
3152
+ bodyAsText: string;
3153
+
3154
+ /**
3155
+ * The response body as parsed JSON or XML
3156
+ */
3157
+ parsedBody: ManagedClusterListResult;
3158
+ };
3159
+ };
3160
+
3161
+ /**
3162
+ * Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation.
3163
+ */
3164
+ export type ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection & {
3165
+ /**
3166
+ * The underlying HTTP response.
3167
+ */
3168
+ _response: msRest.HttpResponse & {
3169
+ /**
3170
+ * The response body as text (string format)
3171
+ */
3172
+ bodyAsText: string;
3173
+
3174
+ /**
3175
+ * The response body as parsed JSON or XML
3176
+ */
3177
+ parsedBody: OutboundEnvironmentEndpointCollection;
3178
+ };
3179
+ };
3180
+
3181
+ /**
3182
+ * Contains response data for the listByManagedCluster operation.
3183
+ */
3184
+ export type MaintenanceConfigurationsListByManagedClusterResponse = MaintenanceConfigurationListResult & {
3185
+ /**
3186
+ * The underlying HTTP response.
3187
+ */
3188
+ _response: msRest.HttpResponse & {
3189
+ /**
3190
+ * The response body as text (string format)
3191
+ */
3192
+ bodyAsText: string;
3193
+
3194
+ /**
3195
+ * The response body as parsed JSON or XML
3196
+ */
3197
+ parsedBody: MaintenanceConfigurationListResult;
3198
+ };
3199
+ };
3200
+
3201
+ /**
3202
+ * Contains response data for the get operation.
3203
+ */
3204
+ export type MaintenanceConfigurationsGetResponse = MaintenanceConfiguration & {
3205
+ /**
3206
+ * The underlying HTTP response.
3207
+ */
3208
+ _response: msRest.HttpResponse & {
3209
+ /**
3210
+ * The response body as text (string format)
3211
+ */
3212
+ bodyAsText: string;
3213
+
3214
+ /**
3215
+ * The response body as parsed JSON or XML
3216
+ */
3217
+ parsedBody: MaintenanceConfiguration;
3218
+ };
3219
+ };
3220
+
3221
+ /**
3222
+ * Contains response data for the createOrUpdate operation.
3223
+ */
3224
+ export type MaintenanceConfigurationsCreateOrUpdateResponse = MaintenanceConfiguration & {
3225
+ /**
3226
+ * The underlying HTTP response.
3227
+ */
3228
+ _response: msRest.HttpResponse & {
3229
+ /**
3230
+ * The response body as text (string format)
3231
+ */
3232
+ bodyAsText: string;
3233
+
3234
+ /**
3235
+ * The response body as parsed JSON or XML
3236
+ */
3237
+ parsedBody: MaintenanceConfiguration;
3238
+ };
3239
+ };
3240
+
3241
+ /**
3242
+ * Contains response data for the listByManagedClusterNext operation.
3243
+ */
3244
+ export type MaintenanceConfigurationsListByManagedClusterNextResponse = MaintenanceConfigurationListResult & {
3245
+ /**
3246
+ * The underlying HTTP response.
3247
+ */
3248
+ _response: msRest.HttpResponse & {
3249
+ /**
3250
+ * The response body as text (string format)
3251
+ */
3252
+ bodyAsText: string;
3253
+
3254
+ /**
3255
+ * The response body as parsed JSON or XML
3256
+ */
3257
+ parsedBody: MaintenanceConfigurationListResult;
3258
+ };
3259
+ };
3260
+
3261
+ /**
3262
+ * Contains response data for the list operation.
3263
+ */
3264
+ export type AgentPoolsListResponse = AgentPoolListResult & {
3265
+ /**
3266
+ * The underlying HTTP response.
3267
+ */
3268
+ _response: msRest.HttpResponse & {
3269
+ /**
3270
+ * The response body as text (string format)
3271
+ */
3272
+ bodyAsText: string;
3273
+
3274
+ /**
3275
+ * The response body as parsed JSON or XML
3276
+ */
3277
+ parsedBody: AgentPoolListResult;
3278
+ };
3279
+ };
3280
+
3281
+ /**
3282
+ * Contains response data for the get operation.
3283
+ */
3284
+ export type AgentPoolsGetResponse = AgentPool & {
3285
+ /**
3286
+ * The underlying HTTP response.
3287
+ */
3288
+ _response: msRest.HttpResponse & {
3289
+ /**
3290
+ * The response body as text (string format)
3291
+ */
3292
+ bodyAsText: string;
3293
+
3294
+ /**
3295
+ * The response body as parsed JSON or XML
3296
+ */
3297
+ parsedBody: AgentPool;
3298
+ };
3299
+ };
3300
+
3301
+ /**
3302
+ * Contains response data for the createOrUpdate operation.
3303
+ */
3304
+ export type AgentPoolsCreateOrUpdateResponse = AgentPool & {
3305
+ /**
3306
+ * The underlying HTTP response.
3307
+ */
3308
+ _response: msRest.HttpResponse & {
3309
+ /**
3310
+ * The response body as text (string format)
3311
+ */
3312
+ bodyAsText: string;
3313
+
3314
+ /**
3315
+ * The response body as parsed JSON or XML
3316
+ */
3317
+ parsedBody: AgentPool;
3318
+ };
3319
+ };
3320
+
3321
+ /**
3322
+ * Contains response data for the getUpgradeProfile operation.
3323
+ */
3324
+ export type AgentPoolsGetUpgradeProfileResponse = AgentPoolUpgradeProfile & {
3325
+ /**
3326
+ * The underlying HTTP response.
3327
+ */
3328
+ _response: msRest.HttpResponse & {
3329
+ /**
3330
+ * The response body as text (string format)
3331
+ */
3332
+ bodyAsText: string;
3333
+
3334
+ /**
3335
+ * The response body as parsed JSON or XML
3336
+ */
3337
+ parsedBody: AgentPoolUpgradeProfile;
3338
+ };
3339
+ };
3340
+
3341
+ /**
3342
+ * Contains response data for the getAvailableAgentPoolVersions operation.
3343
+ */
3344
+ export type AgentPoolsGetAvailableAgentPoolVersionsResponse = AgentPoolAvailableVersions & {
3345
+ /**
3346
+ * The underlying HTTP response.
3347
+ */
3348
+ _response: msRest.HttpResponse & {
3349
+ /**
3350
+ * The response body as text (string format)
3351
+ */
3352
+ bodyAsText: string;
3353
+
3354
+ /**
3355
+ * The response body as parsed JSON or XML
3356
+ */
3357
+ parsedBody: AgentPoolAvailableVersions;
3358
+ };
3359
+ };
3360
+
3361
+ /**
3362
+ * Contains response data for the upgradeNodeImageVersion operation.
3363
+ */
3364
+ export type AgentPoolsUpgradeNodeImageVersionResponse = AgentPool & {
3365
+ /**
3366
+ * The underlying HTTP response.
3367
+ */
3368
+ _response: msRest.HttpResponse & {
3369
+ /**
3370
+ * The response body as text (string format)
3371
+ */
3372
+ bodyAsText: string;
3373
+
3374
+ /**
3375
+ * The response body as parsed JSON or XML
3376
+ */
3377
+ parsedBody: AgentPool;
3378
+ };
3379
+ };
3380
+
3381
+ /**
3382
+ * Contains response data for the beginCreateOrUpdate operation.
3383
+ */
3384
+ export type AgentPoolsBeginCreateOrUpdateResponse = AgentPool & {
3385
+ /**
3386
+ * The underlying HTTP response.
3387
+ */
3388
+ _response: msRest.HttpResponse & {
3389
+ /**
3390
+ * The response body as text (string format)
3391
+ */
3392
+ bodyAsText: string;
3393
+
3394
+ /**
3395
+ * The response body as parsed JSON or XML
3396
+ */
3397
+ parsedBody: AgentPool;
3398
+ };
3399
+ };
3400
+
3401
+ /**
3402
+ * Contains response data for the beginUpgradeNodeImageVersion operation.
3403
+ */
3404
+ export type AgentPoolsBeginUpgradeNodeImageVersionResponse = AgentPool & {
3405
+ /**
3406
+ * The underlying HTTP response.
3407
+ */
3408
+ _response: msRest.HttpResponse & {
3409
+ /**
3410
+ * The response body as text (string format)
3411
+ */
3412
+ bodyAsText: string;
3413
+
3414
+ /**
3415
+ * The response body as parsed JSON or XML
3416
+ */
3417
+ parsedBody: AgentPool;
3418
+ };
3419
+ };
3420
+
3421
+ /**
3422
+ * Contains response data for the listNext operation.
3423
+ */
3424
+ export type AgentPoolsListNextResponse = AgentPoolListResult & {
3425
+ /**
3426
+ * The underlying HTTP response.
3427
+ */
3428
+ _response: msRest.HttpResponse & {
3429
+ /**
3430
+ * The response body as text (string format)
3431
+ */
3432
+ bodyAsText: string;
3433
+
3434
+ /**
3435
+ * The response body as parsed JSON or XML
3436
+ */
3437
+ parsedBody: AgentPoolListResult;
3438
+ };
3439
+ };
3440
+
3441
+ /**
3442
+ * Contains response data for the list operation.
3443
+ */
3444
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult & {
3445
+ /**
3446
+ * The underlying HTTP response.
3447
+ */
3448
+ _response: msRest.HttpResponse & {
3449
+ /**
3450
+ * The response body as text (string format)
3451
+ */
3452
+ bodyAsText: string;
3453
+
3454
+ /**
3455
+ * The response body as parsed JSON or XML
3456
+ */
3457
+ parsedBody: PrivateEndpointConnectionListResult;
3458
+ };
3459
+ };
3460
+
3461
+ /**
3462
+ * Contains response data for the get operation.
3463
+ */
3464
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
3465
+ /**
3466
+ * The underlying HTTP response.
3467
+ */
3468
+ _response: msRest.HttpResponse & {
3469
+ /**
3470
+ * The response body as text (string format)
3471
+ */
3472
+ bodyAsText: string;
3473
+
3474
+ /**
3475
+ * The response body as parsed JSON or XML
3476
+ */
3477
+ parsedBody: PrivateEndpointConnection;
3478
+ };
3479
+ };
3480
+
3481
+ /**
3482
+ * Contains response data for the update operation.
3483
+ */
3484
+ export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection & {
3485
+ /**
3486
+ * The underlying HTTP response.
3487
+ */
3488
+ _response: msRest.HttpResponse & {
3489
+ /**
3490
+ * The response body as text (string format)
3491
+ */
3492
+ bodyAsText: string;
3493
+
3494
+ /**
3495
+ * The response body as parsed JSON or XML
3496
+ */
3497
+ parsedBody: PrivateEndpointConnection;
3498
+ };
3499
+ };
3500
+
3501
+ /**
3502
+ * Contains response data for the list operation.
3503
+ */
3504
+ export type PrivateLinkResourcesListResponse = PrivateLinkResourcesListResult & {
3505
+ /**
3506
+ * The underlying HTTP response.
3507
+ */
3508
+ _response: msRest.HttpResponse & {
3509
+ /**
3510
+ * The response body as text (string format)
3511
+ */
3512
+ bodyAsText: string;
3513
+
3514
+ /**
3515
+ * The response body as parsed JSON or XML
3516
+ */
3517
+ parsedBody: PrivateLinkResourcesListResult;
3518
+ };
3519
+ };
3520
+
3521
+ /**
3522
+ * Contains response data for the pOST operation.
3523
+ */
3524
+ export type ResolvePrivateLinkServiceIdPOSTResponse = PrivateLinkResource & {
3525
+ /**
3526
+ * The underlying HTTP response.
3527
+ */
3528
+ _response: msRest.HttpResponse & {
3529
+ /**
3530
+ * The response body as text (string format)
3531
+ */
3532
+ bodyAsText: string;
3533
+
3534
+ /**
3535
+ * The response body as parsed JSON or XML
3536
+ */
3537
+ parsedBody: PrivateLinkResource;
3538
+ };
3539
+ };
3540
+
3541
+ /**
3542
+ * Contains response data for the list operation.
3543
+ */
3544
+ export type SnapshotsListResponse = SnapshotListResult & {
3545
+ /**
3546
+ * The underlying HTTP response.
3547
+ */
3548
+ _response: msRest.HttpResponse & {
3549
+ /**
3550
+ * The response body as text (string format)
3551
+ */
3552
+ bodyAsText: string;
3553
+
3554
+ /**
3555
+ * The response body as parsed JSON or XML
3556
+ */
3557
+ parsedBody: SnapshotListResult;
3558
+ };
3559
+ };
3560
+
3561
+ /**
3562
+ * Contains response data for the listByResourceGroup operation.
3563
+ */
3564
+ export type SnapshotsListByResourceGroupResponse = SnapshotListResult & {
3565
+ /**
3566
+ * The underlying HTTP response.
3567
+ */
3568
+ _response: msRest.HttpResponse & {
3569
+ /**
3570
+ * The response body as text (string format)
3571
+ */
3572
+ bodyAsText: string;
3573
+
3574
+ /**
3575
+ * The response body as parsed JSON or XML
3576
+ */
3577
+ parsedBody: SnapshotListResult;
3578
+ };
3579
+ };
3580
+
3581
+ /**
3582
+ * Contains response data for the get operation.
3583
+ */
3584
+ export type SnapshotsGetResponse = Snapshot & {
3585
+ /**
3586
+ * The underlying HTTP response.
3587
+ */
3588
+ _response: msRest.HttpResponse & {
3589
+ /**
3590
+ * The response body as text (string format)
3591
+ */
3592
+ bodyAsText: string;
3593
+
3594
+ /**
3595
+ * The response body as parsed JSON or XML
3596
+ */
3597
+ parsedBody: Snapshot;
3598
+ };
3599
+ };
3600
+
3601
+ /**
3602
+ * Contains response data for the createOrUpdate operation.
3603
+ */
3604
+ export type SnapshotsCreateOrUpdateResponse = Snapshot & {
3605
+ /**
3606
+ * The underlying HTTP response.
3607
+ */
3608
+ _response: msRest.HttpResponse & {
3609
+ /**
3610
+ * The response body as text (string format)
3611
+ */
3612
+ bodyAsText: string;
3613
+
3614
+ /**
3615
+ * The response body as parsed JSON or XML
3616
+ */
3617
+ parsedBody: Snapshot;
3618
+ };
3619
+ };
3620
+
3621
+ /**
3622
+ * Contains response data for the updateTags operation.
3623
+ */
3624
+ export type SnapshotsUpdateTagsResponse = Snapshot & {
3625
+ /**
3626
+ * The underlying HTTP response.
3627
+ */
3628
+ _response: msRest.HttpResponse & {
3629
+ /**
3630
+ * The response body as text (string format)
3631
+ */
3632
+ bodyAsText: string;
3633
+
3634
+ /**
3635
+ * The response body as parsed JSON or XML
3636
+ */
3637
+ parsedBody: Snapshot;
3638
+ };
3639
+ };
3640
+
3641
+ /**
3642
+ * Contains response data for the listNext operation.
3643
+ */
3644
+ export type SnapshotsListNextResponse = SnapshotListResult & {
3645
+ /**
3646
+ * The underlying HTTP response.
3647
+ */
3648
+ _response: msRest.HttpResponse & {
3649
+ /**
3650
+ * The response body as text (string format)
3651
+ */
3652
+ bodyAsText: string;
3653
+
3654
+ /**
3655
+ * The response body as parsed JSON or XML
3656
+ */
3657
+ parsedBody: SnapshotListResult;
3658
+ };
3659
+ };
3660
+
3661
+ /**
3662
+ * Contains response data for the listByResourceGroupNext operation.
3663
+ */
3664
+ export type SnapshotsListByResourceGroupNextResponse = SnapshotListResult & {
3665
+ /**
3666
+ * The underlying HTTP response.
3667
+ */
3668
+ _response: msRest.HttpResponse & {
3669
+ /**
3670
+ * The response body as text (string format)
3671
+ */
3672
+ bodyAsText: string;
3673
+
3674
+ /**
3675
+ * The response body as parsed JSON or XML
3676
+ */
3677
+ parsedBody: SnapshotListResult;
3678
+ };
3679
+ };