Skip to content

Commit b59d285

Browse files
authored
[Automation] Generate SDK based on TypeSpec 0.31.9 (#46039)
1 parent c10f1cb commit b59d285

File tree

109 files changed

+2909
-360
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2909
-360
lines changed

eng/emitter-package-lock.json

Lines changed: 262 additions & 160 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/emitter-package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-java": "0.31.8"
4+
"@azure-tools/typespec-java": "0.31.9"
55
},
66
"devDependencies": {
7-
"@azure-tools/typespec-autorest": "0.57.1",
8-
"@azure-tools/typespec-azure-core": "0.57.0",
9-
"@azure-tools/typespec-azure-resource-manager": "0.57.2",
10-
"@azure-tools/typespec-azure-rulesets": "0.57.1",
11-
"@azure-tools/typespec-client-generator-core": "0.57.3",
7+
"@azure-tools/typespec-autorest": "0.58.0",
8+
"@azure-tools/typespec-azure-core": "0.58.0",
9+
"@azure-tools/typespec-azure-resource-manager": "0.58.0",
10+
"@azure-tools/typespec-azure-rulesets": "0.58.0",
11+
"@azure-tools/typespec-client-generator-core": "0.58.0",
1212
"@azure-tools/typespec-liftr-base": "0.8.0",
13-
"@typespec/compiler": "1.1.0",
14-
"@typespec/http": "1.1.0",
15-
"@typespec/openapi": "1.1.0",
16-
"@typespec/rest": "0.71.0",
17-
"@typespec/versioning": "0.71.0",
18-
"@typespec/xml": "0.71.0"
13+
"@typespec/compiler": "1.2.1",
14+
"@typespec/http": "1.2.1",
15+
"@typespec/openapi": "1.2.1",
16+
"@typespec/rest": "0.72.1",
17+
"@typespec/versioning": "0.72.1",
18+
"@typespec/xml": "0.72.1"
1919
}
2020
}

sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31766,8 +31766,8 @@ private PagedResponse<BinaryData> listSupportedImagesNextSinglePage(String nextL
3176631766
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
3176731767
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
3176831768
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
31769-
* @return the result of listing the Compute Node counts in the Account along with {@link PagedResponse} on
31770-
* successful completion of {@link Mono}.
31769+
* @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse} on successful
31770+
* completion of {@link Mono}.
3177131771
*/
3177231772
@ServiceMethod(returns = ReturnType.SINGLE)
3177331773
private Mono<PagedResponse<BinaryData>> listPoolNodeCountsNextSinglePageAsync(String nextLink,
@@ -31817,7 +31817,7 @@ private Mono<PagedResponse<BinaryData>> listPoolNodeCountsNextSinglePageAsync(St
3181731817
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
3181831818
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
3181931819
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
31820-
* @return the result of listing the Compute Node counts in the Account along with {@link PagedResponse}.
31820+
* @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse}.
3182131821
*/
3182231822
@ServiceMethod(returns = ReturnType.SINGLE)
3182331823
private PagedResponse<BinaryData> listPoolNodeCountsNextSinglePage(String nextLink, RequestOptions requestOptions) {

sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilitiesClientImpl.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -937,8 +937,8 @@ public PagedIterable<CapabilityInner> list(String resourceGroupName, String pare
937937
* @throws IllegalArgumentException thrown if parameters fail the validation.
938938
* @throws ManagementException thrown if the request is rejected by server.
939939
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
940-
* @return model that represents a list of Capability resources and a link for pagination along with
941-
* {@link PagedResponse} on successful completion of {@link Mono}.
940+
* @return a list of Capability resources that extend a Target resource along with {@link PagedResponse} on
941+
* successful completion of {@link Mono}.
942942
*/
943943
@ServiceMethod(returns = ReturnType.SINGLE)
944944
private Mono<PagedResponse<CapabilityInner>> listNextSinglePageAsync(String nextLink) {
@@ -963,8 +963,7 @@ private Mono<PagedResponse<CapabilityInner>> listNextSinglePageAsync(String next
963963
* @throws IllegalArgumentException thrown if parameters fail the validation.
964964
* @throws ManagementException thrown if the request is rejected by server.
965965
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
966-
* @return model that represents a list of Capability resources and a link for pagination along with
967-
* {@link PagedResponse}.
966+
* @return a list of Capability resources that extend a Target resource along with {@link PagedResponse}.
968967
*/
969968
@ServiceMethod(returns = ReturnType.SINGLE)
970969
private PagedResponse<CapabilityInner> listNextSinglePage(String nextLink) {
@@ -992,8 +991,7 @@ private PagedResponse<CapabilityInner> listNextSinglePage(String nextLink) {
992991
* @throws IllegalArgumentException thrown if parameters fail the validation.
993992
* @throws ManagementException thrown if the request is rejected by server.
994993
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
995-
* @return model that represents a list of Capability resources and a link for pagination along with
996-
* {@link PagedResponse}.
994+
* @return a list of Capability resources that extend a Target resource along with {@link PagedResponse}.
997995
*/
998996
@ServiceMethod(returns = ReturnType.SINGLE)
999997
private PagedResponse<CapabilityInner> listNextSinglePage(String nextLink, Context context) {

sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypesClientImpl.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ public PagedIterable<CapabilityTypeInner> list(String location, String targetTyp
434434
* @throws IllegalArgumentException thrown if parameters fail the validation.
435435
* @throws ManagementException thrown if the request is rejected by server.
436436
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
437-
* @return model that represents a list of Capability Type resources and a link for pagination along with
438-
* {@link PagedResponse} on successful completion of {@link Mono}.
437+
* @return a list of Capability Type resources for given Target Type and location along with {@link PagedResponse}
438+
* on successful completion of {@link Mono}.
439439
*/
440440
@ServiceMethod(returns = ReturnType.SINGLE)
441441
private Mono<PagedResponse<CapabilityTypeInner>> listNextSinglePageAsync(String nextLink) {
@@ -460,8 +460,7 @@ private Mono<PagedResponse<CapabilityTypeInner>> listNextSinglePageAsync(String
460460
* @throws IllegalArgumentException thrown if parameters fail the validation.
461461
* @throws ManagementException thrown if the request is rejected by server.
462462
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
463-
* @return model that represents a list of Capability Type resources and a link for pagination along with
464-
* {@link PagedResponse}.
463+
* @return a list of Capability Type resources for given Target Type and location along with {@link PagedResponse}.
465464
*/
466465
@ServiceMethod(returns = ReturnType.SINGLE)
467466
private PagedResponse<CapabilityTypeInner> listNextSinglePage(String nextLink) {
@@ -489,8 +488,7 @@ private PagedResponse<CapabilityTypeInner> listNextSinglePage(String nextLink) {
489488
* @throws IllegalArgumentException thrown if parameters fail the validation.
490489
* @throws ManagementException thrown if the request is rejected by server.
491490
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
492-
* @return model that represents a list of Capability Type resources and a link for pagination along with
493-
* {@link PagedResponse}.
491+
* @return a list of Capability Type resources for given Target Type and location along with {@link PagedResponse}.
494492
*/
495493
@ServiceMethod(returns = ReturnType.SINGLE)
496494
private PagedResponse<CapabilityTypeInner> listNextSinglePage(String nextLink, Context context) {

sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,8 +2278,8 @@ public ExperimentExecutionDetailsInner executionDetails(String resourceGroupName
22782278
* @throws IllegalArgumentException thrown if parameters fail the validation.
22792279
* @throws ManagementException thrown if the request is rejected by server.
22802280
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2281-
* @return model that represents a list of Experiment resources and a link for pagination along with
2282-
* {@link PagedResponse} on successful completion of {@link Mono}.
2281+
* @return a list of Experiment resources in a resource group along with {@link PagedResponse} on successful
2282+
* completion of {@link Mono}.
22832283
*/
22842284
@ServiceMethod(returns = ReturnType.SINGLE)
22852285
private Mono<PagedResponse<ExperimentInner>> listNextSinglePageAsync(String nextLink) {
@@ -2304,8 +2304,7 @@ private Mono<PagedResponse<ExperimentInner>> listNextSinglePageAsync(String next
23042304
* @throws IllegalArgumentException thrown if parameters fail the validation.
23052305
* @throws ManagementException thrown if the request is rejected by server.
23062306
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2307-
* @return model that represents a list of Experiment resources and a link for pagination along with
2308-
* {@link PagedResponse}.
2307+
* @return a list of Experiment resources in a resource group along with {@link PagedResponse}.
23092308
*/
23102309
@ServiceMethod(returns = ReturnType.SINGLE)
23112310
private PagedResponse<ExperimentInner> listNextSinglePage(String nextLink) {
@@ -2333,8 +2332,7 @@ private PagedResponse<ExperimentInner> listNextSinglePage(String nextLink) {
23332332
* @throws IllegalArgumentException thrown if parameters fail the validation.
23342333
* @throws ManagementException thrown if the request is rejected by server.
23352334
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2336-
* @return model that represents a list of Experiment resources and a link for pagination along with
2337-
* {@link PagedResponse}.
2335+
* @return a list of Experiment resources in a resource group along with {@link PagedResponse}.
23382336
*/
23392337
@ServiceMethod(returns = ReturnType.SINGLE)
23402338
private PagedResponse<ExperimentInner> listNextSinglePage(String nextLink, Context context) {
@@ -2360,8 +2358,8 @@ private PagedResponse<ExperimentInner> listNextSinglePage(String nextLink, Conte
23602358
* @throws IllegalArgumentException thrown if parameters fail the validation.
23612359
* @throws ManagementException thrown if the request is rejected by server.
23622360
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2363-
* @return model that represents a list of Experiment resources and a link for pagination along with
2364-
* {@link PagedResponse} on successful completion of {@link Mono}.
2361+
* @return a list of Experiment resources in a subscription along with {@link PagedResponse} on successful
2362+
* completion of {@link Mono}.
23652363
*/
23662364
@ServiceMethod(returns = ReturnType.SINGLE)
23672365
private Mono<PagedResponse<ExperimentInner>> listAllNextSinglePageAsync(String nextLink) {
@@ -2387,8 +2385,7 @@ private Mono<PagedResponse<ExperimentInner>> listAllNextSinglePageAsync(String n
23872385
* @throws IllegalArgumentException thrown if parameters fail the validation.
23882386
* @throws ManagementException thrown if the request is rejected by server.
23892387
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2390-
* @return model that represents a list of Experiment resources and a link for pagination along with
2391-
* {@link PagedResponse}.
2388+
* @return a list of Experiment resources in a subscription along with {@link PagedResponse}.
23922389
*/
23932390
@ServiceMethod(returns = ReturnType.SINGLE)
23942391
private PagedResponse<ExperimentInner> listAllNextSinglePage(String nextLink) {
@@ -2416,8 +2413,7 @@ private PagedResponse<ExperimentInner> listAllNextSinglePage(String nextLink) {
24162413
* @throws IllegalArgumentException thrown if parameters fail the validation.
24172414
* @throws ManagementException thrown if the request is rejected by server.
24182415
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2419-
* @return model that represents a list of Experiment resources and a link for pagination along with
2420-
* {@link PagedResponse}.
2416+
* @return a list of Experiment resources in a subscription along with {@link PagedResponse}.
24212417
*/
24222418
@ServiceMethod(returns = ReturnType.SINGLE)
24232419
private PagedResponse<ExperimentInner> listAllNextSinglePage(String nextLink, Context context) {
@@ -2444,8 +2440,8 @@ private PagedResponse<ExperimentInner> listAllNextSinglePage(String nextLink, Co
24442440
* @throws IllegalArgumentException thrown if parameters fail the validation.
24452441
* @throws ManagementException thrown if the request is rejected by server.
24462442
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2447-
* @return model that represents a list of Experiment executions and a link for pagination along with
2448-
* {@link PagedResponse} on successful completion of {@link Mono}.
2443+
* @return a list of executions of an Experiment resource along with {@link PagedResponse} on successful completion
2444+
* of {@link Mono}.
24492445
*/
24502446
@ServiceMethod(returns = ReturnType.SINGLE)
24512447
private Mono<PagedResponse<ExperimentExecutionInner>> listAllExecutionsNextSinglePageAsync(String nextLink) {
@@ -2471,8 +2467,7 @@ private Mono<PagedResponse<ExperimentExecutionInner>> listAllExecutionsNextSingl
24712467
* @throws IllegalArgumentException thrown if parameters fail the validation.
24722468
* @throws ManagementException thrown if the request is rejected by server.
24732469
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2474-
* @return model that represents a list of Experiment executions and a link for pagination along with
2475-
* {@link PagedResponse}.
2470+
* @return a list of executions of an Experiment resource along with {@link PagedResponse}.
24762471
*/
24772472
@ServiceMethod(returns = ReturnType.SINGLE)
24782473
private PagedResponse<ExperimentExecutionInner> listAllExecutionsNextSinglePage(String nextLink) {
@@ -2500,8 +2495,7 @@ private PagedResponse<ExperimentExecutionInner> listAllExecutionsNextSinglePage(
25002495
* @throws IllegalArgumentException thrown if parameters fail the validation.
25012496
* @throws ManagementException thrown if the request is rejected by server.
25022497
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2503-
* @return model that represents a list of Experiment executions and a link for pagination along with
2504-
* {@link PagedResponse}.
2498+
* @return a list of executions of an Experiment resource along with {@link PagedResponse}.
25052499
*/
25062500
@ServiceMethod(returns = ReturnType.SINGLE)
25072501
private PagedResponse<ExperimentExecutionInner> listAllExecutionsNextSinglePage(String nextLink, Context context) {

sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypesClientImpl.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ public PagedIterable<TargetTypeInner> list(String location, String continuationT
386386
* @throws IllegalArgumentException thrown if parameters fail the validation.
387387
* @throws ManagementException thrown if the request is rejected by server.
388388
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
389-
* @return model that represents a list of Target Type resources and a link for pagination along with
390-
* {@link PagedResponse} on successful completion of {@link Mono}.
389+
* @return a list of Target Type resources for given location along with {@link PagedResponse} on successful
390+
* completion of {@link Mono}.
391391
*/
392392
@ServiceMethod(returns = ReturnType.SINGLE)
393393
private Mono<PagedResponse<TargetTypeInner>> listNextSinglePageAsync(String nextLink) {
@@ -412,8 +412,7 @@ private Mono<PagedResponse<TargetTypeInner>> listNextSinglePageAsync(String next
412412
* @throws IllegalArgumentException thrown if parameters fail the validation.
413413
* @throws ManagementException thrown if the request is rejected by server.
414414
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
415-
* @return model that represents a list of Target Type resources and a link for pagination along with
416-
* {@link PagedResponse}.
415+
* @return a list of Target Type resources for given location along with {@link PagedResponse}.
417416
*/
418417
@ServiceMethod(returns = ReturnType.SINGLE)
419418
private PagedResponse<TargetTypeInner> listNextSinglePage(String nextLink) {
@@ -441,8 +440,7 @@ private PagedResponse<TargetTypeInner> listNextSinglePage(String nextLink) {
441440
* @throws IllegalArgumentException thrown if parameters fail the validation.
442441
* @throws ManagementException thrown if the request is rejected by server.
443442
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
444-
* @return model that represents a list of Target Type resources and a link for pagination along with
445-
* {@link PagedResponse}.
443+
* @return a list of Target Type resources for given location along with {@link PagedResponse}.
446444
*/
447445
@ServiceMethod(returns = ReturnType.SINGLE)
448446
private PagedResponse<TargetTypeInner> listNextSinglePage(String nextLink, Context context) {

sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/TargetsClientImpl.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ public PagedIterable<TargetInner> list(String resourceGroupName, String parentPr
875875
* @throws IllegalArgumentException thrown if parameters fail the validation.
876876
* @throws ManagementException thrown if the request is rejected by server.
877877
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
878-
* @return model that represents a list of Target resources and a link for pagination along with
879-
* {@link PagedResponse} on successful completion of {@link Mono}.
878+
* @return a list of Target resources that extend a tracked regional resource along with {@link PagedResponse} on
879+
* successful completion of {@link Mono}.
880880
*/
881881
@ServiceMethod(returns = ReturnType.SINGLE)
882882
private Mono<PagedResponse<TargetInner>> listNextSinglePageAsync(String nextLink) {
@@ -901,8 +901,7 @@ private Mono<PagedResponse<TargetInner>> listNextSinglePageAsync(String nextLink
901901
* @throws IllegalArgumentException thrown if parameters fail the validation.
902902
* @throws ManagementException thrown if the request is rejected by server.
903903
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
904-
* @return model that represents a list of Target resources and a link for pagination along with
905-
* {@link PagedResponse}.
904+
* @return a list of Target resources that extend a tracked regional resource along with {@link PagedResponse}.
906905
*/
907906
@ServiceMethod(returns = ReturnType.SINGLE)
908907
private PagedResponse<TargetInner> listNextSinglePage(String nextLink) {
@@ -930,8 +929,7 @@ private PagedResponse<TargetInner> listNextSinglePage(String nextLink) {
930929
* @throws IllegalArgumentException thrown if parameters fail the validation.
931930
* @throws ManagementException thrown if the request is rejected by server.
932931
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
933-
* @return model that represents a list of Target resources and a link for pagination along with
934-
* {@link PagedResponse}.
932+
* @return a list of Target resources that extend a tracked regional resource along with {@link PagedResponse}.
935933
*/
936934
@ServiceMethod(returns = ReturnType.SINGLE)
937935
private PagedResponse<TargetInner> listNextSinglePage(String nextLink, Context context) {

0 commit comments

Comments
 (0)