@intentius/chant-lexicon-azure 0.45.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/describe-resources.d.ts.map +1 -1
  2. package/dist/generated/index.d.ts +328 -87
  3. package/dist/generated/index.d.ts.map +1 -1
  4. package/dist/integrity.json +4 -4
  5. package/dist/manifest.json +1 -1
  6. package/dist/meta.json +1923 -427
  7. package/dist/okf/index.md +22 -5
  8. package/dist/okf/rules/AZR028.md +1 -0
  9. package/dist/okf/types/{snapshots.md → Akssnapshots.md} +3 -3
  10. package/dist/okf/types/AzureStackHCIloadBalancers.md +21 -0
  11. package/dist/okf/types/AzureStackHCInatGateways.md +22 -0
  12. package/dist/okf/types/AzureStackHCInetworkSecurityGroups_securityRules.md +19 -0
  13. package/dist/okf/types/AzureStackHCIsnapshots.md +21 -0
  14. package/dist/okf/types/AzureStackHCIstorageContainers.md +21 -0
  15. package/dist/okf/types/AzureStackHCIvirtualMachineInstances.md +21 -0
  16. package/dist/okf/types/AzureStackHCIvirtualMachineInstances_guestAgents.md +18 -0
  17. package/dist/okf/types/AzureStackHCIvirtualNetworks.md +22 -0
  18. package/dist/okf/types/{storageContainers.md → DiscoverystorageContainers.md} +3 -3
  19. package/dist/okf/types/{loadBalancers.md → KubernetesRuntimeloadBalancers.md} +3 -3
  20. package/dist/okf/types/{natGateways.md → NetworknatGateways.md} +4 -4
  21. package/dist/okf/types/{networkSecurityGroups_securityRules.md → NetworknetworkSecurityGroups_securityRules.md} +3 -3
  22. package/dist/okf/types/galleryImages.md +21 -0
  23. package/dist/okf/types/logicalNetworks.md +21 -0
  24. package/dist/okf/types/marketplaceGalleryImages.md +21 -0
  25. package/dist/okf/types/natGateways_inboundRules.md +19 -0
  26. package/dist/okf/types/networkInterfaces.md +25 -0
  27. package/dist/okf/types/networkSecurityGroups.md +22 -0
  28. package/dist/okf/types/publicIPAddresses.md +21 -0
  29. package/dist/okf/types/virtualHardDisks.md +21 -0
  30. package/dist/okf/types/virtualNetworks_subnets.md +19 -0
  31. package/dist/spec/api-versions.d.ts +12 -0
  32. package/dist/spec/api-versions.d.ts.map +1 -1
  33. package/dist/types/index.d.ts +3682 -946
  34. package/package.json +2 -2
  35. package/src/describe-resources.ts +8 -0
  36. package/src/generated/index.d.ts +3682 -946
  37. package/src/generated/index.ts +328 -87
  38. package/src/generated/lexicon-azure.json +1923 -427
  39. package/src/lifecycle-integration.test.ts +40 -0
  40. package/src/spec/api-versions.test.ts +16 -0
  41. package/src/spec/api-versions.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-azure",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Azure lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -74,7 +74,7 @@
74
74
  "typescript": "^5.9.3"
75
75
  },
76
76
  "peerDependencies": {
77
- "@intentius/chant": "^0.45.0",
77
+ "@intentius/chant": "^0.46.0",
78
78
  "typescript": "^5.9.3"
79
79
  }
80
80
  }
@@ -27,6 +27,8 @@
27
27
 
28
28
  import type { ObservationResult, ResourceMetadata, UnobservedEntity, UnobservedReason } from "@intentius/chant/lexicon";
29
29
  import { boundedConcurrently, observation } from "@intentius/chant/observation";
30
+ import { readOwnership } from "@intentius/chant/ownership";
31
+ import { AZURE_TAG_OWNERSHIP_KEYS } from "./ownership";
30
32
  import { AzureReadError, getResource, isNotFound, type AzureReadClientOptions } from "./api/read-client";
31
33
  import type { AzHttp } from "./op/activities/az-apply";
32
34
 
@@ -187,6 +189,12 @@ export async function describeResources(options: {
187
189
  type: entityType,
188
190
  physicalId: body.id,
189
191
  status: (body.properties?.provisioningState as string | undefined) ?? "PRESENT",
192
+ // Marker identity (#1222): the ARM envelope carries the resource's
193
+ // tags, so the stamped stack/env identity is readable here even though
194
+ // this path declares no ownership channel (the verdict stays out —
195
+ // floci-az drops tags, so a verdict here would misreport under the
196
+ // emulator; the identity, when the tags are present, is verbatim).
197
+ marker: readOwnership(body.tags, AZURE_TAG_OWNERSHIP_KEYS),
190
198
  attributes: pruneUndefined({
191
199
  location: body.location,
192
200
  tags: body.tags,