@azure-tools/typespec-azure-resource-manager 0.70.0-dev.1 → 0.70.0-dev.10

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 (50) hide show
  1. package/README.md +114 -14
  2. package/dist/generated-defs/Azure.ResourceManager.BaseTypes.d.ts +10 -4
  3. package/dist/generated-defs/Azure.ResourceManager.BaseTypes.d.ts.map +1 -1
  4. package/dist/generated-defs/Azure.ResourceManager.d.ts +66 -25
  5. package/dist/generated-defs/Azure.ResourceManager.d.ts.map +1 -1
  6. package/dist/src/linter.d.ts.map +1 -1
  7. package/dist/src/linter.js +4 -0
  8. package/dist/src/linter.js.map +1 -1
  9. package/dist/src/resource.d.ts +5 -1
  10. package/dist/src/resource.d.ts.map +1 -1
  11. package/dist/src/resource.js +8 -0
  12. package/dist/src/resource.js.map +1 -1
  13. package/dist/src/rules/arm-custom-resource-usage-discourage.d.ts.map +1 -1
  14. package/dist/src/rules/arm-custom-resource-usage-discourage.js +44 -2
  15. package/dist/src/rules/arm-custom-resource-usage-discourage.js.map +1 -1
  16. package/dist/src/rules/arm-feature-file-usage-discourage.d.ts +4 -0
  17. package/dist/src/rules/arm-feature-file-usage-discourage.d.ts.map +1 -0
  18. package/dist/src/rules/arm-feature-file-usage-discourage.js +24 -0
  19. package/dist/src/rules/arm-feature-file-usage-discourage.js.map +1 -0
  20. package/dist/src/rules/no-reserved-resource-property.d.ts +4 -0
  21. package/dist/src/rules/no-reserved-resource-property.d.ts.map +1 -0
  22. package/dist/src/rules/no-reserved-resource-property.js +50 -0
  23. package/dist/src/rules/no-reserved-resource-property.js.map +1 -0
  24. package/dist/src/state.d.ts +1 -0
  25. package/dist/src/state.d.ts.map +1 -1
  26. package/dist/src/state.js +1 -0
  27. package/dist/src/state.js.map +1 -1
  28. package/dist/src/tsp-index.d.ts.map +1 -1
  29. package/dist/src/tsp-index.js +4 -1
  30. package/dist/src/tsp-index.js.map +1 -1
  31. package/lib/base-types/agent.tsp +116 -42
  32. package/lib/base-types/base-types.tsp +10 -4
  33. package/lib/common-types/common-types.tsp +1 -1
  34. package/lib/common-types/nsp-operations.tsp +5 -5
  35. package/lib/common-types/types.tsp +2 -3
  36. package/lib/decorators.tsp +81 -11
  37. package/lib/extension/operations.tsp +8 -6
  38. package/lib/foundations/arm.foundations.tsp +22 -11
  39. package/lib/interfaces.tsp +24 -14
  40. package/lib/legacy-types/extension.tsp +1 -1
  41. package/lib/legacy-types/operations.tsp +9 -5
  42. package/lib/legacy-types/private-endpoints.tsp +4 -4
  43. package/lib/models.tsp +1 -1
  44. package/lib/operations.tsp +31 -19
  45. package/lib/parameters.tsp +3 -3
  46. package/lib/private-endpoints.tsp +9 -9
  47. package/lib/private-links.tsp +3 -3
  48. package/lib/responses.tsp +17 -12
  49. package/package.json +4 -4
  50. package/lib/common-types/customer-managed-keys-ref.tsp +0 -43
package/README.md CHANGED
@@ -49,6 +49,7 @@ Available ruleSets:
49
49
  | [`@azure-tools/typespec-azure-resource-manager/version-progression`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/version-progression) | Validate that ARM service versions all use unique dates and are declared in strictly increasing chronological order. |
50
50
  | [`@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-custom-resource-no-key) | Validate that custom resource contains a key property. |
51
51
  | [`@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-custom-resource-usage-discourage) | Verify the usage of @customAzureResource decorator. |
52
+ | [`@azure-tools/typespec-azure-resource-manager/arm-feature-file-usage-discourage`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-feature-file-usage-discourage) | Verify the usage of @featureFiles decorator. |
52
53
  | [`@azure-tools/typespec-azure-resource-manager/beyond-nesting-levels`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/beyond-nesting-levels) | Tracked Resources must use 3 or fewer levels of nesting. |
53
54
  | [`@azure-tools/typespec-azure-resource-manager/arm-resource-operation`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/arm-resource-operation) | Validate ARM Resource operations. |
