Skip to content

Commit e1c5534

Browse files
XiaofeiCaoazure-sdkCopilot
authored
Regen SDK based on TypeSpec 0.45.7 and fix compilation (#49872)
* [Automation] Generate SDK based on TypeSpec 0.45.7 * fix compilation * Update tsp-location commit to latest azure-rest-api-specs main for failed modules Bump the tsp-location.yaml commit to azure-rest-api-specs main 39bf1b80fd8bc55b091192d51d67433c84930639 for the 7 modules that failed to generate in the sync-emitter run (override-parameters-mismatch under TCGC 0.70.0): cognitiveservices, face, iothub, recoveryservicesbackup, quota, storage, security. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: abf20313-1bb4-4ae3-9764-f0562785cf32 * Fix quota tsp-location directory after unified-folder migration The quota TypeSpec moved from specification/quota/Quota.Management to specification/quota/resource-manager/Microsoft.Quota/Quota (unified folder structure migration). The previous commit bumped quota's tsp-location commit to latest azure-rest-api-specs main but left the old directory, which no longer exists at that commit, breaking generation. Point directory at the new path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: abf20313-1bb4-4ae3-9764-f0562785cf32 * Revert tsp-location.yaml commit change for azure-ai-vision-face Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 217795c9-ca09-4183-a09e-dffaa876f569 --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f3304f2 commit e1c5534

789 files changed

Lines changed: 31100 additions & 2229 deletions

File tree

Some content is hidden

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

eng/emitter-package-lock.json

Lines changed: 232 additions & 248 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: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-java": "0.45.5"
4+
"@azure-tools/typespec-java": "0.45.7"
55
},
66
"devDependencies": {
7-
"@azure-tools/openai-typespec": "1.20.0",
8-
"@azure-tools/typespec-autorest": "0.69.1",
9-
"@azure-tools/typespec-azure-core": "0.69.0",
10-
"@azure-tools/typespec-azure-portal-core": "0.69.0",
11-
"@azure-tools/typespec-azure-resource-manager": "0.69.2",
12-
"@azure-tools/typespec-azure-rulesets": "0.69.2",
13-
"@azure-tools/typespec-client-generator-core": "0.69.2",
14-
"@azure-tools/typespec-liftr-base": "0.14.0",
15-
"@typespec/compiler": "1.13.0",
16-
"@typespec/http": "1.13.0",
17-
"@typespec/openapi": "1.13.0",
18-
"@typespec/rest": "0.83.0",
19-
"@typespec/versioning": "0.83.0",
20-
"@typespec/xml": "0.83.0",
21-
"@typespec/openapi3": "1.13.0"
7+
"@azure-tools/typespec-autorest": "0.70.0",
8+
"@azure-tools/typespec-azure-core": "0.70.0",
9+
"@azure-tools/typespec-azure-resource-manager": "0.70.0",
10+
"@azure-tools/typespec-azure-rulesets": "0.70.0",
11+
"@azure-tools/typespec-client-generator-core": "0.70.0",
12+
"@typespec/compiler": "1.14.0",
13+
"@typespec/http": "1.14.0",
14+
"@typespec/openapi": "1.14.0",
15+
"@typespec/rest": "0.84.0",
16+
"@typespec/versioning": "0.84.0",
17+
"@typespec/xml": "0.84.0",
18+
"@typespec/events": "0.84.0",
19+
"@typespec/sse": "0.84.0",
20+
"@typespec/streams": "0.84.0",
21+
"@azure-tools/openai-typespec": "1.21.1",
22+
"@azure-tools/typespec-liftr-base": "0.13.0",
23+
"@azure-tools/typespec-azure-portal-core": "0.70.0",
24+
"@typespec/openapi3": "1.14.0"
2225
}
2326
}

sdk/appservice/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/fluent/models/AppServicePlanPatchResourceProperties.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public final class AppServicePlanPatchResourceProperties
6060
private String geoRegion;
6161

6262
/*
63+
*
6364
* If <code>true</code>, apps assigned to this App Service plan can be scaled independently.
6465
* If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.
6566
*/
@@ -136,6 +137,7 @@ public final class AppServicePlanPatchResourceProperties
136137
private KubeEnvironmentProfile kubeEnvironmentProfile;
137138

