@@ -38,9 +38,15 @@ interface Locations {
38
38
interface PrivateClouds {
39
39
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
40
40
@ operationId ("PrivateClouds_List" )
41
- list is ArmResourceListByParent <PrivateCloud >;
41
+ list is ArmResourceListByParent <
42
+ PrivateCloud ,
43
+ Response = ArmResponse <ResourceList <PrivateCloud >>
44
+ >;
42
45
43
- listInSubscription is ArmListBySubscription <PrivateCloud >;
46
+ listInSubscription is ArmListBySubscription <
47
+ PrivateCloud ,
48
+ Response = ArmResponse <ResourceList <PrivateCloud >>
49
+ >;
44
50
45
51
get is ArmResourceRead <PrivateCloud >;
46
52
@@ -109,7 +115,10 @@ interface PrivateClouds {
109
115
interface Clusters {
110
116
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
111
117
@ operationId ("Clusters_List" )
112
- list is ArmResourceListByParent <Cluster >;
118
+ list is ArmResourceListByParent <
119
+ Cluster ,
120
+ Response = ArmResponse <ResourceList <Cluster >>
121
+ >;
113
122
114
123
get is ArmResourceRead <Cluster >;
115
124
@@ -167,7 +176,10 @@ interface Clusters {
167
176
interface Datastores {
168
177
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
169
178
@ operationId ("Datastores_List" )
170
- list is ArmResourceListByParent <Datastore >;
179
+ list is ArmResourceListByParent <
180
+ Datastore ,
181
+ Response = ArmResponse <ResourceList <Datastore >>
182
+ >;
171
183
172
184
get is ArmResourceRead <Datastore >;
173
185
@@ -192,7 +204,10 @@ interface Datastores {
192
204
interface HcxEnterpriseSites {
193
205
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
194
206
@ operationId ("HcxEnterpriseSites_List" )
195
- list is ArmResourceListByParent <HcxEnterpriseSite >;
207
+ list is ArmResourceListByParent <
208
+ HcxEnterpriseSite ,
209
+ Response = ArmResponse <ResourceList <HcxEnterpriseSite >>
210
+ >;
196
211
197
212
get is ArmResourceRead <HcxEnterpriseSite >;
198
213
@@ -217,7 +232,10 @@ interface HcxEnterpriseSites {
217
232
interface Authorizations {
218
233
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
219
234
@ operationId ("Authorizations_List" )
220
- list is ArmResourceListByParent <ExpressRouteAuthorization >;
235
+ list is ArmResourceListByParent <
236
+ ExpressRouteAuthorization ,
237
+ Response = ArmResponse <ResourceList <ExpressRouteAuthorization >>
238
+ >;
221
239
222
240
get is ArmResourceRead <ExpressRouteAuthorization >;
223
241
@@ -247,7 +265,10 @@ interface Authorizations {
247
265
interface GlobalReachConnections {
248
266
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
249
267
@ operationId ("GlobalReachConnections_List" )
250
- list is ArmResourceListByParent <GlobalReachConnection >;
268
+ list is ArmResourceListByParent <
269
+ GlobalReachConnection ,
270
+ Response = ArmResponse <ResourceList <GlobalReachConnection >>
271
+ >;
251
272
252
273
get is ArmResourceRead <GlobalReachConnection >;
253
274
@@ -278,14 +299,20 @@ interface WorkloadNetworks {
278
299
279
300
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
280
301
@ operationId ("WorkloadNetworks_List" )
281
- list is ArmResourceListByParent <WorkloadNetwork >;
302
+ list is ArmResourceListByParent <
303
+ WorkloadNetwork ,
304
+ Response = ArmResponse <ResourceList <WorkloadNetwork >>
305
+ >;
282
306
}
283
307
284
308
@ armResourceOperations
285
309
interface WorkloadNetworkSegments {
286
310
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
287
311
@ operationId ("WorkloadNetworks_ListSegments" )
288
- list is ArmResourceListByParent <WorkloadNetworkSegment >;
312
+ list is ArmResourceListByParent <
313
+ WorkloadNetworkSegment ,
314
+ Response = ArmResponse <ResourceList <WorkloadNetworkSegment , "{name}sList" >>
315
+ >;
289
316
290
317
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
291
318
@ operationId ("WorkloadNetworks_GetSegment" )
@@ -340,7 +367,10 @@ interface WorkloadNetworkSegments {
340
367
interface WorkloadNetworkDhcpConfigurations {
341
368
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
342
369
@ operationId ("WorkloadNetworks_ListDhcp" )
343
- list is ArmResourceListByParent <WorkloadNetworkDhcp >;
370
+ list is ArmResourceListByParent <
371
+ WorkloadNetworkDhcp ,
372
+ Response = ArmResponse <ResourceList <WorkloadNetworkDhcp >>
373
+ >;
344
374
345
375
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DhcpIdParameter should be last, but it is breaking to correct it."
346
376
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
@@ -410,7 +440,10 @@ interface WorkloadNetworkDhcpConfigurations {
410
440
interface WorkloadNetworkGateways {
411
441
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
412
442
@ operationId ("WorkloadNetworks_ListGateways" )
413
- list is ArmResourceListByParent <WorkloadNetworkGateway >;
443
+ list is ArmResourceListByParent <
444
+ WorkloadNetworkGateway ,
445
+ Response = ArmResponse <ResourceList <WorkloadNetworkGateway >>
446
+ >;
414
447
415
448
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
416
449
@ operationId ("WorkloadNetworks_GetGateway" )
@@ -424,7 +457,10 @@ interface WorkloadNetworkGateways {
424
457
interface WorkloadNetworkPortMirroringProfiles {
425
458
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
426
459
@ operationId ("WorkloadNetworks_ListPortMirroring" )
427
- list is ArmResourceListByParent <WorkloadNetworkPortMirroring >;
460
+ list is ArmResourceListByParent <
461
+ WorkloadNetworkPortMirroring ,
462
+ Response = ArmResponse <ResourceList <WorkloadNetworkPortMirroring >>
463
+ >;
428
464
429
465
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
430
466
@ operationId ("WorkloadNetworks_GetPortMirroring" )
@@ -498,7 +534,10 @@ interface WorkloadNetworkPortMirroringProfiles {
498
534
interface WorkloadNetworkVmGroups {
499
535
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
500
536
@ operationId ("WorkloadNetworks_ListVMGroups" )
501
- list is ArmResourceListByParent <WorkloadNetworkVMGroup >;
537
+ list is ArmResourceListByParent <
538
+ WorkloadNetworkVMGroup ,
539
+ Response = ArmResponse <ResourceList <WorkloadNetworkVMGroup , "{name}sList" >>
540
+ >;
502
541
503
542
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
504
543
@ operationId ("WorkloadNetworks_GetVMGroup" )
@@ -570,7 +609,13 @@ interface WorkloadNetworkVmGroups {
570
609
interface WorkloadNetworkVirtualMachines {
571
610
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
572
611
@ operationId ("WorkloadNetworks_ListVirtualMachines" )
573
- list is ArmResourceListByParent <WorkloadNetworkVirtualMachine >;
612
+ list is ArmResourceListByParent <
613
+ WorkloadNetworkVirtualMachine ,
614
+ Response = ArmResponse <ResourceList <
615
+ WorkloadNetworkVirtualMachine ,
616
+ "{name}sList"
617
+ >>
618
+ >;
574
619
575
620
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
576
621
@ operationId ("WorkloadNetworks_GetVirtualMachine" )
@@ -584,7 +629,13 @@ interface WorkloadNetworkVirtualMachines {
584
629
interface WorkloadNetworkDnsServices {
585
630
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
586
631
@ operationId ("WorkloadNetworks_ListDnsServices" )
587
- list is ArmResourceListByParent <WorkloadNetworkDnsService >;
632
+ list is ArmResourceListByParent <
633
+ WorkloadNetworkDnsService ,
634
+ Response = ArmResponse <ResourceList <
635
+ WorkloadNetworkDnsService ,
636
+ "{name}sList"
637
+ >>
638
+ >;
588
639
589
640
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
590
641
@ operationId ("WorkloadNetworks_GetDnsService" )
@@ -658,7 +709,10 @@ interface WorkloadNetworkDnsServices {
658
709
interface WorkloadNetworkDnsZones {
659
710
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
660
711
@ operationId ("WorkloadNetworks_ListDnsZones" )
661
- list is ArmResourceListByParent <WorkloadNetworkDnsZone >;
712
+ list is ArmResourceListByParent <
713
+ WorkloadNetworkDnsZone ,
714
+ Response = ArmResponse <ResourceList <WorkloadNetworkDnsZone , "{name}sList" >>
715
+ >;
662
716
663
717
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
664
718
@ operationId ("WorkloadNetworks_GetDnsZone" )
@@ -731,7 +785,10 @@ interface WorkloadNetworkDnsZones {
731
785
interface WorkloadNetworkPublicIps {
732
786
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
733
787
@ operationId ("WorkloadNetworks_ListPublicIPs" )
734
- list is ArmResourceListByParent <WorkloadNetworkPublicIP >;
788
+ list is ArmResourceListByParent <
789
+ WorkloadNetworkPublicIP ,
790
+ Response = ArmResponse <ResourceList <WorkloadNetworkPublicIP , "{name}sList" >>
791
+ >;
735
792
736
793
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
737
794
@ operationId ("WorkloadNetworks_GetPublicIP" )
@@ -782,7 +839,10 @@ interface WorkloadNetworkPublicIps {
782
839
interface CloudLinks {
783
840
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
784
841
@ operationId ("CloudLinks_List" )
785
- list is ArmResourceListByParent <CloudLink >;
842
+ list is ArmResourceListByParent <
843
+ CloudLink ,
844
+ Response = ArmResponse <ResourceList <CloudLink >>
845
+ >;
786
846
787
847
get is ArmResourceRead <CloudLink >;
788
848
@@ -807,7 +867,10 @@ interface CloudLinks {
807
867
interface Addons {
808
868
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
809
869
@ operationId ("Addons_List" )
810
- list is ArmResourceListByParent <Addon >;
870
+ list is ArmResourceListByParent <
871
+ Addon ,
872
+ Response = ArmResponse <ResourceList <Addon >>
873
+ >;
811
874
812
875
get is ArmResourceRead <Addon >;
813
876
@@ -832,7 +895,10 @@ interface Addons {
832
895
interface VirtualMachines {
833
896
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
834
897
@ operationId ("VirtualMachines_List" )
835
- list is ArmResourceListByParent <VirtualMachine >;
898
+ list is ArmResourceListByParent <
899
+ VirtualMachine ,
900
+ Response = ArmResponse <ResourceList <VirtualMachine , "{name}sList" >>
901
+ >;
836
902
837
903
get is ArmResourceRead <VirtualMachine >;
838
904
@@ -854,7 +920,13 @@ interface VirtualMachines {
854
920
interface PlacementPolicies {
855
921
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
856
922
@ operationId ("PlacementPolicies_List" )
857
- list is ArmResourceListByParent <PlacementPolicy >;
923
+ list is ArmResourceListByParent <
924
+ PlacementPolicy ,
925
+ Response = ArmResponse <ResourceList <
926
+ PlacementPolicy ,
927
+ "PlacementPoliciesList"
928
+ >>
929
+ >;
858
930
859
931
get is ArmResourceRead <PlacementPolicy >;
860
932
@@ -910,7 +982,10 @@ interface PlacementPolicies {
910
982
interface ScriptPackages {
911
983
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
912
984
@ operationId ("ScriptPackages_List" )
913
- list is ArmResourceListByParent <ScriptPackage >;
985
+ list is ArmResourceListByParent <
986
+ ScriptPackage ,
987
+ Response = ArmResponse <ResourceList <ScriptPackage , "{name}sList" >>
988
+ >;
914
989
915
990
get is ArmResourceRead <ScriptPackage >;
916
991
}
@@ -919,7 +994,10 @@ interface ScriptPackages {
919
994
interface ScriptCmdlets {
920
995
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
921
996
@ operationId ("ScriptCmdlets_List" )
922
- list is ArmResourceListByParent <ScriptCmdlet >;
997
+ list is ArmResourceListByParent <
998
+ ScriptCmdlet ,
999
+ Response = ArmResponse <ResourceList <ScriptCmdlet , "{name}sList" >>
1000
+ >;
923
1001
924
1002
get is ArmResourceRead <ScriptCmdlet >;
925
1003
}
@@ -928,7 +1006,10 @@ interface ScriptCmdlets {
928
1006
interface ScriptExecutions {
929
1007
#suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId."
930
1008
@ operationId ("ScriptExecutions_List" )
931
- list is ArmResourceListByParent <ScriptExecution >;
1009
+ list is ArmResourceListByParent <
1010
+ ScriptExecution ,
1011
+ Response = ArmResponse <ResourceList <ScriptExecution , "{name}sList" >>
1012
+ >;
932
1013
933
1014
get is ArmResourceRead <ScriptExecution >;
934
1015
0 commit comments