@azure-tools/typespec-azure-resource-manager 0.71.0-dev.0 → 0.71.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 (177) hide show
  1. package/README.md +7 -6
  2. package/dist/generated-defs/Azure.ResourceManager.BaseTypes.d.ts +2 -2
  3. package/dist/generated-defs/Azure.ResourceManager.BaseTypes.d.ts.map +1 -1
  4. package/dist/generated-defs/Azure.ResourceManager.Private.d.ts.map +1 -1
  5. package/dist/generated-defs/Azure.ResourceManager.d.ts +1 -1
  6. package/dist/src/base-types.d.ts +1 -1
  7. package/dist/src/base-types.d.ts.map +1 -1
  8. package/dist/src/common-types.d.ts +4 -4
  9. package/dist/src/common-types.d.ts.map +1 -1
  10. package/dist/src/commontypes.private.decorators.d.ts +2 -2
  11. package/dist/src/commontypes.private.decorators.d.ts.map +1 -1
  12. package/dist/src/linter.d.ts.map +1 -1
  13. package/dist/src/linter.js +2 -0
  14. package/dist/src/linter.js.map +1 -1
  15. package/dist/src/namespace.d.ts +2 -2
  16. package/dist/src/namespace.d.ts.map +1 -1
  17. package/dist/src/operations.d.ts +4 -4
  18. package/dist/src/operations.d.ts.map +1 -1
  19. package/dist/src/operations.js.map +1 -1
  20. package/dist/src/private.decorators.d.ts +2 -2
  21. package/dist/src/private.decorators.d.ts.map +1 -1
  22. package/dist/src/private.decorators.js +17 -6
  23. package/dist/src/private.decorators.js.map +1 -1
  24. package/dist/src/resource.d.ts +4 -4
  25. package/dist/src/resource.d.ts.map +1 -1
  26. package/dist/src/resource.js +6 -0
  27. package/dist/src/resource.js.map +1 -1
  28. package/dist/src/rules/arm-agent-base-type-child-resources.d.ts.map +1 -1
  29. package/dist/src/rules/arm-agent-base-type-child-resources.js +2 -1
  30. package/dist/src/rules/arm-agent-base-type-child-resources.js.map +1 -1
  31. package/dist/src/rules/arm-agent-base-type-lifecycle-operations.d.ts.map +1 -1
  32. package/dist/src/rules/arm-agent-base-type-lifecycle-operations.js +2 -1
  33. package/dist/src/rules/arm-agent-base-type-lifecycle-operations.js.map +1 -1
  34. package/dist/src/rules/arm-common-types-version.d.ts.map +1 -1
  35. package/dist/src/rules/arm-common-types-version.js +2 -1
  36. package/dist/src/rules/arm-common-types-version.js.map +1 -1
  37. package/dist/src/rules/arm-custom-resource-no-key.d.ts.map +1 -1
  38. package/dist/src/rules/arm-custom-resource-no-key.js +2 -1
  39. package/dist/src/rules/arm-custom-resource-no-key.js.map +1 -1
  40. package/dist/src/rules/arm-custom-resource-usage-discourage.d.ts.map +1 -1
  41. package/dist/src/rules/arm-custom-resource-usage-discourage.js +2 -1
  42. package/dist/src/rules/arm-custom-resource-usage-discourage.js.map +1 -1
  43. package/dist/src/rules/arm-delete-response-codes.d.ts.map +1 -1
  44. package/dist/src/rules/arm-delete-response-codes.js +3 -2
  45. package/dist/src/rules/arm-delete-response-codes.js.map +1 -1
  46. package/dist/src/rules/arm-feature-file-usage-discourage.d.ts.map +1 -1
  47. package/dist/src/rules/arm-feature-file-usage-discourage.js +2 -1
  48. package/dist/src/rules/arm-feature-file-usage-discourage.js.map +1 -1
  49. package/dist/src/rules/arm-legacy-operations-discourage.js.map +1 -1
  50. package/dist/src/rules/arm-no-path-casing-conflicts.d.ts.map +1 -1
  51. package/dist/src/rules/arm-no-path-casing-conflicts.js +2 -1
  52. package/dist/src/rules/arm-no-path-casing-conflicts.js.map +1 -1
  53. package/dist/src/rules/arm-no-record.d.ts.map +1 -1
  54. package/dist/src/rules/arm-no-record.js +2 -1
  55. package/dist/src/rules/arm-no-record.js.map +1 -1
  56. package/dist/src/rules/arm-post-response-codes.d.ts.map +1 -1
  57. package/dist/src/rules/arm-post-response-codes.js +3 -2
  58. package/dist/src/rules/arm-post-response-codes.js.map +1 -1
  59. package/dist/src/rules/arm-put-response-codes.d.ts.map +1 -1
  60. package/dist/src/rules/arm-put-response-codes.js +3 -2
  61. package/dist/src/rules/arm-put-response-codes.js.map +1 -1
  62. package/dist/src/rules/arm-resource-action-no-segment.d.ts.map +1 -1
  63. package/dist/src/rules/arm-resource-action-no-segment.js +2 -1
  64. package/dist/src/rules/arm-resource-action-no-segment.js.map +1 -1
  65. package/dist/src/rules/arm-resource-duplicate-property.d.ts.map +1 -1
  66. package/dist/src/rules/arm-resource-duplicate-property.js +2 -1
  67. package/dist/src/rules/arm-resource-duplicate-property.js.map +1 -1
  68. package/dist/src/rules/arm-resource-interfaces.d.ts.map +1 -1
  69. package/dist/src/rules/arm-resource-interfaces.js +2 -1
  70. package/dist/src/rules/arm-resource-interfaces.js.map +1 -1
  71. package/dist/src/rules/arm-resource-invalid-action-verb.d.ts.map +1 -1
  72. package/dist/src/rules/arm-resource-invalid-action-verb.js +2 -1
  73. package/dist/src/rules/arm-resource-invalid-action-verb.js.map +1 -1
  74. package/dist/src/rules/arm-resource-invalid-envelope-property.d.ts.map +1 -1
  75. package/dist/src/rules/arm-resource-invalid-envelope-property.js +2 -1
  76. package/dist/src/rules/arm-resource-invalid-envelope-property.js.map +1 -1
  77. package/dist/src/rules/arm-resource-invalid-version-format.d.ts.map +1 -1
  78. package/dist/src/rules/arm-resource-invalid-version-format.js +2 -1
  79. package/dist/src/rules/arm-resource-invalid-version-format.js.map +1 -1
  80. package/dist/src/rules/arm-resource-key-invalid-chars.d.ts.map +1 -1
  81. package/dist/src/rules/arm-resource-key-invalid-chars.js +2 -1
  82. package/dist/src/rules/arm-resource-key-invalid-chars.js.map +1 -1
  83. package/dist/src/rules/arm-resource-name-pattern.d.ts.map +1 -1
  84. package/dist/src/rules/arm-resource-name-pattern.js +3 -2
  85. package/dist/src/rules/arm-resource-name-pattern.js.map +1 -1
  86. package/dist/src/rules/arm-resource-operation-response.d.ts.map +1 -1
  87. package/dist/src/rules/arm-resource-operation-response.js +2 -1
  88. package/dist/src/rules/arm-resource-operation-response.js.map +1 -1
  89. package/dist/src/rules/arm-resource-patch.d.ts.map +1 -1
  90. package/dist/src/rules/arm-resource-patch.js +2 -1
  91. package/dist/src/rules/arm-resource-patch.js.map +1 -1
  92. package/dist/src/rules/arm-resource-path-invalid-chars.d.ts.map +1 -1
  93. package/dist/src/rules/arm-resource-path-invalid-chars.js +2 -1
  94. package/dist/src/rules/arm-resource-path-invalid-chars.js.map +1 -1
  95. package/dist/src/rules/arm-resource-provisioning-state-rule.d.ts.map +1 -1
  96. package/dist/src/rules/arm-resource-provisioning-state-rule.js +2 -1
  97. package/dist/src/rules/arm-resource-provisioning-state-rule.js.map +1 -1
  98. package/dist/src/rules/beyond-nesting-levels.d.ts.map +1 -1
  99. package/dist/src/rules/beyond-nesting-levels.js +2 -1
  100. package/dist/src/rules/beyond-nesting-levels.js.map +1 -1
  101. package/dist/src/rules/core-operations.d.ts.map +1 -1
  102. package/dist/src/rules/core-operations.js +2 -1
  103. package/dist/src/rules/core-operations.js.map +1 -1
  104. package/dist/src/rules/envelope-properties.d.ts.map +1 -1
  105. package/dist/src/rules/envelope-properties.js +2 -1
  106. package/dist/src/rules/envelope-properties.js.map +1 -1
  107. package/dist/src/rules/improper-subscription-list-operation.d.ts.map +1 -1
  108. package/dist/src/rules/improper-subscription-list-operation.js +2 -1
  109. package/dist/src/rules/improper-subscription-list-operation.js.map +1 -1
  110. package/dist/src/rules/lro-location-header.d.ts.map +1 -1
  111. package/dist/src/rules/lro-location-header.js +2 -1
  112. package/dist/src/rules/lro-location-header.js.map +1 -1
  113. package/dist/src/rules/missing-x-ms-identifiers.d.ts.map +1 -1
  114. package/dist/src/rules/missing-x-ms-identifiers.js +2 -1
  115. package/dist/src/rules/missing-x-ms-identifiers.js.map +1 -1
  116. package/dist/src/rules/no-empty-model.d.ts.map +1 -1
  117. package/dist/src/rules/no-empty-model.js +2 -1
  118. package/dist/src/rules/no-empty-model.js.map +1 -1
  119. package/dist/src/rules/no-override-props.d.ts.map +1 -1
  120. package/dist/src/rules/no-override-props.js +2 -1
  121. package/dist/src/rules/no-override-props.js.map +1 -1
  122. package/dist/src/rules/no-reserved-resource-property.d.ts.map +1 -1
  123. package/dist/src/rules/no-reserved-resource-property.js +2 -1
  124. package/dist/src/rules/no-reserved-resource-property.js.map +1 -1
  125. package/dist/src/rules/no-resource-delete-operation.d.ts.map +1 -1
  126. package/dist/src/rules/no-resource-delete-operation.js +2 -1
  127. package/dist/src/rules/no-resource-delete-operation.js.map +1 -1
  128. package/dist/src/rules/no-response-body.d.ts.map +1 -1
  129. package/dist/src/rules/no-response-body.js +3 -2
  130. package/dist/src/rules/no-response-body.js.map +1 -1
  131. package/dist/src/rules/operations-interface-missing.d.ts.map +1 -1
  132. package/dist/src/rules/operations-interface-missing.js +2 -1
  133. package/dist/src/rules/operations-interface-missing.js.map +1 -1
  134. package/dist/src/rules/patch-envelope-properties.d.ts.map +1 -1
  135. package/dist/src/rules/patch-envelope-properties.js +2 -1
  136. package/dist/src/rules/patch-envelope-properties.js.map +1 -1
  137. package/dist/src/rules/resource-name.d.ts.map +1 -1
  138. package/dist/src/rules/resource-name.js +2 -1
  139. package/dist/src/rules/resource-name.js.map +1 -1
  140. package/dist/src/rules/retry-after.d.ts.map +1 -1
  141. package/dist/src/rules/retry-after.js +2 -1
  142. package/dist/src/rules/retry-after.js.map +1 -1
  143. package/dist/src/rules/secret-prop.d.ts.map +1 -1
  144. package/dist/src/rules/secret-prop.js +2 -1
  145. package/dist/src/rules/secret-prop.js.map +1 -1
  146. package/dist/src/rules/unsupported-type.d.ts.map +1 -1
  147. package/dist/src/rules/unsupported-type.js +2 -1
  148. package/dist/src/rules/unsupported-type.js.map +1 -1
  149. package/dist/src/rules/use-relationship-required-properties.d.ts +5 -0
  150. package/dist/src/rules/use-relationship-required-properties.d.ts.map +1 -0
  151. package/dist/src/rules/use-relationship-required-properties.js +79 -0
  152. package/dist/src/rules/use-relationship-required-properties.js.map +1 -0
  153. package/dist/src/rules/utils.d.ts +2 -2
  154. package/dist/src/rules/utils.d.ts.map +1 -1
  155. package/dist/src/rules/utils.js.map +1 -1
  156. package/dist/src/rules/version-progression.d.ts.map +1 -1
  157. package/dist/src/rules/version-progression.js +2 -1
  158. package/dist/src/rules/version-progression.js.map +1 -1
  159. package/dist/src/testing/index.d.ts +1 -1
  160. package/dist/src/testing/index.d.ts.map +1 -1
  161. package/lib/arm.tsp +1 -0
  162. package/lib/base-types/agent.tsp +12 -8
  163. package/lib/base-types/base-types.tsp +18 -3
  164. package/lib/base-types/relationship.tsp +46 -0
  165. package/lib/common-types/managed-identity-ref.tsp +1 -1
  166. package/lib/common-types/nsp-operations.tsp +1 -5
  167. package/lib/common-types/private-links-ref.tsp +1 -1
  168. package/lib/decorators.tsp +1 -1
  169. package/lib/extension/operations.tsp +17 -17
  170. package/lib/extension/parameters.tsp +19 -5
  171. package/lib/legacy-types/extension-operations.tsp +5 -5
  172. package/lib/legacy-types/extension.tsp +2 -2
  173. package/lib/legacy-types/operations.tsp +4 -4
  174. package/lib/legacy-types/private-endpoints.tsp +0 -2
  175. package/lib/operations.tsp +2 -2
  176. package/lib/responses.tsp +3 -3
  177. package/package.json +16 -16