138139
/*
140+
*
139141
* If <code>true</code>, this App Service Plan will perform availability zone balancing.
140142
* If <code>false</code>, this App Service Plan will not perform availability zone balancing.
141143
*/
@@ -237,8 +239,8 @@ public String geoRegion() {
237239
}
238240

239241
/**
240-
* Get the perSiteScaling property: If &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be
241-
* scaled independently.
242+
* Get the perSiteScaling property:
243+
* If &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be scaled independently.
242244
* If &lt;code&gt;false&lt;/code&gt;, apps assigned to this App Service plan will scale to all instances of the
243245
* plan.
244246
*
@@ -249,8 +251,8 @@ public Boolean perSiteScaling() {
249251
}
250252

251253
/**
252-
* Set the perSiteScaling property: If &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be
253-
* scaled independently.
254+
* Set the perSiteScaling property:
255+
* If &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be scaled independently.
254256
* If &lt;code&gt;false&lt;/code&gt;, apps assigned to this App Service plan will scale to all instances of the
255257
* plan.
256258
*
@@ -525,8 +527,8 @@ public KubeEnvironmentProfile kubeEnvironmentProfile() {
525527
}
526528

527529
/**
528-
* Get the zoneRedundant property: If &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability
529-
* zone balancing.
530+
* Get the zoneRedundant property:
531+
* If &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability zone balancing.
530532
* If &lt;code&gt;false&lt;/code&gt;, this App Service Plan will not perform availability zone balancing.
531533
*
532534
* @return the zoneRedundant value.
@@ -536,8 +538,8 @@ public Boolean zoneRedundant() {
536538
}
537539

538540
/**
539-
* Set the zoneRedundant property: If &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability
540-
* zone balancing.
541+
* Set the zoneRedundant property:
542+
* If &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability zone balancing.
541543
* If &lt;code&gt;false&lt;/code&gt;, this App Service Plan will not perform availability zone balancing.
542544
*
543545
* @param zoneRedundant the zoneRedundant value to set.

sdk/appservice/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/fluent/models/PushSettingsInner.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson) {
139139
}
140140

141141
/**
142-
* Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user
143-
* authentication to be used in the push registration endpoint.
142+
* Get the tagsRequiringAuth property:
143+
* Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push
144+
* registration endpoint.
144145
* Tags can consist of alphanumeric characters and the following:
145146
* '_', '&#064;', '#', '.', ':', '-'.
146147
* Validation should be performed at the PushRequestHandler.
@@ -152,8 +153,9 @@ public String tagsRequiringAuth() {
152153
}
153154

154155
/**
155-
* Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user
156-
* authentication to be used in the push registration endpoint.
156+
* Set the tagsRequiringAuth property:
157+
* Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push
158+
* registration endpoint.
157159
* Tags can consist of alphanumeric characters and the following:
158160
* '_', '&#064;', '#', '.', ':', '-'.
159161
* Validation should be performed at the PushRequestHandler.

sdk/appservice/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/fluent/models/PushSettingsProperties.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public final class PushSettingsProperties implements JsonSerializable<PushSettin
2828
private String tagWhitelistJson;
2929

3030
/*
31+
*
3132
* Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push
3233
* registration endpoint.
3334
* Tags can consist of alphanumeric characters and the following:
@@ -91,8 +92,9 @@ public PushSettingsProperties withTagWhitelistJson(String tagWhitelistJson) {
9192
}
9293

9394
/**
94-
* Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user
95-
* authentication to be used in the push registration endpoint.
95+
* Get the tagsRequiringAuth property:
96+
* Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push
97+
* registration endpoint.
9698
* Tags can consist of alphanumeric characters and the following:
9799
* '_', '&#064;', '#', '.', ':', '-'.
98100
* Validation should be performed at the PushRequestHandler.
@@ -104,8 +106,9 @@ public String tagsRequiringAuth() {
104106
}
105107

106108
/**
107-
* Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user
108-
* authentication to be used in the push registration endpoint.
109+
* Set the tagsRequiringAuth property:
110+
* Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push
111+
* registration endpoint.
109112
* Tags can consist of alphanumeric characters and the following:
110113
* '_', '&#064;', '#', '.', ':', '-'.
111114
* Validation should be performed at the PushRequestHandler.

0 commit comments

Comments
 (0)