@azure-tools/typespec-azure-resource-manager 0.59.0-dev.2 → 0.59.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.
- package/lib/Legacy/extension.tsp +1 -0
- package/lib/Legacy/interfaces.tsp +1 -0
- package/lib/Legacy/operations.tsp +1 -0
- package/lib/common-types/private-links.tsp +4 -4
- package/lib/extension/operations.tsp +1 -0
- package/lib/interfaces.tsp +1 -0
- package/lib/models.tsp +1 -2
- package/lib/operations.tsp +3 -0
- package/package.json +1 -1
package/lib/Legacy/extension.tsp
CHANGED
|
@@ -36,11 +36,10 @@ model PrivateLinkResourceProperties {
|
|
|
36
36
|
|
|
37
37
|
/** A list of private link resources. */
|
|
38
38
|
@added(Versions.v6)
|
|
39
|
-
@pagedResult
|
|
40
39
|
model PrivateLinkResourceListResult {
|
|
41
40
|
/** Array of private link resources */
|
|
42
41
|
@OpenAPI.extension("x-ms-identifiers", #["id"])
|
|
43
|
-
@
|
|
42
|
+
@pageItems
|
|
44
43
|
value?: PrivateLinkResource[];
|
|
45
44
|
|
|
46
45
|
/** URL to get the next set of operation list results (if there are any). */
|
|
@@ -57,11 +56,10 @@ model PrivateEndpointConnection extends Resource {
|
|
|
57
56
|
|
|
58
57
|
/** List of private endpoint connections associated with the specified resource. */
|
|
59
58
|
@added(Versions.v6)
|
|
60
|
-
@pagedResult
|
|
61
59
|
model PrivateEndpointConnectionListResult {
|
|
62
60
|
/** Array of private endpoint connections. */
|
|
63
61
|
@OpenAPI.extension("x-ms-identifiers", #["id"])
|
|
64
|
-
@
|
|
62
|
+
@pageItems
|
|
65
63
|
value?: PrivateEndpointConnection[];
|
|
66
64
|
|
|
67
65
|
/** URL to get the next set of operation list results (if there are any). */
|
|
@@ -186,6 +184,7 @@ model PrivateLinkResourceParameter<Segment extends valueof string = "privateLink
|
|
|
186
184
|
model PrivateLinkResourceListResultV5 {
|
|
187
185
|
/** Array of private link resources */
|
|
188
186
|
@OpenAPI.extension("x-ms-identifiers", #["id"])
|
|
187
|
+
@pageItems
|
|
189
188
|
value?: CommonTypes.PrivateLinkResource[];
|
|
190
189
|
}
|
|
191
190
|
|
|
@@ -229,5 +228,6 @@ model PrivateLinkResourceListResultV5 {
|
|
|
229
228
|
model PrivateEndpointConnectionListResultV5 {
|
|
230
229
|
/** Array of private endpoint connections. */
|
|
231
230
|
@OpenAPI.extension("x-ms-identifiers", #["id"])
|
|
231
|
+
@pageItems
|
|
232
232
|
value?: CommonTypes.PrivateEndpointConnection[];
|
|
233
233
|
}
|
package/lib/interfaces.tsp
CHANGED
package/lib/models.tsp
CHANGED
|
@@ -348,10 +348,9 @@ model ResourceListResult<Resource extends Foundations.SimpleResource> is Azure.C
|
|
|
348
348
|
*/
|
|
349
349
|
@doc("The custom response of a list operation.")
|
|
350
350
|
@friendlyName("{name}ListResult", Result)
|
|
351
|
-
@pagedResult
|
|
352
351
|
model ResourceListCustomResult<Result> {
|
|
353
352
|
/** The items on this page */
|
|
354
|
-
@
|
|
353
|
+
@pageItems
|
|
355
354
|
value: Result[];
|
|
356
355
|
|
|
357
356
|
/** The link to the next page of items */
|
package/lib/operations.tsp
CHANGED
|
@@ -16,6 +16,7 @@ namespace Azure.ResourceManager;
|
|
|
16
16
|
*/
|
|
17
17
|
@autoRoute
|
|
18
18
|
@doc("List {name} resources by subscription ID", Resource)
|
|
19
|
+
@list
|
|
19
20
|
@listsResource(Resource)
|
|
20
21
|
@segmentOf(Resource)
|
|
21
22
|
@armResourceList(Resource)
|
|
@@ -40,6 +41,7 @@ op ArmListBySubscription<
|
|
|
40
41
|
*/
|
|
41
42
|
@get
|
|
42
43
|
@autoRoute
|
|
44
|
+
@list
|
|
43
45
|
@listsResource(Resource)
|
|
44
46
|
@segmentOf(Resource)
|
|
45
47
|
@Private.armRenameListByOperation(Resource, ParentName, ParentFriendlyName, false) // This must come before @armResourceList!
|
|
@@ -69,6 +71,7 @@ op ArmResourceListByParent<
|
|
|
69
71
|
*/
|
|
70
72
|
@get
|
|
71
73
|
@autoRoute
|
|
74
|
+
@list
|
|
72
75
|
@listsResource(Resource)
|
|
73
76
|
@segmentOf(Resource)
|
|
74
77
|
@Private.armRenameListByOperation(Resource) // This must come before @armResourceList!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.59.0-dev.
|
|
3
|
+
"version": "0.59.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",
|