@@ -186,6 +186,9 @@ model ConversationProperties {
186
186
  /** Timestamp of when the conversation was created. Read-only. */
187
187
  @visibility(Lifecycle.Read)
188
188
  createdAt?: utcDateTime;
189
+
190
+ /** Content input to the conversation. Required on create. */
191
+ input: InputItem;
189
192
  }
190
193
 
191
194
  /**
@@ -232,7 +235,7 @@ enum ItemType {
232
235
  * - `FunctionCallOutput`: `callId`, `output`
233
236
  * - `Compaction`: `summary`
234
237
  */
235
- model ConversationItem {
238
+ model InputItem {
236
239
  /** Unique identifier of the item. Read-only (assigned by the service). */
237
240
  @visibility(Lifecycle.Read)
238
241
  id?: string;
@@ -240,11 +243,12 @@ model ConversationItem {
240
243
  /** The item type discriminator. Determines which variant this item represents. */
241
244
  type: ItemType;
242
245
 
243
- /** The role of the message author. Applies to `Message` items. */
246
+ /** The role of the message author. Applies to `Message` items. Read-only. */
247
+ @visibility(Lifecycle.Read)
244
248
  role?: MessageRole;
245
249
 
246
- /** The text content of the message. Applies to `Message` items. */
247
- content?: string;
250
+ /** The content of the message. Applies to `Message` items. */
251
+ content?: Record<unknown>;
248
252
 
249
253
  /** Identifier correlating a function call with its output. Applies to `FunctionCall` and `FunctionCallOutput` items. */
250
254
  callId?: string;
@@ -316,7 +320,7 @@ model ResponseProperties {
316
320
  status?: ResponseStatus;
317
321
 
318
322
  /** Content input to the model. Required on create. */
319
- input: ConversationItem;
323
+ input: InputItem;
320
324
  }
321
325
 
322
326
  /**
@@ -342,9 +346,9 @@ model ResponseItem {
342
346
  @visibility(Lifecycle.Read)
343
347
  role?: MessageRole;
344
348
 
345
- /** The text content of the message. Applies to `Message` items. Read-only. */
349
+ /** The content of the message. Applies to `Message` items. Read-only. */
346
350
  @visibility(Lifecycle.Read)
347
- content?: string;
351
+ content?: Record<unknown>;
348
352
 
349
353
  /** Identifier correlating a function call with its output. Applies to `FunctionCall` and `FunctionCallOutput` items. Read-only. */
350
354
  @visibility(Lifecycle.Read)
@@ -399,7 +403,7 @@ model ResponseInstructionsProperty {
399
403
  * Applies the Agent base type decorator automatically.
400
404
  * @template Properties RP-specific properties for the agent (must extend AgentProperties)
401
405
  */
402
- @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
406
+ @azureBaseType(#{ baseType: BaseType.Agent, version: "2026-04-01" })
403
407
  model Agent<Properties extends AgentProperties> is TrackedResource<Properties>;
404
408
 
405
409
  /**
@@ -2,14 +2,29 @@ using Reflection;
2
2
 
3
3
  namespace Azure.ResourceManager.BaseTypes;
4
4
 
5
+ /**
6
+ * The set of Azure base types a resource may declare conformance to via the
7
+ * `@azureBaseType` decorator. Modeled as an extensible (open) enum so additional
8
+ * base types can be introduced without a breaking change.
9
+ */
10
+ union BaseType {
11
+ /** The Agent base type. */
12
+ Agent: "Agent",
13
+
14
+ /** The Relationship base type. */
15
+ Relationship: "Relationship",
16
+
17
+ string,
18
+ }
19
+
5
20
  /**
6
21
  * An ARM-managed base type descriptor identifying the schema contract a resource conforms to.
7
22
  * Used as a parameter to the `@azureBaseType` decorator to indicate which
8
23
  * base types a resource conforms to.
9
24
  */
10
25
  model BaseTypeInfo {
11
- /** The base type identifier (for example, "Agent"). */
12
- baseType: string;
26
+ /** The base type identifier. */
27
+ baseType: BaseType;
13
28
 
14
29
  /** The schema version of the base type. */
15
30
  version: string;
@@ -36,7 +51,7 @@ model BaseTypeInfo {
36
51
  *
37
52
  * // The @azureBaseType decorator marks the resource as conforming to the Agent base type.
38
53
  * // (The Agent template applies this automatically, but it can also be applied directly.)
39
- * @azureBaseType(#{ baseType: "Agent", version: "2024-06-01" })
54
+ * @azureBaseType(#{ baseType: BaseType.Agent, version: "2026-04-01" })
40
55
  * model ContosoApplianceAgent is TrackedResource<ContosoApplianceProperties> {
41
56
  * ...ResourceNameParameter<ContosoApplianceAgent>;
42
57
  * }
@@ -0,0 +1,46 @@
1
+ import "./base-types.tsp";
2
+
3
+ namespace Azure.ResourceManager.BaseTypes.Relationships;
4
+
5
+ // ============================================================================
6
+ // Relationship Properties (resource property bag)
7
+ // ============================================================================
8
+
9
+ /**
10
+ * Required properties for a relationship resource.
11
+ * @template ProvisioningState The relationship provisioning state values.
12
+ */
13
+ model RelationshipProperties<ProvisioningState extends string = ResourceProvisioningState> {
14
+ /** ARM-managed. Must include the base type descriptor for this resource. */
15
+ @visibility(Lifecycle.Read)
16
+ baseTypes: BaseTypeInfo[];
17
+
18
+ /** The relationship source identifier. */
19
+ sourceId: string;
20
+
21
+ /** The tenant identifier of the relationship source. */
22
+ sourceTenant: string;
23
+
24
+ /** The relationship target identifier. */
25
+ targetId: string;
26
+
27
+ /** The tenant identifier of the relationship target. */
28
+ targetTenant: string;
29
+
30
+ /** The provisioning state of the relationship. */
31
+ @visibility(Lifecycle.Read)
32
+ provisioningState?: ProvisioningState;
33
+ }
34
+
35
+ // ============================================================================
36
+ // Resource Templates
37
+ // ============================================================================
38
+
39
+ /**
40
+ * Model template for a Relationship extension resource.
41
+ * Applies the Relationship base type decorator automatically.
42
+ * @template Properties RP-specific properties for the relationship (must extend RelationshipProperties)
43
+ */
44
+ @azureBaseType(#{ baseType: BaseType.Relationship, version: "2026-04-01" })
45
+ model Relationship<Properties extends RelationshipProperties = RelationshipProperties>
46
+ is ExtensionResource<Properties>;
@@ -53,7 +53,7 @@ namespace Azure.ResourceManager.CommonTypes;
53
53
  );
54
54
 
55
55
  /**
56
- * The properties of the service-assigned identity associated with this resource.
56
+ * The properties of the system-assigned identity associated with this resource.
57
57
  */
58
58
  @@armCommonDefinition(
59
59
  SystemAssignedServiceIdentity,
@@ -96,8 +96,6 @@ interface NspConfigurationOperations<
96
96
  * @template ParentResource the parent resource of the NspConfiguration
97
97
  * @template Resource Optional. The NspConfiguration resource being listed
98
98
  * @template BaseParameters Optional. Allows overriding the operation parameters
99
- * @template ParentName Optional. The name of the parent resource
100
- * @template ParentFriendlyName Optional. The friendly name of the parent resource
101
99
  * @template Parameters Optional. Additional parameters after the path parameters
102
100
  * @template Response Optional. The success response for the list operation
103
101
  * @template Error Optional. The error response, if non-standard.
@@ -127,12 +125,10 @@ interface NspConfigurationOperations<
127
125
  >;
128
126
 
129
127
  /**
130
- * List the network security parameter configuration for a resource without pagination - this should only be used for legacy operations
128
+ * List the network security perimeter configuration for a resource without pagination - this should only be used for legacy operations
131
129
  * @template ParentResource the parent resource of the NspConfiguration
132
130
  * @template Resource Optional. The NspConfiguration resource being listed
133
131
  * @template BaseParameters Optional. Allows overriding the operation parameters
134
- * @template ParentName Optional. The name of the parent resource
135
- * @template ParentFriendlyName Optional. The friendly name of the parent resource
136
132
  * @template Parameters Optional. Additional parameters after the path parameters
137
133
  * @template Response Optional. The success response for the list operation
138
134
  * @template Error Optional. The error response, if non-standard.
@@ -30,7 +30,7 @@ namespace Azure.ResourceManager.CommonTypes;
30
30
  "privatelinks.json"
31
31
  );
32
32
 
33
- /** The private endpoint resource */
33
+ /** The private link resource */
34
34
  @@armCommonDefinition(
35
35
  PrivateLinkResource,
36
36
  "PrivateLinkResource",
@@ -223,7 +223,7 @@ extern dec armResourceCheckExistence(
223
223
  * clients.
224
224
  *
225
225
  * The optional `resourceOperationOptions` parameter provides additional options.
226
- * `allowStaticRoutes` turns off autoRout for the interface, so individual operations can
226
+ * `allowStaticRoutes` turns off autoRoute for the interface, so individual operations can
227
227
  * choose static (`@route`) or automatic (`@autoRoute`) routing.
228
228
  *
229
229
  * `resourceType: Model` specifies the resource type for the operations in the interface
@@ -9,7 +9,7 @@ using Azure.ResourceManager.Private;
9
9
 
10
10
  /**
11
11
  * List an extension resource at the given target scope
12
- * @template TargetResource The target to list at, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
12
+ * @template TargetResource The target to list at, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
13
13
  * @template ExtensionResource the resource being listed
14
14
  * @template Parameters Optional. Additional parameters after the path parameters
15
15
  * @template Response Optional. The success response for the list operation
@@ -40,7 +40,7 @@ op ListByTarget<
40
40
 
41
41
  /**
42
42
  * A resource GET operation
43
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
43
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
44
44
  * @template ExtensionResource the resource being read
45
45
  * @template Parameters Optional. Additional parameters after the path parameters
46
46
  * @template Response Optional. The success response for the read operation
@@ -68,7 +68,7 @@ op Read<
68
68
 
69
69
  /**
70
70
  * Check a resource's existence via HEAD operation
71
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
71
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
72
72
  * @template ExtensionResource the extension resource being checked
73
73
  * @template Parameters Optional. Additional parameters after the path parameters
74
74
  * @template Response Optional. The success response for the read operation
@@ -101,7 +101,7 @@ op CheckExistence<
101
101
 
102
102
  /**
103
103
  * A long-running resource CreateOrUpdate (PUT)
104
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
104
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
105
105
  * @template ExtensionResource the resource being created or updated
106
106
  * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create
107
107
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -141,7 +141,7 @@ op CreateOrUpdateAsync<
141
141
 
142
142
  /**
143
143
  * Synchronous PUT operation for Azure Resource Manager resources
144
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
144
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
145
145
  * @template ExtensionResource the resource being created or replaced
146
146
  * @template Parameters Optional. Additional parameters after the path parameters
147
147
  * @template Response Optional. The success response for the createOrReplace operation
@@ -177,7 +177,7 @@ op CreateOrReplaceSync<
177
177
 
178
178
  /**
179
179
  * A long-running resource CreateOrUpdate (PUT)
180
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
180
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
181
181
  * @template ExtensionResource the resource being created or replaced
182
182
  * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create
183
183
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -218,7 +218,7 @@ op CreateOrReplaceAsync<
218
218
 
219
219
  /**
220
220
  * A long-running resource update using a custom PATCH payload (Asynchronous)
221
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
221
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
222
222
  * @template ExtensionResource the resource being patched
223
223
  * @template PatchModel The input model for the PATCH request
224
224
  * @template LroHeaders Optional. Allows overriding the lro headers returned in the Accepted response
@@ -258,7 +258,7 @@ op CustomPatchAsync<
258
258
 
259
259
  /**
260
260
  * A resource update using a custom PATCH payload (synchronous)
261
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
261
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
262
262
  * @template ExtensionResource the resource being patched
263
263
  * @template PatchModel The input model for the PATCH request
264
264
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -289,7 +289,7 @@ op CustomPatchSync<
289
289
 
290
290
  /**
291
291
  * Delete a resource asynchronously
292
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
292
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
293
293
  * @template ExtensionResource The resource being deleted
294
294
  * @template Response The response type for the operation
295
295
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -315,7 +315,7 @@ op DeleteAsyncBase<
315
315
 
316
316
  /**
317
317
  * Delete a resource asynchronously.
318
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
318
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
319
319
  * @template ExtensionResource The resource being deleted
320
320
  * @template LroHeaders Optional. Allows overriding the headers in the Accepted response
321
321
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -352,7 +352,7 @@ op DeleteAsync<
352
352
 
353
353
  /**
354
354
  * Delete a resource asynchronously
355
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
355
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
356
356
  * @template ExtensionResource The resource being deleted
357
357
  * @template LroHeaders Optional. Allows overriding the headers returned in the Accepted response
358
358
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -385,7 +385,7 @@ op DeleteWithoutOkAsync<
385
385
 
386
386
  /**
387
387
  * Delete a resource synchronously
388
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
388
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
389
389
  * @template ExtensionResource The resource being deleted
390
390
  * @template Parameters Optional. Additional parameters after the path parameters
391
391
  * @template Response Optional. The success response(s) for the delete operation
@@ -411,7 +411,7 @@ op DeleteSync<
411
411
 
412
412
  /**
413
413
  * A long-running resource action.
414
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
414
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
415
415
  * @template ExtensionResource The resource being acted upon
416
416
  * @template Request The request model for the action
417
417
  * @template Response The response type for the action
@@ -445,7 +445,7 @@ op ActionAsyncBase<
445
445
 
446
446
  /**
447
447
  * A long-running resource action.
448
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
448
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
449
449
  * @template ExtensionResource The resource being acted upon
450
450
  * @template Request The request model for the action
451
451
  * @template Response The response model for the action
@@ -487,7 +487,7 @@ op ActionAsync<
487
487
 
488
488
  /**
489
489
  * A synchronous resource action.
490
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
490
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
491
491
  * @template ExtensionResource The resource being acted upon
492
492
  * @template Request The request model for the action
493
493
  * @template Response The response model for the action
@@ -522,7 +522,7 @@ op ActionSync<
522
522
 
523
523
  /**
524
524
  * A long-running resource action that returns no content.
525
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
525
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
526
526
  * @template ExtensionResource The resource being acted upon
527
527
  * @template Request The request model for the action
528
528
  * @template LroHeaders Optional. Allows overriding the headers returned in the Accepted response
@@ -563,7 +563,7 @@ op ActionNoResponseContentAsync<
563
563
 
564
564
  /**
565
565
  * A synchronous resource action that returns no content.
566
- * @template TargetResource The target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
566
+ * @template TargetResource The target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
567
567
  * @template ExtensionResource The resource being acted upon
568
568
  * @template Request The request model for the action
569
569
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -27,7 +27,7 @@ model ScopeParameter<Type extends string = string> {
27
27
 
28
28
  /**
29
29
  * Base parameters for an extension target.
30
- * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup or an external resource).
30
+ * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup, Extension.ServiceGroup or an external resource).
31
31
  *
32
32
  */
33
33
  @resourceBaseParametersOf(Resource)
@@ -45,7 +45,7 @@ model TargetBaseParameters<Resource extends {}> {
45
45
  }
46
46
 
47
47
  /** The path parameters for a target resource for an extension
48
- * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup or an external resource).
48
+ * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup, Extension.ServiceGroup or an external resource).
49
49
  */
50
50
  model TargetParameters<Resource extends {}> {
51
51
  ...TargetBaseParameters<Resource>;
@@ -64,7 +64,7 @@ model ExtensionProviderNamespace<Resource extends {}> {
64
64
  }
65
65
 
66
66
  /** The provider namespace (if any) for a target resource for an extension
67
- * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup or an external resource)
67
+ * @template Resource The resource model for an extension target (usually Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup, Extension.ServiceGroup or an external resource)
68
68
  */
69
69
  model TargetProviderNamespace<Resource extends {}> {
70
70
  @resourceParameterBaseFor(
@@ -84,7 +84,7 @@ model TargetProviderNamespace<Resource extends {}> {
84
84
  }
85
85
 
86
86
  /** The path parameters for an extension resource at the given target
87
- * @template TargetResource The target of the extension resource (Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup or another resource).
87
+ * @template TargetResource The target of the extension resource (Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup, Extension.ServiceGroup or another resource).
88
88
  * @template Resource The extension resource.
89
89
  */
90
90
  model ExtensionInstanceParameters<TargetResource extends {}, Resource extends {}> {
@@ -94,7 +94,7 @@ model ExtensionInstanceParameters<TargetResource extends {}, Resource extends {}
94
94
  }
95
95
 
96
96
  /** The path parameters for a collection of extension resources at the given target
97
- * @template TargetResource The target of the extension resource (Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup or another resource).
97
+ * @template TargetResource The target of the extension resource (Extension.Tenant, Extension.Subscription, Extension.ResourceGroup, Extension.Scope, Extension.ManagementGroup, Extension.ServiceGroup or another resource).
98
98
  * @template ExtensionResource The extension resource.
99
99
  */
100
100
  model ExtensionParentParameters<TargetResource extends {}, ExtensionResource extends {}> {
@@ -121,6 +121,20 @@ model ManagementGroup<ParameterName extends valueof string = "managementGroupNam
121
121
  name: string;
122
122
  }
123
123
 
124
+ /** A service group
125
+ * @template ParameterName The name of the 'name' parameter of the service group (usually serviceGroupName or serviceGroupId).
126
+ */
127
+ @tenantResource
128
+ @armVirtualResource("Microsoft.Management")
129
+ model ServiceGroup<ParameterName extends valueof string = "serviceGroupName"> {
130
+ @path
131
+ @minLength(1)
132
+ @segment("serviceGroups")
133
+ @key(ParameterName)
134
+ @doc("The service group name.")
135
+ name: string;
136
+ }
137
+
124
138
  /** An external resource target, used when an extension targets a resource from another provider namespace
125
139
  * @template TargetNamespace The provider namespace for the external resource.
126
140
  * @template ResourceType The type of the external resource.
@@ -11,7 +11,7 @@ using Azure.ResourceManager.Private;
11
11
  /**
12
12
  * DEPRECATED: Use CreateOrReplaceAsync instead.
13
13
  * A long-running resource CreateOrUpdate (PUT)
14
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
14
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
15
15
  * @template ExtensionResource the resource being created or updated
16
16
  * @template Request Optional. The request body for the createOrUpdate operation
17
17
  * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create
@@ -47,7 +47,7 @@ alias CreateOrUpdateAsync<
47
47
  >;
48
48
 
49
49
  /** A long-running resource CreateOrUpdate (PUT)
50
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
50
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
51
51
  * @template ExtensionResource the resource being created or updated
52
52
  * @template Request Optional. The request body for the createOrUpdate operation
53
53
  * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create
@@ -93,7 +93,7 @@ op CreateOrReplaceAsync<
93
93
 
94
94
  /**
95
95
  * Synchronous PUT operation for Azure Resource Manager resources
96
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
96
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
97
97
  * @template ExtensionResource the resource being created or replaced
98
98
  * @template Request Optional. The request body for the createOrUpdate operation
99
99
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -135,7 +135,7 @@ op CreateOrReplaceSync<
135
135
 
136
136
  /**
137
137
  * A long-running resource update using a custom PATCH payload (Asynchronous)
138
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
138
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
139
139
  * @template ExtensionResource the resource being patched
140
140
  * @template PatchModel The input model for the PATCH request
141
141
  * @template LroHeaders Optional. Allows overriding the lro headers returned in the Accepted response
@@ -179,7 +179,7 @@ op CustomPatchAsync<
179
179
 
180
180
  /**
181
181
  * A resource update using a custom PATCH payload (synchronous)
182
- * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup
182
+ * @template TargetResource the target resource, e.g. Extension.Subscription, Extension.ManagementGroup, Extension.ServiceGroup or Extension.ResourceGroup
183
183
  * @template ExtensionResource the resource being patched
184
184
  * @template PatchModel The input model for the PATCH request
185
185
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -94,7 +94,7 @@ interface ExtensionOperations<
94
94
 
95
95
  /**
96
96
  * A long-running resource Update (PATCH)
97
- * @template Resource the resource being created or updated
97
+ * @template Resource the resource being updated
98
98
  * @template PatchModel the PATCH request model
99
99
  * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create
100
100
  * @template Parameters Optional. Additional parameters after the path parameters
@@ -134,7 +134,7 @@ interface ExtensionOperations<
134
134
 
135
135
  /**
136
136
  * A synchronous resource Update (PATCH)
137
- * @template Resource the resource being created or updated
137
+ * @template Resource the resource being updated
138
138
  * @template PatchModel the PATCH request model
139
139
  * @template Parameters Optional. Additional parameters after the path parameters
140
140
  * @template Response Optional. The success response(s) for the PATCH operation
@@ -13,7 +13,7 @@ using Rest;
13
13
  * is accessible at multiple, fixed resource paths.
14
14
  * @template ParentParameters The path parameters for the resource parent
15
15
  * @template ResourceTypeParameter The path parameter for the resource name
16
- * @template ErrorType Optional. The type of error models used in operations created form this template
16
+ * @template ErrorType Optional. The type of error models used in operations created from this template
17
17
  * @template ResourceName Optional. The name of the resource type described in this template
18
18
  */
19
19
  interface LegacyOperations<
@@ -34,7 +34,7 @@ interface LegacyOperations<
34
34
  * is accessible at multiple, fixed resource paths. Can be used with static routes.
35
35
  * @template ParentParameters The path parameters for the resource parent
36
36
  * @template ResourceTypeParameter The path parameter for the resource name
37
- * @template ErrorType Optional. The type of error models used in operations created form this template
37
+ * @template ErrorType Optional. The type of error models used in operations created from this template
38
38
  * @template ResourceRoute Optional. The resource route to use for operations in the interface.
39
39
  * @template RoutedResourceName Optional. The name of the resource type described in this template
40
40
  */
@@ -660,7 +660,7 @@ op CreateOrReplaceSync<
660
660
 
661
661
  /**
662
662
  * A resource list operation, at the subscription scope, that lists only a single page
663
- * @template Resource the resource being patched
663
+ * @template Resource the resource being listed
664
664
  * @template Parameters Optional. Additional parameters after the path parameters
665
665
  * @template Response Optional. The success response for the list operation
666
666
  * @template Error Optional. The error response, if non-standard.
@@ -681,7 +681,7 @@ op ArmListSinglePageBySubscription<
681
681
 
682
682
  /**
683
683
  * A resource list operation, at the scope of the resource's parent that lists only a single page.
684
- * @template Resource the resource being patched
684
+ * @template Resource the resource being listed
685
685
  * @template BaseParameters Optional. Allows overriding the operation parameters
686
686
  * @template ParentName Optional. The name of the parent resource
687
687
  * @template ParentFriendlyName Optional. The friendly name of the parent resource
@@ -12,8 +12,6 @@ using Rest;
12
12
  * @template ParentResource the parent resource of the PrivateEndpointConnection
13
13
  * @template Resource Optional. The PrivateEndpointConnection resource being listed
14
14
  * @template BaseParameters Optional. Allows overriding the operation parameters
15
- * @template ParentName Optional. The name of the parent resource
16
- * @template ParentFriendlyName Optional. The friendly name of the parent resource
17
15
  * @template Parameters Optional. Additional parameters after the path parameters
18
16
  * @template Response Optional. The success response for the list operation
19
17
  * @template Error Optional. The error response, if non-standard.
@@ -885,7 +885,7 @@ op ArmResourceActionNoContentSync<
885
885
  /**
886
886
  * Adds check global name availability operation, normally used if
887
887
  * a resource name must be globally unique (for example, if the resource
888
- * exposes and endpoint that uses the resource name in the url)
888
+ * exposes an endpoint that uses the resource name in the url)
889
889
  * @template Request the availability request, defaults to the standard request, containing name and resource type
890
890
  * @template Response the availability response, default to the standard response
891
891
  * @template AdditionalParams A model specifying additional non-path parameters to the availability request
@@ -905,7 +905,7 @@ op checkGlobalNameAvailability<
905
905
  /**
906
906
  * Adds check location-specific name availability operation, normally used if
907
907
  * a resource name must be globally unique (for example, if the resource
908
- * exposes and endpoint that uses the resource name in the url)
908
+ * exposes an endpoint that uses the resource name in the url)
909
909
  * @template Request the availability request, defaults to the standard request, containing name and resource type
910
910
  * @template Response the availability response, default to the standard response
911
911
  * @template AdditionalParams A model specifying additional non-path parameters to the availability request
package/lib/responses.tsp CHANGED
@@ -246,7 +246,7 @@ model ArmLroLocationHeader<
246
246
  * @template StatusMonitor The type of the polling StatusMonitor when following the Azure-AsyncOperation url
247
247
  * @template FinalResult The type of the logical result when following the location header
248
248
  * @template PollingUrlValue The value type of the link to the status monitor
249
- * @template FinalUrlValue The value type fo the link to the final result
249
+ * @template FinalUrlValue The value type of the link to the final result
250
250
  *
251
251
  * @example
252
252
  * ```typespec
@@ -320,7 +320,7 @@ model ArmResourceUpdatedResponse<Resource extends Azure.ResourceManager.Foundati
320
320
 
321
321
  /**
322
322
  * Resource create operation succeeded
323
- * @template Resource The resource being updated
323
+ * @template Resource The resource being created
324
324
  * @template LroHeaders Optional. The lro headers returned with a Created response
325
325
  *
326
326
  * @example
@@ -350,7 +350,7 @@ model ArmResourceCreatedResponse<
350
350
 
351
351
  /**
352
352
  * Resource synchronous create operation succeeded
353
- * @template Resource The resource being updated
353
+ * @template Resource The resource being created
354
354
  *
355
355
  * @example
356
356
  * ```typespec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-resource-manager",
3
- "version": "0.71.0-dev.0",
3
+ "version": "0.71.0-dev.10",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Resource Manager library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -47,33 +47,33 @@
47
47
  "pluralize": "^8.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@azure-tools/typespec-azure-core": "^0.70.0 || >=0.71.0-dev <0.71.0",
50
+ "@azure-tools/typespec-azure-core": "^0.70.0 || >= 0.71.0-dev.3",
51
51
  "@typespec/compiler": "^1.14.0",
52
52
  "@typespec/http": "^1.14.0",
53
- "@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0",
54
- "@typespec/openapi": "^1.14.0",
55
- "@typespec/versioning": "^0.84.0 || >=0.85.0-dev <0.85.0"
53
+ "@typespec/rest": "^0.84.0",
54
+ "@typespec/versioning": "^0.84.0",
55
+ "@typespec/openapi": "^1.14.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@azure-tools/typespec-azure-core": "^0.70.0 || >=0.71.0-dev <0.71.0",
58
+ "@azure-tools/typespec-azure-core": "^0.70.0 || >= 0.71.0-dev.3",
59
59
  "@types/node": "^26.0.0",
60
60
  "@types/pluralize": "^0.0.33",
61
- "@typespec/compiler": "^1.14.0",
62
- "@typespec/http": "^1.14.0",
63
- "@typespec/library-linter": "^0.84.0 || >=0.85.0-dev <0.85.0",
64
- "@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0",
65
- "@typespec/tspd": "^0.76.0 || >=0.77.0-dev <0.77.0",
66
- "@typespec/versioning": "^0.84.0 || >=0.85.0-dev <0.85.0",
67
- "@typespec/openapi": "^1.14.0",
68
61
  "@vitest/coverage-v8": "^4.1.3",
69
62
  "@vitest/ui": "^4.1.3",
70
63
  "rimraf": "^6.1.3",
71
64
  "typescript": "~6.0.2",
72
- "vitest": "^4.1.3"
65
+ "vitest": "^4.1.3",
66
+ "@typespec/rest": "^0.84.0",
67
+ "@typespec/versioning": "^0.84.0",
68
+ "@typespec/compiler": "^1.14.0",
69
+ "@typespec/library-linter": "^0.84.0",
70
+ "@typespec/tspd": "^0.76.0",
71
+ "@typespec/http": "^1.14.0",
72
+ "@typespec/openapi": "^1.14.0"
73
73
  },
74
74
  "scripts": {
75
75
  "clean": "rimraf ./dist ./temp",
76
- "build": "npm run gen-extern-signature && tsc -p tsconfig.build.json && npm run lint-typespec-library",
76
+ "build": "pnpm gen-extern-signature && tsc -p tsconfig.build.json && pnpm lint-typespec-library",
77
77
  "watch": "tsc -p tsconfig.build.json --watch",
78
78
  "gen-extern-signature": "tspd --enable-experimental gen-extern-signature .",
79
79
  "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit",
@@ -83,6 +83,6 @@
83
83
  "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
84
84
  "lint": "oxlint . --deny-warnings",
85
85
  "lint:fix": "oxlint . --fix",
86
- "regen-docs": "tspd doc . --enable-experimental --llmstxt --output-dir ../../website/src/content/docs/docs/libraries/azure-resource-manager/reference"
86
+ "regen-docs": "tspd doc . --enable-experimental --llmstxt --rules-dir ../rules --output-dir ../../website/src/content/docs/docs/libraries/azure-resource-manager/reference"
87
87
  }
88
88
  }