scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private RetryOptions retryOptions;
+ 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 retry options for the HTTP pipeline retry policy.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * @param retryOptions the retry options for the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryOptions(RetryOptions retryOptions) {
+ this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' 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, "'defaultPollInterval' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw LOGGER
+ .logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of HorizonDb service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the HorizonDb service API instance.
+ */
+ public HorizonDbManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder.append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.horizondb")
+ .append("/")
+ .append(clientVersion);
+ 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) {
+ if (retryOptions != null) {
+ retryPolicy = new RetryPolicy(retryOptions);
+ } else {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new AddHeadersFromContextPolicy());
+ policies.add(new RequestIdPolicy());
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new HorizonDbManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbClusters. It manages HorizonDbCluster.
+ *
+ * @return Resource collection API of HorizonDbClusters.
+ */
+ public HorizonDbClusters horizonDbClusters() {
+ if (this.horizonDbClusters == null) {
+ this.horizonDbClusters = new HorizonDbClustersImpl(clientObject.getHorizonDbClusters(), this);
+ }
+ return horizonDbClusters;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbPools.
+ *
+ * @return Resource collection API of HorizonDbPools.
+ */
+ public HorizonDbPools horizonDbPools() {
+ if (this.horizonDbPools == null) {
+ this.horizonDbPools = new HorizonDbPoolsImpl(clientObject.getHorizonDbPools(), this);
+ }
+ return horizonDbPools;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbReplicas. It manages HorizonDbReplica.
+ *
+ * @return Resource collection API of HorizonDbReplicas.
+ */
+ public HorizonDbReplicas horizonDbReplicas() {
+ if (this.horizonDbReplicas == null) {
+ this.horizonDbReplicas = new HorizonDbReplicasImpl(clientObject.getHorizonDbReplicas(), this);
+ }
+ return horizonDbReplicas;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbFirewallRules. It manages HorizonDbFirewallRule.
+ *
+ * @return Resource collection API of HorizonDbFirewallRules.
+ */
+ public HorizonDbFirewallRules horizonDbFirewallRules() {
+ if (this.horizonDbFirewallRules == null) {
+ this.horizonDbFirewallRules
+ = new HorizonDbFirewallRulesImpl(clientObject.getHorizonDbFirewallRules(), this);
+ }
+ return horizonDbFirewallRules;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbPrivateEndpointConnections.
+ *
+ * @return Resource collection API of HorizonDbPrivateEndpointConnections.
+ */
+ public HorizonDbPrivateEndpointConnections horizonDbPrivateEndpointConnections() {
+ if (this.horizonDbPrivateEndpointConnections == null) {
+ this.horizonDbPrivateEndpointConnections = new HorizonDbPrivateEndpointConnectionsImpl(
+ clientObject.getHorizonDbPrivateEndpointConnections(), this);
+ }
+ return horizonDbPrivateEndpointConnections;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbPrivateLinkResources.
+ *
+ * @return Resource collection API of HorizonDbPrivateLinkResources.
+ */
+ public HorizonDbPrivateLinkResources horizonDbPrivateLinkResources() {
+ if (this.horizonDbPrivateLinkResources == null) {
+ this.horizonDbPrivateLinkResources
+ = new HorizonDbPrivateLinkResourcesImpl(clientObject.getHorizonDbPrivateLinkResources(), this);
+ }
+ return horizonDbPrivateLinkResources;
+ }
+
+ /**
+ * Gets the resource collection API of HorizonDbParameterGroups. It manages HorizonDbParameterGroup.
+ *
+ * @return Resource collection API of HorizonDbParameterGroups.
+ */
+ public HorizonDbParameterGroups horizonDbParameterGroups() {
+ if (this.horizonDbParameterGroups == null) {
+ this.horizonDbParameterGroups
+ = new HorizonDbParameterGroupsImpl(clientObject.getHorizonDbParameterGroups(), this);
+ }
+ return horizonDbParameterGroups;
+ }
+
+ /**
+ * Gets wrapped service client HorizonDbManagementClient providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client HorizonDbManagementClient.
+ */
+ public HorizonDbManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbClustersClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbClustersClient.java
new file mode 100644
index 000000000000..38dc5659b4a2
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbClustersClient.java
@@ -0,0 +1,454 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbClusterInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterForPatchUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbClustersClient.
+ */
+public interface HorizonDbClustersClient {
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 information about a HorizonDb cluster along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String clusterName);
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 information about a HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getByResourceGroupAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 information about a HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName,
+ Context context);
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 information about a HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbClusterInner getByResourceGroup(String resourceGroupName, String clusterName);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb cluster along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbClusterInner>
+ beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, HorizonDbClusterInner resource);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterInner resource);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterInner resource, Context context);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbClusterInner createOrUpdate(String resourceGroupName, String clusterName, HorizonDbClusterInner resource);
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbClusterInner createOrUpdate(String resourceGroupName, String clusterName, HorizonDbClusterInner resource,
+ Context context);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb cluster along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbClusterInner> beginUpdateAsync(String resourceGroupName,
+ String clusterName, HorizonDbClusterForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbClusterInner> beginUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbClusterInner> beginUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterForPatchUpdate properties, Context context);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbClusterInner update(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbClusterInner update(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties, Context context);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, Context context);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 clusterName);
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String clusterName, Context context);
+
+ /**
+ * Lists all HorizonDb clusters in a 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(String resourceGroupName);
+
+ /**
+ * Lists all HorizonDb clusters in a 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all HorizonDb clusters in a 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists all HorizonDb clusters 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * Lists all HorizonDb clusters 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all HorizonDb clusters 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 the response of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbFirewallRulesClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbFirewallRulesClient.java
new file mode 100644
index 000000000000..467a3b0f9b27
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbFirewallRulesClient.java
@@ -0,0 +1,369 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbFirewallRuleInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbFirewallRulesClient.
+ */
+public interface HorizonDbFirewallRulesClient {
+ /**
+ * Gets information about a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 information about a HorizonDb firewall rule along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String firewallRuleName);
+
+ /**
+ * Gets information about a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 information about a HorizonDb firewall rule on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName);
+
+ /**
+ * Gets information about a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 information about a HorizonDb firewall rule along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName, Context context);
+
+ /**
+ * Gets information about a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 information about a HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbFirewallRuleInner get(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName);
+
+ /**
+ * Lists all HorizonDb firewall rules in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbFirewallRule list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Lists all HorizonDb firewall rules in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbFirewallRule list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Lists all HorizonDb firewall rules in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbFirewallRule list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName, String poolName,
+ Context context);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb firewall rule along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String firewallRuleName, HorizonDbFirewallRuleInner resource);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbFirewallRuleInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String clusterName, String poolName, String firewallRuleName,
+ HorizonDbFirewallRuleInner resource);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbFirewallRuleInner> beginCreateOrUpdate(
+ String resourceGroupName, String clusterName, String poolName, String firewallRuleName,
+ HorizonDbFirewallRuleInner resource);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbFirewallRuleInner> beginCreateOrUpdate(
+ String resourceGroupName, String clusterName, String poolName, String firewallRuleName,
+ HorizonDbFirewallRuleInner resource, Context context);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb firewall rule on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName, HorizonDbFirewallRuleInner resource);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbFirewallRuleInner createOrUpdate(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName, HorizonDbFirewallRuleInner resource);
+
+ /**
+ * Creates a new HorizonDb firewall rule or updates an existing rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb firewall rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbFirewallRuleInner createOrUpdate(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName, HorizonDbFirewallRuleInner resource, Context context);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String firewallRuleName);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, String poolName,
+ String firewallRuleName, Context context);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String clusterName, String poolName, String firewallRuleName);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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 clusterName, String poolName, String firewallRuleName);
+
+ /**
+ * Deletes a HorizonDb firewall rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param firewallRuleName The name of the HorizonDb firewall rule.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String clusterName, String poolName, String firewallRuleName,
+ Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbManagementClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbManagementClient.java
new file mode 100644
index 000000000000..42df379887a1
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbManagementClient.java
@@ -0,0 +1,104 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/**
+ * The interface for HorizonDbManagementClient class.
+ */
+public interface HorizonDbManagementClient {
+ /**
+ * Gets Service host.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Version parameter.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * 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 HorizonDbClustersClient object to access its operations.
+ *
+ * @return the HorizonDbClustersClient object.
+ */
+ HorizonDbClustersClient getHorizonDbClusters();
+
+ /**
+ * Gets the HorizonDbPoolsClient object to access its operations.
+ *
+ * @return the HorizonDbPoolsClient object.
+ */
+ HorizonDbPoolsClient getHorizonDbPools();
+
+ /**
+ * Gets the HorizonDbReplicasClient object to access its operations.
+ *
+ * @return the HorizonDbReplicasClient object.
+ */
+ HorizonDbReplicasClient getHorizonDbReplicas();
+
+ /**
+ * Gets the HorizonDbFirewallRulesClient object to access its operations.
+ *
+ * @return the HorizonDbFirewallRulesClient object.
+ */
+ HorizonDbFirewallRulesClient getHorizonDbFirewallRules();
+
+ /**
+ * Gets the HorizonDbPrivateEndpointConnectionsClient object to access its operations.
+ *
+ * @return the HorizonDbPrivateEndpointConnectionsClient object.
+ */
+ HorizonDbPrivateEndpointConnectionsClient getHorizonDbPrivateEndpointConnections();
+
+ /**
+ * Gets the HorizonDbPrivateLinkResourcesClient object to access its operations.
+ *
+ * @return the HorizonDbPrivateLinkResourcesClient object.
+ */
+ HorizonDbPrivateLinkResourcesClient getHorizonDbPrivateLinkResources();
+
+ /**
+ * Gets the HorizonDbParameterGroupsClient object to access its operations.
+ *
+ * @return the HorizonDbParameterGroupsClient object.
+ */
+ HorizonDbParameterGroupsClient getHorizonDbParameterGroups();
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbParameterGroupsClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbParameterGroupsClient.java
new file mode 100644
index 000000000000..a1a3ffccbdd0
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbParameterGroupsClient.java
@@ -0,0 +1,566 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbParameterGroupConnectionPropertiesInner;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbParameterGroupInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbParameterGroupForPatchUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbParameterGroupsClient.
+ */
+public interface HorizonDbParameterGroupsClient {
+ /**
+ * Gets information about a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 information about a HorizonDb parameter group along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String parameterGroupName);
+
+ /**
+ * Gets information about a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 information about a HorizonDb parameter group on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getByResourceGroupAsync(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Gets information about a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 information about a HorizonDb parameter group along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String parameterGroupName, Context context);
+
+ /**
+ * Gets information about a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 information about a HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbParameterGroupInner getByResourceGroup(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb parameter group along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String parameterGroupName, HorizonDbParameterGroupInner resource);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbParameterGroupInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupInner resource);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbParameterGroupInner>
+ beginCreateOrUpdate(String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupInner resource);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbParameterGroupInner> beginCreateOrUpdate(
+ String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupInner resource, Context context);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb parameter group on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupInner resource);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbParameterGroupInner createOrUpdate(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupInner resource);
+
+ /**
+ * Creates a new HorizonDb parameter group or updates an existing parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbParameterGroupInner createOrUpdate(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupInner resource, Context context);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb parameter group along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbParameterGroupInner> beginUpdateAsync(
+ String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbParameterGroupInner> beginUpdate(
+ String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbParameterGroupInner> beginUpdate(
+ String resourceGroupName, String parameterGroupName, HorizonDbParameterGroupForPatchUpdate properties,
+ Context context);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb parameter group on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbParameterGroupInner update(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb parameter group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbParameterGroupInner update(String resourceGroupName, String parameterGroupName,
+ HorizonDbParameterGroupForPatchUpdate properties, Context context);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String parameterGroupName,
+ Context context);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 parameterGroupName);
+
+ /**
+ * Deletes a HorizonDb parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String parameterGroupName, Context context);
+
+ /**
+ * Lists all HorizonDb parameter groups in a 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 the response of a HorizonDbParameterGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(String resourceGroupName);
+
+ /**
+ * Lists all HorizonDb parameter groups in a 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 the response of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all HorizonDb parameter groups in a 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 the response of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists all HorizonDb parameter groups 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 the response of a HorizonDbParameterGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * Lists all HorizonDb parameter groups 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 the response of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all HorizonDb parameter groups 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 the response of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Gets all connections to a parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 connections to a parameter group as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listConnectionsAsync(String resourceGroupName,
+ String parameterGroupName);
+
+ /**
+ * Gets all connections to a parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 connections to a parameter group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listConnections(String resourceGroupName,
+ String parameterGroupName);
+
+ /**
+ * Gets all connections to a parameter group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 connections to a parameter group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listConnections(String resourceGroupName,
+ String parameterGroupName, Context context);
+
+ /**
+ * Lists parameter groups filtered by version number.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param version The version number to filter by.
+ * @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 of a HorizonDbParameterGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listVersionsAsync(String resourceGroupName, String parameterGroupName,
+ Integer version);
+
+ /**
+ * Lists parameter groups filtered by version number.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 of a HorizonDbParameterGroup list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listVersionsAsync(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Lists parameter groups filtered by version number.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @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 of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listVersions(String resourceGroupName, String parameterGroupName);
+
+ /**
+ * Lists parameter groups filtered by version number.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param parameterGroupName The name of the HorizonDb parameter group.
+ * @param version The version number to filter by.
+ * @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 of a HorizonDbParameterGroup list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listVersions(String resourceGroupName, String parameterGroupName,
+ Integer version, Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPoolsClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPoolsClient.java
new file mode 100644
index 000000000000..3acfc1226037
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPoolsClient.java
@@ -0,0 +1,118 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbPoolInner;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbPoolsClient.
+ */
+public interface HorizonDbPoolsClient {
+ /**
+ * Gets information about a HorizonDb pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 information about a HorizonDb pool along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName);
+
+ /**
+ * Gets information about a HorizonDb pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 information about a HorizonDb pool on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Gets information about a HorizonDb pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 information about a HorizonDb pool along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String clusterName, String poolName,
+ Context context);
+
+ /**
+ * Gets information about a HorizonDb pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 information about a HorizonDb pool.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbPoolInner get(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Lists all HorizonDb pools in a cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPool list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists all HorizonDb pools in a cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPool list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists all HorizonDb pools in a cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPool list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName, Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateEndpointConnectionsClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateEndpointConnectionsClient.java
new file mode 100644
index 000000000000..ae550e57aace
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateEndpointConnectionsClient.java
@@ -0,0 +1,351 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.models.PrivateEndpointConnectionInner;
+import com.azure.resourcemanager.horizondb.fluent.models.PrivateEndpointConnectionResourceInner;
+import com.azure.resourcemanager.horizondb.models.PrivateEndpointConnectionUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbPrivateEndpointConnectionsClient.
+ */
+public interface HorizonDbPrivateEndpointConnectionsClient {
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 private endpoint connection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName,
+ String clusterName, String privateEndpointConnectionName);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 private endpoint connection on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String clusterName,
+ String privateEndpointConnectionName);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 private endpoint connection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String clusterName,
+ String privateEndpointConnectionName, Context context);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 private endpoint connection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionResourceInner get(String resourceGroupName, String clusterName,
+ String privateEndpointConnectionName);
+
+ /**
+ * Lists private endpoint connections in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a PrivateEndpointConnectionResource list operation as paginated response with
+ * {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists private endpoint connections in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a PrivateEndpointConnectionResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists private endpoint connections in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a PrivateEndpointConnectionResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName,
+ Context context);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 private endpoint connection resource along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName,
+ String privateEndpointConnectionName, PrivateEndpointConnectionUpdate properties);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 {@link PollerFlux} for polling of the private endpoint connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PrivateEndpointConnectionInner> beginUpdateAsync(
+ String resourceGroupName, String privateEndpointConnectionName, PrivateEndpointConnectionUpdate properties);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of the private endpoint connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginUpdate(
+ String resourceGroupName, String privateEndpointConnectionName, PrivateEndpointConnectionUpdate properties);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of the private endpoint connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginUpdate(
+ String resourceGroupName, String privateEndpointConnectionName, PrivateEndpointConnectionUpdate properties,
+ Context context);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 private endpoint connection resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionUpdate properties);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 private endpoint connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner update(String resourceGroupName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionUpdate properties);
+
+ /**
+ * Updates a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * resource.
+ * @param properties The resource properties to be updated.
+ * @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 private endpoint connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner update(String resourceGroupName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionUpdate properties, Context context);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName,
+ String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointConnectionName,
+ Context context);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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 privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String privateEndpointConnectionName, Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateLinkResourcesClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateLinkResourcesClient.java
new file mode 100644
index 000000000000..f6063b80ebbe
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbPrivateLinkResourcesClient.java
@@ -0,0 +1,122 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbPrivateLinkResourceInner;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbPrivateLinkResourcesClient.
+ */
+public interface HorizonDbPrivateLinkResourcesClient {
+ /**
+ * Gets a private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param groupName The name of the private link 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 private link resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String clusterName,
+ String groupName);
+
+ /**
+ * Gets a private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param groupName The name of the private link 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 private link resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String clusterName, String groupName);
+
+ /**
+ * Gets a private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param groupName The name of the private link 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 private link resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String clusterName,
+ String groupName, Context context);
+
+ /**
+ * Gets a private link resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param groupName The name of the private link 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 private link resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbPrivateLinkResourceInner get(String resourceGroupName, String clusterName, String groupName);
+
+ /**
+ * Lists private link resources in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPrivateLinkResource list operation as paginated response with
+ * {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists private link resources in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPrivateLinkResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName);
+
+ /**
+ * Lists private link resources in a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @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 of a HorizonDbPrivateLinkResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName,
+ Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbReplicasClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbReplicasClient.java
new file mode 100644
index 000000000000..167767ce8701
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/HorizonDbReplicasClient.java
@@ -0,0 +1,487 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbReplicaInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbReplicaForPatchUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbReplicasClient.
+ */
+public interface HorizonDbReplicasClient {
+ /**
+ * Gets information about a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 information about a HorizonDb replica along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String replicaName);
+
+ /**
+ * Gets information about a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 information about a HorizonDb replica on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String clusterName, String poolName,
+ String replicaName);
+
+ /**
+ * Gets information about a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 information about a HorizonDb replica along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, Context context);
+
+ /**
+ * Gets information about a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 information about a HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbReplicaInner get(String resourceGroupName, String clusterName, String poolName, String replicaName);
+
+ /**
+ * Lists all HorizonDb replicas in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbReplica list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Lists all HorizonDb replicas in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbReplica list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName, String poolName);
+
+ /**
+ * Lists all HorizonDb replicas in a pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @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 of a HorizonDbReplica list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String clusterName, String poolName,
+ Context context);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb replica along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String replicaName, HorizonDbReplicaInner resource);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbReplicaInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String clusterName, String poolName, String replicaName,
+ HorizonDbReplicaInner resource);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbReplicaInner> beginCreateOrUpdate(String resourceGroupName,
+ String clusterName, String poolName, String replicaName, HorizonDbReplicaInner resource);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbReplicaInner> beginCreateOrUpdate(String resourceGroupName,
+ String clusterName, String poolName, String replicaName, HorizonDbReplicaInner resource, Context context);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb replica on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, HorizonDbReplicaInner resource);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbReplicaInner createOrUpdate(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, HorizonDbReplicaInner resource);
+
+ /**
+ * Creates a new HorizonDb replica or updates an existing replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param resource Resource create parameters.
+ * @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 represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbReplicaInner createOrUpdate(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, HorizonDbReplicaInner resource, Context context);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb replica along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String replicaName, HorizonDbReplicaForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 {@link PollerFlux} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, HorizonDbReplicaInner> beginUpdateAsync(String resourceGroupName,
+ String clusterName, String poolName, String replicaName, HorizonDbReplicaForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbReplicaInner> beginUpdate(String resourceGroupName,
+ String clusterName, String poolName, String replicaName, HorizonDbReplicaForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, HorizonDbReplicaInner> beginUpdate(String resourceGroupName,
+ String clusterName, String poolName, String replicaName, HorizonDbReplicaForPatchUpdate properties,
+ Context context);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb replica on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, HorizonDbReplicaForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbReplicaInner update(String resourceGroupName, String clusterName, String poolName, String replicaName,
+ HorizonDbReplicaForPatchUpdate properties);
+
+ /**
+ * Updates an existing HorizonDb replica (e.g., role).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @param properties The resource properties to be updated.
+ * @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 represents the HorizonDb replica.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HorizonDbReplicaInner update(String resourceGroupName, String clusterName, String poolName, String replicaName,
+ HorizonDbReplicaForPatchUpdate properties, Context context);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName,
+ String poolName, String replicaName);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String clusterName, String poolName,
+ String replicaName);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, String poolName,
+ String replicaName);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, String poolName,
+ String replicaName, Context context);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String clusterName, String poolName, String replicaName);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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 clusterName, String poolName, String replicaName);
+
+ /**
+ * Deletes a HorizonDb replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param poolName The name of the HorizonDb pool.
+ * @param replicaName The name of the HorizonDb replica.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String clusterName, String poolName, String replicaName, Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/OperationsClient.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/OperationsClient.java
new file mode 100644
index 000000000000..6f1187f9dbbf
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/OperationsClient.java
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.horizondb.fluent.models.OperationInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in OperationsClient.
+ */
+public interface OperationsClient {
+ /**
+ * List the operations for the 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 a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * List the operations for the 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 a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the operations for the 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 a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbClusterInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbClusterInner.java
new file mode 100644
index 000000000000..3a61755c76dd
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbClusterInner.java
@@ -0,0 +1,181 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Represents the HorizonDb cluster.
+ */
+@Fluent
+public final class HorizonDbClusterInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HorizonDbClusterProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbClusterInner class.
+ */
+ public HorizonDbClusterInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HorizonDbClusterProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the HorizonDbClusterInner object itself.
+ */
+ public HorizonDbClusterInner withProperties(HorizonDbClusterProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public HorizonDbClusterInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public HorizonDbClusterInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbClusterInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbClusterInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbClusterInner.
+ */
+ public static HorizonDbClusterInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbClusterInner deserializedHorizonDbClusterInner = new HorizonDbClusterInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedHorizonDbClusterInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.properties = HorizonDbClusterProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbClusterInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbClusterInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbFirewallRuleInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbFirewallRuleInner.java
new file mode 100644
index 000000000000..d4842c27f6ee
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbFirewallRuleInner.java
@@ -0,0 +1,156 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.HorizonDbFirewallRuleProperties;
+import java.io.IOException;
+
+/**
+ * Represents the HorizonDb firewall rule.
+ */
+@Fluent
+public final class HorizonDbFirewallRuleInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HorizonDbFirewallRuleProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbFirewallRuleInner class.
+ */
+ public HorizonDbFirewallRuleInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HorizonDbFirewallRuleProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the HorizonDbFirewallRuleInner object itself.
+ */
+ public HorizonDbFirewallRuleInner withProperties(HorizonDbFirewallRuleProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbFirewallRuleInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbFirewallRuleInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbFirewallRuleInner.
+ */
+ public static HorizonDbFirewallRuleInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbFirewallRuleInner deserializedHorizonDbFirewallRuleInner = new HorizonDbFirewallRuleInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbFirewallRuleInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbFirewallRuleInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbFirewallRuleInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbFirewallRuleInner.properties
+ = HorizonDbFirewallRuleProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbFirewallRuleInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbFirewallRuleInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupConnectionPropertiesInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupConnectionPropertiesInner.java
new file mode 100644
index 000000000000..9af1df964e07
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupConnectionPropertiesInner.java
@@ -0,0 +1,107 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Connection information for HorizonDb parameter group.
+ */
+@Immutable
+public final class HorizonDbParameterGroupConnectionPropertiesInner
+ implements JsonSerializable {
+ /*
+ * The name of the connected resource.
+ */
+ private String name;
+
+ /*
+ * The resource ID of the connected resource.
+ */
+ private String id;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /**
+ * Creates an instance of HorizonDbParameterGroupConnectionPropertiesInner class.
+ */
+ private HorizonDbParameterGroupConnectionPropertiesInner() {
+ }
+
+ /**
+ * Get the name property: The name of the connected resource.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: The resource ID of the connected resource.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbParameterGroupConnectionPropertiesInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbParameterGroupConnectionPropertiesInner if the JsonReader was pointing to an
+ * instance of it, or null if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the HorizonDbParameterGroupConnectionPropertiesInner.
+ */
+ public static HorizonDbParameterGroupConnectionPropertiesInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbParameterGroupConnectionPropertiesInner deserializedHorizonDbParameterGroupConnectionPropertiesInner
+ = new HorizonDbParameterGroupConnectionPropertiesInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("name".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupConnectionPropertiesInner.name = reader.getString();
+ } else if ("id".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupConnectionPropertiesInner.id = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupConnectionPropertiesInner.type = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbParameterGroupConnectionPropertiesInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupInner.java
new file mode 100644
index 000000000000..246d81b8c053
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbParameterGroupInner.java
@@ -0,0 +1,182 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.HorizonDbParameterGroupProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Represents the HorizonDb parameter group.
+ */
+@Fluent
+public final class HorizonDbParameterGroupInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HorizonDbParameterGroupProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbParameterGroupInner class.
+ */
+ public HorizonDbParameterGroupInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HorizonDbParameterGroupProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the HorizonDbParameterGroupInner object itself.
+ */
+ public HorizonDbParameterGroupInner withProperties(HorizonDbParameterGroupProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public HorizonDbParameterGroupInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public HorizonDbParameterGroupInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbParameterGroupInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbParameterGroupInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbParameterGroupInner.
+ */
+ public static HorizonDbParameterGroupInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbParameterGroupInner deserializedHorizonDbParameterGroupInner = new HorizonDbParameterGroupInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedHorizonDbParameterGroupInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.properties
+ = HorizonDbParameterGroupProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbParameterGroupInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbParameterGroupInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPoolInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPoolInner.java
new file mode 100644
index 000000000000..85df987d05ac
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPoolInner.java
@@ -0,0 +1,163 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.HorizonDbPoolProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Represents the HorizonDb pool.
+ */
+@Immutable
+public final class HorizonDbPoolInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HorizonDbPoolProperties properties;
+
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbPoolInner class.
+ */
+ private HorizonDbPoolInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HorizonDbPoolProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbPoolInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbPoolInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbPoolInner.
+ */
+ public static HorizonDbPoolInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbPoolInner deserializedHorizonDbPoolInner = new HorizonDbPoolInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbPoolInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbPoolInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbPoolInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbPoolInner.properties = HorizonDbPoolProperties.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedHorizonDbPoolInner.tags = tags;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbPoolInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbPoolInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPrivateLinkResourceInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPrivateLinkResourceInner.java
new file mode 100644
index 000000000000..3ca4eb2af693
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbPrivateLinkResourceInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.PrivateLinkResourceProperties;
+import java.io.IOException;
+
+/**
+ * Represents the HorizonDb private link resource.
+ */
+@Immutable
+public final class HorizonDbPrivateLinkResourceInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private PrivateLinkResourceProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbPrivateLinkResourceInner class.
+ */
+ private HorizonDbPrivateLinkResourceInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public PrivateLinkResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbPrivateLinkResourceInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbPrivateLinkResourceInner if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbPrivateLinkResourceInner.
+ */
+ public static HorizonDbPrivateLinkResourceInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbPrivateLinkResourceInner deserializedHorizonDbPrivateLinkResourceInner
+ = new HorizonDbPrivateLinkResourceInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbPrivateLinkResourceInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbPrivateLinkResourceInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbPrivateLinkResourceInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbPrivateLinkResourceInner.properties
+ = PrivateLinkResourceProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbPrivateLinkResourceInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbPrivateLinkResourceInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbReplicaInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbReplicaInner.java
new file mode 100644
index 000000000000..1b9b8e31eecc
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/HorizonDbReplicaInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.HorizonDbReplicaProperties;
+import java.io.IOException;
+
+/**
+ * Represents the HorizonDb replica.
+ */
+@Fluent
+public final class HorizonDbReplicaInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HorizonDbReplicaProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HorizonDbReplicaInner class.
+ */
+ public HorizonDbReplicaInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HorizonDbReplicaProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the HorizonDbReplicaInner object itself.
+ */
+ public HorizonDbReplicaInner withProperties(HorizonDbReplicaProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HorizonDbReplicaInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HorizonDbReplicaInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HorizonDbReplicaInner.
+ */
+ public static HorizonDbReplicaInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HorizonDbReplicaInner deserializedHorizonDbReplicaInner = new HorizonDbReplicaInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHorizonDbReplicaInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHorizonDbReplicaInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHorizonDbReplicaInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHorizonDbReplicaInner.properties = HorizonDbReplicaProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHorizonDbReplicaInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHorizonDbReplicaInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/OperationInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/OperationInner.java
new file mode 100644
index 000000000000..393946eec02b
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/OperationInner.java
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.ActionType;
+import com.azure.resourcemanager.horizondb.models.OperationDisplay;
+import com.azure.resourcemanager.horizondb.models.Origin;
+import java.io.IOException;
+
+/**
+ * REST API Operation
+ *
+ * Details of a REST API operation, returned from the Resource Provider Operations API.
+ */
+@Immutable
+public final class OperationInner implements JsonSerializable {
+ /*
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
+ */
+ private String name;
+
+ /*
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure
+ * Resource Manager/control-plane operations.
+ */
+ private Boolean isDataAction;
+
+ /*
+ * Localized display information for this particular operation.
+ */
+ private OperationDisplay display;
+
+ /*
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
+ * value is "user,system"
+ */
+ private Origin origin;
+
+ /*
+ * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
+ */
+ private ActionType actionType;
+
+ /**
+ * Creates an instance of OperationInner class.
+ */
+ private OperationInner() {
+ }
+
+ /**
+ * Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane
+ * operations and "false" for Azure Resource Manager/control-plane operations.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Get the display property: Localized display information for this particular operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and
+ * audit logs UX. Default value is "user,system".
+ *
+ * @return the origin value.
+ */
+ public Origin origin() {
+ return this.origin;
+ }
+
+ /**
+ * Get the actionType property: Extensible enum. Indicates the action type. "Internal" refers to actions that are
+ * for internal only APIs.
+ *
+ * @return the actionType value.
+ */
+ public ActionType actionType() {
+ return this.actionType;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("display", this.display);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of OperationInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of OperationInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the OperationInner.
+ */
+ public static OperationInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ OperationInner deserializedOperationInner = new OperationInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("name".equals(fieldName)) {
+ deserializedOperationInner.name = reader.getString();
+ } else if ("isDataAction".equals(fieldName)) {
+ deserializedOperationInner.isDataAction = reader.getNullable(JsonReader::getBoolean);
+ } else if ("display".equals(fieldName)) {
+ deserializedOperationInner.display = OperationDisplay.fromJson(reader);
+ } else if ("origin".equals(fieldName)) {
+ deserializedOperationInner.origin = Origin.fromString(reader.getString());
+ } else if ("actionType".equals(fieldName)) {
+ deserializedOperationInner.actionType = ActionType.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedOperationInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionInner.java
new file mode 100644
index 000000000000..81e2cc5a8f1a
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.PrivateEndpointConnectionProperties;
+import java.io.IOException;
+
+/**
+ * The private endpoint connection resource.
+ */
+@Immutable
+public final class PrivateEndpointConnectionInner extends ProxyResource {
+ /*
+ * The private endpoint connection properties
+ */
+ private PrivateEndpointConnectionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of PrivateEndpointConnectionInner class.
+ */
+ private PrivateEndpointConnectionInner() {
+ }
+
+ /**
+ * Get the properties property: The private endpoint connection properties.
+ *
+ * @return the properties value.
+ */
+ public PrivateEndpointConnectionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of PrivateEndpointConnectionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of PrivateEndpointConnectionInner if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the PrivateEndpointConnectionInner.
+ */
+ public static PrivateEndpointConnectionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ PrivateEndpointConnectionInner deserializedPrivateEndpointConnectionInner
+ = new PrivateEndpointConnectionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.properties
+ = PrivateEndpointConnectionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedPrivateEndpointConnectionInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionResourceInner.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionResourceInner.java
new file mode 100644
index 000000000000..fd02ec5db0c7
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/PrivateEndpointConnectionResourceInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.horizondb.models.PrivateEndpointConnectionProperties;
+import java.io.IOException;
+
+/**
+ * A private endpoint connection resource.
+ */
+@Immutable
+public final class PrivateEndpointConnectionResourceInner extends ProxyResource {
+ /*
+ * The private endpoint connection properties
+ */
+ private PrivateEndpointConnectionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of PrivateEndpointConnectionResourceInner class.
+ */
+ private PrivateEndpointConnectionResourceInner() {
+ }
+
+ /**
+ * Get the properties property: The private endpoint connection properties.
+ *
+ * @return the properties value.
+ */
+ public PrivateEndpointConnectionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of PrivateEndpointConnectionResourceInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of PrivateEndpointConnectionResourceInner if the JsonReader was pointing to an instance of
+ * it, or null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the PrivateEndpointConnectionResourceInner.
+ */
+ public static PrivateEndpointConnectionResourceInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ PrivateEndpointConnectionResourceInner deserializedPrivateEndpointConnectionResourceInner
+ = new PrivateEndpointConnectionResourceInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.properties
+ = PrivateEndpointConnectionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedPrivateEndpointConnectionResourceInner;
+ });
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/package-info.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/models/package-info.java
new file mode 100644
index 000000000000..ddbd11d6f2fe
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/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) TypeSpec Code Generator.
+
+/**
+ * Package containing the inner data models for HorizonDb.
+ * Azure Resource Provider API for managing HorizonDb clusters, pools, replicas, and firewall rules.
+ */
+package com.azure.resourcemanager.horizondb.fluent.models;
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/package-info.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/fluent/package-info.java
new file mode 100644
index 000000000000..3f33e53b6189
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/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) TypeSpec Code Generator.
+
+/**
+ * Package containing the service clients for HorizonDb.
+ * Azure Resource Provider API for managing HorizonDb clusters, pools, replicas, and firewall rules.
+ */
+package com.azure.resourcemanager.horizondb.fluent;
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClusterImpl.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClusterImpl.java
new file mode 100644
index 000000000000..5a9b261c4120
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClusterImpl.java
@@ -0,0 +1,184 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.implementation;
+
+import com.azure.core.management.Region;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbClusterInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbCluster;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterForPatchUpdate;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterProperties;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterPropertiesForPatchUpdate;
+import java.util.Collections;
+import java.util.Map;
+
+public final class HorizonDbClusterImpl
+ implements HorizonDbCluster, HorizonDbCluster.Definition, HorizonDbCluster.Update {
+ private HorizonDbClusterInner innerObject;
+
+ private final com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public HorizonDbClusterProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public HorizonDbClusterInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.horizondb.HorizonDbManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String clusterName;
+
+ private HorizonDbClusterForPatchUpdate updateProperties;
+
+ public HorizonDbClusterImpl withExistingResourceGroup(String resourceGroupName) {
+ this.resourceGroupName = resourceGroupName;
+ return this;
+ }
+
+ public HorizonDbCluster create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .createOrUpdate(resourceGroupName, clusterName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public HorizonDbCluster create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .createOrUpdate(resourceGroupName, clusterName, this.innerModel(), context);
+ return this;
+ }
+
+ HorizonDbClusterImpl(String name, com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager) {
+ this.innerObject = new HorizonDbClusterInner();
+ this.serviceManager = serviceManager;
+ this.clusterName = name;
+ }
+
+ public HorizonDbClusterImpl update() {
+ this.updateProperties = new HorizonDbClusterForPatchUpdate();
+ return this;
+ }
+
+ public HorizonDbCluster apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .update(resourceGroupName, clusterName, updateProperties, Context.NONE);
+ return this;
+ }
+
+ public HorizonDbCluster apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .update(resourceGroupName, clusterName, updateProperties, context);
+ return this;
+ }
+
+ HorizonDbClusterImpl(HorizonDbClusterInner innerObject,
+ com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.clusterName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "clusters");
+ }
+
+ public HorizonDbCluster refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .getByResourceGroupWithResponse(resourceGroupName, clusterName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public HorizonDbCluster refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbClusters()
+ .getByResourceGroupWithResponse(resourceGroupName, clusterName, context)
+ .getValue();
+ return this;
+ }
+
+ public HorizonDbClusterImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public HorizonDbClusterImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public HorizonDbClusterImpl withTags(Map tags) {
+ if (isInCreateMode()) {
+ this.innerModel().withTags(tags);
+ return this;
+ } else {
+ this.updateProperties.withTags(tags);
+ return this;
+ }
+ }
+
+ public HorizonDbClusterImpl withProperties(HorizonDbClusterProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+
+ public HorizonDbClusterImpl withProperties(HorizonDbClusterPropertiesForPatchUpdate properties) {
+ this.updateProperties.withProperties(properties);
+ return this;
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel() == null || this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersClientImpl.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersClientImpl.java
new file mode 100644
index 000000000000..ac1e25b6a9e4
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersClientImpl.java
@@ -0,0 +1,1098 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.HorizonDbClustersClient;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbClusterInner;
+import com.azure.resourcemanager.horizondb.implementation.models.HorizonDbClusterListResult;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusterForPatchUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbClustersClient.
+ */
+public final class HorizonDbClustersClientImpl implements HorizonDbClustersClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final HorizonDbClustersService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final HorizonDbManagementClientImpl client;
+
+ /**
+ * Initializes an instance of HorizonDbClustersClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ HorizonDbClustersClientImpl(HorizonDbManagementClientImpl client) {
+ this.service
+ = RestProxy.create(HorizonDbClustersService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for HorizonDbManagementClientHorizonDbClusters to be used by the proxy
+ * service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "HorizonDbManagementClientHorizonDbClusters")
+ public interface HorizonDbClustersService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getByResourceGroupSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") HorizonDbClusterInner resource, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") HorizonDbClusterInner resource, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") HorizonDbClusterForPatchUpdate properties, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response updateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") HorizonDbClusterForPatchUpdate properties, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response deleteSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByResourceGroupSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.HorizonDb/clusters")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.HorizonDb/clusters")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroupNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByResourceGroupNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBySubscriptionNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listBySubscriptionNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about a HorizonDb cluster along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String clusterName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about a HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono getByResourceGroupAsync(String resourceGroupName, String clusterName) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, clusterName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about a HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName,
+ Context context) {
+ final String accept = "application/json";
+ return service.getByResourceGroupSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, accept, context);
+ }
+
+ /**
+ * Gets information about a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about a HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public HorizonDbClusterInner getByResourceGroup(String resourceGroupName, String clusterName) {
+ return getByResourceGroupWithResponse(resourceGroupName, clusterName, Context.NONE).getValue();
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String clusterName, HorizonDbClusterInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, resource,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, resource,
+ Context.NONE);
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, resource, context);
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link PollerFlux} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, HorizonDbClusterInner>
+ beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, HorizonDbClusterInner resource) {
+ Mono>> mono
+ = createOrUpdateWithResponseAsync(resourceGroupName, clusterName, resource);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), HorizonDbClusterInner.class, HorizonDbClusterInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, HorizonDbClusterInner>
+ beginCreateOrUpdate(String resourceGroupName, String clusterName, HorizonDbClusterInner resource) {
+ Response response = createOrUpdateWithResponse(resourceGroupName, clusterName, resource);
+ return this.client.getLroResult(response,
+ HorizonDbClusterInner.class, HorizonDbClusterInner.class, Context.NONE);
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, HorizonDbClusterInner> beginCreateOrUpdate(
+ String resourceGroupName, String clusterName, HorizonDbClusterInner resource, Context context) {
+ Response response = createOrUpdateWithResponse(resourceGroupName, clusterName, resource, context);
+ return this.client.getLroResult(response,
+ HorizonDbClusterInner.class, HorizonDbClusterInner.class, context);
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono createOrUpdateAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource) {
+ return beginCreateOrUpdateAsync(resourceGroupName, clusterName, resource).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public HorizonDbClusterInner createOrUpdate(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource) {
+ return beginCreateOrUpdate(resourceGroupName, clusterName, resource).getFinalResult();
+ }
+
+ /**
+ * Creates a new HorizonDb cluster or updates an existing cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public HorizonDbClusterInner createOrUpdate(String resourceGroupName, String clusterName,
+ HorizonDbClusterInner resource, Context context) {
+ return beginCreateOrUpdate(resourceGroupName, clusterName, resource, context).getFinalResult();
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> updateWithResponseAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil.withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, properties, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, properties,
+ Context.NONE);
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, properties, context);
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link PollerFlux} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, HorizonDbClusterInner>
+ beginUpdateAsync(String resourceGroupName, String clusterName, HorizonDbClusterForPatchUpdate properties) {
+ Mono>> mono = updateWithResponseAsync(resourceGroupName, clusterName, properties);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), HorizonDbClusterInner.class, HorizonDbClusterInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, HorizonDbClusterInner> beginUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterForPatchUpdate properties) {
+ Response response = updateWithResponse(resourceGroupName, clusterName, properties);
+ return this.client.getLroResult(response,
+ HorizonDbClusterInner.class, HorizonDbClusterInner.class, Context.NONE);
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, HorizonDbClusterInner> beginUpdate(String resourceGroupName,
+ String clusterName, HorizonDbClusterForPatchUpdate properties, Context context) {
+ Response response = updateWithResponse(resourceGroupName, clusterName, properties, context);
+ return this.client.getLroResult(response,
+ HorizonDbClusterInner.class, HorizonDbClusterInner.class, context);
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono updateAsync(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties) {
+ return beginUpdateAsync(resourceGroupName, clusterName, properties).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public HorizonDbClusterInner update(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties) {
+ return beginUpdate(resourceGroupName, clusterName, properties).getFinalResult();
+ }
+
+ /**
+ * Updates an existing HorizonDb cluster (e.g., tags, virtual cores, replica count).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents the HorizonDb cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public HorizonDbClusterInner update(String resourceGroupName, String clusterName,
+ HorizonDbClusterForPatchUpdate properties, Context context) {
+ return beginUpdate(resourceGroupName, clusterName, properties, context).getFinalResult();
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName) {
+ return FluxUtil
+ .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String clusterName) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, Context.NONE);
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String clusterName, Context context) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, context);
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String clusterName) {
+ Mono>> mono = deleteWithResponseAsync(resourceGroupName, clusterName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName) {
+ Response response = deleteWithResponse(resourceGroupName, clusterName);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName,
+ Context context) {
+ Response response = deleteWithResponse(resourceGroupName, clusterName, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono deleteAsync(String resourceGroupName, String clusterName) {
+ return beginDeleteAsync(resourceGroupName, clusterName).last().flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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)
+ public void delete(String resourceGroupName, String clusterName) {
+ beginDelete(resourceGroupName, clusterName).getFinalResult();
+ }
+
+ /**
+ * Deletes a HorizonDb cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the HorizonDb cluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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)
+ public void delete(String resourceGroupName, String clusterName, Context context) {
+ beginDelete(resourceGroupName, clusterName, context).getFinalResult();
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listByResourceGroupAsync(String resourceGroupName) {
+ return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName),
+ nextLink -> listByResourceGroupNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) {
+ final String accept = "application/json";
+ Response res = service.listByResourceGroupSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a 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 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupSinglePage(String resourceGroupName,
+ Context context) {
+ final String accept = "application/json";
+ Response res = service.listByResourceGroupSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByResourceGroup(String resourceGroupName) {
+ return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName),
+ nextLink -> listByResourceGroupNextSinglePage(nextLink));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a 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 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 of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByResourceGroup(String resourceGroupName, Context context) {
+ return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context),
+ nextLink -> listByResourceGroupNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync() {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @throws 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 of a HorizonDbCluster list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listAsync() {
+ return new PagedFlux<>(() -> listSinglePageAsync(),
+ nextLink -> listBySubscriptionNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listSinglePage() {
+ final String accept = "application/json";
+ Response res = service.listSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listSinglePage(Context context) {
+ final String accept = "application/json";
+ Response res = service.listSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @throws 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 of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list() {
+ return new PagedIterable<>(() -> listSinglePage(), nextLink -> listBySubscriptionNextSinglePage(nextLink));
+ }
+
+ /**
+ * Lists all HorizonDb clusters in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(Context context) {
+ return new PagedIterable<>(() -> listSinglePage(context),
+ nextLink -> listBySubscriptionNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByResourceGroupNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listBySubscriptionNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 of a HorizonDbCluster list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listBySubscriptionNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listBySubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersImpl.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersImpl.java
new file mode 100644
index 000000000000..5c8b4ac5a902
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbClustersImpl.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.horizondb.fluent.HorizonDbClustersClient;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbClusterInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbCluster;
+import com.azure.resourcemanager.horizondb.models.HorizonDbClusters;
+
+public final class HorizonDbClustersImpl implements HorizonDbClusters {
+ private static final ClientLogger LOGGER = new ClientLogger(HorizonDbClustersImpl.class);
+
+ private final HorizonDbClustersClient innerClient;
+
+ private final com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager;
+
+ public HorizonDbClustersImpl(HorizonDbClustersClient innerClient,
+ com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName,
+ Context context) {
+ Response inner
+ = this.serviceClient().getByResourceGroupWithResponse(resourceGroupName, clusterName, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new HorizonDbClusterImpl(inner.getValue(), this.manager()));
+ }
+
+ public HorizonDbCluster getByResourceGroup(String resourceGroupName, String clusterName) {
+ HorizonDbClusterInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, clusterName);
+ if (inner != null) {
+ return new HorizonDbClusterImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public void deleteByResourceGroup(String resourceGroupName, String clusterName) {
+ this.serviceClient().delete(resourceGroupName, clusterName);
+ }
+
+ public void delete(String resourceGroupName, String clusterName, Context context) {
+ this.serviceClient().delete(resourceGroupName, clusterName, context);
+ }
+
+ public PagedIterable listByResourceGroup(String resourceGroupName) {
+ PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new HorizonDbClusterImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByResourceGroup(String resourceGroupName, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByResourceGroup(resourceGroupName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new HorizonDbClusterImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list() {
+ PagedIterable inner = this.serviceClient().list();
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new HorizonDbClusterImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list(Context context) {
+ PagedIterable inner = this.serviceClient().list(context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new HorizonDbClusterImpl(inner1, this.manager()));
+ }
+
+ public HorizonDbCluster getById(String id) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String clusterName = ResourceManagerUtils.getValueFromIdByName(id, "clusters");
+ if (clusterName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'clusters'.", id)));
+ }
+ return this.getByResourceGroupWithResponse(resourceGroupName, clusterName, Context.NONE).getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String clusterName = ResourceManagerUtils.getValueFromIdByName(id, "clusters");
+ if (clusterName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'clusters'.", id)));
+ }
+ return this.getByResourceGroupWithResponse(resourceGroupName, clusterName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String clusterName = ResourceManagerUtils.getValueFromIdByName(id, "clusters");
+ if (clusterName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'clusters'.", id)));
+ }
+ this.delete(resourceGroupName, clusterName, Context.NONE);
+ }
+
+ public void deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String clusterName = ResourceManagerUtils.getValueFromIdByName(id, "clusters");
+ if (clusterName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'clusters'.", id)));
+ }
+ this.delete(resourceGroupName, clusterName, context);
+ }
+
+ private HorizonDbClustersClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.horizondb.HorizonDbManager manager() {
+ return this.serviceManager;
+ }
+
+ public HorizonDbClusterImpl define(String name) {
+ return new HorizonDbClusterImpl(name, this.manager());
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRuleImpl.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRuleImpl.java
new file mode 100644
index 000000000000..b9ddc9e190d5
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRuleImpl.java
@@ -0,0 +1,136 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbFirewallRuleInner;
+import com.azure.resourcemanager.horizondb.models.HorizonDbFirewallRule;
+import com.azure.resourcemanager.horizondb.models.HorizonDbFirewallRuleProperties;
+
+public final class HorizonDbFirewallRuleImpl
+ implements HorizonDbFirewallRule, HorizonDbFirewallRule.Definition, HorizonDbFirewallRule.Update {
+ private HorizonDbFirewallRuleInner innerObject;
+
+ private final com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public HorizonDbFirewallRuleProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public HorizonDbFirewallRuleInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.horizondb.HorizonDbManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String clusterName;
+
+ private String poolName;
+
+ private String firewallRuleName;
+
+ public HorizonDbFirewallRuleImpl withExistingPool(String resourceGroupName, String clusterName, String poolName) {
+ this.resourceGroupName = resourceGroupName;
+ this.clusterName = clusterName;
+ this.poolName = poolName;
+ return this;
+ }
+
+ public HorizonDbFirewallRule create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .createOrUpdate(resourceGroupName, clusterName, poolName, firewallRuleName, this.innerModel(),
+ Context.NONE);
+ return this;
+ }
+
+ public HorizonDbFirewallRule create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .createOrUpdate(resourceGroupName, clusterName, poolName, firewallRuleName, this.innerModel(), context);
+ return this;
+ }
+
+ HorizonDbFirewallRuleImpl(String name, com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager) {
+ this.innerObject = new HorizonDbFirewallRuleInner();
+ this.serviceManager = serviceManager;
+ this.firewallRuleName = name;
+ }
+
+ public HorizonDbFirewallRuleImpl update() {
+ return this;
+ }
+
+ public HorizonDbFirewallRule apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .createOrUpdate(resourceGroupName, clusterName, poolName, firewallRuleName, this.innerModel(),
+ Context.NONE);
+ return this;
+ }
+
+ public HorizonDbFirewallRule apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .createOrUpdate(resourceGroupName, clusterName, poolName, firewallRuleName, this.innerModel(), context);
+ return this;
+ }
+
+ HorizonDbFirewallRuleImpl(HorizonDbFirewallRuleInner innerObject,
+ com.azure.resourcemanager.horizondb.HorizonDbManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.clusterName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "clusters");
+ this.poolName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "pools");
+ this.firewallRuleName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "firewallRules");
+ }
+
+ public HorizonDbFirewallRule refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .getWithResponse(resourceGroupName, clusterName, poolName, firewallRuleName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public HorizonDbFirewallRule refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getHorizonDbFirewallRules()
+ .getWithResponse(resourceGroupName, clusterName, poolName, firewallRuleName, context)
+ .getValue();
+ return this;
+ }
+
+ public HorizonDbFirewallRuleImpl withProperties(HorizonDbFirewallRuleProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+}
diff --git a/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRulesClientImpl.java b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRulesClientImpl.java
new file mode 100644
index 000000000000..58d43fc68a57
--- /dev/null
+++ b/sdk/horizondb/azure-resourcemanager-horizondb/src/main/java/com/azure/resourcemanager/horizondb/implementation/HorizonDbFirewallRulesClientImpl.java
@@ -0,0 +1,809 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.horizondb.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.horizondb.fluent.HorizonDbFirewallRulesClient;
+import com.azure.resourcemanager.horizondb.fluent.models.HorizonDbFirewallRuleInner;
+import com.azure.resourcemanager.horizondb.implementation.models.HorizonDbFirewallRuleListResult;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in HorizonDbFirewallRulesClient.
+ */
+public final class HorizonDbFirewallRulesClientImpl implements HorizonDbFirewallRulesClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final HorizonDbFirewallRulesService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final HorizonDbManagementClientImpl client;
+
+ /**
+ * Initializes an instance of HorizonDbFirewallRulesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ HorizonDbFirewallRulesClientImpl(HorizonDbManagementClientImpl client) {
+ this.service = RestProxy.create(HorizonDbFirewallRulesService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for HorizonDbManagementClientHorizonDbFirewallRules to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "HorizonDbManagementClientHorizonDbFirewallRules")
+ public interface HorizonDbFirewallRulesService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/pools/{poolName}/firewallRules/{firewallRuleName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("poolName") String poolName, @PathParam("firewallRuleName") String firewallRuleName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/pools/{poolName}/firewallRules/{firewallRuleName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response