54
55
  | [`@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/no-resource-delete-operation) | Check for resources that must have a delete operation. |
@@ -67,6 +68,7 @@ Available ruleSets:
67
68
  | [`@azure-tools/typespec-azure-resource-manager/unsupported-type`](https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/rules/unsupported-type) | Check for unsupported ARM types. |
68
69
  | [`@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. |
69
70
  | [`@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. |
71
+ | [`@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. |
70
72
 
71
73
  ## Decorators
72
74
 
@@ -87,6 +89,9 @@ Available ruleSets:
87
89
  - [`@armResourceUpdate`](#@armresourceupdate)
88
90
  - [`@armVirtualResource`](#@armvirtualresource)
89
91
  - [`@extensionResource`](#@extensionresource)
92
+ - [`@featureFile`](#@featurefile)
93
+ - [`@featureFileOptions`](#@featurefileoptions)
94
+ - [`@featureFiles`](#@featurefiles)
90
95
  - [`@identifiers`](#@identifiers)
91
96
  - [`@locationResource`](#@locationresource)
92
97
  - [`@resourceBaseType`](#@resourcebasetype)
@@ -117,7 +122,9 @@ the version of the Azure Resource Manager common-types to use for refs in emitte
117
122
 
118
123
  #### `@armLibraryNamespace`
119
124
 
120
- `@armLibraryNamespace` designates a namespace as containign Azure Resource Manager Provider information.
125
+ `@armLibraryNamespace` designates a namespace as containing Azure Resource Manager Provider information.
126
+ This is used for library namespaces that define reusable ARM resource types that can be shared
127
+ across multiple provider specifications.
121
128
 
122
129
  ```typespec
123
130
  @Azure.ResourceManager.armLibraryNamespace
@@ -171,8 +178,9 @@ namespace Microsoft.ContosoService;
171
178
 
172
179
  #### `@armProviderNameValue`
173
180
 
174
- `@armResourceType` sets the value fo the decorated string
175
- property to the type of the Azure Resource Manager resource.
181
+ `@armProviderNameValue` sets the provider namespace value on operations.
182
+ It is used internally to inject the correct provider namespace path segment
183
+ for resource operations in auto-generated routes.
176
184
 
177
185
  ```typespec
178
186
  @Azure.ResourceManager.armProviderNameValue
@@ -188,6 +196,11 @@ None
188
196
 
189
197
  #### `@armResourceAction`
190
198
 
199
+ Marks the operation as a custom action on a specific Azure Resource Manager resource type.
200
+ This decorator associates a POST action operation with its resource,
201
+ identifying the semantics of the operation as a resource action over a specific resource for documentation,
202
+ resource validation, and use by downstream emitters.
203
+
191
204
  ```typespec
192
205
  @Azure.ResourceManager.armResourceAction(resourceModel: Model, resourceName?: valueof string)
193
206
  ```
@@ -224,7 +237,9 @@ Marks the operation as being a check existence (HEAD) operation
224
237
 
225
238
  #### `@armResourceCollectionAction`
226
239
 
227
- Marks the operation as being a collection action
240
+ Marks the operation as being a collection action that is not associated with a specific resource instance.
241
+ Collection actions are operations that act on a resource collection rather than a single resource,
242
+ such as `checkNameAvailability` or provider-level actions.
228
243
 
229
244
  ```typespec
230
245
  @Azure.ResourceManager.armResourceCollectionAction
@@ -240,6 +255,10 @@ None
240
255
 
241
256
  #### `@armResourceCreateOrUpdate`
242
257
 
258
+ Marks the operation as a create or update (PUT) operation for a specific Azure Resource Manager resource type.
259
+ This decorator identifies the semantics of the operation as a CreateOrReplace lifecycle operation over a particular resource,
260
+ for use in documentation, resource validation, and downstream emitters.
261
+
243
262
  ```typespec
244
263
  @Azure.ResourceManager.armResourceCreateOrUpdate(resourceModel: Model, resourceName?: valueof string)
245
264
  ```
@@ -257,6 +276,10 @@ None
257
276
 
258
277
  #### `@armResourceDelete`
259
278
 
279
+ Marks the operation as a delete (DELETE) operation for a specific Azure Resource Manager resource type.
280
+ This decorator identifies the operation as a Delete lifecycle operation over the resource for us in documentation,
281
+ resource validation, and downstream emitters.
282
+
260
283
  ```typespec
261
284
  @Azure.ResourceManager.armResourceDelete(resourceModel: Model, resourceName?: valueof string)
262
285
  ```
@@ -274,6 +297,10 @@ None
274
297
 
275
298
  #### `@armResourceList`
276
299
 
300
+ Marks the operation as a list (GET collection) operation for a specific Azure Resource Manager resource type.
301
+ This decorator identifies the semantics of the operation as a collection list operation over a resource type and a particular scope for documentation,
302
+ resource validation, and downstream emitters.
303
+
277
304
  ```typespec
278
305
  @Azure.ResourceManager.armResourceList(resourceModel: Model, resourceName?: valueof string)
279
306
  ```
@@ -325,6 +352,10 @@ individually tagged
325
352
 
326
353
  #### `@armResourceRead`
327
354
 
355
+ Marks the operation as a read (GET) operation for a specific Azure Resource Manager resource type.
356
+ This decorator identifies the semantics of the operation as a Read lifecycle operation over a particular resource,
357
+ for use in documentation, resource validation, and downstream emitters.
358
+
328
359
  ```typespec
329
360
  @Azure.ResourceManager.armResourceRead(resourceModel: Model, resourceName?: valueof string)
330
361
  ```
@@ -342,6 +373,10 @@ individually tagged
342
373
 
343
374
  #### `@armResourceUpdate`
344
375
 
376
+ Marks the operation as an update (PATCH) operation for a specific Azure Resource Manager resource type.
377
+ This decorator identifies the operation as an Update lifecycle operation over the resource for use in documentation,
378
+ resource validation, and downstream emitters.
379
+
345
380
  ```typespec
346
381
  @Azure.ResourceManager.armResourceUpdate(resourceModel: Model, resourceName?: valueof string)
347
382
  ```
@@ -360,7 +395,8 @@ individually tagged
360
395
  #### `@armVirtualResource`
361
396
 
362
397
  This decorator is used on Azure Resource Manager resources that are not based on
363
- Azure.ResourceManager common types.
398
+ Azure.ResourceManager common types. It marks a model as an ARM virtual resource,
399
+ which is useful for defining the scope of resources used only as parents for child resources, or scopes for extension resources.
364
400
 
365
401
  ```typespec
366
402
  @Azure.ResourceManager.armVirtualResource(provider?: valueof string)
@@ -398,6 +434,63 @@ See more details on [different Azure Resource Manager resource type here.](https
398
434
 
399
435
  None
400
436
 
437
+ #### `@featureFile`
438
+
439
+ Decorator to associate a feature file with a model, interface, or namespace
440
+
441
+ ```typespec
442
+ @Azure.ResourceManager.featureFile(featureName: EnumMember)
443
+ ```
444
+
445
+ ##### Target
446
+
447
+ The target to associate the feature file with
448
+ `Model | Operation | Interface | Namespace`
449
+
450
+ ##### Parameters
451
+
452
+ | Name | Type | Description |
453
+ | ----------- | ------------ | ---------------------------------------- |
454
+ | featureName | `EnumMember` | The feature to associate with the target |
455
+
456
+ #### `@featureFileOptions`
457
+
458
+ Decorator to define options for a specific feature file
459
+
460
+ ```typespec
461
+ @Azure.ResourceManager.featureFileOptions(options: valueof Azure.ResourceManager.ArmFeatureFileOptions)
462
+ ```
463
+
464
+ ##### Target
465
+
466
+ The enum member that represents the feature
467
+ `EnumMember`
468
+
469
+ ##### Parameters
470
+
471
+ | Name | Type | Description |
472
+ | ------- | --------------------------------------------------------- | -------------------------------- |
473
+ | options | [valueof `ArmFeatureFileOptions`](#armfeaturefileoptions) | The options for the feature file |
474
+
475
+ #### `@featureFiles`
476
+
477
+ Decorator to define a set of feature files for splitting output
478
+
479
+ ```typespec
480
+ @Azure.ResourceManager.featureFiles(features: Enum)
481
+ ```
482
+
483
+ ##### Target
484
+
485
+ The service namespace
486
+ `Namespace`
487
+
488
+ ##### Parameters
489
+
490
+ | Name | Type | Description |
491
+ | -------- | ------ | ----------------------------------- |
492
+ | features | `Enum` | The enum that contains the features |
493
+
401
494
  #### `@identifiers`
402
495
 
403
496
  This decorator is used to indicate the identifying properties of objects in the array, e.g. size
@@ -450,10 +543,11 @@ None
450
543
 
451
544
  #### `@resourceBaseType`
452
545
 
453
- This decorator sets the base type of the given resource.
546
+ This decorator sets the base type of the given resource, indicating where in the
547
+ Azure Resource Manager hierarchy the resource is located.
454
548
 
455
549
  ```typespec
456
- @Azure.ResourceManager.resourceBaseType(baseTypeIt: "Tenant" | "Subscription" | "ResourceGroup" | "Location" | "Extension")
550
+ @Azure.ResourceManager.resourceBaseType(baseType: "Tenant" | "Subscription" | "ResourceGroup" | "Location" | "Extension")
457
551
  ```
458
552
 
459
553
  ##### Target
@@ -462,9 +556,9 @@ This decorator sets the base type of the given resource.
462
556
 
463
557
  ##### Parameters
464
558
 
465
- | Name | Type | Description |
466
- | ---------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
467
- | baseTypeIt | `"Tenant" \| "Subscription" \| "ResourceGroup" \| "Location" \| "Extension"` | The built-in parent of the resource, this can be "Tenant", "Subscription", "ResourceGroup", "Location", or "Extension" |
559
+ | Name | Type | Description |
560
+ | -------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
561
+ | baseType | `"Tenant" \| "Subscription" \| "ResourceGroup" \| "Location" \| "Extension"` | The built-in parent of the resource, this can be "Tenant", "Subscription", "ResourceGroup", "Location", or "Extension" |
468
562
 
469
563
  #### `@resourceGroupResource`
470
564
 
@@ -602,12 +696,18 @@ multiple base types. Duplicate entries are ignored.
602
696
  ##### Examples
603
697
 
604
698
  ```typespec
605
- @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
606
- model MyAgentProperties {
607
- ...AgentProperties;
608
- ...AgentToolProperty;
699
+ // Agent definition and properties using the Appliance deployment model
700
+ model ContosoApplianceDefinition is AgentDefinitionAppliance<true, true>;
701
+ model ContosoApplianceProperties is AgentPropertiesAppliance<ContosoApplianceDefinition> {
609
702
  ...DefaultProvisioningStateProperty;
610
703
  }
704
+
705
+ // The @azureBaseType decorator marks the resource as conforming to the Agent base type.
706
+ // (The Agent template applies this automatically, but it can also be applied directly.)
707
+ @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
708
+ model ContosoApplianceAgent is TrackedResource<ContosoApplianceProperties> {
709
+ ...ResourceNameParameter<ContosoApplianceAgent>;
710
+ }
611
711
  ```
612
712
 
613
713
  ### Azure.ResourceManager.Legacy
@@ -14,12 +14,18 @@ export interface BaseTypeInfo {
14
14
  * @param baseType The base type specification this resource implements.
15
15
  * @example
16
16
  * ```typespec
17
- * @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
18
- * model MyAgentProperties {
19
- * ...AgentProperties;
20
- * ...AgentToolProperty;
17
+ * // Agent definition and properties using the Appliance deployment model
18
+ * model ContosoApplianceDefinition is AgentDefinitionAppliance<true, true>;
19
+ * model ContosoApplianceProperties is AgentPropertiesAppliance<ContosoApplianceDefinition> {
21
20
  * ...DefaultProvisioningStateProperty;
22
21
  * }
22
+ *
23
+ * // The @azureBaseType decorator marks the resource as conforming to the Agent base type.
24
+ * // (The Agent template applies this automatically, but it can also be applied directly.)
25
+ * @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
26
+ * model ContosoApplianceAgent is TrackedResource<ContosoApplianceProperties> {
27
+ * ...ResourceNameParameter<ContosoApplianceAgent>;
28
+ * }
23
29
  * ```
24
30
  */
25
31
  export type AzureBaseTypeDecorator = (context: DecoratorContext, target: Model, baseType: BaseTypeInfo) => DecoratorValidatorCallbacks | void;
@@ -1 +1 @@
1
- {"version":3,"file":"Azure.ResourceManager.BaseTypes.d.ts","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.BaseTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE/F,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,sBAAsB,GAAG,CACnC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,YAAY,KACnB,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,uCAAuC,GAAG;IACpD,aAAa,EAAE,sBAAsB,CAAC;CACvC,CAAC"}
1
+ {"version":3,"file":"Azure.ResourceManager.BaseTypes.d.ts","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.BaseTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE/F,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,sBAAsB,GAAG,CACnC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,YAAY,KACnB,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,uCAAuC,GAAG;IACpD,aAAa,EAAE,sBAAsB,CAAC;CACvC,CAAC"}
@@ -1,18 +1,26 @@
1
- import type { DecoratorContext, DecoratorValidatorCallbacks, EnumMember, EnumValue, Interface, Model, ModelProperty, Namespace, Operation, Type } from "@typespec/compiler";
1
+ import type { DecoratorContext, DecoratorValidatorCallbacks, Enum, EnumMember, EnumValue, Interface, Model, ModelProperty, Namespace, Operation, Type } from "@typespec/compiler";
2
2
  export interface ResourceOperationOptions {
3
3
  readonly resourceType?: Record<string, unknown>;
4
4
  readonly allowStaticRoutes?: boolean;
5
5
  readonly omitTags?: boolean;
6
6
  }
7
+ export interface ArmFeatureFileOptions {
8
+ readonly featureName: string;
9
+ readonly fileName: string;
10
+ readonly description: string;
11
+ readonly title?: string;
12
+ readonly termsOfService?: string;
13
+ }
7
14
  /**
8
- * Marks the operation as being a collection action
15
+ * Marks the operation as being a collection action that is not associated with a specific resource instance.
16
+ * Collection actions are operations that act on a resource collection rather than a single resource,
17
+ * such as `checkNameAvailability` or provider-level actions.
9
18
  */
10
19
  export type ArmResourceCollectionActionDecorator = (context: DecoratorContext, target: Operation) => DecoratorValidatorCallbacks | void;
11
20
  /**
12
- * `@armResourceType` sets the value fo the decorated string
13
- * property to the type of the Azure Resource Manager resource.
14
- *
15
- * @param resource The resource to get the type of
21
+ * `@armProviderNameValue` sets the provider namespace value on operations.
22
+ * It is used internally to inject the correct provider namespace path segment
23
+ * for resource operations in auto-generated routes.
16
24
  */
17
25
  export type ArmProviderNameValueDecorator = (context: DecoratorContext, target: Operation) => DecoratorValidatorCallbacks | void;
18
26
  /**
@@ -44,7 +52,6 @@ export type IdentifiersDecorator = (context: DecoratorContext, entity: ModelProp
44
52
  * namespace Microsoft.ContosoService;
45
53
  * ```
46
54
  * @param providerNamespace Provider namespace
47
- * @param libraryNamespaces a library namespace containing types for this namespace
48
55
  */
49
56
  export type ArmProviderNamespaceDecorator = (context: DecoratorContext, target: Namespace, providerNamespace?: string) => DecoratorValidatorCallbacks | void;
50
57
  /**
@@ -55,7 +62,9 @@ export type ArmProviderNamespaceDecorator = (context: DecoratorContext, target:
55
62
  */
56
63
  export type UseLibraryNamespaceDecorator = (context: DecoratorContext, target: Namespace, ...namespaces: Namespace[]) => DecoratorValidatorCallbacks | void;
57
64
  /**
58
- * `@armLibraryNamespace` designates a namespace as containign Azure Resource Manager Provider information.
65
+ * `@armLibraryNamespace` designates a namespace as containing Azure Resource Manager Provider information.
66
+ * This is used for library namespaces that define reusable ARM resource types that can be shared
67
+ * across multiple provider specifications.
59
68
  *
60
69
  * @example
61
70
  * ```typespec
@@ -124,48 +133,55 @@ export type ResourceGroupResourceDecorator = (context: DecoratorContext, target:
124
133
  */
125
134
  export type ExtensionResourceDecorator = (context: DecoratorContext, target: Model) => DecoratorValidatorCallbacks | void;
126
135
  /**
127
- *
128
- *
136
+ * Marks the operation as a custom action on a specific Azure Resource Manager resource type.
137
+ * This decorator associates a POST action operation with its resource,
138
+ * identifying the semantics of the operation as a resource action over a specific resource for documentation,
139
+ * resource validation, and use by downstream emitters.
129
140
  *
130
141
  * @param resourceModel Resource model
131
142
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
132
143
  */
133
144
  export type ArmResourceActionDecorator = (context: DecoratorContext, target: Operation, resourceModel: Model, resourceName?: string) => DecoratorValidatorCallbacks | void;
134
145
  /**
135
- *
136
- *
146
+ * Marks the operation as a create or update (PUT) operation for a specific Azure Resource Manager resource type.
147
+ * This decorator identifies the semantics of the operation as a CreateOrReplace lifecycle operation over a particular resource,
148
+ * for use in documentation, resource validation, and downstream emitters.
137
149
  *
138
150
  * @param resourceModel Resource model
139
151
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
140
152
  */
141
153
  export type ArmResourceCreateOrUpdateDecorator = (context: DecoratorContext, target: Operation, resourceModel: Model, resourceName?: string) => DecoratorValidatorCallbacks | void;
142
154
  /**
143
- *
144
- *
155
+ * Marks the operation as a read (GET) operation for a specific Azure Resource Manager resource type.
156
+ * This decorator identifies the semantics of the operation as a Read lifecycle operation over a particular resource,
157
+ * for use in documentation, resource validation, and downstream emitters.
145
158
  *
146
159
  * @param resourceModel Resource model
147
160
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
148
161
  */
149
162
  export type ArmResourceReadDecorator = (context: DecoratorContext, target: Operation, resourceModel: Model, resourceName?: string) => DecoratorValidatorCallbacks | void;
150
163
  /**
151
- *
152
- *
164
+ * Marks the operation as an update (PATCH) operation for a specific Azure Resource Manager resource type.
165
+ * This decorator identifies the operation as an Update lifecycle operation over the resource for use in documentation,
166
+ * resource validation, and downstream emitters.
153
167
  *
154
168
  * @param resourceModel Resource model
155
169
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
156
170
  */
157
171
  export type ArmResourceUpdateDecorator = (context: DecoratorContext, target: Operation, resourceModel: Model, resourceName?: string) => DecoratorValidatorCallbacks | void;
158
172
  /**
159
- *
160
- *
173
+ * Marks the operation as a delete (DELETE) operation for a specific Azure Resource Manager resource type.
174
+ * This decorator identifies the operation as a Delete lifecycle operation over the resource for us in documentation,
175
+ * resource validation, and downstream emitters.
161
176
  *
162
177
  * @param resourceModel Resource model
163
178
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
164
179
  */
165
180
  export type ArmResourceDeleteDecorator = (context: DecoratorContext, target: Operation, resourceModel: Model, resourceName?: string) => DecoratorValidatorCallbacks | void;
166
181
  /**
167
- *
168
- *
182
+ * Marks the operation as a list (GET collection) operation for a specific Azure Resource Manager resource type.
183
+ * This decorator identifies the semantics of the operation as a collection list operation over a resource type and a particular scope for documentation,
184
+ * resource validation, and downstream emitters.
169
185
  *
170
186
  * @param resourceModel Resource model
171
187
  * @param resourceName Optional. The name of the resource. If not provided, the name of the resource model will be used.
@@ -209,18 +225,40 @@ export type ArmResourceOperationsDecorator = (context: DecoratorContext, target:
209
225
  export type ArmCommonTypesVersionDecorator = (context: DecoratorContext, target: Namespace | EnumMember, version: string | EnumValue) => DecoratorValidatorCallbacks | void;
210
226
  /**
211
227
  * This decorator is used on Azure Resource Manager resources that are not based on
212
- * Azure.ResourceManager common types.
228
+ * Azure.ResourceManager common types. It marks a model as an ARM virtual resource,
229
+ * which is useful for defining the scope of resources used only as parents for child resources, or scopes for extension resources.
213
230
  *
214
- * @param propertiesType : The type of the resource properties.
215
231
  * @param provider Optional. The resource provider namespace for the virtual resource.
216
232
  */
217
233
  export type ArmVirtualResourceDecorator = (context: DecoratorContext, target: Model, provider?: string) => DecoratorValidatorCallbacks | void;
218
234
  /**
219
- * This decorator sets the base type of the given resource.
235
+ * This decorator sets the base type of the given resource, indicating where in the
236
+ * Azure Resource Manager hierarchy the resource is located.
237
+ *
238
+ * @param baseType The built-in parent of the resource, this can be "Tenant", "Subscription", "ResourceGroup", "Location", or "Extension"
239
+ */
240
+ export type ResourceBaseTypeDecorator = (context: DecoratorContext, target: Model, baseType: Type) => DecoratorValidatorCallbacks | void;
241
+ /**
242
+ * Decorator to define a set of feature files for splitting output
243
+ *
244
+ * @param target The service namespace
245
+ * @param features The enum that contains the features
246
+ */
247
+ export type FeatureFilesDecorator = (context: DecoratorContext, target: Namespace, features: Enum) => DecoratorValidatorCallbacks | void;
248
+ /**
249
+ * Decorator to define options for a specific feature file
250
+ *
251
+ * @param target The enum member that represents the feature
252
+ * @param options The options for the feature file
253
+ */
254
+ export type FeatureFileOptionsDecorator = (context: DecoratorContext, target: EnumMember, options: ArmFeatureFileOptions) => DecoratorValidatorCallbacks | void;
255
+ /**
256
+ * Decorator to associate a feature file with a model, interface, or namespace
220
257
  *
221
- * @param baseTypeIt The built-in parent of the resource, this can be "Tenant", "Subscription", "ResourceGroup", "Location", or "Extension"
258
+ * @param target The target to associate the feature file with
259
+ * @param featureName The feature to associate with the target
222
260
  */
223
- export type ResourceBaseTypeDecorator = (context: DecoratorContext, target: Model, baseTypeIt: Type) => DecoratorValidatorCallbacks | void;
261
+ export type FeatureFileDecorator = (context: DecoratorContext, target: Model | Operation | Interface | Namespace, featureName: EnumMember) => DecoratorValidatorCallbacks | void;
224
262
  export type AzureResourceManagerDecorators = {
225
263
  armResourceCollectionAction: ArmResourceCollectionActionDecorator;
226
264
  armProviderNameValue: ArmProviderNameValueDecorator;
@@ -245,5 +283,8 @@ export type AzureResourceManagerDecorators = {
245
283
  armCommonTypesVersion: ArmCommonTypesVersionDecorator;
246
284
  armVirtualResource: ArmVirtualResourceDecorator;
247
285
  resourceBaseType: ResourceBaseTypeDecorator;
286
+ featureFiles: FeatureFilesDecorator;
287
+ featureFileOptions: FeatureFileOptionsDecorator;
288
+ featureFile: FeatureFileDecorator;
248
289
  };
249
290
  //# sourceMappingURL=Azure.ResourceManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"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3,"file":"linter.d.ts","sourceRoot":"","sources":["../../src/linter.ts"],"names":[],"mappings":"AAmFA,eAAO,MAAM,OAAO,+CAElB,CAAC"}
1
+ {"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../../src/linter.ts"],"names":[],"mappings":"AAuFA,eAAO,MAAM,OAAO,+CAElB,CAAC"}
@@ -5,6 +5,7 @@ import { armCommonTypesVersionRule } from "./rules/arm-common-types-version.js";
5
5
  import { armCustomResourceNoKey } from "./rules/arm-custom-resource-no-key.js";
6
6
  import { armCustomResourceUsageDiscourage } from "./rules/arm-custom-resource-usage-discourage.js";
7
7
  import { armDeleteResponseCodesRule } from "./rules/arm-delete-response-codes.js";
8
+ import { armFeatureFileUsageDiscourage } from "./rules/arm-feature-file-usage-discourage.js";
8
9
  import { armNoPathCasingConflictsRule } from "./rules/arm-no-path-casing-conflicts.js";
9
10
  import { armNoRecordRule } from "./rules/arm-no-record.js";
10
11
  import { armPostResponseCodesRule } from "./rules/arm-post-response-codes.js";
@@ -29,6 +30,7 @@ import { lroLocationHeaderRule } from "./rules/lro-location-header.js";
29
30
  import { missingXmsIdentifiersRule } from "./rules/missing-x-ms-identifiers.js";
30
31
  import { noEmptyModel } from "./rules/no-empty-model.js";
31
32
  import { noOverridePropsRule } from "./rules/no-override-props.js";
33
+ import { noReservedResourcePropertyRule } from "./rules/no-reserved-resource-property.js";
32
34
  import { deleteOperationMissingRule } from "./rules/no-resource-delete-operation.js";
33
35
  import { noResponseBodyRule } from "./rules/no-response-body.js";
34
36
  import { operationsInterfaceMissingRule } from "./rules/operations-interface-missing.js";
@@ -60,6 +62,7 @@ const rules = [
60
62
  versionProgressionRule,
61
63
  armCustomResourceNoKey,
62
64
  armCustomResourceUsageDiscourage,
65
+ armFeatureFileUsageDiscourage,
63
66
  beyondNestingRule,
64
67
  coreOperationsRule,
65
68
  deleteOperationMissingRule,
@@ -78,6 +81,7 @@ const rules = [
78
81
  unsupportedTypeRule,
79
82
  secretProprule,
80
83
  noEmptyModel,
84
+ noReservedResourcePropertyRule,
81
85
  ];
82
86
  export const $linter = defineLinter({
83
87
  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,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,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,mCAAmC,EAAE,MAAM,gDAAgD,CAAC;AACrG,OAAO,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,mBAA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4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,MAAM,KAAK,GAAG;IACZ,kCAAkC;IAClC,uCAAuC;IACvC,eAAe;IACf,4BAA4B;IAC5B,mBAAmB;IACnB,yBAAyB;IACzB,0BAA0B;IAC1B,uBAAuB;IACvB,wBAAwB;IACxB,8BAA8B;IAC9B,kCAAkC;IAClC,6BAA6B;IAC7B,mCAAmC;IACnC,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,+BAA+B;IAC/B,gCAAgC;IAChC,sBAAsB;IACtB,sBAAsB;IACtB,gCAAgC;IAChC,6BAA6B;IAC7B,iBAAiB;IACjB,kBAAkB;IAClB,0BAA0B;IAC1B,uBAAuB;IACvB,cAAc;IACd,gCAAgC;IAChC,qCAAqC;IACrC,qBAAqB;IACrB,yBAAyB;IACzB,kBAAkB;IAClB,8BAA8B;IAC9B,4BAA4B;IAC5B,mBAAmB;IACnB,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,YAAY;IACZ,8BAA8B;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAC;IAClC,KAAK;CACN,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ArrayModelType, EnumMember, Interface, Model, ModelProperty, Namespace, Operation, Program, Type } from "@typespec/compiler";
2
- import { ArmProviderNameValueDecorator, ArmResourceOperationsDecorator, ArmVirtualResourceDecorator, ExtensionResourceDecorator, IdentifiersDecorator, LocationResourceDecorator, ResourceBaseTypeDecorator, ResourceGroupResourceDecorator, SingletonDecorator, SubscriptionResourceDecorator, TenantResourceDecorator } from "../generated-defs/Azure.ResourceManager.js";
2
+ import { ArmProviderNameValueDecorator, ArmResourceOperationsDecorator, ArmVirtualResourceDecorator, ExtensionResourceDecorator, FeatureFileDecorator, FeatureFileOptionsDecorator, FeatureFilesDecorator, IdentifiersDecorator, LocationResourceDecorator, ResourceBaseTypeDecorator, ResourceGroupResourceDecorator, SingletonDecorator, SubscriptionResourceDecorator, TenantResourceDecorator } from "../generated-defs/Azure.ResourceManager.js";
3
3
  import { ArmExternalTypeDecorator, ArmFeatureOptions, CustomAzureResourceDecorator, CustomResourceOptions, FeatureDecorator, FeatureOptionsDecorator, FeaturesDecorator } from "../generated-defs/Azure.ResourceManager.Legacy.js";
4
4
  import { ArmOperationKind, ArmResolvedOperationsForResource, ArmResourceOperation, ArmResourceOperations } from "./operations.js";
5
5
  export type ArmResourceKind = "Tracked" | "Proxy" | "Extension" | "Virtual" | "Custom" | "BuiltIn" | "Generic";
@@ -247,6 +247,7 @@ export declare function getResourceBaseType(program: Program, resource: Model):
247
247
  export declare function resolveResourceBaseType(type?: string | undefined): ResourceBaseType;
248
248
  export declare const getResourceFeature: (program: Program, type: Model | Interface | Namespace | Operation) => EnumMember | undefined, setResourceFeature: (program: Program, type: Model | Interface | Namespace | Operation, value: EnumMember) => void;
249
249
  export declare const getResourceFeatureSet: (program: Program, type: Namespace) => Map<string, ArmFeatureOptions> | undefined, setResourceFeatureSet: (program: Program, type: Namespace, value: Map<string, ArmFeatureOptions>) => void;
250
+ export declare const getFeatureFileSet: (program: Program, type: Namespace) => boolean | undefined, setFeatureFileSet: (program: Program, type: Namespace, value: boolean) => void;
250
251
  export declare const getResourceFeatureOptions: (program: Program, type: EnumMember) => ArmFeatureOptions | undefined, setResourceFeatureOptions: (program: Program, type: EnumMember, value: ArmFeatureOptions) => void;
251
252
  export declare function getFeatureOptions(program: Program, feature: EnumMember): ArmFeatureOptions;
252
253
  /**
@@ -259,4 +260,7 @@ export declare function getFeature(program: Program, entity: Type): ArmFeatureOp
259
260
  export declare const $feature: FeatureDecorator;
260
261
  export declare const $features: FeaturesDecorator;
261
262
  export declare const $featureOptions: FeatureOptionsDecorator;
263
+ export declare const $featureFile: FeatureFileDecorator;
264
+ export declare const $featureFiles: FeatureFilesDecorator;
265
+ export declare const $featureFileOptions: FeatureFileOptionsDecorator;
262
266
  //# sourceMappingURL=resource.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/resource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,cAAc,EAId,UAAU,EAIV,SAAS,EAOT,KAAK,EACL,aAAa,EACb,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAE9B,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,mDAAmD,CAAC;AAO3D,OAAO,EACL,gBAAgB,EAChB,gCAAgC,EAChC,oBAAoB,EACpB,qBAAqB,EAKtB,MAAM,iBAAiB,CAAC;AAIzB,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,OAAO,GACP,WAAW,GACX,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAEd;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,IAAI,EAAE,eAAe,CAAC;IACtB,uBAAuB;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,0CAA0C;IAC1C,OAA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AAyB,wEAGjC,CAAC;AAOlC,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,GAAG,iBAAiB,CAQ1F;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,iBAAiB,CAsE5E;AAED,eAAO,MAAM,QAAQ,EAAE,gBAOtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAwBvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,uBAM7B,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,oBAAkE,CAAC;AAC9F,eAAO,MAAM,aAAa,EAAE,qBAO3B,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,2BACyB,CAAC"}
@@ -1068,6 +1068,7 @@ export function resolveResourceBaseType(type) {
1068
1068
  }
1069
1069
  export const [getResourceFeature, setResourceFeature] = useStateMap(ArmStateKeys.armFeature);
1070
1070
  export const [getResourceFeatureSet, setResourceFeatureSet] = useStateMap(ArmStateKeys.armFeatureSet);
1071
+ export const [getFeatureFileSet, setFeatureFileSet] = useStateMap(ArmStateKeys.armFeatureFileSet);
1071
1072
  export const [getResourceFeatureOptions, setResourceFeatureOptions] = useStateMap(ArmStateKeys.armFeatureOptions);
1072
1073
  const commonFeatureOptions = {
1073
1074
  featureName: "Common",
@@ -1197,4 +1198,11 @@ export const $features = (context, entity, features) => {
1197
1198
  export const $featureOptions = (context, entity, options) => {
1198
1199
  setResourceFeatureOptions(context.program, entity, options);
1199
1200
  };
1201
+ // New Azure.ResourceManager namespace decorators
1202
+ export const $featureFile = $feature;
1203
+ export const $featureFiles = (context, entity, features) => {
1204
+ setFeatureFileSet(context.program, entity, true);
1205
+ $features(context, entity, features);
1206
+ };
1207
+ export const $featureFileOptions = $featureOptions;
1200
1208
  //# sourceMappingURL=resource.js.map