@azure-tools/typespec-azure-resource-manager 0.70.0-dev.2 → 0.70.0-dev.3

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.
@@ -56,7 +56,7 @@ interface PrivateEndpoints<
56
56
  ResourceParameter extends {} = CommonTypes.PrivateEndpointConnectionParameter
57
57
  > {
58
58
  /**
59
- * @dev List the private endpoint connections over a resource
59
+ * List the private endpoint connections over a resource
60
60
  * @template ParentResource the parent resource of the PrivateEndpointConnection
61
61
  * @template Resource Optional. The PrivateEndpointConnection resource being listed
62
62
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -90,7 +90,7 @@ interface PrivateEndpoints<
90
90
  >;
91
91
 
92
92
  /**
93
- * @dev GET the a private endpoint connection for a particular resource
93
+ * GET the a private endpoint connection for a particular resource
94
94
  * @template ParentResource the parent resource of the PrivateEndpointConnection
95
95
  * @template Resource the PrivateEndpointConnection resource being read
96
96
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -120,7 +120,7 @@ interface PrivateEndpoints<
120
120
  >;
121
121
 
122
122
  /**
123
- * @dev A long-running resource CreateOrUpdate (PUT) for a PrivateEndpointConnection to a resource
123
+ * A long-running resource CreateOrUpdate (PUT) for a PrivateEndpointConnection to a resource
124
124
  * @template ParentResource the parent resource of the PrivateEndpointConnection
125
125
  * @template Resource the PrivateEndpointConnection resource being created or updated
126
126
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -158,7 +158,7 @@ interface PrivateEndpoints<
158
158
  >;
159
159
 
160
160
  /**
161
- * @dev Synchronous PUT operation for a Private endpoint connection to a resource
161
+ * Synchronous PUT operation for a Private endpoint connection to a resource
162
162
  * @template ParentResource the parent resource of the PrivateEndpointConnection
163
163
  * @template Resource the PrivateEndpointConnection resource being created or updated
164
164
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -192,7 +192,7 @@ interface PrivateEndpoints<
192
192
  >;
193
193
 
194
194
  /**
195
- * @dev A long-running resource CreateOrUpdate (PUT) for a PrivateEndpointConnection to a resource
195
+ * A long-running resource CreateOrUpdate (PUT) for a PrivateEndpointConnection to a resource
196
196
  * @template ParentResource the parent resource of the PrivateEndpointConnection
197
197
  * @template Resource the PrivateEndpointConnection resource being created or updated
198
198
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -272,7 +272,7 @@ interface PrivateEndpoints<
272
272
  >;
273
273
 
274
274
  /**
275
- * @dev A resource update using a custom PATCH payload (synchronous) to update a PrivateEndpointConnection to a resource
275
+ * A resource update using a custom PATCH payload (synchronous) to update a PrivateEndpointConnection to a resource
276
276
  * @template ParentResource The parent resource of the PrivateEndpointConnection
277
277
  * @template Resource Optional. The PrivateEndpointConnection resource being patched
278
278
  * @template PatchModel The input model for the PATCH request
@@ -306,7 +306,7 @@ interface PrivateEndpoints<
306
306
  >;
307
307
 
308
308
  /**
309
- * @dev Delete a PrivateEndpointConnection to a resource asynchronously
309
+ * Delete a PrivateEndpointConnection to a resource asynchronously
310
310
  * @template ParentResource The parent resource of the PrivateEndpointConnection
311
311
  * @template Resource Optional. The PrivateEndpointConnection resource being deleted
312
312
  * @template BaseParameters Optional. Allows overriding the parameters for the operation
@@ -338,7 +338,7 @@ interface PrivateEndpoints<
338
338
  ): Response | Error;
339
339
 
340
340
  /**
341
- * @dev Delete a PrivateEndpointConnection to a resource synchronously
341
+ * Delete a PrivateEndpointConnection to a resource synchronously
342
342
  * @template ParentResource The parent resource of the PrivateEndpointConnection
343
343
  * @template Resource The PrivateEndpointConnection resource being deleted
344
344
  * @template BaseParameters Optional. Allows overriding the parameters for the operation
@@ -367,7 +367,7 @@ interface PrivateEndpoints<
367
367
  ): Response | Error;
368
368
 
369
369
  /**
370
- * @dev Delete a PrivateEndpointConnection to a resource asynchronously
370
+ * Delete a PrivateEndpointConnection to a resource asynchronously
371
371
  * @template ParentResource The parent resource of the PrivateEndpointConnection
372
372
  * @template Response The response type for the operation
373
373
  * @template Resource Optional. The PrivateEndpointConnection resource being deleted
@@ -57,7 +57,7 @@ interface PrivateLinks<
57
57
  ResourceParameter extends {} = CommonTypes.PrivateLinkResourceParameter
58
58
  > {
59
59
  /**
60
- * @dev List the private links to a resource
60
+ * List the private links to a resource
61
61
  * @template ParentResource the parent resource of the PrivateLink
62
62
  * @template Resource Optional. The PrivateLink resource being listed
63
63
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -91,7 +91,7 @@ interface PrivateLinks<
91
91
  >;
92
92
 
93
93
  /**
94
- * @dev List the private links to a resource - this should only be used for legacy operations
94
+ * List the private links to a resource - this should only be used for legacy operations
95
95
  * @template ParentResource the parent resource of the PrivateLink
96
96
  * @template Resource Optional. The PrivateLink resource being listed
97
97
  * @template BaseParameters Optional. Allows overriding the operation parameters
@@ -125,7 +125,7 @@ interface PrivateLinks<
125
125
  >;
126
126
 
127
127
  /**
128
- * @dev GET the a private link to a particular resource
128
+ * GET the a private link to a particular resource
129
129
  * @template ParentResource the parent resource of the PrivateLink
130
130
  * @template Resource the PrivateLink resource being read
131
131
  * @template BaseParameters Optional. Allows overriding the operation parameters
package/lib/responses.tsp CHANGED
@@ -66,7 +66,7 @@ model ArmDeletedResponse {
66
66
  }
67
67
 
68
68
  /**
69
- * @dev The response for asynchronous Azure Resource Manager delete ACCEPTED
69
+ * The response for asynchronous Azure Resource Manager delete ACCEPTED
70
70
  * @template LroHeaders Optional. Allows overriding the Lro headers returned in the response.
71
71
  *
72
72
  * @example
@@ -77,17 +77,21 @@ model ArmDeletedResponse {
77
77
  *>;
78
78
  * ```
79
79
  */
80
+ @doc("Resource deletion accepted.")
80
81
  model ArmDeleteAcceptedLroResponse<LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader &
81
- Azure.Core.Foundations.RetryAfterHeader>
82
- is ArmAcceptedLroResponse<"Resource deletion accepted.", LroHeaders>;
82
+ Azure.Core.Foundations.RetryAfterHeader> is ArmAcceptedLroResponse<
83
+ "Resource deletion accepted.",
84
+ LroHeaders
85
+ >;
83
86
 
84
87
  /**
85
- * @dev The response for synchronous Azure Resource Manager delete ACCEPTED
88
+ * The response for synchronous Azure Resource Manager delete ACCEPTED
86
89
  */
90
+ @doc("Resource deletion accepted.")
87
91
  model ArmDeleteAcceptedResponse is ArmAcceptedResponse<"Resource deletion accepted.">;
88
92
 
89
93
  /**
90
- * @dev The standard ACCEPTED response
94
+ * The standard ACCEPTED response
91
95
  * @template Message The description of the response status (defaults to `Resource operation accepted`)
92
96
  * @template ExtraHeaders Additional headers in the response. Default includes Retry-After header
93
97
  *
@@ -110,7 +114,7 @@ model ArmAcceptedResponse<
110
114
  }
111
115
 
112
116
  /**
113
- * @dev The standard Azure Resource Manager response for asynchronous PATCH, POST, and DELETE operations
117
+ * The standard Azure Resource Manager response for asynchronous PATCH, POST, and DELETE operations
114
118
  * @template Description The description of the response status (defaults to `Resource operation accepted`)
115
119
  * @template LroHeaders Optional. The lro headers that appear in the Accepted response
116
120
  *
@@ -270,7 +274,7 @@ model ArmCombinedLroHeaders<
270
274
  }
271
275
 
272
276
  /**
273
- * @dev Azure Resource Manager response for a properly formed delete request, with no resource found
277
+ * Azure Resource Manager response for a properly formed delete request, with no resource found
274
278
  *
275
279
  * @example
276
280
  * ```typespec
@@ -280,6 +284,7 @@ model ArmCombinedLroHeaders<
280
284
  * >;
281
285
  * ```
282
286
  */
287
+ @doc("Resource does not exist.")
283
288
  model ArmDeletedNoContentResponse is ArmNoContentResponse<"Resource does not exist.">;
284
289
 
285
290
  /**
@@ -298,7 +303,7 @@ model ArmNoContentResponse<Message extends valueof string = "Operation completed
298
303
  }
299
304
 
300
305
  /**
301
- * @dev Resource update operation succeeded
306
+ * Resource update operation succeeded
302
307
  * @template Resource The resource being updated
303
308
  *
304
309
  * @example
@@ -314,7 +319,7 @@ model ArmResourceUpdatedResponse<Resource extends Azure.ResourceManager.Foundati
314
319
  is ArmResponse<Resource>;
315
320
 
316
321
  /**
317
- * @dev Resource create operation succeeded
322
+ * Resource create operation succeeded
318
323
  * @template Resource The resource being updated
319
324
  * @template LroHeaders Optional. The lro headers returned with a Created response
320
325
  *
@@ -344,7 +349,7 @@ model ArmResourceCreatedResponse<
344
349
  }
345
350
 
346
351
  /**
347
- * @dev Resource synchronous create operation succeeded
352
+ * Resource synchronous create operation succeeded
348
353
  * @template Resource The resource being updated
349
354
  *
350
355
  * @example
@@ -365,7 +370,7 @@ model ArmResourceCreatedSyncResponse<Resource extends Azure.ResourceManager.Foun
365
370
  }
366
371
 
367
372
  /**
368
- * @dev Resource exists response
373
+ * Resource exists response
369
374
  *
370
375
  * @example
371
376
  * ```typespec
@@ -379,7 +384,7 @@ model ArmResourceExistsResponse {
379
384
  }
380
385
 
381
386
  /**
382
- * @dev Resource is not found response
387
+ * Resource is not found response
383
388
  * ```typespec
384
389
  * @head
385
390
  * op head(...ResourceInstanceParameters<Employee>): ArmResponse<Employee> | ArmResourceNotFoundResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-resource-manager",
3
- "version": "0.70.0-dev.2",
3
+ "version": "0.70.0-dev.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Resource Manager library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@azure-tools/typespec-azure-core": "^0.69.0 || >=0.70.0-dev <0.70.0",
59
- "@types/node": "^25.5.2",
59
+ "@types/node": "^26.0.0",
60
60
  "@types/pluralize": "^0.0.33",
61
61
  "@typespec/compiler": "^1.13.0",
62
62
  "@typespec/http": "^1.13.0",
@@ -81,8 +81,8 @@
81
81
  "test:watch": "vitest -w",
82
82
  "test:ui": "vitest --ui",
83
83
  "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
84
- "lint": "eslint . --max-warnings=0",
85
- "lint:fix": "eslint . --fix ",
84
+ "lint": "oxlint . --deny-warnings",
85
+ "lint:fix": "oxlint . --fix",
86
86
  "regen-docs": "tspd doc . --enable-experimental --llmstxt --output-dir ../../website/src/content/docs/docs/libraries/azure-resource-manager/reference"
87
87
  }
88
88
  }