diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 04d455d0882fb..b1c28db54a3cd 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -313,6 +313,7 @@ com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.1;1.0.0-bet
com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-hybridnetwork;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-appservice-generated;1.0.0-beta.1;1.0.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
# version. Unreleased dependencies are only valid for dependency versions.
diff --git a/pom.xml b/pom.xml
index efe3902c0dbe0..6bdf8c17ee034 100644
--- a/pom.xml
+++ b/pom.xml
@@ -712,6 +712,7 @@
sdk/apimanagementsdk/appconfigurationsdk/applicationinsights
+ sdk/appservicesdk/attestationsdk/authorizationsdk/automation
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/CHANGELOG.md b/sdk/appservice/azure-resourcemanager-appservice-generated/CHANGELOG.md
new file mode 100644
index 0000000000000..9752a833bfe9e
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-08-24)
+
+- Azure Resource Manager AppService client library for Java. This package contains Microsoft Azure SDK for AppService Management SDK. WebSite Management Client. Package tag package-2021-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/README.md b/sdk/appservice/azure-resourcemanager-appservice-generated/README.md
new file mode 100644
index 0000000000000..d0f6f504723ee
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/README.md
@@ -0,0 +1,101 @@
+# Azure Resource Manager AppService client library for Java
+
+Azure Resource Manager AppService client library for Java.
+
+This package contains Microsoft Azure SDK for AppService Management SDK. WebSite Management Client. Package tag package-2021-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## We'd love to hear your feedback
+
+We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
+
+If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
+
+Thank you in advance for your collaboration. We really appreciate your time!
+
+## Documentation
+
+Various documentation is available to help you get started
+
+- [API reference documentation][docs]
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-appservice-generated;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-appservice-generated
+ 1.0.0-beta.1
+
+```
+[//]: # ({x-version-update-end})
+
+### Include the recommended packages
+
+Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
+
+[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+
+### Authentication
+
+By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, `azure` client can be authenticated by following code:
+
+```java
+AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+TokenCredential credential = new DefaultAzureCredentialBuilder()
+ .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
+ .build();
+AppServiceManager manager = AppServiceManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
+[docs]: https://azure.github.io/azure-sdk-for-java/
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/pom.xml b/sdk/appservice/azure-resourcemanager-appservice-generated/pom.xml
new file mode 100644
index 0000000000000..4422adf170c7d
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/pom.xml
@@ -0,0 +1,86 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-appservice-generated
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for AppService Management
+ This package contains Microsoft Azure SDK for AppService Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. WebSite Management Client. Package tag package-2021-02.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.19.0
+
+
+ com.azure
+ azure-core-management
+ 1.4.0
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+ org.revapi
+ revapi-maven-plugin
+ 0.11.2
+
+
+
+
+ java.method.addedToInterface
+
+
+ true
+ .*
+ com\.azure\.resourcemanager(\.[^.]+)+\.fluent(\.[^.]+)*
+
+
+
+
+
+
+
+
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/AppServiceManager.java b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/AppServiceManager.java
new file mode 100644
index 0000000000000..967394e39f77c
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/AppServiceManager.java
@@ -0,0 +1,449 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appservice.generated;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appservice.generated.fluent.WebSiteManagementClient;
+import com.azure.resourcemanager.appservice.generated.implementation.AppServiceCertificateOrdersImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.AppServiceEnvironmentsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.AppServicePlansImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.CertificateOrdersDiagnosticsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.CertificateRegistrationProvidersImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.CertificatesImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.DeletedWebAppsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.DiagnosticsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.DomainRegistrationProvidersImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.DomainsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.GlobalsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.KubeEnvironmentsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.ProvidersImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.RecommendationsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.ResourceHealthMetadatasImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.ResourceProvidersImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.StaticSitesImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.TopLevelDomainsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.WebAppsImpl;
+import com.azure.resourcemanager.appservice.generated.implementation.WebSiteManagementClientBuilder;
+import com.azure.resourcemanager.appservice.generated.models.AppServiceCertificateOrders;
+import com.azure.resourcemanager.appservice.generated.models.AppServiceEnvironments;
+import com.azure.resourcemanager.appservice.generated.models.AppServicePlans;
+import com.azure.resourcemanager.appservice.generated.models.CertificateOrdersDiagnostics;
+import com.azure.resourcemanager.appservice.generated.models.CertificateRegistrationProviders;
+import com.azure.resourcemanager.appservice.generated.models.Certificates;
+import com.azure.resourcemanager.appservice.generated.models.DeletedWebApps;
+import com.azure.resourcemanager.appservice.generated.models.Diagnostics;
+import com.azure.resourcemanager.appservice.generated.models.DomainRegistrationProviders;
+import com.azure.resourcemanager.appservice.generated.models.Domains;
+import com.azure.resourcemanager.appservice.generated.models.Globals;
+import com.azure.resourcemanager.appservice.generated.models.KubeEnvironments;
+import com.azure.resourcemanager.appservice.generated.models.Providers;
+import com.azure.resourcemanager.appservice.generated.models.Recommendations;
+import com.azure.resourcemanager.appservice.generated.models.ResourceHealthMetadatas;
+import com.azure.resourcemanager.appservice.generated.models.ResourceProviders;
+import com.azure.resourcemanager.appservice.generated.models.StaticSites;
+import com.azure.resourcemanager.appservice.generated.models.TopLevelDomains;
+import com.azure.resourcemanager.appservice.generated.models.WebApps;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to AppServiceManager. WebSite Management Client. */
+public final class AppServiceManager {
+ private AppServiceCertificateOrders appServiceCertificateOrders;
+
+ private CertificateOrdersDiagnostics certificateOrdersDiagnostics;
+
+ private CertificateRegistrationProviders certificateRegistrationProviders;
+
+ private Domains domains;
+
+ private TopLevelDomains topLevelDomains;
+
+ private DomainRegistrationProviders domainRegistrationProviders;
+
+ private AppServiceEnvironments appServiceEnvironments;
+
+ private AppServicePlans appServicePlans;
+
+ private Certificates certificates;
+
+ private DeletedWebApps deletedWebApps;
+
+ private Diagnostics diagnostics;
+
+ private Globals globals;
+
+ private KubeEnvironments kubeEnvironments;
+
+ private Providers providers;
+
+ private Recommendations recommendations;
+
+ private ResourceHealthMetadatas resourceHealthMetadatas;
+
+ private ResourceProviders resourceProviders;
+
+ private StaticSites staticSites;
+
+ private WebApps webApps;
+
+ private final WebSiteManagementClient clientObject;
+
+ private AppServiceManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new WebSiteManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of AppService service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the AppService service API instance.
+ */
+ public static AppServiceManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ return configure().authenticate(credential, profile);
+ }
+
+ /**
+ * Gets a Configurable instance that can be used to create AppServiceManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new AppServiceManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private final List scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of AppService service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the AppService service API instance.
+ */
+ public AppServiceManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.appservice.generated")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.addAll(this.policies);
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new AppServiceManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of AppServiceCertificateOrders. */
+ public AppServiceCertificateOrders appServiceCertificateOrders() {
+ if (this.appServiceCertificateOrders == null) {
+ this.appServiceCertificateOrders =
+ new AppServiceCertificateOrdersImpl(clientObject.getAppServiceCertificateOrders(), this);
+ }
+ return appServiceCertificateOrders;
+ }
+
+ /** @return Resource collection API of CertificateOrdersDiagnostics. */
+ public CertificateOrdersDiagnostics certificateOrdersDiagnostics() {
+ if (this.certificateOrdersDiagnostics == null) {
+ this.certificateOrdersDiagnostics =
+ new CertificateOrdersDiagnosticsImpl(clientObject.getCertificateOrdersDiagnostics(), this);
+ }
+ return certificateOrdersDiagnostics;
+ }
+
+ /** @return Resource collection API of CertificateRegistrationProviders. */
+ public CertificateRegistrationProviders certificateRegistrationProviders() {
+ if (this.certificateRegistrationProviders == null) {
+ this.certificateRegistrationProviders =
+ new CertificateRegistrationProvidersImpl(clientObject.getCertificateRegistrationProviders(), this);
+ }
+ return certificateRegistrationProviders;
+ }
+
+ /** @return Resource collection API of Domains. */
+ public Domains domains() {
+ if (this.domains == null) {
+ this.domains = new DomainsImpl(clientObject.getDomains(), this);
+ }
+ return domains;
+ }
+
+ /** @return Resource collection API of TopLevelDomains. */
+ public TopLevelDomains topLevelDomains() {
+ if (this.topLevelDomains == null) {
+ this.topLevelDomains = new TopLevelDomainsImpl(clientObject.getTopLevelDomains(), this);
+ }
+ return topLevelDomains;
+ }
+
+ /** @return Resource collection API of DomainRegistrationProviders. */
+ public DomainRegistrationProviders domainRegistrationProviders() {
+ if (this.domainRegistrationProviders == null) {
+ this.domainRegistrationProviders =
+ new DomainRegistrationProvidersImpl(clientObject.getDomainRegistrationProviders(), this);
+ }
+ return domainRegistrationProviders;
+ }
+
+ /** @return Resource collection API of AppServiceEnvironments. */
+ public AppServiceEnvironments appServiceEnvironments() {
+ if (this.appServiceEnvironments == null) {
+ this.appServiceEnvironments =
+ new AppServiceEnvironmentsImpl(clientObject.getAppServiceEnvironments(), this);
+ }
+ return appServiceEnvironments;
+ }
+
+ /** @return Resource collection API of AppServicePlans. */
+ public AppServicePlans appServicePlans() {
+ if (this.appServicePlans == null) {
+ this.appServicePlans = new AppServicePlansImpl(clientObject.getAppServicePlans(), this);
+ }
+ return appServicePlans;
+ }
+
+ /** @return Resource collection API of Certificates. */
+ public Certificates certificates() {
+ if (this.certificates == null) {
+ this.certificates = new CertificatesImpl(clientObject.getCertificates(), this);
+ }
+ return certificates;
+ }
+
+ /** @return Resource collection API of DeletedWebApps. */
+ public DeletedWebApps deletedWebApps() {
+ if (this.deletedWebApps == null) {
+ this.deletedWebApps = new DeletedWebAppsImpl(clientObject.getDeletedWebApps(), this);
+ }
+ return deletedWebApps;
+ }
+
+ /** @return Resource collection API of Diagnostics. */
+ public Diagnostics diagnostics() {
+ if (this.diagnostics == null) {
+ this.diagnostics = new DiagnosticsImpl(clientObject.getDiagnostics(), this);
+ }
+ return diagnostics;
+ }
+
+ /** @return Resource collection API of Globals. */
+ public Globals globals() {
+ if (this.globals == null) {
+ this.globals = new GlobalsImpl(clientObject.getGlobals(), this);
+ }
+ return globals;
+ }
+
+ /** @return Resource collection API of KubeEnvironments. */
+ public KubeEnvironments kubeEnvironments() {
+ if (this.kubeEnvironments == null) {
+ this.kubeEnvironments = new KubeEnvironmentsImpl(clientObject.getKubeEnvironments(), this);
+ }
+ return kubeEnvironments;
+ }
+
+ /** @return Resource collection API of Providers. */
+ public Providers providers() {
+ if (this.providers == null) {
+ this.providers = new ProvidersImpl(clientObject.getProviders(), this);
+ }
+ return providers;
+ }
+
+ /** @return Resource collection API of Recommendations. */
+ public Recommendations recommendations() {
+ if (this.recommendations == null) {
+ this.recommendations = new RecommendationsImpl(clientObject.getRecommendations(), this);
+ }
+ return recommendations;
+ }
+
+ /** @return Resource collection API of ResourceHealthMetadatas. */
+ public ResourceHealthMetadatas resourceHealthMetadatas() {
+ if (this.resourceHealthMetadatas == null) {
+ this.resourceHealthMetadatas =
+ new ResourceHealthMetadatasImpl(clientObject.getResourceHealthMetadatas(), this);
+ }
+ return resourceHealthMetadatas;
+ }
+
+ /** @return Resource collection API of ResourceProviders. */
+ public ResourceProviders resourceProviders() {
+ if (this.resourceProviders == null) {
+ this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
+ }
+ return resourceProviders;
+ }
+
+ /** @return Resource collection API of StaticSites. */
+ public StaticSites staticSites() {
+ if (this.staticSites == null) {
+ this.staticSites = new StaticSitesImpl(clientObject.getStaticSites(), this);
+ }
+ return staticSites;
+ }
+
+ /** @return Resource collection API of WebApps. */
+ public WebApps webApps() {
+ if (this.webApps == null) {
+ this.webApps = new WebAppsImpl(clientObject.getWebApps(), this);
+ }
+ return webApps;
+ }
+
+ /**
+ * @return Wrapped service client WebSiteManagementClient providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ */
+ public WebSiteManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceCertificateOrdersClient.java b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceCertificateOrdersClient.java
new file mode 100644
index 0000000000000..17747f8ea6acc
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceCertificateOrdersClient.java
@@ -0,0 +1,770 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appservice.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AppServiceCertificateOrderInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AppServiceCertificateResourceInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.CertificateEmailInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.CertificateOrderActionInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.NameIdentifierInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.SiteSealInner;
+import com.azure.resourcemanager.appservice.generated.models.AppServiceCertificateOrderPatchResource;
+import com.azure.resourcemanager.appservice.generated.models.AppServiceCertificatePatchResource;
+import com.azure.resourcemanager.appservice.generated.models.ReissueCertificateOrderRequest;
+import com.azure.resourcemanager.appservice.generated.models.RenewCertificateOrderRequest;
+import com.azure.resourcemanager.appservice.generated.models.SiteSealRequest;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in AppServiceCertificateOrdersClient. */
+public interface AppServiceCertificateOrdersClient {
+ /**
+ * Description for List all certificate orders in a subscription.
+ *
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate orders.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Description for List all certificate orders in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate orders.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Description for Validate information for a certificate order.
+ *
+ * @param appServiceCertificateOrder Information for a certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void validatePurchaseInformation(AppServiceCertificateOrderInner appServiceCertificateOrder);
+
+ /**
+ * Description for Validate information for a certificate order.
+ *
+ * @param appServiceCertificateOrder Information for a certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validatePurchaseInformationWithResponse(
+ AppServiceCertificateOrderInner appServiceCertificateOrder, Context context);
+
+ /**
+ * Description for Get certificate orders in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate orders.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Description for Get certificate orders in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate orders.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Description for Get a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order..
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateOrderInner getByResourceGroup(String resourceGroupName, String certificateOrderName);
+
+ /**
+ * Description for Get a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order..
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String certificateOrderName, Context context);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceCertificateOrderInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderInner certificateDistinguishedName);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceCertificateOrderInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderInner certificateDistinguishedName,
+ Context context);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateOrderInner createOrUpdate(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderInner certificateDistinguishedName);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateOrderInner createOrUpdate(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderInner certificateDistinguishedName,
+ Context context);
+
+ /**
+ * Description for Delete an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String certificateOrderName);
+
+ /**
+ * Description for Delete an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String certificateOrderName, Context context);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateOrderInner update(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderPatchResource certificateDistinguishedName);
+
+ /**
+ * Description for Create or update a certificate purchase order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sSL certificate purchase order.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String certificateOrderName,
+ AppServiceCertificateOrderPatchResource certificateDistinguishedName,
+ Context context);
+
+ /**
+ * Description for List all certificates associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate order certificates.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCertificates(
+ String resourceGroupName, String certificateOrderName);
+
+ /**
+ * Description for List all certificates associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of certificate order certificates.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCertificates(
+ String resourceGroupName, String certificateOrderName, Context context);
+
+ /**
+ * Description for Get the certificate associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateResourceInner getCertificate(
+ String resourceGroupName, String certificateOrderName, String name);
+
+ /**
+ * Description for Get the certificate associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getCertificateWithResponse(
+ String resourceGroupName, String certificateOrderName, String name, Context context);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceCertificateResourceInner>
+ beginCreateOrUpdateCertificate(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificateResourceInner keyVaultCertificate);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceCertificateResourceInner>
+ beginCreateOrUpdateCertificate(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificateResourceInner keyVaultCertificate,
+ Context context);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateResourceInner createOrUpdateCertificate(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificateResourceInner keyVaultCertificate);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateResourceInner createOrUpdateCertificate(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificateResourceInner keyVaultCertificate,
+ Context context);
+
+ /**
+ * Description for Delete the certificate associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteCertificate(String resourceGroupName, String certificateOrderName, String name);
+
+ /**
+ * Description for Delete the certificate associated with a certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteCertificateWithResponse(
+ String resourceGroupName, String certificateOrderName, String name, Context context);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceCertificateResourceInner updateCertificate(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificatePatchResource keyVaultCertificate);
+
+ /**
+ * Description for Creates or updates a certificate and associates with key vault secret.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param name Name of the certificate.
+ * @param keyVaultCertificate Key vault certificate resource Id.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return key Vault container ARM resource for a certificate that is purchased through Azure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateCertificateWithResponse(
+ String resourceGroupName,
+ String certificateOrderName,
+ String name,
+ AppServiceCertificatePatchResource keyVaultCertificate,
+ Context context);
+
+ /**
+ * Description for Reissue an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param reissueCertificateOrderRequest Parameters for the reissue.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void reissue(
+ String resourceGroupName,
+ String certificateOrderName,
+ ReissueCertificateOrderRequest reissueCertificateOrderRequest);
+
+ /**
+ * Description for Reissue an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param reissueCertificateOrderRequest Parameters for the reissue.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response reissueWithResponse(
+ String resourceGroupName,
+ String certificateOrderName,
+ ReissueCertificateOrderRequest reissueCertificateOrderRequest,
+ Context context);
+
+ /**
+ * Description for Renew an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param renewCertificateOrderRequest Renew parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void renew(
+ String resourceGroupName,
+ String certificateOrderName,
+ RenewCertificateOrderRequest renewCertificateOrderRequest);
+
+ /**
+ * Description for Renew an existing certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param renewCertificateOrderRequest Renew parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response renewWithResponse(
+ String resourceGroupName,
+ String certificateOrderName,
+ RenewCertificateOrderRequest renewCertificateOrderRequest,
+ Context context);
+
+ /**
+ * Description for Resend certificate email.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void resendEmail(String resourceGroupName, String certificateOrderName);
+
+ /**
+ * Description for Resend certificate email.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response resendEmailWithResponse(String resourceGroupName, String certificateOrderName, Context context);
+
+ /**
+ * Resend domain verification ownership email containing steps on how to verify a domain for a given certificate
+ * order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param nameIdentifier Email address.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void resendRequestEmails(String resourceGroupName, String certificateOrderName, NameIdentifierInner nameIdentifier);
+
+ /**
+ * Resend domain verification ownership email containing steps on how to verify a domain for a given certificate
+ * order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param nameIdentifier Email address.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response resendRequestEmailsWithResponse(
+ String resourceGroupName, String certificateOrderName, NameIdentifierInner nameIdentifier, Context context);
+
+ /**
+ * This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that
+ * the certificate purchaser can embed on their web site to show their visitors information about their SSL
+ * certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains
+ * detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image
+ * to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal
+ * images are expected to be static images and hosted by the reseller, to minimize delays for customer page load
+ * times.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param siteSealRequest Site seal request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return site seal.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SiteSealInner retrieveSiteSeal(
+ String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest);
+
+ /**
+ * This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that
+ * the certificate purchaser can embed on their web site to show their visitors information about their SSL
+ * certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains
+ * detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image
+ * to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal
+ * images are expected to be static images and hosted by the reseller, to minimize delays for customer page load
+ * times.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param siteSealRequest Site seal request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return site seal.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response retrieveSiteSealWithResponse(
+ String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest, Context context);
+
+ /**
+ * Description for Verify domain ownership for this certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void verifyDomainOwnership(String resourceGroupName, String certificateOrderName);
+
+ /**
+ * Description for Verify domain ownership for this certificate order.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param certificateOrderName Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response verifyDomainOwnershipWithResponse(
+ String resourceGroupName, String certificateOrderName, Context context);
+
+ /**
+ * Description for Retrieve the list of certificate actions.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of CertificateOrderAction.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ List retrieveCertificateActions(String resourceGroupName, String name);
+
+ /**
+ * Description for Retrieve the list of certificate actions.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of CertificateOrderAction.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response> retrieveCertificateActionsWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Retrieve email history.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the certificate order.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of CertificateEmail.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ List retrieveCertificateEmailHistory(String resourceGroupName, String name);
+
+ /**
+ * Description for Retrieve email history.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the certificate order.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of CertificateEmail.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response> retrieveCertificateEmailHistoryWithResponse(
+ String resourceGroupName, String name, Context context);
+}
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceEnvironmentsClient.java b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceEnvironmentsClient.java
new file mode 100644
index 0000000000000..ed45a447f2bd3
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServiceEnvironmentsClient.java
@@ -0,0 +1,1632 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appservice.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AddressResponseInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AppServiceEnvironmentResourceInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AppServicePlanInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AseV3NetworkingConfigurationInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.CsmUsageQuotaInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.HostingEnvironmentDiagnosticsInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.InboundEnvironmentEndpointInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.OperationInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.OutboundEnvironmentEndpointInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.PrivateLinkResourcesWrapperInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.RemotePrivateEndpointConnectionArmResourceInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.ResourceMetricDefinitionInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.SiteInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.SkuInfoInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.StampCapacityInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.UsageInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.WorkerPoolResourceInner;
+import com.azure.resourcemanager.appservice.generated.models.AppServiceEnvironmentPatchResource;
+import com.azure.resourcemanager.appservice.generated.models.PrivateLinkConnectionApprovalRequestResource;
+import com.azure.resourcemanager.appservice.generated.models.VirtualNetworkProfile;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in AppServiceEnvironmentsClient. */
+public interface AppServiceEnvironmentsClient {
+ /**
+ * Description for Get all App Service Environments for a subscription.
+ *
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service Environments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Description for Get all App Service Environments for a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service Environments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Description for Get all App Service Environments in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service Environments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Description for Get all App Service Environments in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service Environments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Description for Get the properties of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceEnvironmentResourceInner getByResourceGroup(String resourceGroupName, String name);
+
+ /**
+ * Description for Get the properties of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceEnvironmentResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String name, AppServiceEnvironmentResourceInner hostingEnvironmentEnvelope);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServiceEnvironmentResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String name,
+ AppServiceEnvironmentResourceInner hostingEnvironmentEnvelope,
+ Context context);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceEnvironmentResourceInner createOrUpdate(
+ String resourceGroupName, String name, AppServiceEnvironmentResourceInner hostingEnvironmentEnvelope);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceEnvironmentResourceInner createOrUpdate(
+ String resourceGroupName,
+ String name,
+ AppServiceEnvironmentResourceInner hostingEnvironmentEnvelope,
+ Context context);
+
+ /**
+ * Description for Delete an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param forceDelete Specify <code>true</code> to force the deletion even if the App Service
+ * Environment contains resources. The default is <code>false</code>.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String name, Boolean forceDelete);
+
+ /**
+ * Description for Delete an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param forceDelete Specify <code>true</code> to force the deletion even if the App Service
+ * Environment contains resources. The default is <code>false</code>.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String name, Boolean forceDelete, Context context);
+
+ /**
+ * Description for Delete an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param forceDelete Specify <code>true</code> to force the deletion even if the App Service
+ * Environment contains resources. The default is <code>false</code>.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String name, Boolean forceDelete);
+
+ /**
+ * Description for Delete an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String name);
+
+ /**
+ * Description for Delete an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param forceDelete Specify <code>true</code> to force the deletion even if the App Service
+ * Environment contains resources. The default is <code>false</code>.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String name, Boolean forceDelete, Context context);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServiceEnvironmentResourceInner update(
+ String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope);
+
+ /**
+ * Description for Create or update an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String name,
+ AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope,
+ Context context);
+
+ /**
+ * Description for Get the used, available, and total worker capacity an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of stamp capacities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCapacities(String resourceGroupName, String name);
+
+ /**
+ * Description for Get the used, available, and total worker capacity an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of stamp capacities.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCapacities(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get IP addresses assigned to an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return describes main public IP address and any extra virtual IPs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AddressResponseInner getVipInfo(String resourceGroupName, String name);
+
+ /**
+ * Description for Get IP addresses assigned to an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return describes main public IP address and any extra virtual IPs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getVipInfoWithResponse(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Move an App Service Environment to a different VNET.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param vnetInfo Details for the new virtual network.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable changeVnet(String resourceGroupName, String name, VirtualNetworkProfile vnetInfo);
+
+ /**
+ * Description for Move an App Service Environment to a different VNET.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param vnetInfo Details for the new virtual network.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable changeVnet(
+ String resourceGroupName, String name, VirtualNetworkProfile vnetInfo, Context context);
+
+ /**
+ * Description for Get networking configuration of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return full view of networking configuration for an ASE.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AseV3NetworkingConfigurationInner getAseV3NetworkingConfiguration(String resourceGroupName, String name);
+
+ /**
+ * Description for Get networking configuration of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return full view of networking configuration for an ASE.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getAseV3NetworkingConfigurationWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Update networking configuration of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param aseNetworkingConfiguration Full view of networking configuration for an ASE.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return full view of networking configuration for an ASE.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AseV3NetworkingConfigurationInner updateAseNetworkingConfiguration(
+ String resourceGroupName, String name, AseV3NetworkingConfigurationInner aseNetworkingConfiguration);
+
+ /**
+ * Description for Update networking configuration of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param aseNetworkingConfiguration Full view of networking configuration for an ASE.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return full view of networking configuration for an ASE.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateAseNetworkingConfigurationWithResponse(
+ String resourceGroupName,
+ String name,
+ AseV3NetworkingConfigurationInner aseNetworkingConfiguration,
+ Context context);
+
+ /**
+ * Description for Get diagnostic information for an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of HostingEnvironmentDiagnostics.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ List listDiagnostics(String resourceGroupName, String name);
+
+ /**
+ * Description for Get diagnostic information for an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of HostingEnvironmentDiagnostics.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response> listDiagnosticsWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get a diagnostics item for an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param diagnosticsName Name of the diagnostics item.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return diagnostics for an App Service Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HostingEnvironmentDiagnosticsInner getDiagnosticsItem(
+ String resourceGroupName, String name, String diagnosticsName);
+
+ /**
+ * Description for Get a diagnostics item for an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param diagnosticsName Name of the diagnostics item.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return diagnostics for an App Service Environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getDiagnosticsItemWithResponse(
+ String resourceGroupName, String name, String diagnosticsName, Context context);
+
+ /**
+ * Description for Get the network endpoints of all inbound dependencies of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of Inbound Environment Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getInboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String name);
+
+ /**
+ * Description for Get the network endpoints of all inbound dependencies of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of Inbound Environment Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getInboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get all multi-role pools.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of worker pools.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePools(String resourceGroupName, String name);
+
+ /**
+ * Description for Get all multi-role pools.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of worker pools.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePools(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get properties of a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner getMultiRolePool(String resourceGroupName, String name);
+
+ /**
+ * Description for Get properties of a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getMultiRolePoolWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WorkerPoolResourceInner> beginCreateOrUpdateMultiRolePool(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WorkerPoolResourceInner> beginCreateOrUpdateMultiRolePool(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope, Context context);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner createOrUpdateMultiRolePool(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner createOrUpdateMultiRolePool(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope, Context context);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner updateMultiRolePool(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope);
+
+ /**
+ * Description for Create or update a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param multiRolePoolEnvelope Properties of the multi-role pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateMultiRolePoolWithResponse(
+ String resourceGroupName, String name, WorkerPoolResourceInner multiRolePoolEnvelope, Context context);
+
+ /**
+ * Description for Get metric definitions for a specific instance of a multi-role pool of an App Service
+ * Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param instance Name of the instance in the multi-role pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePoolInstanceMetricDefinitions(
+ String resourceGroupName, String name, String instance);
+
+ /**
+ * Description for Get metric definitions for a specific instance of a multi-role pool of an App Service
+ * Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param instance Name of the instance in the multi-role pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePoolInstanceMetricDefinitions(
+ String resourceGroupName, String name, String instance, Context context);
+
+ /**
+ * Description for Get metric definitions for a multi-role pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRoleMetricDefinitions(String resourceGroupName, String name);
+
+ /**
+ * Description for Get metric definitions for a multi-role pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRoleMetricDefinitions(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get available SKUs for scaling a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of SKU information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePoolSkus(String resourceGroupName, String name);
+
+ /**
+ * Description for Get available SKUs for scaling a multi-role pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of SKU information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRolePoolSkus(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get usage metrics for a multi-role pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of usages.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRoleUsages(String resourceGroupName, String name);
+
+ /**
+ * Description for Get usage metrics for a multi-role pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of usages.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listMultiRoleUsages(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for List all currently running operations on the App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of Operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ List listOperations(String resourceGroupName, String name);
+
+ /**
+ * Description for List all currently running operations on the App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of Operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response> listOperationsWithResponse(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get the network endpoints of all outbound dependencies of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of Outbound Environment Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String name);
+
+ /**
+ * Description for Get the network endpoints of all outbound dependencies of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of Outbound Environment Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Gets the list of private endpoints associated with a hosting environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getPrivateEndpointConnectionList(
+ String resourceGroupName, String name);
+
+ /**
+ * Description for Gets the list of private endpoints associated with a hosting environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable getPrivateEndpointConnectionList(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Gets a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName Name of the private endpoint connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RemotePrivateEndpointConnectionArmResourceInner getPrivateEndpointConnection(
+ String resourceGroupName, String name, String privateEndpointConnectionName);
+
+ /**
+ * Description for Gets a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName Name of the private endpoint connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getPrivateEndpointConnectionWithResponse(
+ String resourceGroupName, String name, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Description for Approves or rejects a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller<
+ PollResult,
+ RemotePrivateEndpointConnectionArmResourceInner>
+ beginApproveOrRejectPrivateEndpointConnection(
+ String resourceGroupName,
+ String name,
+ String privateEndpointConnectionName,
+ PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper);
+
+ /**
+ * Description for Approves or rejects a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller<
+ PollResult,
+ RemotePrivateEndpointConnectionArmResourceInner>
+ beginApproveOrRejectPrivateEndpointConnection(
+ String resourceGroupName,
+ String name,
+ String privateEndpointConnectionName,
+ PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper,
+ Context context);
+
+ /**
+ * Description for Approves or rejects a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RemotePrivateEndpointConnectionArmResourceInner approveOrRejectPrivateEndpointConnection(
+ String resourceGroupName,
+ String name,
+ String privateEndpointConnectionName,
+ PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper);
+
+ /**
+ * Description for Approves or rejects a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return remote Private Endpoint Connection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RemotePrivateEndpointConnectionArmResourceInner approveOrRejectPrivateEndpointConnection(
+ String resourceGroupName,
+ String name,
+ String privateEndpointConnectionName,
+ PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper,
+ Context context);
+
+ /**
+ * Description for Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Object> beginDeletePrivateEndpointConnection(
+ String resourceGroupName, String name, String privateEndpointConnectionName);
+
+ /**
+ * Description for Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Object> beginDeletePrivateEndpointConnection(
+ String resourceGroupName, String name, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Description for Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Object deletePrivateEndpointConnection(String resourceGroupName, String name, String privateEndpointConnectionName);
+
+ /**
+ * Description for Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param privateEndpointConnectionName The privateEndpointConnectionName parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Object deletePrivateEndpointConnection(
+ String resourceGroupName, String name, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Description for Gets the private link resources.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return wrapper for a collection of private link resources.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateLinkResourcesWrapperInner getPrivateLinkResources(String resourceGroupName, String name);
+
+ /**
+ * Description for Gets the private link resources.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return wrapper for a collection of private link resources.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getPrivateLinkResourcesWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Reboot all machines in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void reboot(String resourceGroupName, String name);
+
+ /**
+ * Description for Reboot all machines in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response rebootWithResponse(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Resume an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable resume(String resourceGroupName, String name);
+
+ /**
+ * Description for Resume an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable resume(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get all App Service plans in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAppServicePlans(String resourceGroupName, String name);
+
+ /**
+ * Description for Get all App Service plans in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAppServicePlans(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get all apps in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebApps(String resourceGroupName, String name);
+
+ /**
+ * Description for Get all apps in an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param propertiesToInclude Comma separated list of app properties to include.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebApps(
+ String resourceGroupName, String name, String propertiesToInclude, Context context);
+
+ /**
+ * Description for Suspend an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable suspend(String resourceGroupName, String name);
+
+ /**
+ * Description for Suspend an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable suspend(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get global usage metrics of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of CSM usage quotas.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listUsages(String resourceGroupName, String name);
+
+ /**
+ * Description for Get global usage metrics of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example:
+ * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and
+ * endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of CSM usage quotas.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listUsages(String resourceGroupName, String name, String filter, Context context);
+
+ /**
+ * Description for Get all worker pools of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of worker pools.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPools(String resourceGroupName, String name);
+
+ /**
+ * Description for Get all worker pools of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of worker pools.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPools(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Get properties of a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner getWorkerPool(String resourceGroupName, String name, String workerPoolName);
+
+ /**
+ * Description for Get properties of a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWorkerPoolWithResponse(
+ String resourceGroupName, String name, String workerPoolName, Context context);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WorkerPoolResourceInner> beginCreateOrUpdateWorkerPool(
+ String resourceGroupName, String name, String workerPoolName, WorkerPoolResourceInner workerPoolEnvelope);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WorkerPoolResourceInner> beginCreateOrUpdateWorkerPool(
+ String resourceGroupName,
+ String name,
+ String workerPoolName,
+ WorkerPoolResourceInner workerPoolEnvelope,
+ Context context);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner createOrUpdateWorkerPool(
+ String resourceGroupName, String name, String workerPoolName, WorkerPoolResourceInner workerPoolEnvelope);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner createOrUpdateWorkerPool(
+ String resourceGroupName,
+ String name,
+ String workerPoolName,
+ WorkerPoolResourceInner workerPoolEnvelope,
+ Context context);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkerPoolResourceInner updateWorkerPool(
+ String resourceGroupName, String name, String workerPoolName, WorkerPoolResourceInner workerPoolEnvelope);
+
+ /**
+ * Description for Create or update a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param workerPoolEnvelope Properties of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return worker pool of an App Service Environment ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWorkerPoolWithResponse(
+ String resourceGroupName,
+ String name,
+ String workerPoolName,
+ WorkerPoolResourceInner workerPoolEnvelope,
+ Context context);
+
+ /**
+ * Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param instance Name of the instance in the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPoolInstanceMetricDefinitions(
+ String resourceGroupName, String name, String workerPoolName, String instance);
+
+ /**
+ * Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param instance Name of the instance in the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPoolInstanceMetricDefinitions(
+ String resourceGroupName, String name, String workerPoolName, String instance, Context context);
+
+ /**
+ * Description for Get metric definitions for a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebWorkerMetricDefinitions(
+ String resourceGroupName, String name, String workerPoolName);
+
+ /**
+ * Description for Get metric definitions for a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of metric definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebWorkerMetricDefinitions(
+ String resourceGroupName, String name, String workerPoolName, Context context);
+
+ /**
+ * Description for Get available SKUs for scaling a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of SKU information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPoolSkus(String resourceGroupName, String name, String workerPoolName);
+
+ /**
+ * Description for Get available SKUs for scaling a worker pool.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of SKU information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkerPoolSkus(
+ String resourceGroupName, String name, String workerPoolName, Context context);
+
+ /**
+ * Description for Get usage metrics for a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of usages.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebWorkerUsages(String resourceGroupName, String name, String workerPoolName);
+
+ /**
+ * Description for Get usage metrics for a worker pool of an App Service Environment.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service Environment.
+ * @param workerPoolName Name of the worker pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of usages.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebWorkerUsages(
+ String resourceGroupName, String name, String workerPoolName, Context context);
+}
diff --git a/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServicePlansClient.java b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServicePlansClient.java
new file mode 100644
index 0000000000000..f14c0ebc02af9
--- /dev/null
+++ b/sdk/appservice/azure-resourcemanager-appservice-generated/src/main/java/com/azure/resourcemanager/appservice/generated/fluent/AppServicePlansClient.java
@@ -0,0 +1,933 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appservice.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appservice.generated.fluent.models.AppServicePlanInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.CapabilityInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.CsmUsageQuotaInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.HybridConnectionInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.HybridConnectionKeyInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.HybridConnectionLimitsInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.SiteInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.VnetGatewayInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.VnetInfoResourceInner;
+import com.azure.resourcemanager.appservice.generated.fluent.models.VnetRouteInner;
+import com.azure.resourcemanager.appservice.generated.models.AppServicePlanPatchResource;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in AppServicePlansClient. */
+public interface AppServicePlansClient {
+ /**
+ * Description for Get all App Service plans for a subscription.
+ *
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Description for Get all App Service plans for a subscription.
+ *
+ * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is
+ * <code>false</code>, which returns a subset of the properties. Retrieval of all properties may
+ * increase the API latency.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Boolean detailed, Context context);
+
+ /**
+ * Description for Get all App Service plans in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Description for Get all App Service plans in a resource group.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service plans.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Description for Get an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServicePlanInner getByResourceGroup(String resourceGroupName, String name);
+
+ /**
+ * Description for Get an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServicePlanInner> beginCreateOrUpdate(
+ String resourceGroupName, String name, AppServicePlanInner appServicePlan);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, AppServicePlanInner> beginCreateOrUpdate(
+ String resourceGroupName, String name, AppServicePlanInner appServicePlan, Context context);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServicePlanInner createOrUpdate(String resourceGroupName, String name, AppServicePlanInner appServicePlan);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServicePlanInner createOrUpdate(
+ String resourceGroupName, String name, AppServicePlanInner appServicePlan, Context context);
+
+ /**
+ * Description for Delete an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String name);
+
+ /**
+ * Description for Delete an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppServicePlanInner update(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan);
+
+ /**
+ * Description for Creates or updates an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param appServicePlan Details of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app Service plan.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan, Context context);
+
+ /**
+ * Description for List all capabilities of an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of Capability.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ List listCapabilities(String resourceGroupName, String name);
+
+ /**
+ * Description for List all capabilities of an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return array of Capability.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response> listCapabilitiesWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Retrieve a Hybrid Connection in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Service Bus namespace.
+ * @param relayName Name of the Service Bus relay.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HybridConnectionInner getHybridConnection(
+ String resourceGroupName, String name, String namespaceName, String relayName);
+
+ /**
+ * Description for Retrieve a Hybrid Connection in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Service Bus namespace.
+ * @param relayName Name of the Service Bus relay.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getHybridConnectionWithResponse(
+ String resourceGroupName, String name, String namespaceName, String relayName, Context context);
+
+ /**
+ * Description for Delete a Hybrid Connection in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Service Bus namespace.
+ * @param relayName Name of the Service Bus relay.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteHybridConnection(String resourceGroupName, String name, String namespaceName, String relayName);
+
+ /**
+ * Description for Delete a Hybrid Connection in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Service Bus namespace.
+ * @param relayName Name of the Service Bus relay.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteHybridConnectionWithResponse(
+ String resourceGroupName, String name, String namespaceName, String relayName, Context context);
+
+ /**
+ * Description for Get the send key name and value of a Hybrid Connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName The name of the Service Bus namespace.
+ * @param relayName The name of the Service Bus relay.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection key contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HybridConnectionKeyInner listHybridConnectionKeys(
+ String resourceGroupName, String name, String namespaceName, String relayName);
+
+ /**
+ * Description for Get the send key name and value of a Hybrid Connection.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName The name of the Service Bus namespace.
+ * @param relayName The name of the Service Bus relay.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection key contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listHybridConnectionKeysWithResponse(
+ String resourceGroupName, String name, String namespaceName, String relayName, Context context);
+
+ /**
+ * Description for Get all apps that use a Hybrid Connection in an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Hybrid Connection namespace.
+ * @param relayName Name of the Hybrid Connection relay.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of resources.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebAppsByHybridConnection(
+ String resourceGroupName, String name, String namespaceName, String relayName);
+
+ /**
+ * Description for Get all apps that use a Hybrid Connection in an App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param namespaceName Name of the Hybrid Connection namespace.
+ * @param relayName Name of the Hybrid Connection relay.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of resources.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebAppsByHybridConnection(
+ String resourceGroupName, String name, String namespaceName, String relayName, Context context);
+
+ /**
+ * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection limits contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HybridConnectionLimitsInner getHybridConnectionPlanLimit(String resourceGroupName, String name);
+
+ /**
+ * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return hybrid Connection limits contract.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getHybridConnectionPlanLimitWithResponse(
+ String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Retrieve all Hybrid Connections in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of hostname bindings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listHybridConnections(String resourceGroupName, String name);
+
+ /**
+ * Description for Retrieve all Hybrid Connections in use in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of hostname bindings.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listHybridConnections(String resourceGroupName, String name, Context context);
+
+ /**
+ * Description for Restart all apps in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restartWebApps(String resourceGroupName, String name);
+
+ /**
+ * Description for Restart all apps in an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration
+ * settings and restarts the apps if necessary. The default is <code>false</code>, which always
+ * restarts and reprovisions the apps.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response restartWebAppsWithResponse(
+ String resourceGroupName, String name, Boolean softRestart, Context context);
+
+ /**
+ * Description for Get all apps associated with an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebApps(String resourceGroupName, String name);
+
+ /**
+ * Description for Get all apps associated with an App Service plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the App Service plan.
+ * @param skipToken Skip to a web app in the list of webapps associated with app service plan. If specified, the
+ * resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list
+ * contains web apps from the start of the list.
+ * @param filter Supported filter: $filter=state eq running. Returns only web apps that are currently running.
+ * @param top List page size. If specified, results are paged.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of App Service apps.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWebApps(
+ String resourceGroupName, String name, String skipToken, String filter, String top, Context context);
+
+ /**
+ * Description for Gets all selectable SKUs for a given App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of App Service Plan.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Object getServerFarmSkus(String resourceGroupName, String name);
+
+ /**
+ * Description for Gets all selectable SKUs for a given App Service Plan.
+ *
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of App Service Plan.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appservice.generated.models.DefaultErrorResponseErrorException thrown if the
+ * request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return any object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response