@microsoft/terraform-cdk-constructs 1.0.0 → 1.2.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.
- package/.jsii +60999 -15780
- package/API.md +54947 -10610
- package/README.md +72 -36
- package/docs/monitoring-guide.md +206 -0
- package/docs/testing.md +84 -1
- package/lib/azure-actiongroup/index.d.ts +11 -0
- package/lib/azure-actiongroup/index.js +28 -0
- package/lib/azure-actiongroup/lib/action-group-schemas.d.ts +24 -0
- package/lib/azure-actiongroup/lib/action-group-schemas.js +201 -0
- package/lib/azure-actiongroup/lib/action-group.d.ts +312 -0
- package/lib/azure-actiongroup/lib/action-group.js +201 -0
- package/lib/azure-actiongroup/lib/index.d.ts +5 -0
- package/lib/azure-actiongroup/lib/index.js +22 -0
- package/lib/azure-actiongroup/test/action-group.integ.d.ts +9 -0
- package/lib/azure-actiongroup/test/action-group.integ.js +79 -0
- package/lib/azure-actiongroup/test/action-group.spec.d.ts +8 -0
- package/lib/azure-actiongroup/test/action-group.spec.js +602 -0
- package/lib/azure-activitylogalert/index.d.ts +11 -0
- package/lib/azure-activitylogalert/index.js +28 -0
- package/lib/azure-activitylogalert/lib/activity-log-alert-schemas.d.ts +24 -0
- package/lib/azure-activitylogalert/lib/activity-log-alert-schemas.js +182 -0
- package/lib/azure-activitylogalert/lib/activity-log-alert.d.ts +236 -0
- package/lib/azure-activitylogalert/lib/activity-log-alert.js +212 -0
- package/lib/azure-activitylogalert/lib/index.d.ts +5 -0
- package/lib/azure-activitylogalert/lib/index.js +22 -0
- package/lib/azure-activitylogalert/test/activity-log-alert.integ.d.ts +9 -0
- package/lib/azure-activitylogalert/test/activity-log-alert.integ.js +98 -0
- package/lib/azure-activitylogalert/test/activity-log-alert.spec.d.ts +9 -0
- package/lib/azure-activitylogalert/test/activity-log-alert.spec.js +1101 -0
- package/lib/azure-aks/index.d.ts +9 -0
- package/lib/azure-aks/index.js +28 -0
- package/lib/azure-aks/lib/aks-cluster-schemas.d.ts +505 -0
- package/lib/azure-aks/lib/aks-cluster-schemas.js +572 -0
- package/lib/azure-aks/lib/aks-cluster.d.ts +395 -0
- package/lib/azure-aks/lib/aks-cluster.js +489 -0
- package/lib/azure-aks/lib/index.d.ts +11 -0
- package/lib/azure-aks/lib/index.js +38 -0
- package/lib/azure-aks/test/aks-cluster.integ.d.ts +9 -0
- package/lib/azure-aks/test/aks-cluster.integ.js +260 -0
- package/lib/azure-aks/test/aks-cluster.spec.d.ts +8 -0
- package/lib/azure-aks/test/aks-cluster.spec.js +1396 -0
- package/lib/azure-diagnosticsettings/index.d.ts +7 -0
- package/lib/azure-diagnosticsettings/index.js +24 -0
- package/lib/azure-diagnosticsettings/lib/diagnostic-settings-schemas.d.ts +50 -0
- package/lib/azure-diagnosticsettings/lib/diagnostic-settings-schemas.js +207 -0
- package/lib/azure-diagnosticsettings/lib/diagnostic-settings.d.ts +193 -0
- package/lib/azure-diagnosticsettings/lib/diagnostic-settings.js +200 -0
- package/lib/azure-diagnosticsettings/lib/index.d.ts +8 -0
- package/lib/azure-diagnosticsettings/lib/index.js +25 -0
- package/lib/azure-diagnosticsettings/test/diagnostic-settings.spec.d.ts +8 -0
- package/lib/azure-diagnosticsettings/test/diagnostic-settings.spec.js +432 -0
- package/lib/azure-metricalert/index.d.ts +11 -0
- package/lib/azure-metricalert/index.js +28 -0
- package/lib/azure-metricalert/lib/index.d.ts +5 -0
- package/lib/azure-metricalert/lib/index.js +22 -0
- package/lib/azure-metricalert/lib/metric-alert-schemas.d.ts +24 -0
- package/lib/azure-metricalert/lib/metric-alert-schemas.js +242 -0
- package/lib/azure-metricalert/lib/metric-alert.d.ts +344 -0
- package/lib/azure-metricalert/lib/metric-alert.js +252 -0
- package/lib/azure-metricalert/test/metric-alert.integ.d.ts +9 -0
- package/lib/azure-metricalert/test/metric-alert.integ.js +123 -0
- package/lib/azure-metricalert/test/metric-alert.spec.d.ts +9 -0
- package/lib/azure-metricalert/test/metric-alert.spec.js +1266 -0
- package/lib/azure-networkinterface/index.d.ts +4 -0
- package/lib/azure-networkinterface/index.js +21 -0
- package/lib/azure-networkinterface/lib/index.d.ts +6 -0
- package/lib/azure-networkinterface/lib/index.js +22 -0
- package/lib/azure-networkinterface/lib/network-interface-schemas.d.ts +32 -0
- package/lib/azure-networkinterface/lib/network-interface-schemas.js +222 -0
- package/lib/azure-networkinterface/lib/network-interface.d.ts +265 -0
- package/lib/azure-networkinterface/lib/network-interface.js +228 -0
- package/lib/azure-networkinterface/test/network-interface.integ.d.ts +9 -0
- package/lib/azure-networkinterface/test/network-interface.integ.js +102 -0
- package/lib/azure-networkinterface/test/network-interface.spec.d.ts +8 -0
- package/lib/azure-networkinterface/test/network-interface.spec.js +655 -0
- package/lib/azure-networksecuritygroup/index.d.ts +6 -0
- package/lib/azure-networksecuritygroup/index.js +23 -0
- package/lib/azure-networksecuritygroup/lib/index.d.ts +5 -0
- package/lib/azure-networksecuritygroup/lib/index.js +16 -0
- package/lib/azure-networksecuritygroup/lib/network-security-group-schemas.d.ts +32 -0
- package/lib/azure-networksecuritygroup/lib/network-security-group-schemas.js +198 -0
- package/lib/azure-networksecuritygroup/lib/network-security-group.d.ts +268 -0
- package/lib/azure-networksecuritygroup/lib/network-security-group.js +248 -0
- package/lib/azure-networksecuritygroup/test/network-security-group.integ.d.ts +9 -0
- package/lib/azure-networksecuritygroup/test/network-security-group.integ.js +151 -0
- package/lib/azure-networksecuritygroup/test/network-security-group.spec.d.ts +8 -0
- package/lib/azure-networksecuritygroup/test/network-security-group.spec.js +652 -0
- package/lib/azure-publicipaddress/index.d.ts +6 -0
- package/lib/azure-publicipaddress/index.js +23 -0
- package/lib/azure-publicipaddress/lib/index.d.ts +9 -0
- package/lib/azure-publicipaddress/lib/index.js +19 -0
- package/lib/azure-publicipaddress/lib/public-ip-address-schemas.d.ts +32 -0
- package/lib/azure-publicipaddress/lib/public-ip-address-schemas.js +227 -0
- package/lib/azure-publicipaddress/lib/public-ip-address.d.ts +256 -0
- package/lib/azure-publicipaddress/lib/public-ip-address.js +267 -0
- package/lib/azure-publicipaddress/test/public-ip-address.integ.d.ts +9 -0
- package/lib/azure-publicipaddress/test/public-ip-address.integ.js +75 -0
- package/lib/azure-publicipaddress/test/public-ip-address.spec.d.ts +15 -0
- package/lib/azure-publicipaddress/test/public-ip-address.spec.js +498 -0
- package/lib/azure-resourcegroup/lib/resource-group.js +1 -1
- package/lib/azure-resourcegroup/test/resource-group.integ.js +23 -11
- package/lib/azure-storageaccount/lib/storage-account-schemas.d.ts +98 -0
- package/lib/azure-storageaccount/lib/storage-account-schemas.js +1 -1
- package/lib/azure-storageaccount/lib/storage-account.d.ts +38 -1
- package/lib/azure-storageaccount/lib/storage-account.js +138 -2
- package/lib/azure-storageaccount/test/storage-account.integ.js +91 -12
- package/lib/azure-subnet/index.d.ts +4 -0
- package/lib/azure-subnet/index.js +21 -0
- package/lib/azure-subnet/lib/index.d.ts +5 -0
- package/lib/azure-subnet/lib/index.js +22 -0
- package/lib/azure-subnet/lib/subnet-schemas.d.ts +32 -0
- package/lib/azure-subnet/lib/subnet-schemas.js +237 -0
- package/lib/azure-subnet/lib/subnet.d.ts +285 -0
- package/lib/azure-subnet/lib/subnet.js +254 -0
- package/lib/azure-subnet/test/subnet.integ.d.ts +11 -0
- package/lib/azure-subnet/test/subnet.integ.js +80 -0
- package/lib/azure-subnet/test/subnet.spec.d.ts +8 -0
- package/lib/azure-subnet/test/subnet.spec.js +396 -0
- package/lib/azure-virtualmachine/index.d.ts +7 -0
- package/lib/azure-virtualmachine/index.js +24 -0
- package/lib/azure-virtualmachine/lib/index.d.ts +11 -0
- package/lib/azure-virtualmachine/lib/index.js +38 -0
- package/lib/azure-virtualmachine/lib/virtual-machine-schemas.d.ts +327 -0
- package/lib/azure-virtualmachine/lib/virtual-machine-schemas.js +544 -0
- package/lib/azure-virtualmachine/lib/virtual-machine.d.ts +377 -0
- package/lib/azure-virtualmachine/lib/virtual-machine.js +462 -0
- package/lib/azure-virtualmachine/test/virtual-machine.integ.d.ts +9 -0
- package/lib/azure-virtualmachine/test/virtual-machine.integ.js +220 -0
- package/lib/azure-virtualmachine/test/virtual-machine.spec.d.ts +9 -0
- package/lib/azure-virtualmachine/test/virtual-machine.spec.js +1032 -0
- package/lib/azure-virtualnetwork/index.d.ts +10 -0
- package/lib/azure-virtualnetwork/index.js +28 -0
- package/lib/azure-virtualnetwork/lib/index.d.ts +9 -0
- package/lib/azure-virtualnetwork/lib/index.js +22 -0
- package/lib/azure-virtualnetwork/lib/virtual-network-schemas.d.ts +32 -0
- package/lib/azure-virtualnetwork/lib/virtual-network-schemas.js +236 -0
- package/lib/azure-virtualnetwork/lib/virtual-network.d.ts +213 -0
- package/lib/azure-virtualnetwork/lib/virtual-network.js +245 -0
- package/lib/azure-virtualnetwork/test/virtual-network.integ.d.ts +9 -0
- package/lib/azure-virtualnetwork/test/virtual-network.integ.js +91 -0
- package/lib/azure-virtualnetwork/test/virtual-network.spec.d.ts +8 -0
- package/lib/azure-virtualnetwork/test/virtual-network.spec.js +398 -0
- package/lib/azure-vmss/index.d.ts +6 -0
- package/lib/azure-vmss/index.js +23 -0
- package/lib/azure-vmss/lib/index.d.ts +9 -0
- package/lib/azure-vmss/lib/index.js +39 -0
- package/lib/azure-vmss/lib/virtual-machine-scale-set.d.ts +258 -0
- package/lib/azure-vmss/lib/virtual-machine-scale-set.js +503 -0
- package/lib/azure-vmss/lib/vmss-schemas.d.ts +472 -0
- package/lib/azure-vmss/lib/vmss-schemas.js +444 -0
- package/lib/azure-vmss/test/virtual-machine-scale-set.integ.d.ts +15 -0
- package/lib/azure-vmss/test/virtual-machine-scale-set.integ.js +261 -0
- package/lib/azure-vmss/test/virtual-machine-scale-set.spec.d.ts +8 -0
- package/lib/azure-vmss/test/virtual-machine-scale-set.spec.js +997 -0
- package/lib/core-azure/lib/azapi/azapi-resource.d.ts +95 -27
- package/lib/core-azure/lib/azapi/azapi-resource.js +95 -58
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-client-config/index.d.ts +33 -21
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-client-config/index.js +69 -27
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource/index.d.ts +134 -120
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource/index.js +209 -59
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-action/index.d.ts +141 -128
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-action/index.js +183 -36
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-id/index.d.ts +55 -43
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-id/index.js +94 -26
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-list/index.d.ts +129 -116
- package/lib/core-azure/lib/azapi/providers-azapi/data-azapi-resource-list/index.js +155 -32
- package/lib/core-azure/lib/azapi/providers-azapi/data-plane-resource/index.d.ts +187 -174
- package/lib/core-azure/lib/azapi/providers-azapi/data-plane-resource/index.js +267 -48
- package/lib/core-azure/lib/azapi/providers-azapi/index.d.ts +10 -10
- package/lib/core-azure/lib/azapi/providers-azapi/index.js +1 -1
- package/lib/core-azure/lib/azapi/providers-azapi/lazy-index.d.ts +0 -0
- package/lib/core-azure/lib/azapi/providers-azapi/lazy-index.js +13 -0
- package/lib/core-azure/lib/azapi/providers-azapi/provider/index.d.ts +174 -162
- package/lib/core-azure/lib/azapi/providers-azapi/provider/index.js +274 -14
- package/lib/core-azure/lib/azapi/providers-azapi/resource/index.d.ts +239 -225
- package/lib/core-azure/lib/azapi/providers-azapi/resource/index.js +360 -76
- package/lib/core-azure/lib/azapi/providers-azapi/resource-action/index.d.ts +163 -150
- package/lib/core-azure/lib/azapi/providers-azapi/resource-action/index.js +221 -46
- package/lib/core-azure/lib/azapi/providers-azapi/update-resource/index.d.ts +162 -149
- package/lib/core-azure/lib/azapi/providers-azapi/update-resource/index.js +249 -50
- package/lib/core-azure/lib/azapi/schema-mapper/schema-mapper.js +4 -2
- package/lib/core-azure/lib/version-manager/api-version-manager.js +1 -1
- package/lib/core-azure/lib/version-manager/interfaces/version-interfaces.js +7 -7
- package/lib/index.d.ts +37 -0
- package/lib/index.js +40 -2
- package/lib/testing/index.d.ts +92 -2
- package/lib/testing/index.js +258 -18
- package/lib/testing/lib/cleanup.d.ts +229 -0
- package/lib/testing/lib/cleanup.js +331 -0
- package/lib/testing/lib/metadata.d.ts +151 -0
- package/lib/testing/lib/metadata.js +180 -0
- package/lib/testing/lib/naming.d.ts +96 -0
- package/lib/testing/lib/naming.js +336 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +510 -0
- package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
- package/node_modules/uuid/dist/cjs/index.js +31 -0
- package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/max.js +3 -0
- package/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/node_modules/uuid/dist/cjs/native.d.ts +6 -0
- package/node_modules/uuid/dist/cjs/native.js +4 -0
- package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/node_modules/uuid/dist/cjs/package.json +1 -0
- package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/cjs/stringify.js +39 -0
- package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
- package/node_modules/uuid/dist/cjs/types.js +2 -0
- package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
- package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/node_modules/uuid/dist/cjs/v1.js +87 -0
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
- package/node_modules/uuid/dist/cjs/v35.js +41 -0
- package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/v4.js +29 -0
- package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/v6.js +19 -0
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v7.js +69 -0
- package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/version.js +10 -0
- package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
- package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
- package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
- package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
- package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
- package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
- package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
- package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
- package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
- package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/node_modules/uuid/dist/esm/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/node_modules/uuid/dist/esm/index.js +14 -0
- package/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm/max.js +1 -0
- package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
- package/node_modules/uuid/dist/esm/md5.js +11 -0
- package/node_modules/uuid/dist/esm/native.d.ts +6 -0
- package/node_modules/uuid/dist/esm/native.js +2 -0
- package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
- package/node_modules/uuid/dist/esm/nil.js +1 -0
- package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm/parse.js +9 -0
- package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- package/node_modules/uuid/dist/esm/regex.js +1 -0
- package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
- package/node_modules/uuid/dist/esm/rng.js +10 -0
- package/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
- package/node_modules/uuid/dist/esm/sha1.js +11 -0
- package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/esm/stringify.js +35 -0
- package/node_modules/uuid/dist/esm/types.d.ts +21 -0
- package/node_modules/uuid/dist/esm/types.js +1 -0
- package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
- package/node_modules/uuid/dist/esm/v1.js +83 -0
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v3.js +9 -0
- package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm/v35.js +36 -0
- package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v4.js +27 -0
- package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v5.js +9 -0
- package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v6.js +17 -0
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v7.js +65 -0
- package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm/validate.js +5 -0
- package/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/node_modules/uuid/dist/esm/version.js +8 -0
- package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/node_modules/uuid/dist/esm-browser/index.js +14 -0
- package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/max.js +1 -0
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +135 -0
- package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +9 -0
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +11 -0
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +70 -0
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +35 -0
- package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
- package/node_modules/uuid/dist/esm-browser/types.js +1 -0
- package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +83 -0
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +9 -0
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +36 -0
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +9 -0
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v6.js +17 -0
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v7.js +65 -0
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +5 -0
- package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/version.js +8 -0
- package/node_modules/uuid/package.json +132 -0
- package/package.json +17 -12
- package/scripts/cleanup-test-resources.ts +369 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) HashiCorp, Inc.
|
|
3
|
+
// SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
/**
|
|
20
|
+
* Azure Kubernetes Service (AKS) Construct
|
|
21
|
+
*
|
|
22
|
+
* This module provides a high-level construct for creating and managing Azure Kubernetes Service clusters
|
|
23
|
+
* using the AZAPI provider framework.
|
|
24
|
+
*
|
|
25
|
+
* @packageDocumentation
|
|
26
|
+
*/
|
|
27
|
+
__exportStar(require("./lib"), exports);
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXp1cmUtYWtzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxnQ0FBZ0M7QUFDaEMsbUNBQW1DOzs7Ozs7Ozs7Ozs7Ozs7O0FBRW5DOzs7Ozs7O0dBT0c7QUFFSCx3Q0FBc0IiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgKGMpIEhhc2hpQ29ycCwgSW5jLlxuLy8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1QTC0yLjBcblxuLyoqXG4gKiBBenVyZSBLdWJlcm5ldGVzIFNlcnZpY2UgKEFLUykgQ29uc3RydWN0XG4gKlxuICogVGhpcyBtb2R1bGUgcHJvdmlkZXMgYSBoaWdoLWxldmVsIGNvbnN0cnVjdCBmb3IgY3JlYXRpbmcgYW5kIG1hbmFnaW5nIEF6dXJlIEt1YmVybmV0ZXMgU2VydmljZSBjbHVzdGVyc1xuICogdXNpbmcgdGhlIEFaQVBJIHByb3ZpZGVyIGZyYW1ld29yay5cbiAqXG4gKiBAcGFja2FnZURvY3VtZW50YXRpb25cbiAqL1xuXG5leHBvcnQgKiBmcm9tIFwiLi9saWJcIjtcbiJdfQ==
|
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API schemas for Azure Kubernetes Service (AKS) across all supported versions
|
|
3
|
+
*
|
|
4
|
+
* This file defines the complete API schemas for Microsoft.ContainerService/managedClusters
|
|
5
|
+
* across all supported API versions. The schemas are used by the VersionedAzapiResource
|
|
6
|
+
* framework for validation, transformation, and version management.
|
|
7
|
+
*
|
|
8
|
+
* API Versions verified from Azure REST API Specifications:
|
|
9
|
+
* - 2024-10-01: https://github.com/Azure/azure-rest-api-specs/.../2024-10-01/managedClusters.json
|
|
10
|
+
* - 2025-01-01: https://github.com/Azure/azure-rest-api-specs/.../2025-01-01/managedClusters.json
|
|
11
|
+
* - 2025-07-01: https://github.com/Azure/azure-rest-api-specs/.../2025-07-01/managedClusters.json
|
|
12
|
+
*/
|
|
13
|
+
import { ApiSchema, VersionConfig } from "../../core-azure/lib/version-manager/interfaces/version-interfaces";
|
|
14
|
+
/**
|
|
15
|
+
* SKU for Azure Kubernetes Service
|
|
16
|
+
*/
|
|
17
|
+
export interface AksClusterSku {
|
|
18
|
+
readonly name?: string;
|
|
19
|
+
readonly tier?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Identity configuration for AKS Cluster
|
|
23
|
+
*/
|
|
24
|
+
export interface AksClusterIdentity {
|
|
25
|
+
readonly type: string;
|
|
26
|
+
readonly userAssignedIdentities?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Agent pool profile for AKS node pools
|
|
32
|
+
*/
|
|
33
|
+
export interface AksClusterAgentPoolProfile {
|
|
34
|
+
readonly name: string;
|
|
35
|
+
readonly count?: number;
|
|
36
|
+
readonly vmSize: string;
|
|
37
|
+
readonly osDiskSizeGB?: number;
|
|
38
|
+
readonly osDiskType?: string;
|
|
39
|
+
readonly osType?: string;
|
|
40
|
+
readonly type?: string;
|
|
41
|
+
readonly mode?: string;
|
|
42
|
+
readonly availabilityZones?: string[];
|
|
43
|
+
readonly enableAutoScaling?: boolean;
|
|
44
|
+
readonly minCount?: number;
|
|
45
|
+
readonly maxCount?: number;
|
|
46
|
+
readonly maxPods?: number;
|
|
47
|
+
readonly vnetSubnetID?: string;
|
|
48
|
+
readonly podSubnetID?: string;
|
|
49
|
+
readonly enableNodePublicIP?: boolean;
|
|
50
|
+
readonly nodePublicIPPrefixID?: string;
|
|
51
|
+
readonly scaleSetPriority?: string;
|
|
52
|
+
readonly scaleSetEvictionPolicy?: string;
|
|
53
|
+
readonly spotMaxPrice?: number;
|
|
54
|
+
readonly nodeTaints?: string[];
|
|
55
|
+
readonly nodeLabels?: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
readonly kubeletConfig?: AksClusterKubeletConfig;
|
|
59
|
+
readonly linuxOSConfig?: AksClusterLinuxOSConfig;
|
|
60
|
+
readonly enableEncryptionAtHost?: boolean;
|
|
61
|
+
readonly enableUltraSSD?: boolean;
|
|
62
|
+
readonly enableFIPS?: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Kubelet configuration
|
|
66
|
+
*/
|
|
67
|
+
export interface AksClusterKubeletConfig {
|
|
68
|
+
readonly cpuManagerPolicy?: string;
|
|
69
|
+
readonly cpuCfsQuota?: boolean;
|
|
70
|
+
readonly cpuCfsQuotaPeriod?: string;
|
|
71
|
+
readonly imageGcHighThreshold?: number;
|
|
72
|
+
readonly imageGcLowThreshold?: number;
|
|
73
|
+
readonly topologyManagerPolicy?: string;
|
|
74
|
+
readonly allowedUnsafeSysctls?: string[];
|
|
75
|
+
readonly failSwapOn?: boolean;
|
|
76
|
+
readonly containerLogMaxSizeMB?: number;
|
|
77
|
+
readonly containerLogMaxFiles?: number;
|
|
78
|
+
readonly podMaxPids?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Linux OS configuration
|
|
82
|
+
*/
|
|
83
|
+
export interface AksClusterLinuxOSConfig {
|
|
84
|
+
readonly sysctls?: AksClusterSysctlConfig;
|
|
85
|
+
readonly transparentHugePageEnabled?: string;
|
|
86
|
+
readonly transparentHugePageDefrag?: string;
|
|
87
|
+
readonly swapFileSizeMB?: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Sysctl configuration
|
|
91
|
+
*/
|
|
92
|
+
export interface AksClusterSysctlConfig {
|
|
93
|
+
readonly netCoreSomaxconn?: number;
|
|
94
|
+
readonly netCoreNetdevMaxBacklog?: number;
|
|
95
|
+
readonly netCoreRmemDefault?: number;
|
|
96
|
+
readonly netCoreRmemMax?: number;
|
|
97
|
+
readonly netCoreWmemDefault?: number;
|
|
98
|
+
readonly netCoreWmemMax?: number;
|
|
99
|
+
readonly netCoreOptmemMax?: number;
|
|
100
|
+
readonly netIpv4TcpMaxSynBacklog?: number;
|
|
101
|
+
readonly netIpv4TcpFinTimeout?: number;
|
|
102
|
+
readonly netIpv4TcpKeepaliveTime?: number;
|
|
103
|
+
readonly netIpv4TcpKeepaliveProbes?: number;
|
|
104
|
+
readonly netIpv4TcpkeepaliveIntvl?: number;
|
|
105
|
+
readonly netIpv4TcpTwReuse?: boolean;
|
|
106
|
+
readonly netIpv4IpLocalPortRange?: string;
|
|
107
|
+
readonly netIpv4NeighDefaultGcThresh1?: number;
|
|
108
|
+
readonly netIpv4NeighDefaultGcThresh2?: number;
|
|
109
|
+
readonly netIpv4NeighDefaultGcThresh3?: number;
|
|
110
|
+
readonly netNetfilterNfConntrackMax?: number;
|
|
111
|
+
readonly netNetfilterNfConntrackBuckets?: number;
|
|
112
|
+
readonly fsInotifyMaxUserWatches?: number;
|
|
113
|
+
readonly fsFileMax?: number;
|
|
114
|
+
readonly fsAioMaxNr?: number;
|
|
115
|
+
readonly fsNrOpen?: number;
|
|
116
|
+
readonly kernelThreadsMax?: number;
|
|
117
|
+
readonly vmMaxMapCount?: number;
|
|
118
|
+
readonly vmSwappiness?: number;
|
|
119
|
+
readonly vmVfsCachePressure?: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Network profile for AKS cluster
|
|
123
|
+
*/
|
|
124
|
+
export interface AksClusterNetworkProfile {
|
|
125
|
+
readonly networkPlugin?: string;
|
|
126
|
+
readonly networkPolicy?: string;
|
|
127
|
+
readonly networkMode?: string;
|
|
128
|
+
readonly podCidr?: string;
|
|
129
|
+
readonly serviceCidr?: string;
|
|
130
|
+
readonly dnsServiceIP?: string;
|
|
131
|
+
readonly dockerBridgeCidr?: string;
|
|
132
|
+
readonly outboundType?: string;
|
|
133
|
+
readonly loadBalancerSku?: string;
|
|
134
|
+
readonly loadBalancerProfile?: AksClusterLoadBalancerProfile;
|
|
135
|
+
readonly natGatewayProfile?: AksClusterNatGatewayProfile;
|
|
136
|
+
readonly podCidrs?: string[];
|
|
137
|
+
readonly serviceCidrs?: string[];
|
|
138
|
+
readonly ipFamilies?: string[];
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Load balancer profile
|
|
142
|
+
*/
|
|
143
|
+
export interface AksClusterLoadBalancerProfile {
|
|
144
|
+
readonly managedOutboundIPs?: AksClusterManagedOutboundIPs;
|
|
145
|
+
readonly outboundIPPrefixes?: AksClusterOutboundIPPrefixes;
|
|
146
|
+
readonly outboundIPs?: AksClusterOutboundIPs;
|
|
147
|
+
readonly effectiveOutboundIPs?: AksClusterEffectiveOutboundIP[];
|
|
148
|
+
readonly allocatedOutboundPorts?: number;
|
|
149
|
+
readonly idleTimeoutInMinutes?: number;
|
|
150
|
+
readonly enableMultipleStandardLoadBalancers?: boolean;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Managed outbound IPs
|
|
154
|
+
*/
|
|
155
|
+
export interface AksClusterManagedOutboundIPs {
|
|
156
|
+
readonly count?: number;
|
|
157
|
+
readonly countIPv6?: number;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Outbound IP prefixes
|
|
161
|
+
*/
|
|
162
|
+
export interface AksClusterOutboundIPPrefixes {
|
|
163
|
+
readonly publicIPPrefixes?: AksClusterResourceReference[];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Outbound IPs
|
|
167
|
+
*/
|
|
168
|
+
export interface AksClusterOutboundIPs {
|
|
169
|
+
readonly publicIPs?: AksClusterResourceReference[];
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Effective outbound IP
|
|
173
|
+
*/
|
|
174
|
+
export interface AksClusterEffectiveOutboundIP {
|
|
175
|
+
readonly id?: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* NAT Gateway profile
|
|
179
|
+
*/
|
|
180
|
+
export interface AksClusterNatGatewayProfile {
|
|
181
|
+
readonly managedOutboundIPProfile?: AksClusterManagedOutboundIPProfile;
|
|
182
|
+
readonly effectiveOutboundIPs?: AksClusterEffectiveOutboundIP[];
|
|
183
|
+
readonly idleTimeoutInMinutes?: number;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Managed outbound IP profile
|
|
187
|
+
*/
|
|
188
|
+
export interface AksClusterManagedOutboundIPProfile {
|
|
189
|
+
readonly count?: number;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Resource reference
|
|
193
|
+
*/
|
|
194
|
+
export interface AksClusterResourceReference {
|
|
195
|
+
readonly id?: string;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Service principal profile
|
|
199
|
+
*/
|
|
200
|
+
export interface AksClusterServicePrincipalProfile {
|
|
201
|
+
readonly clientId: string;
|
|
202
|
+
readonly secret?: string;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* API server access profile
|
|
206
|
+
*/
|
|
207
|
+
export interface AksClusterApiServerAccessProfile {
|
|
208
|
+
readonly authorizedIPRanges?: string[];
|
|
209
|
+
readonly enablePrivateCluster?: boolean;
|
|
210
|
+
readonly privateDNSZone?: string;
|
|
211
|
+
readonly enablePrivateClusterPublicFQDN?: boolean;
|
|
212
|
+
readonly disableRunCommand?: boolean;
|
|
213
|
+
readonly enableVnetIntegration?: boolean;
|
|
214
|
+
readonly subnetId?: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Auto-scaler profile
|
|
218
|
+
*/
|
|
219
|
+
export interface AksClusterAutoScalerProfile {
|
|
220
|
+
readonly balanceSimilarNodeGroups?: string;
|
|
221
|
+
readonly expander?: string;
|
|
222
|
+
readonly maxEmptyBulkDelete?: string;
|
|
223
|
+
readonly maxGracefulTerminationSec?: string;
|
|
224
|
+
readonly maxNodeProvisionTime?: string;
|
|
225
|
+
readonly maxTotalUnreadyPercentage?: string;
|
|
226
|
+
readonly newPodScaleUpDelay?: string;
|
|
227
|
+
readonly okTotalUnreadyCount?: string;
|
|
228
|
+
readonly scanInterval?: string;
|
|
229
|
+
readonly scaleDownDelayAfterAdd?: string;
|
|
230
|
+
readonly scaleDownDelayAfterDelete?: string;
|
|
231
|
+
readonly scaleDownDelayAfterFailure?: string;
|
|
232
|
+
readonly scaleDownUnneededTime?: string;
|
|
233
|
+
readonly scaleDownUnreadyTime?: string;
|
|
234
|
+
readonly scaleDownUtilizationThreshold?: string;
|
|
235
|
+
readonly skipNodesWithLocalStorage?: string;
|
|
236
|
+
readonly skipNodesWithSystemPods?: string;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Windows profile
|
|
240
|
+
*/
|
|
241
|
+
export interface AksClusterWindowsProfile {
|
|
242
|
+
readonly adminUsername: string;
|
|
243
|
+
readonly adminPassword?: string;
|
|
244
|
+
readonly licenseType?: string;
|
|
245
|
+
readonly enableCSIProxy?: boolean;
|
|
246
|
+
readonly gmsaProfile?: AksClusterGmsaProfile;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* GMSA profile for Windows
|
|
250
|
+
*/
|
|
251
|
+
export interface AksClusterGmsaProfile {
|
|
252
|
+
readonly enabled?: boolean;
|
|
253
|
+
readonly dnsServer?: string;
|
|
254
|
+
readonly rootDomainName?: string;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Linux profile
|
|
258
|
+
*/
|
|
259
|
+
export interface AksClusterLinuxProfile {
|
|
260
|
+
readonly adminUsername: string;
|
|
261
|
+
readonly ssh: AksClusterSshConfiguration;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* SSH configuration
|
|
265
|
+
*/
|
|
266
|
+
export interface AksClusterSshConfiguration {
|
|
267
|
+
readonly publicKeys: AksClusterSshPublicKey[];
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* SSH public key
|
|
271
|
+
*/
|
|
272
|
+
export interface AksClusterSshPublicKey {
|
|
273
|
+
readonly keyData: string;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* AAD (Azure Active Directory) profile
|
|
277
|
+
*/
|
|
278
|
+
export interface AksClusterAadProfile {
|
|
279
|
+
readonly managed?: boolean;
|
|
280
|
+
readonly enableAzureRBAC?: boolean;
|
|
281
|
+
readonly adminGroupObjectIDs?: string[];
|
|
282
|
+
readonly tenantID?: string;
|
|
283
|
+
readonly clientAppID?: string;
|
|
284
|
+
readonly serverAppID?: string;
|
|
285
|
+
readonly serverAppSecret?: string;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Addon profiles - a dictionary of addon names to their configurations
|
|
289
|
+
*/
|
|
290
|
+
export type AksClusterAddonProfiles = Record<string, AksClusterAddonProfile>;
|
|
291
|
+
/**
|
|
292
|
+
* Individual addon profile
|
|
293
|
+
*/
|
|
294
|
+
export interface AksClusterAddonProfile {
|
|
295
|
+
readonly enabled: boolean;
|
|
296
|
+
readonly config?: {
|
|
297
|
+
[key: string]: string;
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* OIDC issuer profile
|
|
302
|
+
*/
|
|
303
|
+
export interface AksClusterOidcIssuerProfile {
|
|
304
|
+
readonly enabled?: boolean;
|
|
305
|
+
readonly issuerURL?: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Security profile
|
|
309
|
+
*/
|
|
310
|
+
export interface AksClusterSecurityProfile {
|
|
311
|
+
readonly defender?: AksClusterDefenderSecurityMonitoring;
|
|
312
|
+
readonly imageCleaner?: AksClusterImageCleaner;
|
|
313
|
+
readonly workloadIdentity?: AksClusterWorkloadIdentity;
|
|
314
|
+
readonly azureKeyVaultKms?: AksClusterAzureKeyVaultKms;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Defender security monitoring
|
|
318
|
+
*/
|
|
319
|
+
export interface AksClusterDefenderSecurityMonitoring {
|
|
320
|
+
readonly enabled?: boolean;
|
|
321
|
+
readonly logAnalyticsWorkspaceResourceId?: string;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Image cleaner configuration
|
|
325
|
+
*/
|
|
326
|
+
export interface AksClusterImageCleaner {
|
|
327
|
+
readonly enabled?: boolean;
|
|
328
|
+
readonly intervalHours?: number;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Workload identity configuration
|
|
332
|
+
*/
|
|
333
|
+
export interface AksClusterWorkloadIdentity {
|
|
334
|
+
readonly enabled?: boolean;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Azure Key Vault KMS configuration
|
|
338
|
+
*/
|
|
339
|
+
export interface AksClusterAzureKeyVaultKms {
|
|
340
|
+
readonly enabled?: boolean;
|
|
341
|
+
readonly keyId?: string;
|
|
342
|
+
readonly keyVaultNetworkAccess?: string;
|
|
343
|
+
readonly keyVaultResourceId?: string;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Storage profile
|
|
347
|
+
*/
|
|
348
|
+
export interface AksClusterStorageProfile {
|
|
349
|
+
readonly diskCSIDriver?: AksClusterDiskCSIDriver;
|
|
350
|
+
readonly fileCSIDriver?: AksClusterFileCSIDriver;
|
|
351
|
+
readonly snapshotController?: AksClusterSnapshotController;
|
|
352
|
+
readonly blobCSIDriver?: AksClusterBlobCSIDriver;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Disk CSI driver
|
|
356
|
+
*/
|
|
357
|
+
export interface AksClusterDiskCSIDriver {
|
|
358
|
+
readonly enabled?: boolean;
|
|
359
|
+
readonly version?: string;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* File CSI driver
|
|
363
|
+
*/
|
|
364
|
+
export interface AksClusterFileCSIDriver {
|
|
365
|
+
readonly enabled?: boolean;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Snapshot controller
|
|
369
|
+
*/
|
|
370
|
+
export interface AksClusterSnapshotController {
|
|
371
|
+
readonly enabled?: boolean;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Blob CSI driver
|
|
375
|
+
*/
|
|
376
|
+
export interface AksClusterBlobCSIDriver {
|
|
377
|
+
readonly enabled?: boolean;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* HTTP proxy configuration
|
|
381
|
+
*/
|
|
382
|
+
export interface AksClusterHttpProxyConfig {
|
|
383
|
+
readonly httpProxy?: string;
|
|
384
|
+
readonly httpsProxy?: string;
|
|
385
|
+
readonly noProxy?: string[];
|
|
386
|
+
readonly trustedCa?: string;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Workload auto-scaler profile
|
|
390
|
+
*/
|
|
391
|
+
export interface AksClusterWorkloadAutoScalerProfile {
|
|
392
|
+
readonly keda?: AksClusterKeda;
|
|
393
|
+
readonly verticalPodAutoscaler?: AksClusterVerticalPodAutoscaler;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* KEDA configuration
|
|
397
|
+
*/
|
|
398
|
+
export interface AksClusterKeda {
|
|
399
|
+
readonly enabled?: boolean;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Vertical pod autoscaler
|
|
403
|
+
*/
|
|
404
|
+
export interface AksClusterVerticalPodAutoscaler {
|
|
405
|
+
readonly enabled?: boolean;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Configuration options for AKS Cluster monitoring
|
|
409
|
+
*
|
|
410
|
+
* @stability stable
|
|
411
|
+
*/
|
|
412
|
+
export interface AksClusterMonitoringOptions {
|
|
413
|
+
/**
|
|
414
|
+
* Threshold for node CPU usage percentage (0-100)
|
|
415
|
+
*
|
|
416
|
+
* @default 80
|
|
417
|
+
*/
|
|
418
|
+
readonly nodeCpuThreshold?: number;
|
|
419
|
+
/**
|
|
420
|
+
* Threshold for node memory usage percentage (0-100)
|
|
421
|
+
*
|
|
422
|
+
* @default 80
|
|
423
|
+
*/
|
|
424
|
+
readonly nodeMemoryThreshold?: number;
|
|
425
|
+
/**
|
|
426
|
+
* Threshold for failed pod count
|
|
427
|
+
*
|
|
428
|
+
* @default 0
|
|
429
|
+
*/
|
|
430
|
+
readonly failedPodThreshold?: number;
|
|
431
|
+
/**
|
|
432
|
+
* Whether to enable node CPU usage alert
|
|
433
|
+
*
|
|
434
|
+
* @default true
|
|
435
|
+
*/
|
|
436
|
+
readonly enableNodeCpuAlert?: boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Whether to enable node memory usage alert
|
|
439
|
+
*
|
|
440
|
+
* @default true
|
|
441
|
+
*/
|
|
442
|
+
readonly enableNodeMemoryAlert?: boolean;
|
|
443
|
+
/**
|
|
444
|
+
* Whether to enable failed pod alert
|
|
445
|
+
*
|
|
446
|
+
* @default true
|
|
447
|
+
*/
|
|
448
|
+
readonly enableFailedPodAlert?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
* Whether to enable AKS cluster deletion alert
|
|
451
|
+
*
|
|
452
|
+
* @default true
|
|
453
|
+
*/
|
|
454
|
+
readonly enableDeletionAlert?: boolean;
|
|
455
|
+
/**
|
|
456
|
+
* Severity level for node CPU alert (0=Critical, 1=Error, 2=Warning, 3=Informational, 4=Verbose)
|
|
457
|
+
*
|
|
458
|
+
* @default 2
|
|
459
|
+
*/
|
|
460
|
+
readonly nodeCpuAlertSeverity?: 0 | 1 | 2 | 3 | 4;
|
|
461
|
+
/**
|
|
462
|
+
* Severity level for node memory alert (0=Critical, 1=Error, 2=Warning, 3=Informational, 4=Verbose)
|
|
463
|
+
*
|
|
464
|
+
* @default 2
|
|
465
|
+
*/
|
|
466
|
+
readonly nodeMemoryAlertSeverity?: 0 | 1 | 2 | 3 | 4;
|
|
467
|
+
/**
|
|
468
|
+
* Severity level for failed pod alert (0=Critical, 1=Error, 2=Warning, 3=Informational, 4=Verbose)
|
|
469
|
+
*
|
|
470
|
+
* @default 1
|
|
471
|
+
*/
|
|
472
|
+
readonly failedPodAlertSeverity?: 0 | 1 | 2 | 3 | 4;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* API Schema for AKS Cluster version 2024-10-01
|
|
476
|
+
*/
|
|
477
|
+
export declare const AKS_CLUSTER_SCHEMA_2024_10_01: ApiSchema;
|
|
478
|
+
/**
|
|
479
|
+
* API Schema for AKS Cluster version 2025-01-01
|
|
480
|
+
*/
|
|
481
|
+
export declare const AKS_CLUSTER_SCHEMA_2025_01_01: ApiSchema;
|
|
482
|
+
/**
|
|
483
|
+
* API Schema for AKS Cluster version 2025-07-01
|
|
484
|
+
*/
|
|
485
|
+
export declare const AKS_CLUSTER_SCHEMA_2025_07_01: ApiSchema;
|
|
486
|
+
/**
|
|
487
|
+
* Version configuration for AKS Cluster 2024-10-01
|
|
488
|
+
*/
|
|
489
|
+
export declare const AKS_CLUSTER_VERSION_2024_10_01: VersionConfig;
|
|
490
|
+
/**
|
|
491
|
+
* Version configuration for AKS Cluster 2025-01-01
|
|
492
|
+
*/
|
|
493
|
+
export declare const AKS_CLUSTER_VERSION_2025_01_01: VersionConfig;
|
|
494
|
+
/**
|
|
495
|
+
* Version configuration for AKS Cluster 2025-07-01
|
|
496
|
+
*/
|
|
497
|
+
export declare const AKS_CLUSTER_VERSION_2025_07_01: VersionConfig;
|
|
498
|
+
/**
|
|
499
|
+
* All supported AKS Cluster versions for registration
|
|
500
|
+
*/
|
|
501
|
+
export declare const ALL_AKS_CLUSTER_VERSIONS: VersionConfig[];
|
|
502
|
+
/**
|
|
503
|
+
* Resource type constant
|
|
504
|
+
*/
|
|
505
|
+
export declare const AKS_CLUSTER_TYPE = "Microsoft.ContainerService/managedClusters";
|