@azure-tools/typespec-azure-resource-manager 0.74.0-dev.8 → 0.74.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 (56) hide show
  1. package/README.md +10 -2
  2. package/dist/src/linter.d.ts.map +1 -1
  3. package/dist/src/linter.js +16 -0
  4. package/dist/src/linter.js.map +1 -1
  5. package/dist/src/resource.d.ts.map +1 -1
  6. package/dist/src/resource.js +38 -79
  7. package/dist/src/resource.js.map +1 -1
  8. package/dist/src/rules/arm-custom-resource-usage-discourage.js +3 -20
  9. package/dist/src/rules/arm-custom-resource-usage-discourage.js.map +1 -1
  10. package/dist/src/rules/arm-resource-invalid-envelope-property.d.ts.map +1 -1
  11. package/dist/src/rules/arm-resource-invalid-envelope-property.js +12 -3
  12. package/dist/src/rules/arm-resource-invalid-envelope-property.js.map +1 -1
  13. package/dist/src/rules/lro-missing-polling-metadata.d.ts +4 -0
  14. package/dist/src/rules/lro-missing-polling-metadata.d.ts.map +1 -0
  15. package/dist/src/rules/lro-missing-polling-metadata.js +59 -0
  16. package/dist/src/rules/lro-missing-polling-metadata.js.map +1 -0
  17. package/dist/src/rules/no-empty-post-response.d.ts +4 -0
  18. package/dist/src/rules/no-empty-post-response.d.ts.map +1 -0
  19. package/dist/src/rules/no-empty-post-response.js +38 -0
  20. package/dist/src/rules/no-empty-post-response.js.map +1 -0
  21. package/dist/src/rules/no-repeated-path-info.d.ts +4 -0
  22. package/dist/src/rules/no-repeated-path-info.d.ts.map +1 -0
  23. package/dist/src/rules/no-repeated-path-info.js +63 -0
  24. package/dist/src/rules/no-repeated-path-info.js.map +1 -0
  25. package/dist/src/rules/no-reserved-resource-property.d.ts.map +1 -1
  26. package/dist/src/rules/no-reserved-resource-property.js +2 -1
  27. package/dist/src/rules/no-reserved-resource-property.js.map +1 -1
  28. package/dist/src/rules/no-resource-duplicates.d.ts +4 -0
  29. package/dist/src/rules/no-resource-duplicates.d.ts.map +1 -0
  30. package/dist/src/rules/no-resource-duplicates.js +48 -0
  31. package/dist/src/rules/no-resource-duplicates.js.map +1 -0
  32. package/dist/src/rules/no-resource-name-conflict.d.ts +4 -0
  33. package/dist/src/rules/no-resource-name-conflict.d.ts.map +1 -0
  34. package/dist/src/rules/no-resource-name-conflict.js +52 -0
  35. package/dist/src/rules/no-resource-name-conflict.js.map +1 -0
  36. package/dist/src/rules/no-response-body.d.ts +2 -1
  37. package/dist/src/rules/no-response-body.d.ts.map +1 -1
  38. package/dist/src/rules/no-response-body.js +20 -13
  39. package/dist/src/rules/no-response-body.js.map +1 -1
  40. package/dist/src/rules/private-endpoint-apis-missing.d.ts +4 -0
  41. package/dist/src/rules/private-endpoint-apis-missing.d.ts.map +1 -0
  42. package/dist/src/rules/private-endpoint-apis-missing.js +90 -0
  43. package/dist/src/rules/private-endpoint-apis-missing.js.map +1 -0
  44. package/dist/src/rules/use-scope-path-standard-name.d.ts +5 -0
  45. package/dist/src/rules/use-scope-path-standard-name.d.ts.map +1 -0
  46. package/dist/src/rules/use-scope-path-standard-name.js +46 -0
  47. package/dist/src/rules/use-scope-path-standard-name.js.map +1 -0
  48. package/dist/src/rules/use-standard-error.d.ts +5 -0
  49. package/dist/src/rules/use-standard-error.d.ts.map +1 -0
  50. package/dist/src/rules/use-standard-error.js +66 -0
  51. package/dist/src/rules/use-standard-error.js.map +1 -0
  52. package/dist/src/rules/utils.d.ts +2 -0
  53. package/dist/src/rules/utils.d.ts.map +1 -1
  54. package/dist/src/rules/utils.js +16 -0
  55. package/dist/src/rules/utils.js.map +1 -1
  56. package/package.json +19 -19
