@intentius/chant-lexicon-azure 0.45.0 → 0.49.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/dist/describe-resources.d.ts.map +1 -1
- package/dist/generated/index.d.ts +328 -87
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/integrity.json +4 -4
- package/dist/manifest.json +1 -1
- package/dist/meta.json +1923 -427
- package/dist/okf/index.md +22 -5
- package/dist/okf/rules/AZR028.md +1 -0
- package/dist/okf/types/{snapshots.md → Akssnapshots.md} +3 -3
- package/dist/okf/types/AzureStackHCIloadBalancers.md +21 -0
- package/dist/okf/types/AzureStackHCInatGateways.md +22 -0
- package/dist/okf/types/AzureStackHCInetworkSecurityGroups_securityRules.md +19 -0
- package/dist/okf/types/AzureStackHCIsnapshots.md +21 -0
- package/dist/okf/types/AzureStackHCIstorageContainers.md +21 -0
- package/dist/okf/types/AzureStackHCIvirtualMachineInstances.md +21 -0
- package/dist/okf/types/AzureStackHCIvirtualMachineInstances_guestAgents.md +18 -0
- package/dist/okf/types/AzureStackHCIvirtualNetworks.md +22 -0
- package/dist/okf/types/{storageContainers.md → DiscoverystorageContainers.md} +3 -3
- package/dist/okf/types/{loadBalancers.md → KubernetesRuntimeloadBalancers.md} +3 -3
- package/dist/okf/types/{natGateways.md → NetworknatGateways.md} +4 -4
- package/dist/okf/types/{networkSecurityGroups_securityRules.md → NetworknetworkSecurityGroups_securityRules.md} +3 -3
- package/dist/okf/types/galleryImages.md +21 -0
- package/dist/okf/types/logicalNetworks.md +21 -0
- package/dist/okf/types/marketplaceGalleryImages.md +21 -0
- package/dist/okf/types/natGateways_inboundRules.md +19 -0
- package/dist/okf/types/networkInterfaces.md +25 -0
- package/dist/okf/types/networkSecurityGroups.md +22 -0
- package/dist/okf/types/publicIPAddresses.md +21 -0
- package/dist/okf/types/virtualHardDisks.md +21 -0
- package/dist/okf/types/virtualNetworks_subnets.md +19 -0
- package/dist/spec/api-versions.d.ts +12 -0
- package/dist/spec/api-versions.d.ts.map +1 -1
- package/dist/types/index.d.ts +3682 -946
- package/package.json +2 -2
- package/src/describe-resources.ts +8 -0
- package/src/generated/index.d.ts +3682 -946
- package/src/generated/index.ts +328 -87
- package/src/generated/lexicon-azure.json +1923 -427
- package/src/lifecycle-integration.test.ts +40 -0
- package/src/spec/api-versions.test.ts +16 -0
- 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.
|
|
3
|
+
"version": "0.49.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.
|
|
77
|
+
"@intentius/chant": "^0.49.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,
|