diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index d3e3bd5796e3c..fc8a8716a4e9c 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -201,6 +201,7 @@ com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.0.0-beta.1;1.0.0-bet
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.0.0-beta.1;1.0.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-authorization-generated;1.0.0-beta.1;1.0.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
# version. Unreleased dependencies are only valid for dependency versions.
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/CHANGELOG.md b/sdk/authorization/azure-resourcemanager-authorization-generated/CHANGELOG.md
new file mode 100644
index 0000000000000..57f2460c3e96a
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-02-18)
+
+- Azure Resource Manager Authorization client library for Java. This package contains Microsoft Azure SDK for Authorization Management SDK. Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role assignments. A role assignment grants access to Azure Active Directory users. Package tag package-2020-04-01-preview-only. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/README.md b/sdk/authorization/azure-resourcemanager-authorization-generated/README.md
new file mode 100644
index 0000000000000..6b5afb9058e1d
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/README.md
@@ -0,0 +1,99 @@
+# Azure Resource Manager Authorization client library for Java
+
+Azure Resource Manager Authorization client library for Java.
+
+This package contains Microsoft Azure SDK for Authorization Management SDK. Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role assignments. A role assignment grants access to Azure Active Directory users. Package tag package-2020-04-01-preview-only. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## We'd love to hear your feedback
+
+We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
+
+If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
+
+Thank you in advance for your collaboration. We really appreciate your time!
+
+## Documentation
+
+Various documentation is available to help you get started
+
+- [API reference documentation][docs]
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-authorization-generated;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-authorization-generated
+ 1.0.0-beta.1
+
+```
+[//]: # ({x-version-update-end})
+
+### Include the recommended packages
+
+Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
+
+[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+
+### Authentication
+
+By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, `azure` client can be authenticated by following code:
+
+```java
+AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+TokenCredential credential = new DefaultAzureCredentialBuilder()
+ .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
+ .build();
+AuthorizationManager manager = AuthorizationManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/master/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
+[docs]: https://azure.github.io/azure-sdk-for-java/
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml b/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml
new file mode 100644
index 0000000000000..04181da46d8a7
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml
@@ -0,0 +1,67 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-authorization-generated
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for Authorization Management
+ This package contains Microsoft Azure SDK for Authorization Management SDK. Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role assignments. A role assignment grants access to Azure Active Directory users. Package tag package-2020-04-01-preview-only. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.13.0
+
+
+ com.azure
+ azure-core-management
+ 1.1.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+
+
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/AuthorizationManager.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/AuthorizationManager.java
new file mode 100644
index 0000000000000..29b2f160717d7
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/AuthorizationManager.java
@@ -0,0 +1,218 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.authorization.generated;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.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.authorization.generated.fluent.AuthorizationManagementClient;
+import com.azure.resourcemanager.authorization.generated.implementation.AuthorizationManagementClientBuilder;
+import com.azure.resourcemanager.authorization.generated.implementation.RoleAssignmentsImpl;
+import com.azure.resourcemanager.authorization.generated.models.RoleAssignments;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * Entry point to AuthorizationManager. Role based access control provides you a way to apply granular level policy
+ * administration down to individual resources or resource groups. These operations enable you to manage role
+ * assignments. A role assignment grants access to Azure Active Directory users.
+ */
+public final class AuthorizationManager {
+ private RoleAssignments roleAssignments;
+
+ private final AuthorizationManagementClient clientObject;
+
+ private AuthorizationManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new AuthorizationManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of Authorization service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Authorization service API instance.
+ */
+ public static AuthorizationManager 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 AuthorizationManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new AuthorizationManager.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 Authorization service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Authorization service API instance.
+ */
+ public AuthorizationManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.authorization.generated")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies
+ .add(
+ new BearerTokenAuthenticationPolicy(
+ credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new AuthorizationManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of RoleAssignments. */
+ public RoleAssignments roleAssignments() {
+ if (this.roleAssignments == null) {
+ this.roleAssignments = new RoleAssignmentsImpl(clientObject.getRoleAssignments(), this);
+ }
+ return roleAssignments;
+ }
+
+ /**
+ * @return Wrapped service client AuthorizationManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
+ */
+ public AuthorizationManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/AuthorizationManagementClient.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/AuthorizationManagementClient.java
new file mode 100644
index 0000000000000..060d4d5e98b9f
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/AuthorizationManagementClient.java
@@ -0,0 +1,53 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.authorization.generated.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for AuthorizationManagementClient class. */
+public interface AuthorizationManagementClient {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the RoleAssignmentsClient object to access its operations.
+ *
+ * @return the RoleAssignmentsClient object.
+ */
+ RoleAssignmentsClient getRoleAssignments();
+}
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/RoleAssignmentsClient.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/RoleAssignmentsClient.java
new file mode 100644
index 0000000000000..35b6347ab0278
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/RoleAssignmentsClient.java
@@ -0,0 +1,315 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.authorization.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.authorization.generated.fluent.models.RoleAssignmentInner;
+import com.azure.resourcemanager.authorization.generated.models.RoleAssignmentCreateParameters;
+
+/** An instance of this class provides access to all the operations defined in RoleAssignmentsClient. */
+public interface RoleAssignmentsClient {
+ /**
+ * Gets role assignments for a resource.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceProviderNamespace The namespace of the resource provider.
+ * @param parentResourcePath The parent resource identity.
+ * @param resourceType The resource type of the resource.
+ * @param resourceName The name of the resource to get role assignments for.
+ * @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 role assignments for a resource.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForResource(
+ String resourceGroupName,
+ String resourceProviderNamespace,
+ String parentResourcePath,
+ String resourceType,
+ String resourceName);
+
+ /**
+ * Gets role assignments for a resource.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceProviderNamespace The namespace of the resource provider.
+ * @param parentResourcePath The parent resource identity.
+ * @param resourceType The resource type of the resource.
+ * @param resourceName The name of the resource to get role assignments for.
+ * @param filter The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or
+ * above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope
+ * for the specified principal.
+ * @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 role assignments for a resource.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForResource(
+ String resourceGroupName,
+ String resourceProviderNamespace,
+ String parentResourcePath,
+ String resourceType,
+ String resourceName,
+ String filter,
+ Context context);
+
+ /**
+ * Gets role assignments for a resource group.
+ *
+ * @param resourceGroupName The name of the resource 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 role assignments for a resource group.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Gets role assignments for a resource group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param filter The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or
+ * above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope
+ * for the specified principal.
+ * @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 role assignments for a resource group.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, String filter, Context context);
+
+ /**
+ * Deletes a role assignment.
+ *
+ * @param scope The scope of the role assignment to delete.
+ * @param roleAssignmentName The name of the role assignment to delete.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner delete(String scope, String roleAssignmentName);
+
+ /**
+ * Deletes a role assignment.
+ *
+ * @param scope The scope of the role assignment to delete.
+ * @param roleAssignmentName The name of the role assignment to delete.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String scope, String roleAssignmentName, Context context);
+
+ /**
+ * Creates a role assignment.
+ *
+ * @param scope The scope of the role assignment to create. The scope can be any REST resource instance. For
+ * example, use '/subscriptions/{subscription-id}/' for a subscription,
+ * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and
+ * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}'
+ * for a resource.
+ * @param roleAssignmentName The name of the role assignment to create. It can be any valid GUID.
+ * @param parameters Parameters for the role assignment.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner create(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters);
+
+ /**
+ * Creates a role assignment.
+ *
+ * @param scope The scope of the role assignment to create. The scope can be any REST resource instance. For
+ * example, use '/subscriptions/{subscription-id}/' for a subscription,
+ * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and
+ * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}'
+ * for a resource.
+ * @param roleAssignmentName The name of the role assignment to create. It can be any valid GUID.
+ * @param parameters Parameters for the role assignment.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(
+ String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters, Context context);
+
+ /**
+ * Get the specified role assignment.
+ *
+ * @param scope The scope of the role assignment.
+ * @param roleAssignmentName The name of the role assignment to get.
+ * @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 specified role assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner get(String scope, String roleAssignmentName);
+
+ /**
+ * Get the specified role assignment.
+ *
+ * @param scope The scope of the role assignment.
+ * @param roleAssignmentName The name of the role assignment to get.
+ * @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 specified role assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String scope, String roleAssignmentName, Context context);
+
+ /**
+ * Deletes a role assignment.
+ *
+ * @param roleId The ID of the role assignment to delete.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner deleteById(String roleId);
+
+ /**
+ * Deletes a role assignment.
+ *
+ * @param roleId The ID of the role assignment to delete.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteByIdWithResponse(String roleId, Context context);
+
+ /**
+ * Creates a role assignment by ID.
+ *
+ * @param roleId The ID of the role assignment to create.
+ * @param parameters Parameters for the role assignment.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner createById(String roleId, RoleAssignmentCreateParameters parameters);
+
+ /**
+ * Creates a role assignment by ID.
+ *
+ * @param roleId The ID of the role assignment to create.
+ * @param parameters Parameters for the role assignment.
+ * @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 role Assignments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createByIdWithResponse(
+ String roleId, RoleAssignmentCreateParameters parameters, Context context);
+
+ /**
+ * Gets a role assignment by ID.
+ *
+ * @param roleId The ID of the role assignment to get.
+ * @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 role assignment by ID.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RoleAssignmentInner getById(String roleId);
+
+ /**
+ * Gets a role assignment by ID.
+ *
+ * @param roleId The ID of the role assignment to get.
+ * @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 role assignment by ID.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByIdWithResponse(String roleId, Context context);
+
+ /**
+ * Gets all role assignments for 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 all role assignments for the subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets all role assignments for the subscription.
+ *
+ * @param filter The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or
+ * above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope
+ * for the specified principal.
+ * @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 role assignments for the subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter, Context context);
+
+ /**
+ * Gets role assignments for a scope.
+ *
+ * @param scope The scope of the role assignments.
+ * @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 role assignments for a scope.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForScope(String scope);
+
+ /**
+ * Gets role assignments for a scope.
+ *
+ * @param scope The scope of the role assignments.
+ * @param filter The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or
+ * above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope
+ * for the specified principal.
+ * @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 role assignments for a scope.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForScope(String scope, String filter, Context context);
+}
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/RoleAssignmentInner.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/RoleAssignmentInner.java
new file mode 100644
index 0000000000000..19ce1d2f89046
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/RoleAssignmentInner.java
@@ -0,0 +1,418 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.authorization.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.authorization.generated.models.PrincipalType;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Role Assignments. */
+@JsonFlatten
+@Fluent
+public class RoleAssignmentInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(RoleAssignmentInner.class);
+
+ /*
+ * The role assignment ID.
+ */
+ @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
+ private String id;
+
+ /*
+ * The role assignment name.
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /*
+ * The role assignment type.
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /*
+ * The role assignment scope.
+ */
+ @JsonProperty(value = "properties.scope")
+ private String scope;
+
+ /*
+ * The role definition ID.
+ */
+ @JsonProperty(value = "properties.roleDefinitionId")
+ private String roleDefinitionId;
+
+ /*
+ * The principal ID.
+ */
+ @JsonProperty(value = "properties.principalId")
+ private String principalId;
+
+ /*
+ * The principal type of the assigned principal ID.
+ */
+ @JsonProperty(value = "properties.principalType")
+ private PrincipalType principalType;
+
+ /*
+ * The Delegation flag for the role assignment
+ */
+ @JsonProperty(value = "properties.canDelegate")
+ private Boolean canDelegate;
+
+ /*
+ * Description of role assignment
+ */
+ @JsonProperty(value = "properties.description")
+ private String description;
+
+ /*
+ * The conditions on the role assignment. This limits the resources it can
+ * be assigned to. e.g.:
+ * @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
+ * StringEqualsIgnoreCase 'foo_storage_container'
+ */
+ @JsonProperty(value = "properties.condition")
+ private String condition;
+
+ /*
+ * Version of the condition. Currently accepted value is '2.0'
+ */
+ @JsonProperty(value = "properties.conditionVersion")
+ private String conditionVersion;
+
+ /*
+ * Time it was created
+ */
+ @JsonProperty(value = "properties.createdOn")
+ private OffsetDateTime createdOn;
+
+ /*
+ * Time it was updated
+ */
+ @JsonProperty(value = "properties.updatedOn")
+ private OffsetDateTime updatedOn;
+
+ /*
+ * Id of the user who created the assignment
+ */
+ @JsonProperty(value = "properties.createdBy")
+ private String createdBy;
+
+ /*
+ * Id of the user who updated the assignment
+ */
+ @JsonProperty(value = "properties.updatedBy")
+ private String updatedBy;
+
+ /*
+ * Id of the delegated managed identity resource
+ */
+ @JsonProperty(value = "properties.delegatedManagedIdentityResourceId")
+ private String delegatedManagedIdentityResourceId;
+
+ /**
+ * Get the id property: The role assignment ID.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the name property: The role assignment name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the type property: The role assignment type.
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the scope property: The role assignment scope.
+ *
+ * @return the scope value.
+ */
+ public String scope() {
+ return this.scope;
+ }
+
+ /**
+ * Set the scope property: The role assignment scope.
+ *
+ * @param scope the scope value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withScope(String scope) {
+ this.scope = scope;
+ return this;
+ }
+
+ /**
+ * Get the roleDefinitionId property: The role definition ID.
+ *
+ * @return the roleDefinitionId value.
+ */
+ public String roleDefinitionId() {
+ return this.roleDefinitionId;
+ }
+
+ /**
+ * Set the roleDefinitionId property: The role definition ID.
+ *
+ * @param roleDefinitionId the roleDefinitionId value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withRoleDefinitionId(String roleDefinitionId) {
+ this.roleDefinitionId = roleDefinitionId;
+ return this;
+ }
+
+ /**
+ * Get the principalId property: The principal ID.
+ *
+ * @return the principalId value.
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Set the principalId property: The principal ID.
+ *
+ * @param principalId the principalId value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withPrincipalId(String principalId) {
+ this.principalId = principalId;
+ return this;
+ }
+
+ /**
+ * Get the principalType property: The principal type of the assigned principal ID.
+ *
+ * @return the principalType value.
+ */
+ public PrincipalType principalType() {
+ return this.principalType;
+ }
+
+ /**
+ * Set the principalType property: The principal type of the assigned principal ID.
+ *
+ * @param principalType the principalType value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withPrincipalType(PrincipalType principalType) {
+ this.principalType = principalType;
+ return this;
+ }
+
+ /**
+ * Get the canDelegate property: The Delegation flag for the role assignment.
+ *
+ * @return the canDelegate value.
+ */
+ public Boolean canDelegate() {
+ return this.canDelegate;
+ }
+
+ /**
+ * Set the canDelegate property: The Delegation flag for the role assignment.
+ *
+ * @param canDelegate the canDelegate value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withCanDelegate(Boolean canDelegate) {
+ this.canDelegate = canDelegate;
+ return this;
+ }
+
+ /**
+ * Get the description property: Description of role assignment.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: Description of role assignment.
+ *
+ * @param description the description value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the condition property: The conditions on the role assignment. This limits the resources it can be assigned
+ * to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
+ * StringEqualsIgnoreCase 'foo_storage_container'.
+ *
+ * @return the condition value.
+ */
+ public String condition() {
+ return this.condition;
+ }
+
+ /**
+ * Set the condition property: The conditions on the role assignment. This limits the resources it can be assigned
+ * to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
+ * StringEqualsIgnoreCase 'foo_storage_container'.
+ *
+ * @param condition the condition value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withCondition(String condition) {
+ this.condition = condition;
+ return this;
+ }
+
+ /**
+ * Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
+ *
+ * @return the conditionVersion value.
+ */
+ public String conditionVersion() {
+ return this.conditionVersion;
+ }
+
+ /**
+ * Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
+ *
+ * @param conditionVersion the conditionVersion value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withConditionVersion(String conditionVersion) {
+ this.conditionVersion = conditionVersion;
+ return this;
+ }
+
+ /**
+ * Get the createdOn property: Time it was created.
+ *
+ * @return the createdOn value.
+ */
+ public OffsetDateTime createdOn() {
+ return this.createdOn;
+ }
+
+ /**
+ * Set the createdOn property: Time it was created.
+ *
+ * @param createdOn the createdOn value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withCreatedOn(OffsetDateTime createdOn) {
+ this.createdOn = createdOn;
+ return this;
+ }
+
+ /**
+ * Get the updatedOn property: Time it was updated.
+ *
+ * @return the updatedOn value.
+ */
+ public OffsetDateTime updatedOn() {
+ return this.updatedOn;
+ }
+
+ /**
+ * Set the updatedOn property: Time it was updated.
+ *
+ * @param updatedOn the updatedOn value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withUpdatedOn(OffsetDateTime updatedOn) {
+ this.updatedOn = updatedOn;
+ return this;
+ }
+
+ /**
+ * Get the createdBy property: Id of the user who created the assignment.
+ *
+ * @return the createdBy value.
+ */
+ public String createdBy() {
+ return this.createdBy;
+ }
+
+ /**
+ * Set the createdBy property: Id of the user who created the assignment.
+ *
+ * @param createdBy the createdBy value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withCreatedBy(String createdBy) {
+ this.createdBy = createdBy;
+ return this;
+ }
+
+ /**
+ * Get the updatedBy property: Id of the user who updated the assignment.
+ *
+ * @return the updatedBy value.
+ */
+ public String updatedBy() {
+ return this.updatedBy;
+ }
+
+ /**
+ * Set the updatedBy property: Id of the user who updated the assignment.
+ *
+ * @param updatedBy the updatedBy value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withUpdatedBy(String updatedBy) {
+ this.updatedBy = updatedBy;
+ return this;
+ }
+
+ /**
+ * Get the delegatedManagedIdentityResourceId property: Id of the delegated managed identity resource.
+ *
+ * @return the delegatedManagedIdentityResourceId value.
+ */
+ public String delegatedManagedIdentityResourceId() {
+ return this.delegatedManagedIdentityResourceId;
+ }
+
+ /**
+ * Set the delegatedManagedIdentityResourceId property: Id of the delegated managed identity resource.
+ *
+ * @param delegatedManagedIdentityResourceId the delegatedManagedIdentityResourceId value to set.
+ * @return the RoleAssignmentInner object itself.
+ */
+ public RoleAssignmentInner withDelegatedManagedIdentityResourceId(String delegatedManagedIdentityResourceId) {
+ this.delegatedManagedIdentityResourceId = delegatedManagedIdentityResourceId;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/package-info.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/package-info.java
new file mode 100644
index 0000000000000..664c1a7eb8448
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/models/package-info.java
@@ -0,0 +1,10 @@
+// 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 AuthorizationManagementClient. Role based access control provides you a
+ * way to apply granular level policy administration down to individual resources or resource groups. These operations
+ * enable you to manage role assignments. A role assignment grants access to Azure Active Directory users.
+ */
+package com.azure.resourcemanager.authorization.generated.fluent.models;
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/package-info.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/package-info.java
new file mode 100644
index 0000000000000..6c6d839a30779
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/fluent/package-info.java
@@ -0,0 +1,10 @@
+// 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 AuthorizationManagementClient. Role based access control provides you a
+ * way to apply granular level policy administration down to individual resources or resource groups. These operations
+ * enable you to manage role assignments. A role assignment grants access to Azure Active Directory users.
+ */
+package com.azure.resourcemanager.authorization.generated.fluent;
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientBuilder.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientBuilder.java
new file mode 100644
index 0000000000000..12424ae829d74
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientBuilder.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.authorization.generated.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 AuthorizationManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {AuthorizationManagementClientImpl.class})
+public final class AuthorizationManagementClientBuilder {
+ /*
+ * The ID of the target subscription.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets The ID of the target subscription.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder 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 AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder 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 AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder 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 AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder 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 AuthorizationManagementClientBuilder.
+ */
+ public AuthorizationManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of AuthorizationManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of AuthorizationManagementClientImpl.
+ */
+ public AuthorizationManagementClientImpl 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();
+ }
+ AuthorizationManagementClientImpl client =
+ new AuthorizationManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientImpl.java b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientImpl.java
new file mode 100644
index 0000000000000..4277992b0aca4
--- /dev/null
+++ b/sdk/authorization/azure-resourcemanager-authorization-generated/src/main/java/com/azure/resourcemanager/authorization/generated/implementation/AuthorizationManagementClientImpl.java
@@ -0,0 +1,293 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.authorization.generated.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.authorization.generated.fluent.AuthorizationManagementClient;
+import com.azure.resourcemanager.authorization.generated.fluent.RoleAssignmentsClient;
+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 AuthorizationManagementClientImpl type. */
+@ServiceClient(builder = AuthorizationManagementClientBuilder.class)
+public final class AuthorizationManagementClientImpl implements AuthorizationManagementClient {
+ private final ClientLogger logger = new ClientLogger(AuthorizationManagementClientImpl.class);
+
+ /** The ID of the target subscription. */
+ private final String subscriptionId;
+
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** Api Version. */
+ private final String apiVersion;
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ public String getApiVersion() {
+ return this.apiVersion;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The RoleAssignmentsClient object to access its operations. */
+ private final RoleAssignmentsClient roleAssignments;
+
+ /**
+ * Gets the RoleAssignmentsClient object to access its operations.
+ *
+ * @return the RoleAssignmentsClient object.
+ */
+ public RoleAssignmentsClient getRoleAssignments() {
+ return this.roleAssignments;
+ }
+
+ /**
+ * Initializes an instance of AuthorizationManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId The ID of the target subscription.
+ * @param endpoint server parameter.
+ */
+ AuthorizationManagementClientImpl(
+ 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-04-01-preview";
+ this.roleAssignments = new RoleAssignmentsClientImpl(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