package/README.md CHANGED
@@ -40,6 +40,7 @@ Available ruleSets:
40
40
  | [`@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-put-operation-response-codes) | Ensure put operations have the appropriate status codes. |
41
41
  | [`@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-post-operation-response-codes) | Ensure post operations have the appropriate status codes. |
42
42
  | [`@azure-tools/typespec-azure-resource-manager/lro-response-mismatch`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/lro-response-mismatch) | Ensure that the final result of a long-running operation matches the response. |
43
+ | [`@azure-tools/typespec-azure-resource-manager/use-standard-error`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/use-standard-error) | Non-HEAD operations must define a response marked with @error and use ErrorResponse from ARM common types for marked error payloads. |
43
44
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-action-no-segment`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-action-no-segment) | `@armResourceAction` should not be used with `@segment`. |
44
45
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-duplicate-property) | Warn about duplicate properties in resources. |
45
46
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-invalid-envelope-property) | Check for invalid resource envelope properties. |
@@ -66,13 +67,16 @@ Available ruleSets:
66
67
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-action-verb`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-invalid-action-verb) | Actions must be HTTP Post or Get operations. |
67
68
  | [`@azure-tools/typespec-azure-resource-manager/improper-subscription-list-operation`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/improper-subscription-list-operation) | Tenant and Extension resources should not define a list by subscription operation. |
68
69
  | [`@azure-tools/typespec-azure-resource-manager/lro-location-header`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/lro-location-header) | A 202 response should include a Location response header. |
70
+ | [`@azure-tools/typespec-azure-resource-manager/lro-missing-polling-metadata`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/lro-missing-polling-metadata) | ARM operations indicating asynchronous processing must have native polling metadata. |
69
71
  | [`@azure-tools/typespec-azure-resource-manager/list-operation-missing-pageable`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/list-operation-missing-pageable) | ARM GET operations on list paths must define TypeSpec paging metadata. |
70
72
  | [`@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/missing-x-ms-identifiers) | Array properties should describe their identifying properties with x-ms-identifiers. Decorate the property with @OpenAPI.extension("x-ms-identifiers", #[id-prop]) where "id-prop" is a list of the names of identifying properties in the item type. |
71
- | [`@azure-tools/typespec-azure-resource-manager/no-response-body`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-response-body) | Check that the body is empty for 202 and 204 responses, and not empty for other success (2xx) responses. |
73
+ | [`@azure-tools/typespec-azure-resource-manager/no-response-body`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-response-body) | Check that 202, 204 and DELETE 200 responses have no body, and other success (2xx) responses have a body except for HEAD and POST 200. |
72
74
  | [`@azure-tools/typespec-azure-resource-manager/no-query-in-post`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-query-in-post) | ARM POST operations must not declare query parameters other than api-version. |
75
+ | [`@azure-tools/typespec-azure-resource-manager/no-repeated-path-info`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-repeated-path-info) | ARM PUT request bodies must not repeat path or query parameters in the resource properties bag. |
73
76
  | [`@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/missing-operations-endpoint) | Check for missing Operations interface. |
74
77
  | [`@azure-tools/typespec-azure-resource-manager/patch-envelope`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/patch-envelope) | Patch envelope properties should match the resource properties. |
