diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 6fc46af54275e..d7e641f73ae97 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -308,6 +308,7 @@ com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.1;1.0.0-beta.
com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.1;1.0.0-beta.2
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-fluidrelay;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 edd475ba5d02b..8ab667930fae6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -754,6 +754,7 @@
sdk/elastic
sdk/eventgrid
sdk/eventhubs
+ sdk/fluidrelay
sdk/formrecognizer
sdk/frontdoor
sdk/hanaonazure
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/CHANGELOG.md b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/CHANGELOG.md
new file mode 100644
index 0000000000000..2478fa7ec52c7
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-07-26)
+
+- Azure Resource Manager FluidRelay client library for Java. This package contains Microsoft Azure SDK for FluidRelay Management SDK. Package tag package-2021-03-12-preview. 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/fluidrelay/azure-resourcemanager-fluidrelay/README.md b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/README.md
new file mode 100644
index 0000000000000..3a9c5ab1eff63
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/README.md
@@ -0,0 +1,101 @@
+# Azure Resource Manager FluidRelay client library for Java
+
+Azure Resource Manager FluidRelay client library for Java.
+
+This package contains Microsoft Azure SDK for FluidRelay Management SDK. Package tag package-2021-03-12-preview. 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-fluidrelay;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-fluidrelay
+ 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();
+FluidRelayManager manager = FluidRelayManager
+ .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/fluidrelay/azure-resourcemanager-fluidrelay/pom.xml b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/pom.xml
new file mode 100644
index 0000000000000..171ae870983bc
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/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-fluidrelay
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for FluidRelay Management
+ This package contains Microsoft Azure SDK for FluidRelay Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2021-03-12-preview.
+ 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.18.0
+
+
+ com.azure
+ azure-core-management
+ 1.3.1
+
+
+
+
+
+ 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/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/FluidRelayManager.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/FluidRelayManager.java
new file mode 100644
index 0000000000000..8afb6b27e1c71
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/FluidRelayManager.java
@@ -0,0 +1,239 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.fluidrelay;
+
+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.fluidrelay.fluent.FluidRelayManagementClient;
+import com.azure.resourcemanager.fluidrelay.implementation.FluidRelayManagementClientBuilder;
+import com.azure.resourcemanager.fluidrelay.implementation.FluidRelayOperationsImpl;
+import com.azure.resourcemanager.fluidrelay.implementation.FluidRelayServersImpl;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayOperations;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServers;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to FluidRelayManager. */
+public final class FluidRelayManager {
+ private FluidRelayOperations fluidRelayOperations;
+
+ private FluidRelayServers fluidRelayServers;
+
+ private final FluidRelayManagementClient clientObject;
+
+ private FluidRelayManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new FluidRelayManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of FluidRelay service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the FluidRelay service API instance.
+ */
+ public static FluidRelayManager 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 FluidRelayManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new FluidRelayManager.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 FluidRelay service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the FluidRelay service API instance.
+ */
+ public FluidRelayManager 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.fluidrelay")
+ .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 FluidRelayManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of FluidRelayOperations. */
+ public FluidRelayOperations fluidRelayOperations() {
+ if (this.fluidRelayOperations == null) {
+ this.fluidRelayOperations = new FluidRelayOperationsImpl(clientObject.getFluidRelayOperations(), this);
+ }
+ return fluidRelayOperations;
+ }
+
+ /** @return Resource collection API of FluidRelayServers. */
+ public FluidRelayServers fluidRelayServers() {
+ if (this.fluidRelayServers == null) {
+ this.fluidRelayServers = new FluidRelayServersImpl(clientObject.getFluidRelayServers(), this);
+ }
+ return fluidRelayServers;
+ }
+
+ /**
+ * @return Wrapped service client FluidRelayManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
+ */
+ public FluidRelayManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayManagementClient.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayManagementClient.java
new file mode 100644
index 0000000000000..977c54344dde4
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayManagementClient.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.fluidrelay.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for FluidRelayManagementClient class. */
+public interface FluidRelayManagementClient {
+ /**
+ * Gets The subscription id (GUID) for this resource.
+ *
+ * @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 FluidRelayOperationsClient object to access its operations.
+ *
+ * @return the FluidRelayOperationsClient object.
+ */
+ FluidRelayOperationsClient getFluidRelayOperations();
+
+ /**
+ * Gets the FluidRelayServersClient object to access its operations.
+ *
+ * @return the FluidRelayServersClient object.
+ */
+ FluidRelayServersClient getFluidRelayServers();
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayOperationsClient.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayOperationsClient.java
new file mode 100644
index 0000000000000..15f32897f7f7f
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayOperationsClient.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.fluidrelay.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.fluidrelay.fluent.models.OperationResultInner;
+
+/** An instance of this class provides access to all the operations defined in FluidRelayOperationsClient. */
+public interface FluidRelayOperationsClient {
+ /**
+ * List all operations provided by Microsoft.FluidRelay.
+ *
+ * @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 GET request to list FluidRelay operations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all operations provided by Microsoft.FluidRelay.
+ *
+ * @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 GET request to list FluidRelay operations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayServersClient.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayServersClient.java
new file mode 100644
index 0000000000000..38656d8f2ee08
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/FluidRelayServersClient.java
@@ -0,0 +1,240 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.fluidrelay.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.fluidrelay.fluent.models.FluidRelayServerInner;
+import com.azure.resourcemanager.fluidrelay.fluent.models.FluidRelayServerKeysInner;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServerUpdate;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServersCreateOrUpdateResponse;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServersDeleteResponse;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServersGetKeysResponse;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServersRegenerateKeyResponse;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayServersUpdateResponse;
+import com.azure.resourcemanager.fluidrelay.models.RegenerateKeyRequest;
+
+/** An instance of this class provides access to all the operations defined in FluidRelayServersClient. */
+public interface FluidRelayServersClient {
+ /**
+ * Get a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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 Fluid Relay server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServerInner getByResourceGroup(String resourceGroup, String name);
+
+ /**
+ * Get a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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 Fluid Relay server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroup, String name, Context context);
+
+ /**
+ * Create or Update a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param resource The details of the Fluid Relay server 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 FluidRelay Server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServerInner createOrUpdate(String resourceGroup, String name, FluidRelayServerInner resource);
+
+ /**
+ * Create or Update a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param resource The details of the Fluid Relay server 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 FluidRelay Server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServersCreateOrUpdateResponse createOrUpdateWithResponse(
+ String resourceGroup, String name, FluidRelayServerInner resource, Context context);
+
+ /**
+ * Update a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param resource The updatable details of the Fluid Relay server 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 FluidRelay Server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServerInner update(String resourceGroup, String name, FluidRelayServerUpdate resource);
+
+ /**
+ * Update a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param resource The updatable details of the Fluid Relay server 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 FluidRelay Server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServersUpdateResponse updateWithResponse(
+ String resourceGroup, String name, FluidRelayServerUpdate resource, Context context);
+
+ /**
+ * Delete a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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 resourceGroup, String name);
+
+ /**
+ * Delete a Fluid Relay server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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)
+ FluidRelayServersDeleteResponse deleteWithResponse(String resourceGroup, String name, Context context);
+
+ /**
+ * Regenerate the primary or secondary key for this server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param parameters The details of which keys to generate.
+ * @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 set of available keys for this server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServerKeysInner regenerateKey(String resourceGroup, String name, RegenerateKeyRequest parameters);
+
+ /**
+ * Regenerate the primary or secondary key for this server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @param parameters The details of which keys to generate.
+ * @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 set of available keys for this server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServersRegenerateKeyResponse regenerateKeyWithResponse(
+ String resourceGroup, String name, RegenerateKeyRequest parameters, Context context);
+
+ /**
+ * Regenerate the primary or secondary key for this server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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 set of available keys for this server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServerKeysInner getKeys(String resourceGroup, String name);
+
+ /**
+ * Regenerate the primary or secondary key for this server.
+ *
+ * @param resourceGroup The resource group containing the resource.
+ * @param name The resource name.
+ * @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 set of available keys for this server.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FluidRelayServersGetKeysResponse getKeysWithResponse(String resourceGroup, String name, Context context);
+
+ /**
+ * List all Fluid Relay servers in 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 paged response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all Fluid Relay servers in 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 paged response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * List all Fluid Relay servers in a resource group.
+ *
+ * @param resourceGroup The resource group containing the 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 paged response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroup);
+
+ /**
+ * List all Fluid Relay servers in a resource group.
+ *
+ * @param resourceGroup The resource group containing the 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 paged response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroup, Context context);
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerInner.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerInner.java
new file mode 100644
index 0000000000000..7f7462c4bbbf6
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerInner.java
@@ -0,0 +1,120 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.fluidrelay.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.fluidrelay.models.FluidRelayEndpoints;
+import com.azure.resourcemanager.fluidrelay.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** A FluidRelay Server. */
+@JsonFlatten
+@Fluent
+public class FluidRelayServerInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(FluidRelayServerInner.class);
+
+ /*
+ * System meta data for this resource, including creation and modification
+ * information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /*
+ * The Fluid tenantId for this server
+ */
+ @JsonProperty(value = "properties.frsTenantId", access = JsonProperty.Access.WRITE_ONLY)
+ private String frsTenantId;
+
+ /*
+ * The Fluid Relay Service endpoints for this server.
+ */
+ @JsonProperty(value = "properties.fluidRelayEndpoints", access = JsonProperty.Access.WRITE_ONLY)
+ private FluidRelayEndpoints fluidRelayEndpoints;
+
+ /*
+ * Provision states for FluidRelay RP
+ */
+ @JsonProperty(value = "properties.provisioningState")
+ private ProvisioningState provisioningState;
+
+ /**
+ * Get the systemData property: System meta data for this resource, including creation and modification information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the frsTenantId property: The Fluid tenantId for this server.
+ *
+ * @return the frsTenantId value.
+ */
+ public String frsTenantId() {
+ return this.frsTenantId;
+ }
+
+ /**
+ * Get the fluidRelayEndpoints property: The Fluid Relay Service endpoints for this server.
+ *
+ * @return the fluidRelayEndpoints value.
+ */
+ public FluidRelayEndpoints fluidRelayEndpoints() {
+ return this.fluidRelayEndpoints;
+ }
+
+ /**
+ * Get the provisioningState property: Provision states for FluidRelay RP.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Set the provisioningState property: Provision states for FluidRelay RP.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the FluidRelayServerInner object itself.
+ */
+ public FluidRelayServerInner withProvisioningState(ProvisioningState provisioningState) {
+ this.provisioningState = provisioningState;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public FluidRelayServerInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public FluidRelayServerInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (fluidRelayEndpoints() != null) {
+ fluidRelayEndpoints().validate();
+ }
+ }
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerKeysInner.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerKeysInner.java
new file mode 100644
index 0000000000000..4fe71ea2f5a53
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/FluidRelayServerKeysInner.java
@@ -0,0 +1,54 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.fluidrelay.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The set of available keys for this server. */
+@Immutable
+public final class FluidRelayServerKeysInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(FluidRelayServerKeysInner.class);
+
+ /*
+ * The primary key for this server
+ */
+ @JsonProperty(value = "key1", access = JsonProperty.Access.WRITE_ONLY)
+ private String key1;
+
+ /*
+ * The secondary key for this server
+ */
+ @JsonProperty(value = "key2", access = JsonProperty.Access.WRITE_ONLY)
+ private String key2;
+
+ /**
+ * Get the key1 property: The primary key for this server.
+ *
+ * @return the key1 value.
+ */
+ public String key1() {
+ return this.key1;
+ }
+
+ /**
+ * Get the key2 property: The secondary key for this server.
+ *
+ * @return the key2 value.
+ */
+ public String key2() {
+ return this.key2;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/OperationResultInner.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/OperationResultInner.java
new file mode 100644
index 0000000000000..333aa0536bca2
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/OperationResultInner.java
@@ -0,0 +1,106 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.fluidrelay.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.fluidrelay.models.OperationDisplay;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A FluidRelay REST API operation. */
+@Fluent
+public final class OperationResultInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationResultInner.class);
+
+ /*
+ * Operation name: {provider}/{resource}/{operation}
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * The object that represents the operation.
+ */
+ @JsonProperty(value = "display")
+ private OperationDisplay display;
+
+ /*
+ * Indicates whether the operation is a data action
+ */
+ @JsonProperty(value = "isDataAction")
+ private Boolean isDataAction;
+
+ /**
+ * Get the name property: Operation name: {provider}/{resource}/{operation}.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Operation name: {provider}/{resource}/{operation}.
+ *
+ * @param name the name value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the display property: The object that represents the operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: The object that represents the operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Set the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @param isDataAction the isDataAction value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withIsDataAction(Boolean isDataAction) {
+ this.isDataAction = isDataAction;
+ 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/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/package-info.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/package-info.java
new file mode 100644
index 0000000000000..02f18b4dfe376
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/models/package-info.java
@@ -0,0 +1,6 @@
+// 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 FluidRelayManagementClient. null. */
+package com.azure.resourcemanager.fluidrelay.fluent.models;
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/package-info.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/package-info.java
new file mode 100644
index 0000000000000..5b46472344e2d
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/fluent/package-info.java
@@ -0,0 +1,6 @@
+// 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 FluidRelayManagementClient. null. */
+package com.azure.resourcemanager.fluidrelay.fluent;
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientBuilder.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientBuilder.java
new file mode 100644
index 0000000000000..fa5ba0a103913
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientBuilder.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.fluidrelay.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 FluidRelayManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {FluidRelayManagementClientImpl.class})
+public final class FluidRelayManagementClientBuilder {
+ /*
+ * The subscription id (GUID) for this resource.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets The subscription id (GUID) for this resource.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder 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 FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder 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 FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder 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 FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder 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 FluidRelayManagementClientBuilder.
+ */
+ public FluidRelayManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of FluidRelayManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of FluidRelayManagementClientImpl.
+ */
+ public FluidRelayManagementClientImpl buildClient() {
+ if (endpoint == null) {
+ this.endpoint = "";
+ }
+ 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();
+ }
+ FluidRelayManagementClientImpl client =
+ new FluidRelayManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientImpl.java b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientImpl.java
new file mode 100644
index 0000000000000..2dbbe58f8a78c
--- /dev/null
+++ b/sdk/fluidrelay/azure-resourcemanager-fluidrelay/src/main/java/com/azure/resourcemanager/fluidrelay/implementation/FluidRelayManagementClientImpl.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.fluidrelay.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.fluidrelay.fluent.FluidRelayManagementClient;
+import com.azure.resourcemanager.fluidrelay.fluent.FluidRelayOperationsClient;
+import com.azure.resourcemanager.fluidrelay.fluent.FluidRelayServersClient;
+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 FluidRelayManagementClientImpl type. */
+@ServiceClient(builder = FluidRelayManagementClientBuilder.class)
+public final class FluidRelayManagementClientImpl implements FluidRelayManagementClient {
+ private final ClientLogger logger = new ClientLogger(FluidRelayManagementClientImpl.class);
+
+ /** The subscription id (GUID) for this resource. */
+ private final String subscriptionId;
+
+ /**
+ * Gets The subscription id (GUID) for this resource.
+ *
+ * @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 FluidRelayOperationsClient object to access its operations. */
+ private final FluidRelayOperationsClient fluidRelayOperations;
+
+ /**
+ * Gets the FluidRelayOperationsClient object to access its operations.
+ *
+ * @return the FluidRelayOperationsClient object.
+ */
+ public FluidRelayOperationsClient getFluidRelayOperations() {
+ return this.fluidRelayOperations;
+ }
+
+ /** The FluidRelayServersClient object to access its operations. */
+ private final FluidRelayServersClient fluidRelayServers;
+
+ /**
+ * Gets the FluidRelayServersClient object to access its operations.
+ *
+ * @return the FluidRelayServersClient object.
+ */
+ public FluidRelayServersClient getFluidRelayServers() {
+ return this.fluidRelayServers;
+ }
+
+ /**
+ * Initializes an instance of FluidRelayManagementClient 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 subscription id (GUID) for this resource.
+ * @param endpoint server parameter.
+ */
+ FluidRelayManagementClientImpl(
+ 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 = "2021-03-12-preview";
+ this.fluidRelayOperations = new FluidRelayOperationsClientImpl(this);
+ this.fluidRelayServers = new FluidRelayServersClientImpl(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