@azure-tools/typespec-azure-resource-manager 0.48.0-dev.6 → 0.48.0-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/models.tsp CHANGED
@@ -295,6 +295,23 @@ model ResourceKindProperty {
295
295
  @friendlyName("{name}ListResult", Resource)
296
296
  model ResourceListResult<Resource extends Foundations.Resource> is Azure.Core.Page<Resource>;
297
297
 
298
+ /**
299
+ * Paged response containing results
300
+ * @template Result The type of the values returned in the paged response
301
+ */
302
+ @doc("The custom response of a list operation.")
303
+ @friendlyName("{name}ListResult", Result)
304
+ @pagedResult
305
+ model ResourceListCustomResult<Result> {
306
+ /** The items on this page */
307
+ @items
308
+ value: Result[];
309
+
310
+ /** The link to the next page of items */
311
+ @nextLink
312
+ nextLink?: string;
313
+ }
314
+
298
315
  #deprecated "`ResourcePlan` will be deprecated. Please use `ResourcePlanProperty` instead."
299
316
  alias ResourcePlan = ResourcePlanProperty;
300
317
  /**
package/lib/responses.tsp CHANGED
@@ -106,7 +106,7 @@ model ArmOperationStatus<
106
106
  @key
107
107
  @path
108
108
  @segment("operationStatuses")
109
- id: Azure.Core.uuid;
109
+ id: string;
110
110
 
111
111
  /** The name of the operationStatus resource */
112
112
  @visibility("read")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-resource-manager",
3
- "version": "0.48.0-dev.6",
3
+ "version": "0.48.0-dev.8",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Resource Manager library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",