75
78
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-patch`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-patch) | Validate ARM PATCH operations. |
79
+ | [`@azure-tools/typespec-azure-resource-manager/private-endpoint-apis-missing`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/private-endpoint-apis-missing) | Services that expose private endpoint APIs must implement the private endpoint connection collection, point, and private link resource collection APIs together. |
76
80
  | [`@azure-tools/typespec-azure-resource-manager/resource-name`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/resource-name) | Check the resource name. |
77
81
  | [`@azure-tools/typespec-azure-resource-manager/resource-missing-read`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/resource-missing-read) | ARM resources with create or update operations must define a read operation. |
78
82
  | [`@azure-tools/typespec-azure-resource-manager/retry-after`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/retry-after) | Check if retry-after header appears in response body. |
@@ -81,12 +85,16 @@ Available ruleSets:
81
85
  | [`@azure-tools/typespec-azure-resource-manager/use-standard-response-codes`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/use-standard-response-codes) | Use standard ARM response codes; GET operations in services must include 200 and may only add 202 or default. |
82
86
  | [`@azure-tools/typespec-azure-resource-manager/secret-prop`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/secret-prop) | RPC-v1-13: Check that property with names indicating sensitive information(e.g. contains auth, password, token, secret, etc.) are marked with @secret decorator. |
83
87
  | [`@azure-tools/typespec-azure-resource-manager/no-empty-model`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-empty-model) | ARM Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience. |
84
- | [`@azure-tools/typespec-azure-resource-manager/no-reserved-resource-property`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-reserved-resource-property) | Reserved property names (for example 'billingData') must not be present in a resource's property bag. The property name is matched case-insensitively. |
88
+ | [`@azure-tools/typespec-azure-resource-manager/no-empty-post-response`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-empty-post-response) | Synchronous ARM resource POST responses with status 200 must have a body. |
89
+ | [`@azure-tools/typespec-azure-resource-manager/no-reserved-resource-property`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-reserved-resource-property) | Reserved property names must not be present in a resource's property bag. The property name is matched case-insensitively. |
85
90
  | [`@azure-tools/typespec-azure-resource-manager/no-tags-on-proxy-resource`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-tags-on-proxy-resource) | Non-tracked ARM resources must not declare a tags property on the resource envelope. |
86
91
  | [`@azure-tools/typespec-azure-resource-manager/no-tenant-level-apis`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-tenant-level-apis) | ARM PUT operations whose resolved paths begin with '/providers' are not allowed, except paths ending in '/operations'. |
87
92
  | [`@azure-tools/typespec-azure-resource-manager/no-query-in-point-op`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-query-in-point-op) | Point operations must not declare query parameters beyond api-version. |
88
93
  | [`@azure-tools/typespec-azure-resource-manager/use-resource-path-for-put`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/use-resource-path-for-put) | ARM PUT paths must end in resource type and resource name pairs. |
89
94
  | [`@azure-tools/typespec-azure-resource-manager/use-scope-for-extension-routing`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/use-scope-for-extension-routing/) | Require scope-based paths when explicitly enabled for RPaaS extension routing. |
95
+ | [`@azure-tools/typespec-azure-resource-manager/use-scope-path-standard-name`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/use-scope-path-standard-name) | ARM scope paths must use the resourceGroupName and subscriptionId path parameters. |
96
+ | [`@azure-tools/typespec-azure-resource-manager/no-resource-name-conflict`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-resource-name-conflict) | ARM resources must have unique logical resource names. |
97
+ | [`@azure-tools/typespec-azure-resource-manager/no-resource-duplicates`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-resource-duplicates) | ARM resource instances must resolve to a single resource per resource type and instance path. |
90
98
 
91
99
  ## Decorators
92
100
 
@@ -1 +1 @@
1
- {"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../../src/linter.ts"],"names":[],"mappings":"AA2HA,eAAO,MAAM,OAAO,+CAYlB,CAAC"}
1
+ {"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../../src/linter.ts"],"names":[],"mappings":"AA2IA,eAAO,MAAM,OAAO,+CAYlB,CAAC"}
@@ -28,20 +28,26 @@ import { improperSubscriptionListOperationRule } from "./rules/improper-subscrip
28
28
  import { listOperationMissingPageableRule } from "./rules/list-operation-missing-pageable.js";
29
29
  import { listResponseEnvelopeRule } from "./rules/list-response-envelope.js";
30
30
  import { lroLocationHeaderRule } from "./rules/lro-location-header.js";
31
+ import { lroMissingPollingMetadataRule } from "./rules/lro-missing-polling-metadata.js";
31
32
  import { lroResponseMismatchRule } from "./rules/lro-response-mismatch.js";
32
33
  import { missingXmsIdentifiersRule } from "./rules/missing-x-ms-identifiers.js";
33
34
  import { noEmptyModel } from "./rules/no-empty-model.js";
35
+ import { noEmptyPostResponseRule } from "./rules/no-empty-post-response.js";
34
36
  import { noOverridePropsRule } from "./rules/no-override-props.js";
35
37
  import { noQueryInCollectionRule } from "./rules/no-query-in-collection.js";
36
38
  import { noQueryInPointOpRule } from "./rules/no-query-in-point-op.js";
37
39
  import { noQueryInPostRule } from "./rules/no-query-in-post.js";
40
+ import { noRepeatedPathInfoRule } from "./rules/no-repeated-path-info.js";
38
41
  import { noReservedResourcePropertyRule } from "./rules/no-reserved-resource-property.js";
39
42
  import { deleteOperationMissingRule } from "./rules/no-resource-delete-operation.js";
43
+ import { noResourceDuplicatesRule } from "./rules/no-resource-duplicates.js";
44
+ import { noResourceNameConflictRule } from "./rules/no-resource-name-conflict.js";
40
45
  import { noResponseBodyRule } from "./rules/no-response-body.js";
41
46
  import { noTagsOnProxyResourceRule } from "./rules/no-tags-on-proxy-resource.js";
42
47
  import { noTenantLevelApisRule } from "./rules/no-tenant-level-apis.js";
43
48
  import { operationsInterfaceMissingRule } from "./rules/operations-interface-missing.js";
44
49
  import { patchEnvelopePropertiesRules } from "./rules/patch-envelope-properties.js";
50
+ import { privateEndpointApisMissingRule } from "./rules/private-endpoint-apis-missing.js";
45
51
  import { resourceMissingReadRule } from "./rules/resource-missing-read.js";
46
52
  import { resourceNameRule } from "./rules/resource-name.js";
47
53
  import { retryAfterRule } from "./rules/retry-after.js";
@@ -56,6 +62,8 @@ import { useOperationDecoratorRule } from "./rules/use-operation-decorator.js";
56
62
  import { useRelationshipRequiredPropertiesRule } from "./rules/use-relationship-required-properties.js";
57
63
  import { useResourcePathForPutRule } from "./rules/use-resource-path-for-put.js";
58
64
  import { useScopeForExtensionRoutingRule } from "./rules/use-scope-for-extension-routing.js";
65
+ import { useScopePathStandardNameRule } from "./rules/use-scope-path-standard-name.js";
66
+ import { useStandardErrorRule } from "./rules/use-standard-error.js";
59
67
  import { useStandardResponseCodesRule } from "./rules/use-standard-response-codes.js";
60
68
  import { versionProgressionRule } from "./rules/version-progression.js";
61
69
  const rules = [
@@ -71,6 +79,7 @@ const rules = [
71
79
  armPutResponseCodesRule,
72
80
  armPostResponseCodesRule,
73
81
  lroResponseMismatchRule,
82
+ useStandardErrorRule,
74
83
  armResourceActionNoSegmentRule,
75
84
  armResourceDuplicatePropertiesRule,
76
85
  armResourceEnvelopeProperties,
@@ -97,13 +106,16 @@ const rules = [
97
106
  armResourceInvalidActionVerbRule,
98
107
  improperSubscriptionListOperationRule,
99
108
  lroLocationHeaderRule,
109
+ lroMissingPollingMetadataRule,
100
110
  listOperationMissingPageableRule,
101
111
  missingXmsIdentifiersRule,
102
112
  noResponseBodyRule,
103
113
  noQueryInPostRule,
114
+ noRepeatedPathInfoRule,
104
115
  operationsInterfaceMissingRule,
105
116
  patchEnvelopePropertiesRules,
106
117
  patchOperationsRule,
118
+ privateEndpointApisMissingRule,
107
119
  resourceNameRule,
108
120
  resourceMissingReadRule,
109
121
  retryAfterRule,
@@ -112,12 +124,16 @@ const rules = [
112
124
  useStandardResponseCodesRule,
113
125
  secretProprule,
114
126
  noEmptyModel,
127
+ noEmptyPostResponseRule,
115
128
  noReservedResourcePropertyRule,
116
129
  noTagsOnProxyResourceRule,
117
130
  noTenantLevelApisRule,
118
131
  noQueryInPointOpRule,
119
132
  useResourcePathForPutRule,
120
133
  useScopeForExtensionRoutingRule,
134
+ useScopePathStandardNameRule,
135
+ noResourceNameConflictRule,
136
+ noResourceDuplicatesRule,
121
137
  ];
122
138
  export const $linter = defineLinter({
123
139
  rules,
@@ -1 +1 @@
1
- {"version":3,"file":"linter.js","sourceRoot":"","sources":["../../src/linter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,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AAM,mBAAmB,EAAE,2BAajC,CAAC"}
@@ -427,12 +427,16 @@ function resolveArmResourcesForContext(context) {
427
427
  return cached;
428
428
  // We haven't generated the full resource details yet
429
429
  const resources = [];
430
+ const unmatchedLists = new Map();
430
431
  for (const resource of listArmResources(program, realm)) {
431
432
  if (realm !== undefined &&
432
433
  !isTypeDeclaredInNamespace(resource.typespecType, providerNamespace)) {
433
434
  continue;
434
435
  }
435
- const operations = resolveArmResourceOperations(program, resource.typespecType);
436
+ const { resources: operations, unmatchedLists: resourceLists } = resolveResourceOperationsWithLists(program, resource.typespecType);
437
+ for (const list of resourceLists) {
438
+ unmatchedLists.set(list.operation, list);
439
+ }
436
440
  const singletonKeyValues = getSingletonKeyValues(program, resource.typespecType);
437
441
  for (const op of operations) {
438
442
  const fullResource = {
@@ -459,7 +463,11 @@ function resolveArmResourcesForContext(context) {
459
463
  // Add the unmarked operations
460
464
  const resolved = {
461
465
  resources: resources,
462
- providerOperations: getUnassociatedOperationsForContainer(program, providerNamespace).filter((op) => !isArmResourceOperation(program, op.operation)),
466
+ providerOperations: [
467
+ ...getUnassociatedOperationsForContainer(program, providerNamespace),
468
+ ...[...unmatchedLists.values()].filter((list) => isTypeDeclaredInNamespace(list.operation, providerNamespace) &&
469
+ !resources.some((resource) => resource.operations.lists.some((operation) => operation.operation === list.operation))),
470
+ ],
463
471
  };
464
472
  programProviders.set(providerNamespace, resolved);
465
473
  return resolved;
@@ -760,10 +768,6 @@ function normalizePathForResourceIdentity(path) {
760
768
  .map((s) => (isVariableSegment(s) ? "{}" : s.toLowerCase()))
761
769
  .join("/");
762
770
  }
763
- function trimScopePrefix(path) {
764
- const scopePrefix = getScopePrefix(path);
765
- return scopePrefix === "" ? path : path.slice(scopePrefix.length);
766
- }
767
771
  function isResourceIdentityOperation(kind) {
768
772
  return kind === "read" || kind === "createOrUpdate";
769
773
  }
@@ -868,75 +872,19 @@ function parseKnownProviderlessResourcePath(path, segments) {
868
872
  }
869
873
  return undefined;
870
874
  }
871
- function isListOperationPrefixMatch(operation, resource) {
872
- const operationPath = normalizePathForResourceIdentity(operation.httpOperation.path);
873
- const resourcePath = normalizePathForResourceIdentity(resource.resourceInstancePath);
874
- return resourcePath.startsWith(`${operationPath}/`);
875
- }
876
- function isListOperationResourceTypeMatch(operation, resource) {
877
- const operationPath = normalizePathForResourceIdentity(operation.httpOperation.path);
878
- const resourcePath = normalizePathForResourceIdentity(resource.resourceInstancePath);
879
- return isSameResourceTypePath(operationPath, resourcePath);
880
- }
881
- function getListMatchDistance(operation, resource) {
882
- const operationPath = trimScopePrefix(normalizePathForResourceIdentity(operation.httpOperation.path));
883
- const resourcePath = trimScopePrefix(normalizePathForResourceIdentity(resource.resourceInstancePath));
884
- return resourcePath.length - operationPath.length;
885
- }
886
- function isSameResourceTypePath(leftPath, rightPath) {
887
- const left = parseArmResourceCollectionPath(leftPath);
888
- const right = parseArmResourceInstancePath(rightPath)?.resourceType;
889
- if (left === undefined || right === undefined)
890
- return false;
891
- return (left.provider.toLowerCase() === right.provider.toLowerCase() &&
892
- left.types.map((x) => x.toLowerCase()).join("/") ===
893
- right.types.map((x) => x.toLowerCase()).join("/"));
894
- }
895
- function parseArmResourceCollectionPath(path) {
896
- const segments = path.split("/").filter((s) => s.length > 0);
897
- const providerIndex = segments.findLastIndex((s) => s.toLowerCase() === "providers");
898
- if (providerIndex === -1 || providerIndex === segments.length - 1)
899
- return undefined;
900
- const provider = segments[providerIndex + 1];
901
- if (isVariableSegment(provider))
902
- return undefined;
903
- const resourceSegments = segments.slice(providerIndex + 2);
904
- if (resourceSegments.length === 0)
905
- return undefined;
906
- const types = [];
907
- for (let i = 0; i < resourceSegments.length; i += 2) {
908
- const typeSegment = resourceSegments[i];
909
- if (typeSegment === undefined || isVariableSegment(typeSegment))
910
- return undefined;
911
- types.push(typeSegment);
912
- }
913
- return { provider, types };
914
- }
915
- function getBestListOperationTarget(operation, resources) {
916
- let best;
917
- let bestDistance = Number.POSITIVE_INFINITY;
918
- for (const resource of resources) {
919
- if (!isListOperationPrefixMatch(operation, resource))
920
- continue;
921
- const distance = getListMatchDistance(operation, resource);
922
- if (distance < bestDistance) {
923
- best = resource;
924
- bestDistance = distance;
925
- }
875
+ function isListOperationMatch(candidate, resource, isTracked) {
876
+ if (candidate.resourceNameIsExplicit) {
877
+ return (candidate.armOperation.resourceName?.toLowerCase() === resource.resourceName.toLowerCase());
926
878
  }
927
- if (best !== undefined)
928
- return best;
929
- // TODO: https://github.com/Azure/typespec-azure/issues/5080
930
- // Define the complete rule for associating list operations with detected resources.
931
- // Some ARM resources expose list operations at scopes different from the resource identity,
932
- // e.g. a resource-group-scoped resource can have subscription- or tenant-level list operations.
933
- // Direct prefix matching handles list-by-parent paths; concrete provider/type equality handles
934
- // cross-scope list paths without letting list operations create resource identities.
935
- for (const resource of resources) {
936
- if (isListOperationResourceTypeMatch(operation, resource))
937
- return resource;
938
- }
939
- return undefined;
879
+ const operationPath = normalizePathForResourceIdentity(candidate.armOperation.path);
880
+ const resourcePath = normalizePathForResourceIdentity(resource.resourceInstancePath);
881
+ const collectionPath = resourcePath.slice(0, resourcePath.lastIndexOf("/"));
882
+ if (operationPath === collectionPath)
883
+ return true;
884
+ const resourceGroupScope = "/subscriptions/{}/resourcegroups/{}";
885
+ return (isTracked &&
886
+ getScopePrefix(resourcePath) === resourceGroupScope &&
887
+ operationPath === collectionPath.replace(resourceGroupScope, "/subscriptions/{}"));
940
888
  }
941
889
  function isActionOperationMatch(operation, resource) {
942
890
  const operationPath = normalizePathForResourceIdentity(operation.httpOperation.path);
@@ -1108,7 +1056,12 @@ function addUniqueOperation(operation, operations) {
1108
1056
  }
1109
1057
  }
1110
1058
  export function resolveArmResourceOperations(program, resourceType) {
1059
+ return resolveResourceOperationsWithLists(program, resourceType).resources;
1060
+ }
1061
+ function resolveResourceOperationsWithLists(program, resourceType) {
1111
1062
  const resolvedOperations = new Set();
1063
+ const unmatchedLists = [];
1064
+ const isTracked = getArmResource(program, resourceType)?.kind === "Tracked";
1112
1065
  const candidates = [...getArmResourceOperationList(program, resourceType)]
1113
1066
  .map((operation) => resolveArmResourceOperationCandidate(program, resourceType, operation))
1114
1067
  .filter((operation) => operation !== undefined);
@@ -1139,18 +1092,23 @@ export function resolveArmResourceOperations(program, resourceType) {
1139
1092
  if (isResourceIdentityOperation(candidate.armOperation.kind))
1140
1093
  continue;
1141
1094
  if (candidate.armOperation.kind === "list") {
1142
- const target = getBestListOperationTarget(candidate.armOperation, resolvedOperations);
1143
- if (target !== undefined) {
1144
- tryAddLifecycleOperation(target.resourceType, candidate.armOperation, target);
1095
+ let matched = false;
1096
+ for (const target of resolvedOperations) {
1097
+ if (isListOperationMatch(candidate, target, isTracked)) {
1098
+ tryAddLifecycleOperation(target.resourceType, candidate.armOperation, target);
1099
+ matched = true;
1100
+ }
1101
+ }
1102
+ if (!matched) {
1103
+ unmatchedLists.push(candidate.armOperation);
1145
1104
  }
1146
- // TODO: Define how non-prefix list paths should map to detected resource identities.
1147
1105
  continue;
1148
1106
  }
1149
1107
  for (const resolvedOp of resolvedOperations) {
1150
1108
  tryAddOperationToResolvedResource(candidate, resolvedOp);
1151
1109
  }
1152
1110
  }
1153
- return [...resolvedOperations.values()].toSorted((a, b) => {
1111
+ const resources = [...resolvedOperations.values()].toSorted((a, b) => {
1154
1112
  // Sort by provider, type, then instance path
1155
1113
  if (a.resourceType.types.length < b.resourceType.types.length)
1156
1114
  return -1;
@@ -1168,6 +1126,7 @@ export function resolveArmResourceOperations(program, resourceType) {
1168
1126
  return 1;
1169
1127
  return 0;
1170
1128
  });
1129
+ return { resources, unmatchedLists };
1171
1130
  }
1172
1131
  function resolveArmResourceOperationCandidate(program, resourceType, operation) {
1173
1132
  const armOperation = getResourceOperation(program, operation.operation);