@microsoft/terraform-cdk-constructs 1.0.0 → 1.3.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 +89270 -15866
- package/API.md +103201 -10557
- 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 +1 -0
- package/lib/azure-actiongroup/index.js +18 -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 +302 -0
- package/lib/azure-actiongroup/lib/action-group.js +175 -0
- package/lib/azure-actiongroup/lib/index.d.ts +2 -0
- package/lib/azure-actiongroup/lib/index.js +19 -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 +1 -0
- package/lib/azure-activitylogalert/index.js +18 -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 +226 -0
- package/lib/azure-activitylogalert/lib/activity-log-alert.js +186 -0
- package/lib/azure-activitylogalert/lib/index.d.ts +2 -0
- package/lib/azure-activitylogalert/lib/index.js +19 -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 +1 -0
- package/lib/azure-aks/index.js +18 -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 +386 -0
- package/lib/azure-aks/lib/aks-cluster.js +466 -0
- package/lib/azure-aks/lib/index.d.ts +2 -0
- package/lib/azure-aks/lib/index.js +19 -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 +1 -0
- package/lib/azure-diagnosticsettings/index.js +18 -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 +183 -0
- package/lib/azure-diagnosticsettings/lib/diagnostic-settings.js +174 -0
- package/lib/azure-diagnosticsettings/lib/index.d.ts +2 -0
- package/lib/azure-diagnosticsettings/lib/index.js +19 -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-dnsforwardingruleset/index.d.ts +1 -0
- package/lib/azure-dnsforwardingruleset/index.js +18 -0
- package/lib/azure-dnsforwardingruleset/lib/dns-forwarding-ruleset-schemas.d.ts +24 -0
- package/lib/azure-dnsforwardingruleset/lib/dns-forwarding-ruleset-schemas.js +206 -0
- package/lib/azure-dnsforwardingruleset/lib/dns-forwarding-ruleset.d.ts +174 -0
- package/lib/azure-dnsforwardingruleset/lib/dns-forwarding-ruleset.js +214 -0
- package/lib/azure-dnsforwardingruleset/lib/forwarding-rule-schemas.d.ts +24 -0
- package/lib/azure-dnsforwardingruleset/lib/forwarding-rule-schemas.js +242 -0
- package/lib/azure-dnsforwardingruleset/lib/forwarding-rule.d.ts +193 -0
- package/lib/azure-dnsforwardingruleset/lib/forwarding-rule.js +193 -0
- package/lib/azure-dnsforwardingruleset/lib/index.d.ts +6 -0
- package/lib/azure-dnsforwardingruleset/lib/index.js +23 -0
- package/lib/azure-dnsforwardingruleset/lib/virtual-network-link-schemas.d.ts +24 -0
- package/lib/azure-dnsforwardingruleset/lib/virtual-network-link-schemas.js +199 -0
- package/lib/azure-dnsforwardingruleset/lib/virtual-network-link.d.ts +160 -0
- package/lib/azure-dnsforwardingruleset/lib/virtual-network-link.js +178 -0
- package/lib/azure-dnsforwardingruleset/test/dns-forwarding-ruleset.integ.d.ts +9 -0
- package/lib/azure-dnsforwardingruleset/test/dns-forwarding-ruleset.integ.js +133 -0
- package/lib/azure-dnsforwardingruleset/test/dns-forwarding-ruleset.spec.d.ts +9 -0
- package/lib/azure-dnsforwardingruleset/test/dns-forwarding-ruleset.spec.js +350 -0
- package/lib/azure-dnsforwardingruleset/test/forwarding-rule.spec.d.ts +9 -0
- package/lib/azure-dnsforwardingruleset/test/forwarding-rule.spec.js +397 -0
- package/lib/azure-dnsforwardingruleset/test/virtual-network-link.spec.d.ts +9 -0
- package/lib/azure-dnsforwardingruleset/test/virtual-network-link.spec.js +285 -0
- package/lib/azure-dnsresolver/index.d.ts +1 -0
- package/lib/azure-dnsresolver/index.js +18 -0
- package/lib/azure-dnsresolver/lib/dns-resolver-schemas.d.ts +24 -0
- package/lib/azure-dnsresolver/lib/dns-resolver-schemas.js +218 -0
- package/lib/azure-dnsresolver/lib/dns-resolver.d.ts +170 -0
- package/lib/azure-dnsresolver/lib/dns-resolver.js +236 -0
- package/lib/azure-dnsresolver/lib/inbound-endpoint-schemas.d.ts +24 -0
- package/lib/azure-dnsresolver/lib/inbound-endpoint-schemas.js +261 -0
- package/lib/azure-dnsresolver/lib/inbound-endpoint.d.ts +189 -0
- package/lib/azure-dnsresolver/lib/inbound-endpoint.js +243 -0
- package/lib/azure-dnsresolver/lib/index.d.ts +6 -0
- package/lib/azure-dnsresolver/lib/index.js +23 -0
- package/lib/azure-dnsresolver/lib/outbound-endpoint-schemas.d.ts +24 -0
- package/lib/azure-dnsresolver/lib/outbound-endpoint-schemas.js +231 -0
- package/lib/azure-dnsresolver/lib/outbound-endpoint.d.ts +175 -0
- package/lib/azure-dnsresolver/lib/outbound-endpoint.js +234 -0
- package/lib/azure-dnsresolver/test/dns-resolver.integ.d.ts +14 -0
- package/lib/azure-dnsresolver/test/dns-resolver.integ.js +117 -0
- package/lib/azure-dnsresolver/test/dns-resolver.spec.d.ts +9 -0
- package/lib/azure-dnsresolver/test/dns-resolver.spec.js +353 -0
- package/lib/azure-dnsresolver/test/inbound-endpoint.integ.d.ts +9 -0
- package/lib/azure-dnsresolver/test/inbound-endpoint.integ.js +151 -0
- package/lib/azure-dnsresolver/test/inbound-endpoint.spec.d.ts +9 -0
- package/lib/azure-dnsresolver/test/inbound-endpoint.spec.js +441 -0
- package/lib/azure-dnsresolver/test/outbound-endpoint.integ.d.ts +9 -0
- package/lib/azure-dnsresolver/test/outbound-endpoint.integ.js +149 -0
- package/lib/azure-dnsresolver/test/outbound-endpoint.spec.d.ts +9 -0
- package/lib/azure-dnsresolver/test/outbound-endpoint.spec.js +301 -0
- package/lib/azure-dnszone/index.d.ts +1 -0
- package/lib/azure-dnszone/index.js +18 -0
- package/lib/azure-dnszone/lib/dns-zone-schemas.d.ts +24 -0
- package/lib/azure-dnszone/lib/dns-zone-schemas.js +191 -0
- package/lib/azure-dnszone/lib/dns-zone.d.ts +182 -0
- package/lib/azure-dnszone/lib/dns-zone.js +228 -0
- package/lib/azure-dnszone/lib/index.d.ts +2 -0
- package/lib/azure-dnszone/lib/index.js +19 -0
- package/lib/azure-dnszone/test/dns-zone.integ.d.ts +9 -0
- package/lib/azure-dnszone/test/dns-zone.integ.js +85 -0
- package/lib/azure-dnszone/test/dns-zone.spec.d.ts +9 -0
- package/lib/azure-dnszone/test/dns-zone.spec.js +285 -0
- package/lib/azure-metricalert/index.d.ts +1 -0
- package/lib/azure-metricalert/index.js +18 -0
- package/lib/azure-metricalert/lib/index.d.ts +2 -0
- package/lib/azure-metricalert/lib/index.js +19 -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 +334 -0
- package/lib/azure-metricalert/lib/metric-alert.js +226 -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 +1 -0
- package/lib/azure-networkinterface/index.js +18 -0
- package/lib/azure-networkinterface/lib/index.d.ts +2 -0
- package/lib/azure-networkinterface/lib/index.js +19 -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 +260 -0
- package/lib/azure-networkinterface/lib/network-interface.js +213 -0
- package/lib/azure-networkinterface/test/network-interface.integ.d.ts +9 -0
- package/lib/azure-networkinterface/test/network-interface.integ.js +116 -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 +1 -0
- package/lib/azure-networksecuritygroup/index.js +18 -0
- package/lib/azure-networksecuritygroup/lib/index.d.ts +2 -0
- package/lib/azure-networksecuritygroup/lib/index.js +19 -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 +259 -0
- package/lib/azure-networksecuritygroup/lib/network-security-group.js +226 -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-policyassignment/index.d.ts +1 -0
- package/lib/azure-policyassignment/index.js +18 -0
- package/lib/azure-policyassignment/lib/index.d.ts +2 -0
- package/lib/azure-policyassignment/lib/index.js +19 -0
- package/lib/azure-policyassignment/lib/policy-assignment-schemas.d.ts +25 -0
- package/lib/azure-policyassignment/lib/policy-assignment-schemas.js +260 -0
- package/lib/azure-policyassignment/lib/policy-assignment.d.ts +342 -0
- package/lib/azure-policyassignment/lib/policy-assignment.js +228 -0
- package/lib/azure-policyassignment/test/policy-assignment.integ.d.ts +13 -0
- package/lib/azure-policyassignment/test/policy-assignment.integ.js +153 -0
- package/lib/azure-policyassignment/test/policy-assignment.spec.d.ts +9 -0
- package/lib/azure-policyassignment/test/policy-assignment.spec.js +651 -0
- package/lib/azure-policydefinition/index.d.ts +1 -0
- package/lib/azure-policydefinition/index.js +18 -0
- package/lib/azure-policydefinition/lib/index.d.ts +2 -0
- package/lib/azure-policydefinition/lib/index.js +19 -0
- package/lib/azure-policydefinition/lib/policy-definition-schemas.d.ts +25 -0
- package/lib/azure-policydefinition/lib/policy-definition-schemas.js +210 -0
- package/lib/azure-policydefinition/lib/policy-definition.d.ts +260 -0
- package/lib/azure-policydefinition/lib/policy-definition.js +199 -0
- package/lib/azure-policydefinition/test/policy-definition.integ.d.ts +9 -0
- package/lib/azure-policydefinition/test/policy-definition.integ.js +137 -0
- package/lib/azure-policydefinition/test/policy-definition.spec.d.ts +9 -0
- package/lib/azure-policydefinition/test/policy-definition.spec.js +596 -0
- package/lib/azure-privatednszone/index.d.ts +1 -0
- package/lib/azure-privatednszone/index.js +18 -0
- package/lib/azure-privatednszone/lib/index.d.ts +2 -0
- package/lib/azure-privatednszone/lib/index.js +19 -0
- package/lib/azure-privatednszone/lib/private-dns-zone-schemas.d.ts +24 -0
- package/lib/azure-privatednszone/lib/private-dns-zone-schemas.js +254 -0
- package/lib/azure-privatednszone/lib/private-dns-zone.d.ts +178 -0
- package/lib/azure-privatednszone/lib/private-dns-zone.js +272 -0
- package/lib/azure-privatednszone/test/private-dns-zone.integ.d.ts +9 -0
- package/lib/azure-privatednszone/test/private-dns-zone.integ.js +84 -0
- package/lib/azure-privatednszone/test/private-dns-zone.spec.d.ts +9 -0
- package/lib/azure-privatednszone/test/private-dns-zone.spec.js +341 -0
- package/lib/azure-privatednszonelink/index.d.ts +1 -0
- package/lib/azure-privatednszonelink/index.js +18 -0
- package/lib/azure-privatednszonelink/lib/index.d.ts +2 -0
- package/lib/azure-privatednszonelink/lib/index.js +19 -0
- package/lib/azure-privatednszonelink/lib/private-dns-zone-link-schemas.d.ts +24 -0
- package/lib/azure-privatednszonelink/lib/private-dns-zone-link-schemas.js +262 -0
- package/lib/azure-privatednszonelink/lib/private-dns-zone-link.d.ts +202 -0
- package/lib/azure-privatednszonelink/lib/private-dns-zone-link.js +250 -0
- package/lib/azure-privatednszonelink/test/private-dns-zone-link.integ.d.ts +9 -0
- package/lib/azure-privatednszonelink/test/private-dns-zone-link.integ.js +110 -0
- package/lib/azure-privatednszonelink/test/private-dns-zone-link.spec.d.ts +9 -0
- package/lib/azure-privatednszonelink/test/private-dns-zone-link.spec.js +465 -0
- package/lib/azure-publicipaddress/index.d.ts +1 -0
- package/lib/azure-publicipaddress/index.js +18 -0
- package/lib/azure-publicipaddress/lib/index.d.ts +2 -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 +247 -0
- package/lib/azure-publicipaddress/lib/public-ip-address.js +245 -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/index.d.ts +0 -37
- package/lib/azure-resourcegroup/index.js +1 -39
- package/lib/azure-resourcegroup/lib/index.d.ts +1 -44
- package/lib/azure-resourcegroup/lib/index.js +2 -43
- package/lib/azure-resourcegroup/lib/resource-group.d.ts +9 -23
- package/lib/azure-resourcegroup/lib/resource-group.js +23 -56
- package/lib/azure-resourcegroup/test/resource-group.integ.js +23 -11
- package/lib/azure-resourcegroup/test/resource-group.spec.js +13 -19
- package/lib/azure-roleassignment/index.d.ts +1 -0
- package/lib/azure-roleassignment/index.js +18 -0
- package/lib/azure-roleassignment/lib/index.d.ts +2 -0
- package/lib/azure-roleassignment/lib/index.js +19 -0
- package/lib/azure-roleassignment/lib/role-assignment-schemas.d.ts +25 -0
- package/lib/azure-roleassignment/lib/role-assignment-schemas.js +238 -0
- package/lib/azure-roleassignment/lib/role-assignment.d.ts +294 -0
- package/lib/azure-roleassignment/lib/role-assignment.js +257 -0
- package/lib/azure-roleassignment/test/role-assignment.integ.d.ts +12 -0
- package/lib/azure-roleassignment/test/role-assignment.integ.js +101 -0
- package/lib/azure-roleassignment/test/role-assignment.spec.d.ts +9 -0
- package/lib/azure-roleassignment/test/role-assignment.spec.js +633 -0
- package/lib/azure-roledefinition/index.d.ts +1 -0
- package/lib/azure-roledefinition/index.js +18 -0
- package/lib/azure-roledefinition/lib/index.d.ts +2 -0
- package/lib/azure-roledefinition/lib/index.js +19 -0
- package/lib/azure-roledefinition/lib/role-definition-schemas.d.ts +25 -0
- package/lib/azure-roledefinition/lib/role-definition-schemas.js +195 -0
- package/lib/azure-roledefinition/lib/role-definition.d.ts +236 -0
- package/lib/azure-roledefinition/lib/role-definition.js +192 -0
- package/lib/azure-roledefinition/test/role-definition.integ.d.ts +12 -0
- package/lib/azure-roledefinition/test/role-definition.integ.js +142 -0
- package/lib/azure-roledefinition/test/role-definition.spec.d.ts +9 -0
- package/lib/azure-roledefinition/test/role-definition.spec.js +946 -0
- package/lib/azure-storageaccount/index.d.ts +0 -19
- package/lib/azure-storageaccount/index.js +1 -20
- package/lib/azure-storageaccount/lib/index.d.ts +1 -7
- package/lib/azure-storageaccount/lib/index.js +2 -8
- 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 +40 -8
- package/lib/azure-storageaccount/lib/storage-account.js +145 -23
- package/lib/azure-storageaccount/test/storage-account.integ.js +91 -12
- package/lib/azure-subnet/index.d.ts +1 -0
- package/lib/azure-subnet/index.js +18 -0
- package/lib/azure-subnet/lib/index.d.ts +2 -0
- package/lib/azure-subnet/lib/index.js +19 -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 +274 -0
- package/lib/azure-subnet/lib/subnet.js +235 -0
- package/lib/azure-subnet/test/subnet.integ.d.ts +11 -0
- package/lib/azure-subnet/test/subnet.integ.js +92 -0
- package/lib/azure-subnet/test/subnet.spec.d.ts +8 -0
- package/lib/azure-subnet/test/subnet.spec.js +395 -0
- package/lib/azure-virtualmachine/index.d.ts +1 -0
- package/lib/azure-virtualmachine/index.js +18 -0
- package/lib/azure-virtualmachine/lib/index.d.ts +2 -0
- package/lib/azure-virtualmachine/lib/index.js +19 -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 +368 -0
- package/lib/azure-virtualmachine/lib/virtual-machine.js +441 -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 +1 -0
- package/lib/azure-virtualnetwork/index.js +18 -0
- package/lib/azure-virtualnetwork/lib/index.d.ts +2 -0
- package/lib/azure-virtualnetwork/lib/index.js +19 -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 +204 -0
- package/lib/azure-virtualnetwork/lib/virtual-network.js +224 -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-virtualnetworkmanager/index.d.ts +1 -0
- package/lib/azure-virtualnetworkmanager/index.js +18 -0
- package/lib/azure-virtualnetworkmanager/lib/connectivity-configuration-schemas.d.ts +48 -0
- package/lib/azure-virtualnetworkmanager/lib/connectivity-configuration-schemas.js +265 -0
- package/lib/azure-virtualnetworkmanager/lib/connectivity-configuration.d.ts +185 -0
- package/lib/azure-virtualnetworkmanager/lib/connectivity-configuration.js +206 -0
- package/lib/azure-virtualnetworkmanager/lib/index.d.ts +14 -0
- package/lib/azure-virtualnetworkmanager/lib/index.js +31 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-schemas.d.ts +32 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-schemas.js +189 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-static-member-schemas.d.ts +32 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-static-member-schemas.js +201 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-static-member.d.ts +135 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group-static-member.js +163 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group.d.ts +139 -0
- package/lib/azure-virtualnetworkmanager/lib/network-group.js +158 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-configuration-schemas.d.ts +32 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-configuration-schemas.js +182 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-configuration.d.ts +144 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-configuration.js +164 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-collection-schemas.d.ts +38 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-collection-schemas.js +206 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-collection.d.ts +142 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-collection.js +162 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-schemas.d.ts +39 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule-schemas.js +359 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule.d.ts +221 -0
- package/lib/azure-virtualnetworkmanager/lib/security-admin-rule.js +204 -0
- package/lib/azure-virtualnetworkmanager/lib/virtual-network-manager-schemas.d.ts +32 -0
- package/lib/azure-virtualnetworkmanager/lib/virtual-network-manager-schemas.js +236 -0
- package/lib/azure-virtualnetworkmanager/lib/virtual-network-manager.d.ts +337 -0
- package/lib/azure-virtualnetworkmanager/lib/virtual-network-manager.js +283 -0
- package/lib/azure-virtualnetworkmanager/test/virtual-network-manager.integ.d.ts +25 -0
- package/lib/azure-virtualnetworkmanager/test/virtual-network-manager.integ.js +402 -0
- package/lib/azure-virtualnetworkmanager/test/virtual-network-manager.spec.d.ts +9 -0
- package/lib/azure-virtualnetworkmanager/test/virtual-network-manager.spec.js +1652 -0
- package/lib/azure-vmss/index.d.ts +1 -0
- package/lib/azure-vmss/index.js +18 -0
- package/lib/azure-vmss/lib/index.d.ts +2 -0
- package/lib/azure-vmss/lib/index.js +19 -0
- package/lib/azure-vmss/lib/virtual-machine-scale-set.d.ts +250 -0
- package/lib/azure-vmss/lib/virtual-machine-scale-set.js +479 -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-tags.spec.d.ts +10 -0
- package/lib/core-azure/lib/azapi/azapi-resource-tags.spec.js +218 -0
- package/lib/core-azure/lib/azapi/azapi-resource.d.ts +268 -48
- package/lib/core-azure/lib/azapi/azapi-resource.js +411 -136
- package/lib/core-azure/lib/azapi/azapi-resource.spec.js +2 -2
- 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 +278 -16
- 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/resource-schema-validator.d.ts +118 -0
- package/lib/core-azure/lib/azapi/resource-schema-validator.js +236 -0
- package/lib/core-azure/lib/azapi/resource-version-manager.d.ts +103 -0
- package/lib/core-azure/lib/azapi/resource-version-manager.js +168 -0
- package/lib/core-azure/lib/azapi/schema-mapper/schema-mapper.js +13 -6
- package/lib/core-azure/lib/index.d.ts +2 -2
- package/lib/core-azure/lib/index.js +5 -5
- 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 +56 -0
- package/lib/index.js +59 -2
- package/lib/testing/index.d.ts +92 -2
- package/lib/testing/index.js +258 -18
- package/lib/testing/lib/cleanup.d.ts +230 -0
- package/lib/testing/lib/cleanup.js +338 -0
- package/lib/testing/lib/metadata.d.ts +151 -0
- package/lib/testing/lib/metadata.js +183 -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 +387 -0
- package/scripts/generate-index.js +25 -8
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import * as cdktf from "cdktf";
|
|
22
22
|
import { Construct } from "constructs";
|
|
23
|
+
import type { ActionGroupProps } from "../../../azure-actiongroup/lib/action-group";
|
|
24
|
+
import type { ActivityLogAlertProps } from "../../../azure-activitylogalert/lib/activity-log-alert";
|
|
25
|
+
import type { DiagnosticSettingsProps } from "../../../azure-diagnosticsettings/lib/diagnostic-settings";
|
|
26
|
+
import type { MetricAlertProps } from "../../../azure-metricalert/lib/metric-alert";
|
|
23
27
|
import { ApiSchema, VersionConfig, ValidationResult, MigrationAnalysis } from "../version-manager/interfaces/version-interfaces";
|
|
24
28
|
/**
|
|
25
29
|
* Retention policy configuration
|
|
@@ -41,23 +45,83 @@ export interface DiagnosticLogConfig {
|
|
|
41
45
|
* Metric configuration for diagnostic settings
|
|
42
46
|
*/
|
|
43
47
|
export interface DiagnosticMetricConfig {
|
|
44
|
-
|
|
48
|
+
/** Metric category name (used in newer API versions) */
|
|
49
|
+
readonly category?: string;
|
|
50
|
+
/** Time grain for metrics in ISO 8601 duration format (used in API version 2016-09-01, e.g., "PT1M") */
|
|
51
|
+
readonly timeGrain?: string;
|
|
45
52
|
readonly enabled: boolean;
|
|
46
53
|
readonly retentionPolicy?: RetentionPolicyConfig;
|
|
47
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Monitoring configuration for Azure resources
|
|
57
|
+
*
|
|
58
|
+
* Provides integrated monitoring capabilities including diagnostic settings,
|
|
59
|
+
* metric alerts, and activity log alerts. All monitoring is optional and
|
|
60
|
+
* disabled by default.
|
|
61
|
+
*/
|
|
62
|
+
export interface MonitoringConfig {
|
|
63
|
+
/**
|
|
64
|
+
* Whether monitoring is enabled
|
|
65
|
+
* @defaultValue true
|
|
66
|
+
*/
|
|
67
|
+
readonly enabled?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Diagnostic settings configuration
|
|
70
|
+
* Uses the full DiagnosticSettings construct for consistency
|
|
71
|
+
*/
|
|
72
|
+
readonly diagnosticSettings?: DiagnosticSettingsProps;
|
|
73
|
+
/**
|
|
74
|
+
* Action groups to create for this resource
|
|
75
|
+
* Creates new ActionGroup instances as child constructs
|
|
76
|
+
*/
|
|
77
|
+
readonly actionGroups?: ActionGroupProps[];
|
|
78
|
+
/**
|
|
79
|
+
* Metric alerts configuration
|
|
80
|
+
* Creates MetricAlert instances scoped to this resource
|
|
81
|
+
*/
|
|
82
|
+
readonly metricAlerts?: MetricAlertProps[];
|
|
83
|
+
/**
|
|
84
|
+
* Activity log alerts configuration
|
|
85
|
+
* Creates ActivityLogAlert instances for this resource's operations
|
|
86
|
+
*/
|
|
87
|
+
readonly activityLogAlerts?: ActivityLogAlertProps[];
|
|
88
|
+
}
|
|
48
89
|
/**
|
|
49
90
|
* Properties for versioned Azure resources
|
|
50
91
|
*
|
|
51
92
|
* Combines base resource properties with version management capabilities
|
|
52
93
|
* and advanced configuration options for the unified framework.
|
|
53
94
|
*/
|
|
54
|
-
export interface AzapiResourceProps {
|
|
95
|
+
export interface AzapiResourceProps extends cdktf.TerraformMetaArguments {
|
|
55
96
|
/**
|
|
56
97
|
* The name of the resource
|
|
57
98
|
*/
|
|
58
99
|
readonly name?: string;
|
|
59
100
|
/**
|
|
60
101
|
* The location where the resource should be created
|
|
102
|
+
*
|
|
103
|
+
* @remarks
|
|
104
|
+
* Location handling varies by resource type:
|
|
105
|
+
* - **Top-level resources**: Most require an explicit location (e.g., "eastus", "westus")
|
|
106
|
+
* - **Global resources**: Some use "global" as location (e.g., Private DNS Zones)
|
|
107
|
+
* - **Child resources**: Inherit location from parent and should NOT set this property
|
|
108
|
+
*
|
|
109
|
+
* Each resource type may provide its own default through the `resolveLocation()` method.
|
|
110
|
+
* If no location is specified and no default exists, resource creation may fail.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* // Explicit location for most resources
|
|
114
|
+
* location: "eastus"
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* // Global resource (Private DNS Zone)
|
|
118
|
+
* location: "global"
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* // Child resource (Subnet) - do not set location
|
|
122
|
+
* // location: undefined (inherited from parent Virtual Network)
|
|
123
|
+
*
|
|
124
|
+
* @defaultValue Varies by resource type - see specific resource documentation
|
|
61
125
|
*/
|
|
62
126
|
readonly location?: string;
|
|
63
127
|
/**
|
|
@@ -101,6 +165,30 @@ export interface AzapiResourceProps {
|
|
|
101
165
|
* @defaultValue true
|
|
102
166
|
*/
|
|
103
167
|
readonly enableTransformation?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Monitoring configuration for this resource
|
|
170
|
+
*
|
|
171
|
+
* Enables integrated monitoring with diagnostic settings, metric alerts,
|
|
172
|
+
* and activity log alerts. All monitoring is optional and disabled by default.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* monitoring: {
|
|
176
|
+
* enabled: true,
|
|
177
|
+
* diagnosticSettings: {
|
|
178
|
+
* workspaceId: logAnalytics.id,
|
|
179
|
+
* metrics: ['AllMetrics'],
|
|
180
|
+
* logs: ['AuditLogs']
|
|
181
|
+
* },
|
|
182
|
+
* metricAlerts: [{
|
|
183
|
+
* name: 'high-cpu-alert',
|
|
184
|
+
* severity: 2,
|
|
185
|
+
* scopes: [], // Automatically set to this resource
|
|
186
|
+
* criteria: { ... },
|
|
187
|
+
* actions: [{ actionGroupId: actionGroup.id }]
|
|
188
|
+
* }]
|
|
189
|
+
* }
|
|
190
|
+
*/
|
|
191
|
+
readonly monitoring?: MonitoringConfig;
|
|
104
192
|
}
|
|
105
193
|
/**
|
|
106
194
|
* Abstract base class for version-aware Azure resource management
|
|
@@ -149,15 +237,35 @@ export interface AzapiResourceProps {
|
|
|
149
237
|
* @stability stable
|
|
150
238
|
*/
|
|
151
239
|
export declare abstract class AzapiResource extends Construct {
|
|
240
|
+
/**
|
|
241
|
+
* Static helper for child classes to register their schemas in static initializers
|
|
242
|
+
*
|
|
243
|
+
* This method should be called in a static initializer block of each child class
|
|
244
|
+
* to register all supported API versions and their schemas with the ApiVersionManager.
|
|
245
|
+
* The static block runs once when the class is first loaded, ensuring schemas are
|
|
246
|
+
* registered before any instances are created.
|
|
247
|
+
*
|
|
248
|
+
* @param resourceType - The Azure resource type (e.g., "Microsoft.Network/virtualNetworks")
|
|
249
|
+
* @param versions - Array of version configurations containing schemas
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* static {
|
|
253
|
+
* AzapiResource.registerSchemas(
|
|
254
|
+
* "Microsoft.Network/virtualNetworks",
|
|
255
|
+
* ALL_VIRTUAL_NETWORK_VERSIONS
|
|
256
|
+
* );
|
|
257
|
+
* }
|
|
258
|
+
*/
|
|
259
|
+
protected static registerSchemas(resourceType: string, versions: VersionConfig[]): void;
|
|
152
260
|
/**
|
|
153
261
|
* The Azure resource type (e.g., "Microsoft.Resources/resourceGroups")
|
|
154
262
|
* @internal
|
|
155
263
|
*/
|
|
156
|
-
protected
|
|
264
|
+
protected _resourceType: string;
|
|
157
265
|
/**
|
|
158
266
|
* The API version to use for this resource
|
|
159
267
|
*/
|
|
160
|
-
protected
|
|
268
|
+
protected apiVersion: string;
|
|
161
269
|
/**
|
|
162
270
|
* The underlying AZAPI Terraform resource
|
|
163
271
|
*/
|
|
@@ -167,13 +275,17 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
167
275
|
*/
|
|
168
276
|
readonly name: string;
|
|
169
277
|
/**
|
|
170
|
-
* The location of the resource
|
|
278
|
+
* The location of the resource (optional - not all resources have a location)
|
|
279
|
+
* Child resources typically inherit location from their parent
|
|
171
280
|
*/
|
|
172
|
-
readonly location
|
|
281
|
+
readonly location?: string;
|
|
173
282
|
/**
|
|
174
|
-
* The resource ID
|
|
283
|
+
* The Azure resource ID
|
|
284
|
+
*
|
|
285
|
+
* This property is automatically derived from the underlying Terraform resource.
|
|
286
|
+
* Child classes no longer need to implement this property.
|
|
175
287
|
*/
|
|
176
|
-
|
|
288
|
+
get id(): string;
|
|
177
289
|
/**
|
|
178
290
|
* The resolved API version being used for this resource instance
|
|
179
291
|
*
|
|
@@ -181,37 +293,46 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
181
293
|
* either explicitly specified in props or automatically resolved to
|
|
182
294
|
* the latest active version.
|
|
183
295
|
*/
|
|
184
|
-
|
|
296
|
+
resolvedApiVersion: string;
|
|
185
297
|
/**
|
|
186
298
|
* The API schema for the resolved version
|
|
187
299
|
*
|
|
188
300
|
* Contains the complete schema definition including properties, validation
|
|
189
301
|
* rules, and transformation mappings for the resolved API version.
|
|
190
302
|
*/
|
|
191
|
-
|
|
303
|
+
schema: ApiSchema;
|
|
192
304
|
/**
|
|
193
305
|
* The version configuration for the resolved version
|
|
194
306
|
*
|
|
195
307
|
* Contains lifecycle information, breaking changes, and migration metadata
|
|
196
308
|
* for the resolved API version.
|
|
197
309
|
*/
|
|
198
|
-
|
|
310
|
+
versionConfig: VersionConfig;
|
|
199
311
|
/**
|
|
200
312
|
* Validation results for the resource properties
|
|
201
313
|
*
|
|
202
314
|
* Available after construction if validation is enabled. Contains detailed
|
|
203
315
|
* information about any validation errors or warnings.
|
|
204
316
|
*/
|
|
205
|
-
|
|
317
|
+
validationResult?: ValidationResult;
|
|
206
318
|
/**
|
|
207
319
|
* Migration analysis results
|
|
208
320
|
*
|
|
209
321
|
* Available after construction if migration analysis is enabled and a
|
|
210
322
|
* previous version can be determined for comparison.
|
|
211
323
|
*/
|
|
212
|
-
|
|
324
|
+
migrationAnalysis?: MigrationAnalysis;
|
|
213
325
|
private readonly _apiVersionManager;
|
|
214
|
-
private
|
|
326
|
+
private _versionManager;
|
|
327
|
+
private _schemaValidator;
|
|
328
|
+
/**
|
|
329
|
+
* Internal mutable tags storage separate from input props
|
|
330
|
+
* Combines props.tags with dynamically added tags via addTag()
|
|
331
|
+
*/
|
|
332
|
+
private _tags;
|
|
333
|
+
protected readonly monitoringActionGroups: Construct[];
|
|
334
|
+
protected readonly monitoringMetricAlerts: Construct[];
|
|
335
|
+
protected readonly monitoringActivityLogAlerts: Construct[];
|
|
215
336
|
/**
|
|
216
337
|
* Creates a new AzapiResource instance
|
|
217
338
|
*
|
|
@@ -224,6 +345,16 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
224
345
|
* @param props - Configuration properties for the resource
|
|
225
346
|
*/
|
|
226
347
|
constructor(scope: Construct, id: string, props?: AzapiResourceProps);
|
|
348
|
+
/**
|
|
349
|
+
* Protected initialization method called after the constructor completes
|
|
350
|
+
*
|
|
351
|
+
* This method is called at the end of the constructor to perform initialization
|
|
352
|
+
* that requires calling abstract methods. Child classes can override this method
|
|
353
|
+
* if they need to extend initialization logic, but they MUST call super.initialize(props).
|
|
354
|
+
*
|
|
355
|
+
* @param props - Configuration properties for the resource
|
|
356
|
+
*/
|
|
357
|
+
protected initialize(props: AzapiResourceProps): void;
|
|
227
358
|
/**
|
|
228
359
|
* Gets the default API version to use when no explicit version is specified
|
|
229
360
|
*
|
|
@@ -264,6 +395,36 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
264
395
|
* @returns The resource body object to send to Azure API
|
|
265
396
|
*/
|
|
266
397
|
protected abstract createResourceBody(props: any): any;
|
|
398
|
+
/**
|
|
399
|
+
* Override in child classes to provide default location
|
|
400
|
+
* @returns Default location or undefined
|
|
401
|
+
*/
|
|
402
|
+
protected defaultLocation(): string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* Override in child classes to indicate if location is required
|
|
405
|
+
* @returns true if location is mandatory for this resource type
|
|
406
|
+
*/
|
|
407
|
+
protected requiresLocation(): boolean;
|
|
408
|
+
/**
|
|
409
|
+
* Override in child classes to specify parent resource for location inheritance
|
|
410
|
+
* @returns Parent resource or undefined
|
|
411
|
+
*/
|
|
412
|
+
protected parentResourceForLocation(): AzapiResource | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Resolves location using template method pattern
|
|
415
|
+
* Priority: props.location > parent location > default location > validation
|
|
416
|
+
*/
|
|
417
|
+
protected resolveLocation(props: AzapiResourceProps): string | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* Resolves the name for this resource
|
|
420
|
+
*
|
|
421
|
+
* This method centralizes name resolution logic. By default, it uses the
|
|
422
|
+
* provided name or falls back to the construct ID.
|
|
423
|
+
*
|
|
424
|
+
* @param props - The resource properties
|
|
425
|
+
* @returns The resolved resource name
|
|
426
|
+
*/
|
|
427
|
+
protected resolveName(props: AzapiResourceProps): string;
|
|
267
428
|
/**
|
|
268
429
|
* Helper method for standard schema resolution
|
|
269
430
|
*
|
|
@@ -303,18 +464,10 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
303
464
|
* @returns Detailed migration analysis results
|
|
304
465
|
*/
|
|
305
466
|
analyzeMigrationTo(targetVersion: string): MigrationAnalysis;
|
|
306
|
-
/**
|
|
307
|
-
* Resolves the API version to use for this resource instance
|
|
308
|
-
*/
|
|
309
|
-
private _resolveApiVersion;
|
|
310
467
|
/**
|
|
311
468
|
* Processes properties through the framework pipeline
|
|
312
469
|
*/
|
|
313
470
|
private _processProperties;
|
|
314
|
-
/**
|
|
315
|
-
* Validates properties against the schema
|
|
316
|
-
*/
|
|
317
|
-
private _validateProperties;
|
|
318
471
|
/**
|
|
319
472
|
* Performs migration analysis for the current version
|
|
320
473
|
*/
|
|
@@ -324,23 +477,72 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
324
477
|
*/
|
|
325
478
|
private _createAzureResource;
|
|
326
479
|
/**
|
|
327
|
-
*
|
|
480
|
+
* Finds the parent AzapiResource construct if the parentId references a resource
|
|
481
|
+
* Returns undefined if parentId is a static string or parent not found
|
|
482
|
+
* @private
|
|
483
|
+
*/
|
|
484
|
+
private _findParentAzapiResource;
|
|
485
|
+
/**
|
|
486
|
+
* Finds the root of the construct tree
|
|
487
|
+
* @private
|
|
488
|
+
*/
|
|
489
|
+
private _findRoot;
|
|
490
|
+
/**
|
|
491
|
+
* Recursively searches for a parent resource by matching parentId patterns
|
|
492
|
+
* Enhanced to better handle Terraform interpolation syntax
|
|
493
|
+
* @private
|
|
494
|
+
*/
|
|
495
|
+
private _findParentResource;
|
|
496
|
+
/**
|
|
497
|
+
* Resolves the parent resource ID for this resource.
|
|
498
|
+
*
|
|
499
|
+
* Override this method in child resource classes (like Subnet) that need
|
|
500
|
+
* custom parent ID resolution logic. By default, this delegates to the
|
|
501
|
+
* private _determineParentId method which handles standard resource types.
|
|
502
|
+
*
|
|
503
|
+
* @param props - The resource properties
|
|
504
|
+
* @returns The parent resource ID
|
|
505
|
+
*/
|
|
506
|
+
protected resolveParentId(props: any): string;
|
|
507
|
+
/**
|
|
508
|
+
* Determines the parent ID for the resource (internal implementation)
|
|
509
|
+
*
|
|
510
|
+
* This method provides the default parent ID resolution logic.
|
|
511
|
+
* Resource-specific logic should be implemented in the overrideable resolveParentId() method.
|
|
512
|
+
*
|
|
513
|
+
* Default behavior:
|
|
514
|
+
* - If resourceGroupId is provided in props, use it
|
|
515
|
+
* - Otherwise, default to subscription scope
|
|
328
516
|
*/
|
|
329
517
|
private _determineParentId;
|
|
330
518
|
/**
|
|
331
519
|
* Logs framework messages including warnings and migration guidance
|
|
332
520
|
*/
|
|
333
521
|
private _logFrameworkMessages;
|
|
522
|
+
/**
|
|
523
|
+
* Creates monitoring resources based on the monitoring configuration
|
|
524
|
+
*
|
|
525
|
+
* This method is called automatically during construction if monitoring is configured.
|
|
526
|
+
* It creates action groups, metric alerts, and activity log alerts as child constructs.
|
|
527
|
+
*
|
|
528
|
+
* Protected to allow subclasses to override or extend monitoring behavior.
|
|
529
|
+
*
|
|
530
|
+
* @param config - The monitoring configuration from props
|
|
531
|
+
*/
|
|
532
|
+
protected createMonitoringResources(config: MonitoringConfig): Promise<void>;
|
|
334
533
|
/**
|
|
335
534
|
* Creates the underlying AZAPI Terraform resource using the generated provider classes
|
|
336
535
|
*
|
|
337
|
-
* @param properties - The properties object to send to the Azure API
|
|
536
|
+
* @param properties - The properties object to send to the Azure API (should include location if needed)
|
|
338
537
|
* @param parentId - The parent resource ID (e.g., subscription or resource group)
|
|
339
538
|
* @param name - The name of the resource
|
|
340
|
-
* @param location - The location of the resource (optional,
|
|
539
|
+
* @param location - The location of the resource (optional, only for top-level resources without location in body)
|
|
540
|
+
* @param parentResource - The parent resource for dependency tracking
|
|
541
|
+
* @param dependsOn - Explicit dependencies for this resource
|
|
542
|
+
* @param tags - Tags to apply to the resource (passed separately from body for proper idempotency)
|
|
341
543
|
* @returns The created AZAPI resource
|
|
342
544
|
*/
|
|
343
|
-
protected createAzapiResource(properties: Record<string, any>, parentId: string, name: string, location?: string): cdktf.TerraformResource;
|
|
545
|
+
protected createAzapiResource(properties: Record<string, any>, parentId: string, name: string, location?: string, parentResource?: AzapiResource, dependsOn?: cdktf.ITerraformDependable[], tags?: Record<string, string>): cdktf.TerraformResource;
|
|
344
546
|
/**
|
|
345
547
|
* Creates an AZAPI data source for reading existing resources
|
|
346
548
|
*
|
|
@@ -358,6 +560,11 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
358
560
|
* Gets the full resource ID
|
|
359
561
|
*/
|
|
360
562
|
get resourceId(): string;
|
|
563
|
+
/**
|
|
564
|
+
* Gets the underlying Terraform resource for use in dependency declarations
|
|
565
|
+
* This allows explicit dependency management between resources
|
|
566
|
+
*/
|
|
567
|
+
get resource(): cdktf.TerraformResource;
|
|
361
568
|
/**
|
|
362
569
|
* Gets the resource as a Terraform output value
|
|
363
570
|
*/
|
|
@@ -372,11 +579,43 @@ export declare abstract class AzapiResource extends Construct {
|
|
|
372
579
|
*/
|
|
373
580
|
addAccess(objectId: string, roleDefinitionName: string): void;
|
|
374
581
|
/**
|
|
375
|
-
* Adds
|
|
582
|
+
* Adds a tag to this resource. The tag will be included in the Azure resource.
|
|
583
|
+
*
|
|
584
|
+
* This method provides proper immutability by storing tags separately from props.
|
|
585
|
+
* Tags added via this method are combined with tags from props and included in
|
|
586
|
+
* the deployed Azure resource.
|
|
587
|
+
*
|
|
588
|
+
* **Important:** In CDK for Terraform, tags should ideally be set during resource
|
|
589
|
+
* construction via props. While this method allows adding tags after construction,
|
|
590
|
+
* those tags are only included if added before the Terraform configuration is
|
|
591
|
+
* synthesized. For best results, add all tags via props or call addTag() in the
|
|
592
|
+
* same scope where the resource is created.
|
|
593
|
+
*
|
|
594
|
+
* @param key - The tag key
|
|
595
|
+
* @param value - The tag value
|
|
596
|
+
*/
|
|
597
|
+
addTag(key: string, value: string): void;
|
|
598
|
+
/**
|
|
599
|
+
* All tags on this resource (readonly view)
|
|
376
600
|
*
|
|
377
|
-
*
|
|
601
|
+
* This getter provides convenient access to all tags including those from props
|
|
602
|
+
* and those added dynamically via addTag(). Returns a copy to maintain immutability.
|
|
378
603
|
*/
|
|
379
|
-
|
|
604
|
+
get tags(): {
|
|
605
|
+
[key: string]: string;
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* Protected method to retrieve all tags for use in createResourceBody implementations
|
|
609
|
+
*
|
|
610
|
+
* Subclasses should use this method when creating resource bodies to ensure
|
|
611
|
+
* all tags (from props and addTag()) are included in the Azure resource.
|
|
612
|
+
* Uses a non-getter name to avoid JSII conflicts with the tags property.
|
|
613
|
+
*
|
|
614
|
+
* @returns Object containing all tags
|
|
615
|
+
*/
|
|
616
|
+
protected allTags(): {
|
|
617
|
+
[key: string]: string;
|
|
618
|
+
};
|
|
380
619
|
}
|
|
381
620
|
/**
|
|
382
621
|
* Properties for AZAPI role assignment
|
|
@@ -392,22 +631,3 @@ export interface AzapiRoleAssignmentProps {
|
|
|
392
631
|
export declare class AzapiRoleAssignment extends Construct {
|
|
393
632
|
constructor(scope: Construct, id: string, props: AzapiRoleAssignmentProps);
|
|
394
633
|
}
|
|
395
|
-
/**
|
|
396
|
-
* Properties for AZAPI diagnostic settings
|
|
397
|
-
*/
|
|
398
|
-
export interface AzapiDiagnosticSettingsProps {
|
|
399
|
-
readonly name?: string;
|
|
400
|
-
readonly logAnalyticsWorkspaceId?: string;
|
|
401
|
-
readonly eventhubAuthorizationRuleId?: string;
|
|
402
|
-
readonly eventhubName?: string;
|
|
403
|
-
readonly storageAccountId?: string;
|
|
404
|
-
readonly targetResourceId?: string;
|
|
405
|
-
readonly logs?: DiagnosticLogConfig[];
|
|
406
|
-
readonly metrics?: DiagnosticMetricConfig[];
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* AZAPI-based diagnostic settings construct
|
|
410
|
-
*/
|
|
411
|
-
export declare class AzapiDiagnosticSettings extends Construct {
|
|
412
|
-
constructor(scope: Construct, id: string, props: AzapiDiagnosticSettingsProps);
|
|
413
|
-
}
|