diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index ce4155a584c42..fec4c47b4ed5d 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -202,6 +202,7 @@ com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.0.0-beta.1;1.0.0-bet
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.0.0-beta.1;1.0.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-applicationinsights;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 c6f2da27340d4..b91cfe8eea6db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -565,6 +565,7 @@
eng/jacoco-test-coveragesdk/anomalydetectorsdk/appconfiguration
+ sdk/applicationinsightssdk/attestationsdk/authorizationsdk/batch
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/CHANGELOG.md b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/CHANGELOG.md
new file mode 100644
index 0000000000000..82d19e852c2a0
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-02-17)
+
+- Azure Resource Manager ApplicationInsights client library for Java. This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-preview-2020-10. 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/applicationinsights/azure-resourcemanager-applicationinsights/README.md b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/README.md
new file mode 100644
index 0000000000000..3bbb2f0968d74
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/README.md
@@ -0,0 +1,99 @@
+# Azure Resource Manager ApplicationInsights client library for Java
+
+Azure Resource Manager ApplicationInsights client library for Java.
+
+This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-preview-2020-10. 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-applicationinsights;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-applicationinsights
+ 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();
+ApplicationInsightsManager manager = ApplicationInsightsManager
+ .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/master/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/master/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/pom.xml b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/pom.xml
new file mode 100644
index 0000000000000..2b928737247d2
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/pom.xml
@@ -0,0 +1,67 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-applicationinsights
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for ApplicationInsights Management
+ This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-preview-2020-10. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
+ 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.13.0
+
+
+ com.azure
+ azure-core-management
+ 1.1.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+
+
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManager.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManager.java
new file mode 100644
index 0000000000000..dfec65dfcebac
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManager.java
@@ -0,0 +1,226 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights;
+
+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.BearerTokenAuthenticationPolicy;
+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.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.applicationinsights.fluent.ApplicationInsightsManagementClient;
+import com.azure.resourcemanager.applicationinsights.implementation.ApplicationInsightsManagementClientBuilder;
+import com.azure.resourcemanager.applicationinsights.implementation.OperationsImpl;
+import com.azure.resourcemanager.applicationinsights.implementation.WebTestsImpl;
+import com.azure.resourcemanager.applicationinsights.models.Operations;
+import com.azure.resourcemanager.applicationinsights.models.WebTests;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to ApplicationInsightsManager. Composite Swagger for Application Insights Management Client. */
+public final class ApplicationInsightsManager {
+ private Operations operations;
+
+ private WebTests webTests;
+
+ private final ApplicationInsightsManagementClient clientObject;
+
+ private ApplicationInsightsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new ApplicationInsightsManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of ApplicationInsights service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the ApplicationInsights service API instance.
+ */
+ public static ApplicationInsightsManager 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 ApplicationInsightsManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new ApplicationInsightsManager.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 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;
+ }
+
+ /**
+ * 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 ApplicationInsights service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the ApplicationInsights service API instance.
+ */
+ public ApplicationInsightsManager 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.applicationinsights")
+ .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 (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 BearerTokenAuthenticationPolicy(
+ credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new ApplicationInsightsManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of Operations. */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /** @return Resource collection API of WebTests. */
+ public WebTests webTests() {
+ if (this.webTests == null) {
+ this.webTests = new WebTestsImpl(clientObject.getWebTests(), this);
+ }
+ return webTests;
+ }
+
+ /**
+ * @return Wrapped service client ApplicationInsightsManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
+ */
+ public ApplicationInsightsManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/ApplicationInsightsManagementClient.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/ApplicationInsightsManagementClient.java
new file mode 100644
index 0000000000000..87361f36e0881
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/ApplicationInsightsManagementClient.java
@@ -0,0 +1,60 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for ApplicationInsightsManagementClient class. */
+public interface ApplicationInsightsManagementClient {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the WebTestsClient object to access its operations.
+ *
+ * @return the WebTestsClient object.
+ */
+ WebTestsClient getWebTests();
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java
new file mode 100644
index 0000000000000..7d5d59bd065e0
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.applicationinsights.fluent.models.OperationInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * List the available operations supported by the Microsoft.EventGrid resource provider.
+ *
+ * @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 result of the List Operations operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the available operations supported by the Microsoft.EventGrid resource provider.
+ *
+ * @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 result of the List Operations operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java
new file mode 100644
index 0000000000000..6c34fdb8b6178
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java
@@ -0,0 +1,206 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.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.util.Context;
+import com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner;
+import com.azure.resourcemanager.applicationinsights.models.TagsResource;
+
+/** An instance of this class provides access to all the operations defined in WebTestsClient. */
+public interface WebTestsClient {
+ /**
+ * Get all Application Insights web tests defined within a specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all Application Insights web tests defined within a specified resource group.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get all Application Insights web tests defined within a specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all Application Insights web tests defined within a specified resource group.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get a specific Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @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 a specific Application Insights web test definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebTestInner getByResourceGroup(String resourceGroupName, String webTestName);
+
+ /**
+ * Get a specific Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @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 a specific Application Insights web test definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String webTestName, Context context);
+
+ /**
+ * Creates or updates an Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
+ * test definition.
+ * @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 an Application Insights WebTest definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebTestInner createOrUpdate(String resourceGroupName, String webTestName, WebTestInner webTestDefinition);
+
+ /**
+ * Creates or updates an Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
+ * test definition.
+ * @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 an Application Insights WebTest definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String webTestName, WebTestInner webTestDefinition, Context context);
+
+ /**
+ * Creates or updates an Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to set into the web test instance.
+ * @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 an Application Insights WebTest definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebTestInner updateTags(String resourceGroupName, String webTestName, TagsResource webTestTags);
+
+ /**
+ * Creates or updates an Application Insights web test definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to set into the web test instance.
+ * @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 an Application Insights WebTest definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateTagsWithResponse(
+ String resourceGroupName, String webTestName, TagsResource webTestTags, Context context);
+
+ /**
+ * Deletes an Application Insights web test.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String webTestName);
+
+ /**
+ * Deletes an Application Insights web test.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @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 the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String webTestName, Context context);
+
+ /**
+ * Get all Application Insights web test alerts definitions within a subscription.
+ *
+ * @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 all Application Insights web test alerts definitions within a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get all Application Insights web test alerts definitions within a subscription.
+ *
+ * @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 all Application Insights web test alerts definitions within a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Get all Application Insights web tests defined for the specified component.
+ *
+ * @param componentName The name of the Application Insights component resource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all Application Insights web tests defined for the specified component.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByComponent(String componentName, String resourceGroupName);
+
+ /**
+ * Get all Application Insights web tests defined for the specified component.
+ *
+ * @param componentName The name of the Application Insights component resource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 all Application Insights web tests defined for the specified component.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByComponent(String componentName, String resourceGroupName, Context context);
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java
new file mode 100644
index 0000000000000..40e5247ab025c
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java
@@ -0,0 +1,132 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.applicationinsights.models.OperationInfo;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Represents an operation returned by the GetOperations request. */
+@Fluent
+public final class OperationInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationInner.class);
+
+ /*
+ * Name of the operation
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Display name of the operation
+ */
+ @JsonProperty(value = "display")
+ private OperationInfo display;
+
+ /*
+ * Origin of the operation
+ */
+ @JsonProperty(value = "origin")
+ private String origin;
+
+ /*
+ * Properties of the operation
+ */
+ @JsonProperty(value = "properties")
+ private Object properties;
+
+ /**
+ * Get the name property: Name of the operation.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Name of the operation.
+ *
+ * @param name the name value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the display property: Display name of the operation.
+ *
+ * @return the display value.
+ */
+ public OperationInfo display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: Display name of the operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withDisplay(OperationInfo display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the origin property: Origin of the operation.
+ *
+ * @return the origin value.
+ */
+ public String origin() {
+ return this.origin;
+ }
+
+ /**
+ * Set the origin property: Origin of the operation.
+ *
+ * @param origin the origin value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withOrigin(String origin) {
+ this.origin = origin;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Properties of the operation.
+ *
+ * @return the properties value.
+ */
+ public Object properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the operation.
+ *
+ * @param properties the properties value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withProperties(Object properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (display() != null) {
+ display().validate();
+ }
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java
new file mode 100644
index 0000000000000..dbf6ca7019c9a
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java
@@ -0,0 +1,539 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation;
+import com.azure.resourcemanager.applicationinsights.models.WebTestKind;
+import com.azure.resourcemanager.applicationinsights.models.WebTestKindEnum;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesConfiguration;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesContentValidation;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest;
+import com.azure.resourcemanager.applicationinsights.models.WebtestsResource;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** An Application Insights WebTest definition. */
+@JsonFlatten
+@Fluent
+public class WebTestInner extends WebtestsResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(WebTestInner.class);
+
+ /*
+ * The kind of WebTest that this web test watches. Choices are ping and
+ * multistep.
+ */
+ @JsonProperty(value = "kind")
+ private WebTestKind kind;
+
+ /*
+ * Unique ID of this WebTest. This is typically the same value as the Name
+ * field.
+ */
+ @JsonProperty(value = "properties.SyntheticMonitorId")
+ private String syntheticMonitorId;
+
+ /*
+ * User defined name if this WebTest.
+ */
+ @JsonProperty(value = "properties.Name")
+ private String webTestName;
+
+ /*
+ * User defined description for this WebTest.
+ */
+ @JsonProperty(value = "properties.Description")
+ private String description;
+
+ /*
+ * Is the test actively being monitored.
+ */
+ @JsonProperty(value = "properties.Enabled")
+ private Boolean enabled;
+
+ /*
+ * Interval in seconds between test runs for this WebTest. Default value is
+ * 300.
+ */
+ @JsonProperty(value = "properties.Frequency")
+ private Integer frequency;
+
+ /*
+ * Seconds until this WebTest will timeout and fail. Default value is 30.
+ */
+ @JsonProperty(value = "properties.Timeout")
+ private Integer timeout;
+
+ /*
+ * The kind of web test this is, valid choices are ping, multistep, basic,
+ * and standard.
+ */
+ @JsonProperty(value = "properties.Kind")
+ private WebTestKindEnum webTestKind;
+
+ /*
+ * Allow for retries should this WebTest fail.
+ */
+ @JsonProperty(value = "properties.RetryEnabled")
+ private Boolean retryEnabled;
+
+ /*
+ * A list of where to physically run the tests from to give global coverage
+ * for accessibility of your application.
+ */
+ @JsonProperty(value = "properties.Locations")
+ private List locations;
+
+ /*
+ * An XML configuration specification for a WebTest.
+ */
+ @JsonProperty(value = "properties.Configuration")
+ private WebTestPropertiesConfiguration configuration;
+
+ /*
+ * Current state of this component, whether or not is has been provisioned
+ * within the resource group it is defined. Users cannot change this value
+ * but are able to read from it. Values will include Succeeded, Deploying,
+ * Canceled, and Failed.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * The collection of request properties
+ */
+ @JsonProperty(value = "properties.Request")
+ private WebTestPropertiesRequest request;
+
+ /*
+ * The collection of content validation properties
+ */
+ @JsonProperty(value = "properties.ContentValidation")
+ private WebTestPropertiesContentValidation contentValidation;
+
+ /*
+ * Checks to see if the SSL cert is still valid.
+ */
+ @JsonProperty(value = "properties.SSLCheck")
+ private Boolean sslCheck;
+
+ /*
+ * A number of days to check still remain before the the existing SSL cert
+ * expires.
+ */
+ @JsonProperty(value = "properties.SSLCertRemainingLifetimeCheck")
+ private Integer sslCertRemainingLifetimeCheck;
+
+ /*
+ * Validate that the WebTest returns the http status code provided.
+ */
+ @JsonProperty(value = "properties.ExpectedHttpStatusCode")
+ private Integer expectedHttpStatusCode;
+
+ /*
+ * When set, validation will ignore the status code.
+ */
+ @JsonProperty(value = "properties.IgnoreHttpsStatusCode")
+ private Boolean ignoreHttpsStatusCode;
+
+ /**
+ * Get the kind property: The kind of WebTest that this web test watches. Choices are ping and multistep.
+ *
+ * @return the kind value.
+ */
+ public WebTestKind kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: The kind of WebTest that this web test watches. Choices are ping and multistep.
+ *
+ * @param kind the kind value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withKind(WebTestKind kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name
+ * field.
+ *
+ * @return the syntheticMonitorId value.
+ */
+ public String syntheticMonitorId() {
+ return this.syntheticMonitorId;
+ }
+
+ /**
+ * Set the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name
+ * field.
+ *
+ * @param syntheticMonitorId the syntheticMonitorId value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withSyntheticMonitorId(String syntheticMonitorId) {
+ this.syntheticMonitorId = syntheticMonitorId;
+ return this;
+ }
+
+ /**
+ * Get the webTestName property: User defined name if this WebTest.
+ *
+ * @return the webTestName value.
+ */
+ public String webTestName() {
+ return this.webTestName;
+ }
+
+ /**
+ * Set the webTestName property: User defined name if this WebTest.
+ *
+ * @param webTestName the webTestName value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withWebTestName(String webTestName) {
+ this.webTestName = webTestName;
+ return this;
+ }
+
+ /**
+ * Get the description property: User defined description for this WebTest.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: User defined description for this WebTest.
+ *
+ * @param description the description value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the enabled property: Is the test actively being monitored.
+ *
+ * @return the enabled value.
+ */
+ public Boolean enabled() {
+ return this.enabled;
+ }
+
+ /**
+ * Set the enabled property: Is the test actively being monitored.
+ *
+ * @param enabled the enabled value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Get the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.
+ *
+ * @return the frequency value.
+ */
+ public Integer frequency() {
+ return this.frequency;
+ }
+
+ /**
+ * Set the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.
+ *
+ * @param frequency the frequency value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withFrequency(Integer frequency) {
+ this.frequency = frequency;
+ return this;
+ }
+
+ /**
+ * Get the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.
+ *
+ * @return the timeout value.
+ */
+ public Integer timeout() {
+ return this.timeout;
+ }
+
+ /**
+ * Set the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.
+ *
+ * @param timeout the timeout value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withTimeout(Integer timeout) {
+ this.timeout = timeout;
+ return this;
+ }
+
+ /**
+ * Get the webTestKind property: The kind of web test this is, valid choices are ping, multistep, basic, and
+ * standard.
+ *
+ * @return the webTestKind value.
+ */
+ public WebTestKindEnum webTestKind() {
+ return this.webTestKind;
+ }
+
+ /**
+ * Set the webTestKind property: The kind of web test this is, valid choices are ping, multistep, basic, and
+ * standard.
+ *
+ * @param webTestKind the webTestKind value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withWebTestKind(WebTestKindEnum webTestKind) {
+ this.webTestKind = webTestKind;
+ return this;
+ }
+
+ /**
+ * Get the retryEnabled property: Allow for retries should this WebTest fail.
+ *
+ * @return the retryEnabled value.
+ */
+ public Boolean retryEnabled() {
+ return this.retryEnabled;
+ }
+
+ /**
+ * Set the retryEnabled property: Allow for retries should this WebTest fail.
+ *
+ * @param retryEnabled the retryEnabled value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withRetryEnabled(Boolean retryEnabled) {
+ this.retryEnabled = retryEnabled;
+ return this;
+ }
+
+ /**
+ * Get the locations property: A list of where to physically run the tests from to give global coverage for
+ * accessibility of your application.
+ *
+ * @return the locations value.
+ */
+ public List locations() {
+ return this.locations;
+ }
+
+ /**
+ * Set the locations property: A list of where to physically run the tests from to give global coverage for
+ * accessibility of your application.
+ *
+ * @param locations the locations value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withLocations(List locations) {
+ this.locations = locations;
+ return this;
+ }
+
+ /**
+ * Get the configuration property: An XML configuration specification for a WebTest.
+ *
+ * @return the configuration value.
+ */
+ public WebTestPropertiesConfiguration configuration() {
+ return this.configuration;
+ }
+
+ /**
+ * Set the configuration property: An XML configuration specification for a WebTest.
+ *
+ * @param configuration the configuration value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withConfiguration(WebTestPropertiesConfiguration configuration) {
+ this.configuration = configuration;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Current state of this component, whether or not is has been provisioned
+ * within the resource group it is defined. Users cannot change this value but are able to read from it. Values will
+ * include Succeeded, Deploying, Canceled, and Failed.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the request property: The collection of request properties.
+ *
+ * @return the request value.
+ */
+ public WebTestPropertiesRequest request() {
+ return this.request;
+ }
+
+ /**
+ * Set the request property: The collection of request properties.
+ *
+ * @param request the request value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withRequest(WebTestPropertiesRequest request) {
+ this.request = request;
+ return this;
+ }
+
+ /**
+ * Get the contentValidation property: The collection of content validation properties.
+ *
+ * @return the contentValidation value.
+ */
+ public WebTestPropertiesContentValidation contentValidation() {
+ return this.contentValidation;
+ }
+
+ /**
+ * Set the contentValidation property: The collection of content validation properties.
+ *
+ * @param contentValidation the contentValidation value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withContentValidation(WebTestPropertiesContentValidation contentValidation) {
+ this.contentValidation = contentValidation;
+ return this;
+ }
+
+ /**
+ * Get the sslCheck property: Checks to see if the SSL cert is still valid.
+ *
+ * @return the sslCheck value.
+ */
+ public Boolean sslCheck() {
+ return this.sslCheck;
+ }
+
+ /**
+ * Set the sslCheck property: Checks to see if the SSL cert is still valid.
+ *
+ * @param sslCheck the sslCheck value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withSslCheck(Boolean sslCheck) {
+ this.sslCheck = sslCheck;
+ return this;
+ }
+
+ /**
+ * Get the sslCertRemainingLifetimeCheck property: A number of days to check still remain before the the existing
+ * SSL cert expires.
+ *
+ * @return the sslCertRemainingLifetimeCheck value.
+ */
+ public Integer sslCertRemainingLifetimeCheck() {
+ return this.sslCertRemainingLifetimeCheck;
+ }
+
+ /**
+ * Set the sslCertRemainingLifetimeCheck property: A number of days to check still remain before the the existing
+ * SSL cert expires.
+ *
+ * @param sslCertRemainingLifetimeCheck the sslCertRemainingLifetimeCheck value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withSslCertRemainingLifetimeCheck(Integer sslCertRemainingLifetimeCheck) {
+ this.sslCertRemainingLifetimeCheck = sslCertRemainingLifetimeCheck;
+ return this;
+ }
+
+ /**
+ * Get the expectedHttpStatusCode property: Validate that the WebTest returns the http status code provided.
+ *
+ * @return the expectedHttpStatusCode value.
+ */
+ public Integer expectedHttpStatusCode() {
+ return this.expectedHttpStatusCode;
+ }
+
+ /**
+ * Set the expectedHttpStatusCode property: Validate that the WebTest returns the http status code provided.
+ *
+ * @param expectedHttpStatusCode the expectedHttpStatusCode value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withExpectedHttpStatusCode(Integer expectedHttpStatusCode) {
+ this.expectedHttpStatusCode = expectedHttpStatusCode;
+ return this;
+ }
+
+ /**
+ * Get the ignoreHttpsStatusCode property: When set, validation will ignore the status code.
+ *
+ * @return the ignoreHttpsStatusCode value.
+ */
+ public Boolean ignoreHttpsStatusCode() {
+ return this.ignoreHttpsStatusCode;
+ }
+
+ /**
+ * Set the ignoreHttpsStatusCode property: When set, validation will ignore the status code.
+ *
+ * @param ignoreHttpsStatusCode the ignoreHttpsStatusCode value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withIgnoreHttpsStatusCode(Boolean ignoreHttpsStatusCode) {
+ this.ignoreHttpsStatusCode = ignoreHttpsStatusCode;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public WebTestInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public WebTestInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ @Override
+ public void validate() {
+ super.validate();
+ if (locations() != null) {
+ locations().forEach(e -> e.validate());
+ }
+ if (configuration() != null) {
+ configuration().validate();
+ }
+ if (request() != null) {
+ request().validate();
+ }
+ if (contentValidation() != null) {
+ contentValidation().validate();
+ }
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/package-info.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/package-info.java
new file mode 100644
index 0000000000000..397d1c84bbde9
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/package-info.java
@@ -0,0 +1,9 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/**
+ * Package containing the inner data models for ApplicationInsightsManagementClient. Composite Swagger for Application
+ * Insights Management Client.
+ */
+package com.azure.resourcemanager.applicationinsights.fluent.models;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/package-info.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/package-info.java
new file mode 100644
index 0000000000000..9476e4ce65f79
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/package-info.java
@@ -0,0 +1,9 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/**
+ * Package containing the service clients for ApplicationInsightsManagementClient. Composite Swagger for Application
+ * Insights Management Client.
+ */
+package com.azure.resourcemanager.applicationinsights.fluent;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java
new file mode 100644
index 0000000000000..e3c0b1f4af9ee
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.implementation;
+
+import com.azure.core.annotation.ServiceClientBuilder;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.CookiePolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.serializer.SerializerFactory;
+import com.azure.core.util.serializer.SerializerAdapter;
+import java.time.Duration;
+
+/** A builder for creating a new instance of the ApplicationInsightsManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {ApplicationInsightsManagementClientImpl.class})
+public final class ApplicationInsightsManagementClientBuilder {
+ /*
+ * The ID of the target subscription.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets The ID of the target subscription.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder endpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /*
+ * The environment to connect to
+ */
+ private AzureEnvironment environment;
+
+ /**
+ * Sets The environment to connect to.
+ *
+ * @param environment the environment value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder environment(AzureEnvironment environment) {
+ this.environment = environment;
+ return this;
+ }
+
+ /*
+ * The default poll interval for long-running operation
+ */
+ private Duration defaultPollInterval;
+
+ /**
+ * Sets The default poll interval for long-running operation.
+ *
+ * @param defaultPollInterval the defaultPollInterval value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = defaultPollInterval;
+ return this;
+ }
+
+ /*
+ * The HTTP pipeline to send requests through
+ */
+ private HttpPipeline pipeline;
+
+ /**
+ * Sets The HTTP pipeline to send requests through.
+ *
+ * @param pipeline the pipeline value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder pipeline(HttpPipeline pipeline) {
+ this.pipeline = pipeline;
+ return this;
+ }
+
+ /*
+ * The serializer to serialize an object into a string
+ */
+ private SerializerAdapter serializerAdapter;
+
+ /**
+ * Sets The serializer to serialize an object into a string.
+ *
+ * @param serializerAdapter the serializerAdapter value.
+ * @return the ApplicationInsightsManagementClientBuilder.
+ */
+ public ApplicationInsightsManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of ApplicationInsightsManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of ApplicationInsightsManagementClientImpl.
+ */
+ public ApplicationInsightsManagementClientImpl buildClient() {
+ if (endpoint == null) {
+ this.endpoint = "https://management.azure.com";
+ }
+ if (environment == null) {
+ this.environment = AzureEnvironment.AZURE;
+ }
+ if (defaultPollInterval == null) {
+ this.defaultPollInterval = Duration.ofSeconds(30);
+ }
+ if (pipeline == null) {
+ this.pipeline =
+ new HttpPipelineBuilder()
+ .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
+ .build();
+ }
+ if (serializerAdapter == null) {
+ this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
+ }
+ ApplicationInsightsManagementClientImpl client =
+ new ApplicationInsightsManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java
new file mode 100644
index 0000000000000..40e3c4832748c
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java
@@ -0,0 +1,307 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.implementation;
+
+import com.azure.core.annotation.ServiceClient;
+import com.azure.core.http.HttpHeaders;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpResponse;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.exception.ManagementError;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.management.polling.PollerFactory;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.AsyncPollResponse;
+import com.azure.core.util.polling.LongRunningOperationStatus;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.serializer.SerializerAdapter;
+import com.azure.core.util.serializer.SerializerEncoding;
+import com.azure.resourcemanager.applicationinsights.fluent.ApplicationInsightsManagementClient;
+import com.azure.resourcemanager.applicationinsights.fluent.OperationsClient;
+import com.azure.resourcemanager.applicationinsights.fluent.WebTestsClient;
+import java.io.IOException;
+import java.lang.reflect.Type;
+import java.nio.ByteBuffer;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.Map;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** Initializes a new instance of the ApplicationInsightsManagementClientImpl type. */
+@ServiceClient(builder = ApplicationInsightsManagementClientBuilder.class)
+public final class ApplicationInsightsManagementClientImpl implements ApplicationInsightsManagementClient {
+ private final ClientLogger logger = new ClientLogger(ApplicationInsightsManagementClientImpl.class);
+
+ /** The ID of the target subscription. */
+ private final String subscriptionId;
+
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** Api Version. */
+ private final String apiVersion;
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ public String getApiVersion() {
+ return this.apiVersion;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The OperationsClient object to access its operations. */
+ private final OperationsClient operations;
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ public OperationsClient getOperations() {
+ return this.operations;
+ }
+
+ /** The WebTestsClient object to access its operations. */
+ private final WebTestsClient webTests;
+
+ /**
+ * Gets the WebTestsClient object to access its operations.
+ *
+ * @return the WebTestsClient object.
+ */
+ public WebTestsClient getWebTests() {
+ return this.webTests;
+ }
+
+ /**
+ * Initializes an instance of ApplicationInsightsManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId The ID of the target subscription.
+ * @param endpoint server parameter.
+ */
+ ApplicationInsightsManagementClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String subscriptionId,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.subscriptionId = subscriptionId;
+ this.endpoint = endpoint;
+ this.apiVersion = "2020-10-05-preview";
+ this.operations = new OperationsClientImpl(this);
+ this.webTests = new WebTestsClientImpl(this);
+ }
+
+ /**
+ * Gets default client context.
+ *
+ * @return the default client context.
+ */
+ public Context getContext() {
+ return Context.NONE;
+ }
+
+ /**
+ * Merges default client context with provided context.
+ *
+ * @param context the context to be merged with default client context.
+ * @return the merged context.
+ */
+ public Context mergeContext(Context context) {
+ for (Map.Entry