|
19 | 19 | import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionInner; |
20 | 20 | import com.azure.resourcemanager.appservice.fluent.models.HybridConnectionKeyInner; |
21 | 21 | 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; |
22 | 25 | import com.azure.resourcemanager.appservice.fluent.models.SiteInner; |
23 | 26 | import com.azure.resourcemanager.appservice.fluent.models.VnetGatewayInner; |
24 | 27 | import com.azure.resourcemanager.appservice.fluent.models.VnetInfoResourceInner; |
@@ -547,6 +550,73 @@ Response<List<CapabilityInner>> listCapabilitiesWithResponse(String resourceGrou |
547 | 550 | @ServiceMethod(returns = ReturnType.SINGLE) |
548 | 551 | List<CapabilityInner> listCapabilities(String resourceGroupName, String name); |
549 | 552 |
|
| 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 | + |
550 | 620 | /** |
551 | 621 | * Retrieve a Hybrid Connection in use in an App Service plan. |
552 | 622 | * |
@@ -950,6 +1020,74 @@ Response<HybridConnectionLimitsInner> getHybridConnectionPlanLimitWithResponse(S |
950 | 1020 | @ServiceMethod(returns = ReturnType.COLLECTION) |
951 | 1021 | PagedIterable<HybridConnectionInner> listHybridConnections(String resourceGroupName, String name, Context context); |
952 | 1022 |
|
| 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 | + |
953 | 1091 | /** |
954 | 1092 | * Restart all apps in an App Service plan. |
955 | 1093 | * |
@@ -2024,4 +2162,75 @@ VnetRouteInner updateVnetRoute(String resourceGroupName, String name, String vne |
2024 | 2162 | */ |
2025 | 2163 | @ServiceMethod(returns = ReturnType.SINGLE) |
2026 | 2164 | 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); |
2027 | 2236 | } |
0 commit comments