Skip to content

Commit fb23d6e

Browse files
mgmt, appservice upgrade to 2025-03-01 (#47184)
1 parent f377b23 commit fb23d6e

File tree

435 files changed

+7510
-2768
lines changed

Some content is hidden

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

435 files changed

+7510
-2768
lines changed

eng/lintingconfigs/revapi/track2/revapi.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,14 @@
698698
},
699699
{
700700
"ignore": true,
701+
"code" : "java.field.enumConstantOrderChanged",
702+
"old": {
703+
"matcher": "regex",
704+
"match": "field com\\.azure\\.resourcemanager\\.appservice\\.models\\.ManagedServiceIdentityType\\..*"
705+
},
706+
"justification": "Enum constant order change is not a breaking change."
707+
},
708+
{
701709
"code": "java.class.removed",
702710
"old" : {
703711
"matcher": "regex",

eng/versioning/version_client.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ com.azure.spring:spring-cloud-azure-testcontainers;6.0.0;6.1.0-beta.1
273273
com.azure:azure-spring-data-cosmos;6.0.0;6.1.0-beta.1
274274
com.azure.resourcemanager:azure-resourcemanager;2.56.0;2.57.0-beta.1
275275
com.azure.resourcemanager:azure-resourcemanager-appplatform;2.51.0;2.52.0-beta.1
276-
com.azure.resourcemanager:azure-resourcemanager-appservice;2.53.5;2.54.0-beta.1
276+
com.azure.resourcemanager:azure-resourcemanager-appservice;2.53.5;2.54.0
277277
com.azure.resourcemanager:azure-resourcemanager-authorization;2.53.4;2.54.0-beta.1
278278
com.azure.resourcemanager:azure-resourcemanager-cdn;2.53.4;2.54.0-beta.1
279279
com.azure.resourcemanager:azure-resourcemanager-compute;2.54.1;2.55.0-beta.1
@@ -552,6 +552,7 @@ unreleased_com.azure.v2:azure-core;2.0.0-beta.1
552552
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
553553
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
554554
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
555+
unreleased_com.azure.resourcemanager:azure-resourcemanager-appservice;2.54.0
555556

556557
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
557558
# version and set the version to the released beta. Released beta dependencies are only valid

sdk/appservice/azure-resourcemanager-appservice/CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Release History
22

3-
## 2.54.0-beta.1 (Unreleased)
3+
## 2.54.0 (2025-11-13)
44

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` of AppService to `2025-03-01`.
1210

1311
## 2.53.5 (2025-10-27)
1412

sdk/appservice/azure-resourcemanager-appservice/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
1818
<dependency>
1919
<groupId>com.azure.resourcemanager</groupId>
2020
<artifactId>azure-resourcemanager-appservice</artifactId>
21-
<version>2.53.1</version>
21+
<version>2.54.0</version>
2222
</dependency>
2323
```
2424
[//]: # ({x-version-update-end})

sdk/appservice/azure-resourcemanager-appservice/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/appservice/azure-resourcemanager-appservice",
5-
"Tag": "java/appservice/azure-resourcemanager-appservice_37e1ec95c1"
5+
"Tag": "java/appservice/azure-resourcemanager-appservice_575cc6ce97"
66
}

sdk/appservice/azure-resourcemanager-appservice/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.azure.resourcemanager</groupId>
1616
<artifactId>azure-resourcemanager-appservice</artifactId>
17-
<version>2.54.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-appservice;current} -->
17+
<version>2.54.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-appservice;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for App Service Management</name>

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

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionInner;
2020
import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionKeyInner;
2121
import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionLimitsInner;
22+
import com.azure.resourcemanager.appservice.fluent.models.OperationInner;
23+
import com.azure.resourcemanager.appservice.fluent.models.ServerFarmInstanceDetailsInner;
24+
import com.azure.resourcemanager.appservice.fluent.models.ServerFarmRdpDetailsInner;
2225
import com.azure.resourcemanager.appservice.fluent.models.SiteInner;
2326
import com.azure.resourcemanager.appservice.fluent.models.VnetGatewayInner;
2427
import com.azure.resourcemanager.appservice.fluent.models.VnetInfoResourceInner;
@@ -547,6 +550,73 @@ Response<List<CapabilityInner>> listCapabilitiesWithResponse(String resourceGrou
547550
@ServiceMethod(returns = ReturnType.SINGLE)
548551
List<CapabilityInner> listCapabilities(String resourceGroupName, String name);
549552

553+
/**
554+
* Get the RDP password for an IsCustomMode ServerFarm.
555+
*
556+
* Description for Get the RDP password for an IsCustomMode ServerFarm.
557+
*
558+
* @param resourceGroupName Name of the resource group to which the resource belongs.
559+
* @param name Name of the App Service plan.
560+
* @throws IllegalArgumentException thrown if parameters fail the validation.
561+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
562+
* rejected by server.
563+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
564+
* @return server Farm RDP connection details along with {@link Response} on successful completion of {@link Mono}.
565+
*/
566+
@ServiceMethod(returns = ReturnType.SINGLE)
567+
Mono<Response<ServerFarmRdpDetailsInner>> getServerFarmRdpPasswordWithResponseAsync(String resourceGroupName,
568+
String name);
569+
570+
/**
571+
* Get the RDP password for an IsCustomMode ServerFarm.
572+
*
573+
* Description for Get the RDP password for an IsCustomMode ServerFarm.
574+
*
575+
* @param resourceGroupName Name of the resource group to which the resource belongs.
576+
* @param name Name of the App Service plan.
577+
* @throws IllegalArgumentException thrown if parameters fail the validation.
578+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
579+
* rejected by server.
580+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
581+
* @return server Farm RDP connection details on successful completion of {@link Mono}.
582+
*/
583+
@ServiceMethod(returns = ReturnType.SINGLE)
584+
Mono<ServerFarmRdpDetailsInner> getServerFarmRdpPasswordAsync(String resourceGroupName, String name);
585+
586+
/**
587+
* Get the RDP password for an IsCustomMode ServerFarm.
588+
*
589+
* Description for Get the RDP password for an IsCustomMode ServerFarm.
590+
*
591+
* @param resourceGroupName Name of the resource group to which the resource belongs.
592+
* @param name Name of the App Service plan.
593+
* @param context The context to associate with this operation.
594+
* @throws IllegalArgumentException thrown if parameters fail the validation.
595+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
596+
* rejected by server.
597+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
598+
* @return server Farm RDP connection details along with {@link Response}.
599+
*/
600+
@ServiceMethod(returns = ReturnType.SINGLE)
601+
Response<ServerFarmRdpDetailsInner> getServerFarmRdpPasswordWithResponse(String resourceGroupName, String name,
602+
Context context);
603+
604+
/**
605+
* Get the RDP password for an IsCustomMode ServerFarm.
606+
*
607+
* Description for Get the RDP password for an IsCustomMode ServerFarm.
608+
*
609+
* @param resourceGroupName Name of the resource group to which the resource belongs.
610+
* @param name Name of the App Service plan.
611+
* @throws IllegalArgumentException thrown if parameters fail the validation.
612+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
613+
* rejected by server.
614+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
615+
* @return server Farm RDP connection details.
616+
*/
617+
@ServiceMethod(returns = ReturnType.SINGLE)
618+
ServerFarmRdpDetailsInner getServerFarmRdpPassword(String resourceGroupName, String name);
619+
550620
/**
551621
* Retrieve a Hybrid Connection in use in an App Service plan.
552622
*
@@ -950,6 +1020,74 @@ Response<HybridConnectionLimitsInner> getHybridConnectionPlanLimitWithResponse(S
9501020
@ServiceMethod(returns = ReturnType.COLLECTION)
9511021
PagedIterable<HybridConnectionInner> listHybridConnections(String resourceGroupName, String name, Context context);
9521022

1023+
/**
1024+
* Get the instance details for an app service plan.
1025+
*
1026+
* Description for Get the instance details for an app service plan.
1027+
*
1028+
* @param resourceGroupName Name of the resource group to which the resource belongs.
1029+
* @param name Name of the App Service plan.
1030+
* @throws IllegalArgumentException thrown if parameters fail the validation.
1031+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
1032+
* rejected by server.
1033+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1034+
* @return represents instance details for an app service plan along with {@link Response} on successful completion
1035+
* of {@link Mono}.
1036+
*/
1037+
@ServiceMethod(returns = ReturnType.SINGLE)
1038+
Mono<Response<ServerFarmInstanceDetailsInner>>
1039+
getServerFarmInstanceDetailsWithResponseAsync(String resourceGroupName, String name);
1040+
1041+
/**
1042+
* Get the instance details for an app service plan.
1043+
*
1044+
* Description for Get the instance details for an app service plan.
1045+
*
1046+
* @param resourceGroupName Name of the resource group to which the resource belongs.
1047+
* @param name Name of the App Service plan.
1048+
* @throws IllegalArgumentException thrown if parameters fail the validation.
1049+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
1050+
* rejected by server.
1051+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1052+
* @return represents instance details for an app service plan on successful completion of {@link Mono}.
1053+
*/
1054+
@ServiceMethod(returns = ReturnType.SINGLE)
1055+
Mono<ServerFarmInstanceDetailsInner> getServerFarmInstanceDetailsAsync(String resourceGroupName, String name);
1056+
1057+
/**
1058+
* Get the instance details for an app service plan.
1059+
*
1060+
* Description for Get the instance details for an app service plan.
1061+
*
1062+
* @param resourceGroupName Name of the resource group to which the resource belongs.
1063+
* @param name Name of the App Service plan.
1064+
* @param context The context to associate with this operation.
1065+
* @throws IllegalArgumentException thrown if parameters fail the validation.
1066+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
1067+
* rejected by server.
1068+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1069+
* @return represents instance details for an app service plan along with {@link Response}.
1070+
*/
1071+
@ServiceMethod(returns = ReturnType.SINGLE)
1072+
Response<ServerFarmInstanceDetailsInner> getServerFarmInstanceDetailsWithResponse(String resourceGroupName,
1073+
String name, Context context);
1074+
1075+
/**
1076+
* Get the instance details for an app service plan.
1077+
*
1078+
* Description for Get the instance details for an app service plan.
1079+
*
1080+
* @param resourceGroupName Name of the resource group to which the resource belongs.
1081+
* @param name Name of the App Service plan.
1082+
* @throws IllegalArgumentException thrown if parameters fail the validation.
1083+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
1084+
* rejected by server.
1085+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1086+
* @return represents instance details for an app service plan.
1087+
*/
1088+
@ServiceMethod(returns = ReturnType.SINGLE)
1089+
ServerFarmInstanceDetailsInner getServerFarmInstanceDetails(String resourceGroupName, String name);
1090+
9531091
/**
9541092
* Restart all apps in an App Service plan.
9551093
*
@@ -2024,4 +2162,75 @@ VnetRouteInner updateVnetRoute(String resourceGroupName, String name, String vne
20242162
*/
20252163
@ServiceMethod(returns = ReturnType.SINGLE)
20262164
void rebootWorker(String resourceGroupName, String name, String workerName);
2165+
2166+
/**
2167+
* Recycles a managed instance worker machine.
2168+
*
2169+
* Description for Recycles a managed instance worker machine.
2170+
*
2171+
* @param resourceGroupName Name of the resource group to which the resource belongs.
2172+
* @param name Name of the App Service plan.
2173+
* @param workerName Name of worker machine.
2174+
* @throws IllegalArgumentException thrown if parameters fail the validation.
2175+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
2176+
* rejected by server.
2177+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2178+
* @return an operation on a resource along with {@link Response} on successful completion of {@link Mono}.
2179+
*/
2180+
@ServiceMethod(returns = ReturnType.SINGLE)
2181+
Mono<Response<OperationInner>> recycleManagedInstanceWorkerWithResponseAsync(String resourceGroupName, String name,
2182+
String workerName);
2183+
2184+
/**
2185+
* Recycles a managed instance worker machine.
2186+
*
2187+
* Description for Recycles a managed instance worker machine.
2188+
*
2189+
* @param resourceGroupName Name of the resource group to which the resource belongs.
2190+
* @param name Name of the App Service plan.
2191+
* @param workerName Name of worker machine.
2192+
* @throws IllegalArgumentException thrown if parameters fail the validation.
2193+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
2194+
* rejected by server.
2195+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2196+
* @return an operation on a resource on successful completion of {@link Mono}.
2197+
*/
2198+
@ServiceMethod(returns = ReturnType.SINGLE)
2199+
Mono<OperationInner> recycleManagedInstanceWorkerAsync(String resourceGroupName, String name, String workerName);
2200+
2201+
/**
2202+
* Recycles a managed instance worker machine.
2203+
*
2204+
* Description for Recycles a managed instance worker machine.
2205+
*
2206+
* @param resourceGroupName Name of the resource group to which the resource belongs.
2207+
* @param name Name of the App Service plan.
2208+
* @param workerName Name of worker machine.
2209+
* @param context The context to associate with this operation.
2210+
* @throws IllegalArgumentException thrown if parameters fail the validation.
2211+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
2212+
* rejected by server.
2213+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2214+
* @return an operation on a resource along with {@link Response}.
2215+
*/
2216+
@ServiceMethod(returns = ReturnType.SINGLE)
2217+
Response<OperationInner> recycleManagedInstanceWorkerWithResponse(String resourceGroupName, String name,
2218+
String workerName, Context context);
2219+
2220+
/**
2221+
* Recycles a managed instance worker machine.
2222+
*
2223+
* Description for Recycles a managed instance worker machine.
2224+
*
2225+
* @param resourceGroupName Name of the resource group to which the resource belongs.
2226+
* @param name Name of the App Service plan.
2227+
* @param workerName Name of worker machine.
2228+
* @throws IllegalArgumentException thrown if parameters fail the validation.
2229+
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
2230+
* rejected by server.
2231+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2232+
* @return an operation on a resource.
2233+
*/
2234+
@ServiceMethod(returns = ReturnType.SINGLE)
2235+
OperationInner recycleManagedInstanceWorker(String resourceGroupName, String name, String workerName);
20272236
}

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,8 @@ Response<ResourceNameAvailabilityInner> checkNameAvailabilityWithResponse(Resour
606606
* support Xenon workers.
607607
* @param linuxDynamicWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions
608608
* that support Linux Consumption Workers.
609+
* @param customModeWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that
610+
* support App Service Plans with &lt;code&gt;IsCustomMode&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;.
609611
* @throws IllegalArgumentException thrown if parameters fail the validation.
610612
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
611613
* rejected by server.
@@ -614,7 +616,7 @@ Response<ResourceNameAvailabilityInner> checkNameAvailabilityWithResponse(Resour
614616
*/
615617
@ServiceMethod(returns = ReturnType.COLLECTION)
616618
PagedFlux<GeoRegionInner> listGeoRegionsAsync(SkuName sku, Boolean linuxWorkersEnabled, Boolean xenonWorkersEnabled,
617-
Boolean linuxDynamicWorkersEnabled);
619+
Boolean linuxDynamicWorkersEnabled, Boolean customModeWorkersEnabled);
618620

619621
/**
620622
* Get a list of available geographical regions.
@@ -654,6 +656,8 @@ PagedFlux<GeoRegionInner> listGeoRegionsAsync(SkuName sku, Boolean linuxWorkersE
654656
* support Xenon workers.
655657
* @param linuxDynamicWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions
656658
* that support Linux Consumption Workers.
659+
* @param customModeWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that
660+
* support App Service Plans with &lt;code&gt;IsCustomMode&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;.
657661
* @param context The context to associate with this operation.
658662
* @throws IllegalArgumentException thrown if parameters fail the validation.
659663
* @throws com.azure.resourcemanager.appservice.models.DefaultErrorResponseErrorException thrown if the request is
@@ -663,7 +667,7 @@ PagedFlux<GeoRegionInner> listGeoRegionsAsync(SkuName sku, Boolean linuxWorkersE
663667
*/
664668
@ServiceMethod(returns = ReturnType.COLLECTION)
665669
PagedIterable<GeoRegionInner> listGeoRegions(SkuName sku, Boolean linuxWorkersEnabled, Boolean xenonWorkersEnabled,
666-
Boolean linuxDynamicWorkersEnabled, Context context);
670+
Boolean linuxDynamicWorkersEnabled, Boolean customModeWorkersEnabled, Context context);
667671

668672
/**
669673
* List all apps that are assigned to a hostname.

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ public interface WebSiteManagementClient {
2525
*/
2626
String getEndpoint();
2727

28-
/**
29-
* Gets Api Version.
30-
*
31-
* @return the apiVersion value.
32-
*/
33-
String getApiVersion();
34-
3528
/**
3629
* Gets The HTTP pipeline to send requests through.
3730
*

0 commit comments

Comments
 (0)