diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 677f29c6d900e..3f5c9166725c1 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -191,6 +191,7 @@ com.azure.resourcemanager:azure-resourcemanager-kusto;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-loganalytics;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.1;1.0.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.1;1.0.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
diff --git a/pom.xml b/pom.xml
index a14b9daf5ead6..8fdda93764168 100644
--- a/pom.xml
+++ b/pom.xml
@@ -553,6 +553,7 @@
sdk/boms
sdk/cognitiveservices
sdk/communication
+ sdk/confluent
sdk/core
sdk/cosmos
sdk/costmanagement
diff --git a/sdk/confluent/azure-resourcemanager-confluent/CHANGELOG.md b/sdk/confluent/azure-resourcemanager-confluent/CHANGELOG.md
new file mode 100644
index 0000000000000..927686d7fa366
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-01-14)
+
+- Azure Resource Manager Confluent client library for Java. This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-2020-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
\ No newline at end of file
diff --git a/sdk/confluent/azure-resourcemanager-confluent/README.md b/sdk/confluent/azure-resourcemanager-confluent/README.md
new file mode 100644
index 0000000000000..a9a1ee92f0d8e
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/README.md
@@ -0,0 +1,83 @@
+# Azure Resource Manager Confluent client library for Java
+
+Azure Resource Manager Confluent client library for Java.
+
+This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-2020-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-confluent;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-confluent
+ 1.0.0-beta.1
+
+```
+[//]: # ({x-version-update-end})
+
+### Include the recommended packages
+
+Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
+
+[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+
+### Authentication
+
+By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, `azure` client can be authenticated by following code:
+
+```java
+AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+TokenCredential credential = new DefaultAzureCredentialBuilder()
+ .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
+ .build();
+ConfluentManager manager = ConfluentManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/master/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/confluent/azure-resourcemanager-confluent/pom.xml b/sdk/confluent/azure-resourcemanager-confluent/pom.xml
new file mode 100644
index 0000000000000..af0ae3ef2089b
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/pom.xml
@@ -0,0 +1,62 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-confluent
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for Confluent Management
+ This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-2020-03-01. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core-management
+ 1.1.0
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+
+
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/ConfluentManager.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/ConfluentManager.java
new file mode 100644
index 0000000000000..f83ab7100a8a4
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/ConfluentManager.java
@@ -0,0 +1,225 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.confluent.fluent.ConfluentManagementClient;
+import com.azure.resourcemanager.confluent.implementation.ConfluentManagementClientBuilder;
+import com.azure.resourcemanager.confluent.implementation.MarketplaceAgreementsImpl;
+import com.azure.resourcemanager.confluent.implementation.OrganizationOperationsImpl;
+import com.azure.resourcemanager.confluent.implementation.OrganizationsImpl;
+import com.azure.resourcemanager.confluent.models.MarketplaceAgreements;
+import com.azure.resourcemanager.confluent.models.OrganizationOperations;
+import com.azure.resourcemanager.confluent.models.Organizations;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to ConfluentManager. */
+public final class ConfluentManager {
+ private MarketplaceAgreements marketplaceAgreements;
+
+ private OrganizationOperations organizationOperations;
+
+ private Organizations organizations;
+
+ private final ConfluentManagementClient clientObject;
+
+ private ConfluentManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new ConfluentManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of Confluent service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Confluent service API instance.
+ */
+ public static ConfluentManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ return configure().authenticate(credential, profile);
+ }
+
+ /**
+ * Gets a Configurable instance that can be used to create ConfluentManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new ConfluentManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of Confluent service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Confluent service API instance.
+ */
+ public ConfluentManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies
+ .add(
+ new UserAgentPolicy(
+ null,
+ "com.azure.resourcemanager.confluent",
+ "1.0.0-beta.1",
+ Configuration.getGlobalConfiguration()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies
+ .add(
+ new BearerTokenAuthenticationPolicy(
+ credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new ConfluentManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of MarketplaceAgreements. */
+ public MarketplaceAgreements marketplaceAgreements() {
+ if (this.marketplaceAgreements == null) {
+ this.marketplaceAgreements = new MarketplaceAgreementsImpl(clientObject.getMarketplaceAgreements(), this);
+ }
+ return marketplaceAgreements;
+ }
+
+ /** @return Resource collection API of OrganizationOperations. */
+ public OrganizationOperations organizationOperations() {
+ if (this.organizationOperations == null) {
+ this.organizationOperations =
+ new OrganizationOperationsImpl(clientObject.getOrganizationOperations(), this);
+ }
+ return organizationOperations;
+ }
+
+ /** @return Resource collection API of Organizations. */
+ public Organizations organizations() {
+ if (this.organizations == null) {
+ this.organizations = new OrganizationsImpl(clientObject.getOrganizations(), this);
+ }
+ return organizations;
+ }
+
+ /**
+ * @return Wrapped service client ConfluentManagementClient providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ */
+ public ConfluentManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/ConfluentManagementClient.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/ConfluentManagementClient.java
new file mode 100644
index 0000000000000..dbeff07ffa486
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/ConfluentManagementClient.java
@@ -0,0 +1,67 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for ConfluentManagementClient class. */
+public interface ConfluentManagementClient {
+ /**
+ * Gets Microsoft Azure subscription id.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the MarketplaceAgreementsClient object to access its operations.
+ *
+ * @return the MarketplaceAgreementsClient object.
+ */
+ MarketplaceAgreementsClient getMarketplaceAgreements();
+
+ /**
+ * Gets the OrganizationOperationsClient object to access its operations.
+ *
+ * @return the OrganizationOperationsClient object.
+ */
+ OrganizationOperationsClient getOrganizationOperations();
+
+ /**
+ * Gets the OrganizationsClient object to access its operations.
+ *
+ * @return the OrganizationsClient object.
+ */
+ OrganizationsClient getOrganizations();
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/MarketplaceAgreementsClient.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/MarketplaceAgreementsClient.java
new file mode 100644
index 0000000000000..78fa036274f45
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/MarketplaceAgreementsClient.java
@@ -0,0 +1,60 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.confluent.fluent.models.ConfluentAgreementResourceInner;
+
+/** An instance of this class provides access to all the operations defined in MarketplaceAgreementsClient. */
+public interface MarketplaceAgreementsClient {
+ /**
+ * List Confluent marketplace agreements in the 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 response of a list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List Confluent marketplace agreements in the 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 response of a list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Accept marketplace terms.
+ *
+ * @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 confluent Agreements Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfluentAgreementResourceInner create();
+
+ /**
+ * Accept marketplace terms.
+ *
+ * @param body Confluent Agreement 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 confluent Agreements Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(ConfluentAgreementResourceInner body, Context context);
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationOperationsClient.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationOperationsClient.java
new file mode 100644
index 0000000000000..53f8f24e8de41
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationOperationsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.confluent.fluent.models.OperationResultInner;
+
+/** An instance of this class provides access to all the operations defined in OrganizationOperationsClient. */
+public interface OrganizationOperationsClient {
+ /**
+ * List all operations provided by Microsoft.Confluent.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of GET request to list Confluent operations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all operations provided by Microsoft.Confluent.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of GET request to list Confluent operations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationsClient.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationsClient.java
new file mode 100644
index 0000000000000..9d48ef8e938ad
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/OrganizationsClient.java
@@ -0,0 +1,248 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.confluent.fluent.models.OrganizationResourceInner;
+import com.azure.resourcemanager.confluent.models.OrganizationResourceUpdate;
+
+/** An instance of this class provides access to all the operations defined in OrganizationsClient. */
+public interface OrganizationsClient {
+ /**
+ * List all organizations under the specified 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 list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all organizations under the specified 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 list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * List all Organizations under the specified resource group.
+ *
+ * @param resourceGroupName Resource group name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all Organizations under the specified resource group.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a list operation.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get the properties of a specific Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a specific Organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OrganizationResourceInner getByResourceGroup(String resourceGroupName, String organizationName);
+
+ /**
+ * Get the properties of a specific Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a specific Organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String organizationName, Context context);
+
+ /**
+ * Create Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param body Organization resource model.
+ * @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 organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OrganizationResourceInner> beginCreate(
+ String resourceGroupName, String organizationName, OrganizationResourceInner body);
+
+ /**
+ * Create Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param body Organization resource model.
+ * @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 organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, OrganizationResourceInner> beginCreate(
+ String resourceGroupName, String organizationName, OrganizationResourceInner body, Context context);
+
+ /**
+ * Create Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param body Organization resource model.
+ * @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 organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OrganizationResourceInner create(String resourceGroupName, String organizationName, OrganizationResourceInner body);
+
+ /**
+ * Create Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OrganizationResourceInner create(String resourceGroupName, String organizationName);
+
+ /**
+ * Create Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param body Organization resource model.
+ * @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 organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OrganizationResourceInner create(
+ String resourceGroupName, String organizationName, OrganizationResourceInner body, Context context);
+
+ /**
+ * Update Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OrganizationResourceInner update(String resourceGroupName, String organizationName);
+
+ /**
+ * Update Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param body Updated Organization 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 organization resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String organizationName, OrganizationResourceUpdate body, Context context);
+
+ /**
+ * Delete Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String organizationName);
+
+ /**
+ * Delete Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String organizationName, Context context);
+
+ /**
+ * Delete Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String organizationName);
+
+ /**
+ * Delete Organization resource.
+ *
+ * @param resourceGroupName Resource group name.
+ * @param organizationName Organization resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String organizationName, Context context);
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/ConfluentAgreementResourceInner.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/ConfluentAgreementResourceInner.java
new file mode 100644
index 0000000000000..b49c28f848755
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/ConfluentAgreementResourceInner.java
@@ -0,0 +1,239 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Confluent Agreements Resource. */
+@JsonFlatten
+@Fluent
+public class ConfluentAgreementResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConfluentAgreementResourceInner.class);
+
+ /*
+ * Publisher identifier string.
+ */
+ @JsonProperty(value = "properties.publisher")
+ private String publisher;
+
+ /*
+ * Product identifier string.
+ */
+ @JsonProperty(value = "properties.product")
+ private String product;
+
+ /*
+ * Plan identifier string.
+ */
+ @JsonProperty(value = "properties.plan")
+ private String plan;
+
+ /*
+ * Link to HTML with Microsoft and Publisher terms.
+ */
+ @JsonProperty(value = "properties.licenseTextLink")
+ private String licenseTextLink;
+
+ /*
+ * Link to the privacy policy of the publisher.
+ */
+ @JsonProperty(value = "properties.privacyPolicyLink")
+ private String privacyPolicyLink;
+
+ /*
+ * Date and time in UTC of when the terms were accepted. This is empty if
+ * Accepted is false.
+ */
+ @JsonProperty(value = "properties.retrieveDatetime")
+ private OffsetDateTime retrieveDatetime;
+
+ /*
+ * Terms signature.
+ */
+ @JsonProperty(value = "properties.signature")
+ private String signature;
+
+ /*
+ * If any version of the terms have been accepted, otherwise false.
+ */
+ @JsonProperty(value = "properties.accepted")
+ private Boolean accepted;
+
+ /**
+ * Get the publisher property: Publisher identifier string.
+ *
+ * @return the publisher value.
+ */
+ public String publisher() {
+ return this.publisher;
+ }
+
+ /**
+ * Set the publisher property: Publisher identifier string.
+ *
+ * @param publisher the publisher value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withPublisher(String publisher) {
+ this.publisher = publisher;
+ return this;
+ }
+
+ /**
+ * Get the product property: Product identifier string.
+ *
+ * @return the product value.
+ */
+ public String product() {
+ return this.product;
+ }
+
+ /**
+ * Set the product property: Product identifier string.
+ *
+ * @param product the product value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withProduct(String product) {
+ this.product = product;
+ return this;
+ }
+
+ /**
+ * Get the plan property: Plan identifier string.
+ *
+ * @return the plan value.
+ */
+ public String plan() {
+ return this.plan;
+ }
+
+ /**
+ * Set the plan property: Plan identifier string.
+ *
+ * @param plan the plan value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withPlan(String plan) {
+ this.plan = plan;
+ return this;
+ }
+
+ /**
+ * Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.
+ *
+ * @return the licenseTextLink value.
+ */
+ public String licenseTextLink() {
+ return this.licenseTextLink;
+ }
+
+ /**
+ * Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.
+ *
+ * @param licenseTextLink the licenseTextLink value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withLicenseTextLink(String licenseTextLink) {
+ this.licenseTextLink = licenseTextLink;
+ return this;
+ }
+
+ /**
+ * Get the privacyPolicyLink property: Link to the privacy policy of the publisher.
+ *
+ * @return the privacyPolicyLink value.
+ */
+ public String privacyPolicyLink() {
+ return this.privacyPolicyLink;
+ }
+
+ /**
+ * Set the privacyPolicyLink property: Link to the privacy policy of the publisher.
+ *
+ * @param privacyPolicyLink the privacyPolicyLink value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withPrivacyPolicyLink(String privacyPolicyLink) {
+ this.privacyPolicyLink = privacyPolicyLink;
+ return this;
+ }
+
+ /**
+ * Get the retrieveDatetime property: Date and time in UTC of when the terms were accepted. This is empty if
+ * Accepted is false.
+ *
+ * @return the retrieveDatetime value.
+ */
+ public OffsetDateTime retrieveDatetime() {
+ return this.retrieveDatetime;
+ }
+
+ /**
+ * Set the retrieveDatetime property: Date and time in UTC of when the terms were accepted. This is empty if
+ * Accepted is false.
+ *
+ * @param retrieveDatetime the retrieveDatetime value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withRetrieveDatetime(OffsetDateTime retrieveDatetime) {
+ this.retrieveDatetime = retrieveDatetime;
+ return this;
+ }
+
+ /**
+ * Get the signature property: Terms signature.
+ *
+ * @return the signature value.
+ */
+ public String signature() {
+ return this.signature;
+ }
+
+ /**
+ * Set the signature property: Terms signature.
+ *
+ * @param signature the signature value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withSignature(String signature) {
+ this.signature = signature;
+ return this;
+ }
+
+ /**
+ * Get the accepted property: If any version of the terms have been accepted, otherwise false.
+ *
+ * @return the accepted value.
+ */
+ public Boolean accepted() {
+ return this.accepted;
+ }
+
+ /**
+ * Set the accepted property: If any version of the terms have been accepted, otherwise false.
+ *
+ * @param accepted the accepted value to set.
+ * @return the ConfluentAgreementResourceInner object itself.
+ */
+ public ConfluentAgreementResourceInner withAccepted(Boolean accepted) {
+ this.accepted = accepted;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OperationResultInner.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OperationResultInner.java
new file mode 100644
index 0000000000000..f8d0d76654e7a
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OperationResultInner.java
@@ -0,0 +1,106 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.confluent.models.OperationDisplay;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** An Confluent REST API operation. */
+@Fluent
+public final class OperationResultInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationResultInner.class);
+
+ /*
+ * Operation name: {provider}/{resource}/{operation}
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * The object that represents the operation.
+ */
+ @JsonProperty(value = "display")
+ private OperationDisplay display;
+
+ /*
+ * Indicates whether the operation is a data action
+ */
+ @JsonProperty(value = "isDataAction")
+ private Boolean isDataAction;
+
+ /**
+ * Get the name property: Operation name: {provider}/{resource}/{operation}.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Operation name: {provider}/{resource}/{operation}.
+ *
+ * @param name the name value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the display property: The object that represents the operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: The object that represents the operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Set the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @param isDataAction the isDataAction value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withIsDataAction(Boolean isDataAction) {
+ this.isDataAction = isDataAction;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (display() != null) {
+ display().validate();
+ }
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OrganizationResourceInner.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OrganizationResourceInner.java
new file mode 100644
index 0000000000000..b118fa126b80f
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/OrganizationResourceInner.java
@@ -0,0 +1,175 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.confluent.models.OfferDetail;
+import com.azure.resourcemanager.confluent.models.ProvisionState;
+import com.azure.resourcemanager.confluent.models.UserDetail;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.Map;
+
+/** Organization resource. */
+@JsonFlatten
+@Fluent
+public class OrganizationResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OrganizationResourceInner.class);
+
+ /*
+ * The creation time of the resource.
+ */
+ @JsonProperty(value = "properties.createdTime", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime createdTime;
+
+ /*
+ * Provision states for confluent RP
+ */
+ @JsonProperty(value = "properties.provisioningState")
+ private ProvisionState provisioningState;
+
+ /*
+ * Id of the Confluent organization.
+ */
+ @JsonProperty(value = "properties.organizationId", access = JsonProperty.Access.WRITE_ONLY)
+ private String organizationId;
+
+ /*
+ * SSO url for the Confluent organization.
+ */
+ @JsonProperty(value = "properties.ssoUrl", access = JsonProperty.Access.WRITE_ONLY)
+ private String ssoUrl;
+
+ /*
+ * Confluent offer detail
+ */
+ @JsonProperty(value = "properties.offerDetail")
+ private OfferDetail offerDetail;
+
+ /*
+ * Subscriber detail
+ */
+ @JsonProperty(value = "properties.userDetail")
+ private UserDetail userDetail;
+
+ /**
+ * Get the createdTime property: The creation time of the resource.
+ *
+ * @return the createdTime value.
+ */
+ public OffsetDateTime createdTime() {
+ return this.createdTime;
+ }
+
+ /**
+ * Get the provisioningState property: Provision states for confluent RP.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisionState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Set the provisioningState property: Provision states for confluent RP.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the OrganizationResourceInner object itself.
+ */
+ public OrganizationResourceInner withProvisioningState(ProvisionState provisioningState) {
+ this.provisioningState = provisioningState;
+ return this;
+ }
+
+ /**
+ * Get the organizationId property: Id of the Confluent organization.
+ *
+ * @return the organizationId value.
+ */
+ public String organizationId() {
+ return this.organizationId;
+ }
+
+ /**
+ * Get the ssoUrl property: SSO url for the Confluent organization.
+ *
+ * @return the ssoUrl value.
+ */
+ public String ssoUrl() {
+ return this.ssoUrl;
+ }
+
+ /**
+ * Get the offerDetail property: Confluent offer detail.
+ *
+ * @return the offerDetail value.
+ */
+ public OfferDetail offerDetail() {
+ return this.offerDetail;
+ }
+
+ /**
+ * Set the offerDetail property: Confluent offer detail.
+ *
+ * @param offerDetail the offerDetail value to set.
+ * @return the OrganizationResourceInner object itself.
+ */
+ public OrganizationResourceInner withOfferDetail(OfferDetail offerDetail) {
+ this.offerDetail = offerDetail;
+ return this;
+ }
+
+ /**
+ * Get the userDetail property: Subscriber detail.
+ *
+ * @return the userDetail value.
+ */
+ public UserDetail userDetail() {
+ return this.userDetail;
+ }
+
+ /**
+ * Set the userDetail property: Subscriber detail.
+ *
+ * @param userDetail the userDetail value to set.
+ * @return the OrganizationResourceInner object itself.
+ */
+ public OrganizationResourceInner withUserDetail(UserDetail userDetail) {
+ this.userDetail = userDetail;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OrganizationResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public OrganizationResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (offerDetail() != null) {
+ offerDetail().validate();
+ }
+ if (userDetail() != null) {
+ userDetail().validate();
+ }
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/package-info.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/package-info.java
new file mode 100644
index 0000000000000..768e2adf521c8
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/models/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the inner data models for ConfluentManagementClient. null. */
+package com.azure.resourcemanager.confluent.fluent.models;
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/package-info.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/package-info.java
new file mode 100644
index 0000000000000..54275c93ed207
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/fluent/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the service clients for ConfluentManagementClient. null. */
+package com.azure.resourcemanager.confluent.fluent;
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentAgreementResourceImpl.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentAgreementResourceImpl.java
new file mode 100644
index 0000000000000..4b674c7371a35
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentAgreementResourceImpl.java
@@ -0,0 +1,73 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.implementation;
+
+import com.azure.resourcemanager.confluent.ConfluentManager;
+import com.azure.resourcemanager.confluent.fluent.models.ConfluentAgreementResourceInner;
+import com.azure.resourcemanager.confluent.models.ConfluentAgreementResource;
+import java.time.OffsetDateTime;
+
+public final class ConfluentAgreementResourceImpl implements ConfluentAgreementResource {
+ private ConfluentAgreementResourceInner innerObject;
+
+ private final ConfluentManager serviceManager;
+
+ ConfluentAgreementResourceImpl(ConfluentAgreementResourceInner innerObject, ConfluentManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String publisher() {
+ return this.innerModel().publisher();
+ }
+
+ public String product() {
+ return this.innerModel().product();
+ }
+
+ public String plan() {
+ return this.innerModel().plan();
+ }
+
+ public String licenseTextLink() {
+ return this.innerModel().licenseTextLink();
+ }
+
+ public String privacyPolicyLink() {
+ return this.innerModel().privacyPolicyLink();
+ }
+
+ public OffsetDateTime retrieveDatetime() {
+ return this.innerModel().retrieveDatetime();
+ }
+
+ public String signature() {
+ return this.innerModel().signature();
+ }
+
+ public Boolean accepted() {
+ return this.innerModel().accepted();
+ }
+
+ public ConfluentAgreementResourceInner innerModel() {
+ return this.innerObject;
+ }
+
+ private ConfluentManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientBuilder.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientBuilder.java
new file mode 100644
index 0000000000000..d6b6cf967ac54
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientBuilder.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.implementation;
+
+import com.azure.core.annotation.ServiceClientBuilder;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.CookiePolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.serializer.SerializerFactory;
+import com.azure.core.util.serializer.SerializerAdapter;
+import java.time.Duration;
+
+/** A builder for creating a new instance of the ConfluentManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {ConfluentManagementClientImpl.class})
+public final class ConfluentManagementClientBuilder {
+ /*
+ * Microsoft Azure subscription id
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets Microsoft Azure subscription id.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder endpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /*
+ * The environment to connect to
+ */
+ private AzureEnvironment environment;
+
+ /**
+ * Sets The environment to connect to.
+ *
+ * @param environment the environment value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder environment(AzureEnvironment environment) {
+ this.environment = environment;
+ return this;
+ }
+
+ /*
+ * The default poll interval for long-running operation
+ */
+ private Duration defaultPollInterval;
+
+ /**
+ * Sets The default poll interval for long-running operation.
+ *
+ * @param defaultPollInterval the defaultPollInterval value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = defaultPollInterval;
+ return this;
+ }
+
+ /*
+ * The HTTP pipeline to send requests through
+ */
+ private HttpPipeline pipeline;
+
+ /**
+ * Sets The HTTP pipeline to send requests through.
+ *
+ * @param pipeline the pipeline value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder pipeline(HttpPipeline pipeline) {
+ this.pipeline = pipeline;
+ return this;
+ }
+
+ /*
+ * The serializer to serialize an object into a string
+ */
+ private SerializerAdapter serializerAdapter;
+
+ /**
+ * Sets The serializer to serialize an object into a string.
+ *
+ * @param serializerAdapter the serializerAdapter value.
+ * @return the ConfluentManagementClientBuilder.
+ */
+ public ConfluentManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of ConfluentManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of ConfluentManagementClientImpl.
+ */
+ public ConfluentManagementClientImpl buildClient() {
+ if (endpoint == null) {
+ this.endpoint = "https://management.azure.com";
+ }
+ if (environment == null) {
+ this.environment = AzureEnvironment.AZURE;
+ }
+ if (defaultPollInterval == null) {
+ this.defaultPollInterval = Duration.ofSeconds(30);
+ }
+ if (pipeline == null) {
+ this.pipeline =
+ new HttpPipelineBuilder()
+ .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
+ .build();
+ }
+ if (serializerAdapter == null) {
+ this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
+ }
+ ConfluentManagementClientImpl client =
+ new ConfluentManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientImpl.java b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientImpl.java
new file mode 100644
index 0000000000000..0f8a5e4847330
--- /dev/null
+++ b/sdk/confluent/azure-resourcemanager-confluent/src/main/java/com/azure/resourcemanager/confluent/implementation/ConfluentManagementClientImpl.java
@@ -0,0 +1,321 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.confluent.implementation;
+
+import com.azure.core.annotation.ServiceClient;
+import com.azure.core.http.HttpHeaders;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpResponse;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.exception.ManagementError;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.management.polling.PollerFactory;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.AsyncPollResponse;
+import com.azure.core.util.polling.LongRunningOperationStatus;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.serializer.SerializerAdapter;
+import com.azure.core.util.serializer.SerializerEncoding;
+import com.azure.resourcemanager.confluent.fluent.ConfluentManagementClient;
+import com.azure.resourcemanager.confluent.fluent.MarketplaceAgreementsClient;
+import com.azure.resourcemanager.confluent.fluent.OrganizationOperationsClient;
+import com.azure.resourcemanager.confluent.fluent.OrganizationsClient;
+import java.io.IOException;
+import java.lang.reflect.Type;
+import java.nio.ByteBuffer;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.Map;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** Initializes a new instance of the ConfluentManagementClientImpl type. */
+@ServiceClient(builder = ConfluentManagementClientBuilder.class)
+public final class ConfluentManagementClientImpl implements ConfluentManagementClient {
+ private final ClientLogger logger = new ClientLogger(ConfluentManagementClientImpl.class);
+
+ /** Microsoft Azure subscription id. */
+ private final String subscriptionId;
+
+ /**
+ * Gets Microsoft Azure subscription id.
+ *
+ * @return the subscriptionId value.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** Api Version. */
+ private final String apiVersion;
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ public String getApiVersion() {
+ return this.apiVersion;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The MarketplaceAgreementsClient object to access its operations. */
+ private final MarketplaceAgreementsClient marketplaceAgreements;
+
+ /**
+ * Gets the MarketplaceAgreementsClient object to access its operations.
+ *
+ * @return the MarketplaceAgreementsClient object.
+ */
+ public MarketplaceAgreementsClient getMarketplaceAgreements() {
+ return this.marketplaceAgreements;
+ }
+
+ /** The OrganizationOperationsClient object to access its operations. */
+ private final OrganizationOperationsClient organizationOperations;
+
+ /**
+ * Gets the OrganizationOperationsClient object to access its operations.
+ *
+ * @return the OrganizationOperationsClient object.
+ */
+ public OrganizationOperationsClient getOrganizationOperations() {
+ return this.organizationOperations;
+ }
+
+ /** The OrganizationsClient object to access its operations. */
+ private final OrganizationsClient organizations;
+
+ /**
+ * Gets the OrganizationsClient object to access its operations.
+ *
+ * @return the OrganizationsClient object.
+ */
+ public OrganizationsClient getOrganizations() {
+ return this.organizations;
+ }
+
+ /**
+ * Initializes an instance of ConfluentManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId Microsoft Azure subscription id.
+ * @param endpoint server parameter.
+ */
+ ConfluentManagementClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String subscriptionId,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.subscriptionId = subscriptionId;
+ this.endpoint = endpoint;
+ this.apiVersion = "2020-03-01";
+ this.marketplaceAgreements = new MarketplaceAgreementsClientImpl(this);
+ this.organizationOperations = new OrganizationOperationsClientImpl(this);
+ this.organizations = new OrganizationsClientImpl(this);
+ }
+
+ /**
+ * Gets default client context.
+ *
+ * @return the default client context.
+ */
+ public Context getContext() {
+ return Context.NONE;
+ }
+
+ /**
+ * Merges default client context with provided context.
+ *
+ * @param context the context to be merged with default client context.
+ * @return the merged context.
+ */
+ public Context mergeContext(Context context) {
+ for (Map.Entry