diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index b7d60864e4e2..1c7bfd492043 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -308,6 +308,7 @@ com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.1;1.0.0-beta.
com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-quota;1.0.0-beta.1;1.0.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
# version. Unreleased dependencies are only valid for dependency versions.
diff --git a/pom.xml b/pom.xml
index edd475ba5d02..b1b901591335 100644
--- a/pom.xml
+++ b/pom.xml
@@ -794,6 +794,7 @@
sdk/powerbidedicatedsdk/purviewsdk/quantum
+ sdk/quotasdk/recoveryservicessdk/recoveryservicesbackupsdk/redisenterprise
diff --git a/sdk/quota/azure-resourcemanager-quota/CHANGELOG.md b/sdk/quota/azure-resourcemanager-quota/CHANGELOG.md
new file mode 100644
index 000000000000..7a1272d09609
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-07-28)
+
+- Azure Resource Manager quota client library for Java. This package contains Microsoft Azure SDK for quota Management SDK. Microsoft Azure Quota Resource Provider. Package tag package-2021-03-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/quota/azure-resourcemanager-quota/README.md b/sdk/quota/azure-resourcemanager-quota/README.md
new file mode 100644
index 000000000000..222a59978e47
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/README.md
@@ -0,0 +1,101 @@
+# Azure Resource Manager quota client library for Java
+
+Azure Resource Manager quota client library for Java.
+
+This package contains Microsoft Azure SDK for quota Management SDK. Microsoft Azure Quota Resource Provider. Package tag package-2021-03-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## We'd love to hear your feedback
+
+We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
+
+If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
+
+Thank you in advance for your collaboration. We really appreciate your time!
+
+## Documentation
+
+Various documentation is available to help you get started
+
+- [API reference documentation][docs]
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-quota;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-quota
+ 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();
+QuotaManager manager = QuotaManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
+[docs]: https://azure.github.io/azure-sdk-for-java/
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/quota/azure-resourcemanager-quota/pom.xml b/sdk/quota/azure-resourcemanager-quota/pom.xml
new file mode 100644
index 000000000000..84ae5c013df2
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/pom.xml
@@ -0,0 +1,86 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-quota
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for quota Management
+ This package contains Microsoft Azure SDK for quota Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Azure Quota Resource Provider. Package tag package-2021-03-15-preview.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.18.0
+
+
+ com.azure
+ azure-core-management
+ 1.3.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+ org.revapi
+ revapi-maven-plugin
+ 0.11.2
+
+
+
+
+ java.method.addedToInterface
+
+
+ true
+ .*
+ com\.azure\.resourcemanager(\.[^.]+)+\.fluent(\.[^.]+)*
+
+
+
+
+
+
+
+
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/QuotaManager.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/QuotaManager.java
new file mode 100644
index 000000000000..e04720c81880
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/QuotaManager.java
@@ -0,0 +1,263 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.quota.fluent.AzureQuotaExtensionApi;
+import com.azure.resourcemanager.quota.implementation.AzureQuotaExtensionApiBuilder;
+import com.azure.resourcemanager.quota.implementation.OperationsImpl;
+import com.azure.resourcemanager.quota.implementation.QuotaRequestStatusImpl;
+import com.azure.resourcemanager.quota.implementation.QuotaResourceProvidersImpl;
+import com.azure.resourcemanager.quota.implementation.QuotasImpl;
+import com.azure.resourcemanager.quota.models.Operations;
+import com.azure.resourcemanager.quota.models.QuotaRequestStatus;
+import com.azure.resourcemanager.quota.models.QuotaResourceProviders;
+import com.azure.resourcemanager.quota.models.Quotas;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to QuotaManager. Microsoft Azure Quota Resource Provider. */
+public final class QuotaManager {
+ private Quotas quotas;
+
+ private QuotaRequestStatus quotaRequestStatus;
+
+ private QuotaResourceProviders quotaResourceProviders;
+
+ private Operations operations;
+
+ private final AzureQuotaExtensionApi clientObject;
+
+ private QuotaManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new AzureQuotaExtensionApiBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of quota service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the quota service API instance.
+ */
+ public static QuotaManager 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 QuotaManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new QuotaManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private final List scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of quota service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the quota service API instance.
+ */
+ public QuotaManager 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.quota")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.addAll(this.policies);
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new QuotaManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of Quotas. */
+ public Quotas quotas() {
+ if (this.quotas == null) {
+ this.quotas = new QuotasImpl(clientObject.getQuotas(), this);
+ }
+ return quotas;
+ }
+
+ /** @return Resource collection API of QuotaRequestStatus. */
+ public QuotaRequestStatus quotaRequestStatus() {
+ if (this.quotaRequestStatus == null) {
+ this.quotaRequestStatus = new QuotaRequestStatusImpl(clientObject.getQuotaRequestStatus(), this);
+ }
+ return quotaRequestStatus;
+ }
+
+ /** @return Resource collection API of QuotaResourceProviders. */
+ public QuotaResourceProviders quotaResourceProviders() {
+ if (this.quotaResourceProviders == null) {
+ this.quotaResourceProviders =
+ new QuotaResourceProvidersImpl(clientObject.getQuotaResourceProviders(), this);
+ }
+ return quotaResourceProviders;
+ }
+
+ /** @return Resource collection API of Operations. */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /**
+ * @return Wrapped service client AzureQuotaExtensionApi providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ */
+ public AzureQuotaExtensionApi serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/AzureQuotaExtensionApi.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/AzureQuotaExtensionApi.java
new file mode 100644
index 000000000000..32b5c27d170f
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/AzureQuotaExtensionApi.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.quota.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for AzureQuotaExtensionApi class. */
+public interface AzureQuotaExtensionApi {
+ /**
+ * 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 QuotasClient object to access its operations.
+ *
+ * @return the QuotasClient object.
+ */
+ QuotasClient getQuotas();
+
+ /**
+ * Gets the QuotaRequestStatusClient object to access its operations.
+ *
+ * @return the QuotaRequestStatusClient object.
+ */
+ QuotaRequestStatusClient getQuotaRequestStatus();
+
+ /**
+ * Gets the QuotaResourceProvidersClient object to access its operations.
+ *
+ * @return the QuotaResourceProvidersClient object.
+ */
+ QuotaResourceProvidersClient getQuotaResourceProviders();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/OperationsClient.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/OperationsClient.java
new file mode 100644
index 000000000000..8202ffc5f25d
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/OperationsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.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.quota.fluent.models.OperationResponseInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * List all GET operations.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all GET operations.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaRequestStatusClient.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaRequestStatusClient.java
new file mode 100644
index 000000000000..e402a0842a22
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaRequestStatusClient.java
@@ -0,0 +1,93 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.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.quota.fluent.models.QuotaRequestDetailsInner;
+
+/** An instance of this class provides access to all the operations defined in QuotaRequestStatusClient. */
+public interface QuotaRequestStatusClient {
+ /**
+ * Gets the quota request details and status by quota request ID for the resources of the resource provider at a
+ * specific location. The quota request ID **id** is returned in the response of the PUT operation.
+ *
+ * @param id Quota request ID.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the quota request details and status by quota request ID for the resources of the resource provider at a
+ * specific location.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ QuotaRequestDetailsInner get(String id, String scope);
+
+ /**
+ * Gets the quota request details and status by quota request ID for the resources of the resource provider at a
+ * specific location. The quota request ID **id** is returned in the response of the PUT operation.
+ *
+ * @param id Quota request ID.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the quota request details and status by quota request ID for the resources of the resource provider at a
+ * specific location.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String id, String scope, Context context);
+
+ /**
+ * For the specified location and resource provider, gets the current quota requests under the subscription for a
+ * one year period ending at the time is made. Use the **oData** filter can be used to select quota requests.
+ *
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return quota request information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope);
+
+ /**
+ * For the specified location and resource provider, gets the current quota requests under the subscription for a
+ * one year period ending at the time is made. Use the **oData** filter can be used to select quota requests.
+ *
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param filter | Field | Supported operators |---------------------|------------------------
+ *
|requestSubmitTime | ge, le, eq, gt, lt |provisioningState eq {QuotaRequestState} |resourceName eq
+ * {resourceName}.
+ * @param top Number of records to return.
+ * @param skiptoken The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a
+ * previous response contains a **nextLink** element, the value of the **nextLink** element includes a
+ * **skiptoken** parameter that specifies a starting point to use for subsequent calls.
+ * @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 quota request information.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String scope, String filter, Integer top, String skiptoken, Context context);
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaResourceProvidersClient.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaResourceProvidersClient.java
new file mode 100644
index 000000000000..d82a47e26714
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotaResourceProvidersClient.java
@@ -0,0 +1,48 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.quota.fluent.models.ResourceProvidersListInner;
+
+/** An instance of this class provides access to all the operations defined in QuotaResourceProvidersClient. */
+public interface QuotaResourceProvidersClient {
+ /**
+ * Gets the list of current resource providers supported by the Microsoft.Quota resource provider. For each resource
+ * provider, the resource templates the resource provider supports are be provided. For each resource template, the
+ * resource dimensions are listed. The resource dimensions are the name-value pairs in the resource URI.
+ * Example: Microsoft.Compute Resource Provider The URI template is
+ * '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{locationId}/quotaBucket'. The actual
+ * dimensions vary depending on the resource provider. The resource dimensions are
+ * {subscriptions},{locations},{quotaBucket}.
+ *
+ * @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 list of current resource providers supported by the Microsoft.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ResourceProvidersListInner list();
+
+ /**
+ * Gets the list of current resource providers supported by the Microsoft.Quota resource provider. For each resource
+ * provider, the resource templates the resource provider supports are be provided. For each resource template, the
+ * resource dimensions are listed. The resource dimensions are the name-value pairs in the resource URI.
+ * Example: Microsoft.Compute Resource Provider The URI template is
+ * '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{locationId}/quotaBucket'. The actual
+ * dimensions vary depending on the resource provider. The resource dimensions are
+ * {subscriptions},{locations},{quotaBucket}.
+ *
+ * @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 list of current resource providers supported by the Microsoft.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(Context context);
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotasClient.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotasClient.java
new file mode 100644
index 000000000000..d667b2fc2b59
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/QuotasClient.java
@@ -0,0 +1,274 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.quota.fluent.models.CurrentQuotaLimitBaseInner;
+import com.azure.resourcemanager.quota.models.QuotasGetResponse;
+
+/** An instance of this class provides access to all the operations defined in QuotasClient. */
+public interface QuotasClient {
+ /**
+ * Gets the quota limit and current quota usage of a resource. The response can be used to determine the remaining
+ * quota and calculate a new quota limit that can be submitted with a PUT request.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the quota limit and current quota usage of a resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CurrentQuotaLimitBaseInner get(String resourceName, String scope);
+
+ /**
+ * Gets the quota limit and current quota usage of a resource. The response can be used to determine the remaining
+ * quota and calculate a new quota limit that can be submitted with a PUT request.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the quota limit and current quota usage of a resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ QuotasGetResponse getWithResponse(String resourceName, String scope, Context context);
+
+ /**
+ * Create or update the quota limit for the specified resource to the requested value. To update the quota, follow
+ * these steps: 1. Use the GET operation to determine how much quota remains for the specific resource and to
+ * calculate the new quota limit. These steps are detailed in [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, CurrentQuotaLimitBaseInner> beginCreateOrUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest);
+
+ /**
+ * Create or update the quota limit for the specified resource to the requested value. To update the quota, follow
+ * these steps: 1. Use the GET operation to determine how much quota remains for the specific resource and to
+ * calculate the new quota limit. These steps are detailed in [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, CurrentQuotaLimitBaseInner> beginCreateOrUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest, Context context);
+
+ /**
+ * Create or update the quota limit for the specified resource to the requested value. To update the quota, follow
+ * these steps: 1. Use the GET operation to determine how much quota remains for the specific resource and to
+ * calculate the new quota limit. These steps are detailed in [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CurrentQuotaLimitBaseInner createOrUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest);
+
+ /**
+ * Create or update the quota limit for the specified resource to the requested value. To update the quota, follow
+ * these steps: 1. Use the GET operation to determine how much quota remains for the specific resource and to
+ * calculate the new quota limit. These steps are detailed in [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CurrentQuotaLimitBaseInner createOrUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest, Context context);
+
+ /**
+ * Update the quota limit for a specific resource to the specified value: 1. Use the GET operation to determine how
+ * much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in
+ * [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, CurrentQuotaLimitBaseInner> beginUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest);
+
+ /**
+ * Update the quota limit for a specific resource to the specified value: 1. Use the GET operation to determine how
+ * much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in
+ * [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, CurrentQuotaLimitBaseInner> beginUpdate(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest, Context context);
+
+ /**
+ * Update the quota limit for a specific resource to the specified value: 1. Use the GET operation to determine how
+ * much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in
+ * [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CurrentQuotaLimitBaseInner update(String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest);
+
+ /**
+ * Update the quota limit for a specific resource to the specified value: 1. Use the GET operation to determine how
+ * much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in
+ * [this
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
+ * 2. Use this PUT operation to update the quota limit.
+ *
+ * @param resourceName Resource name for a given resource provider. For example: - SKU name for Microsoft.Compute -
+ * Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices.
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param createQuotaRequest Quota requests payload.
+ * @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 quota limit.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CurrentQuotaLimitBaseInner update(
+ String resourceName, String scope, CurrentQuotaLimitBaseInner createQuotaRequest, Context context);
+
+ /**
+ * Get a list of current quota limits and usages of all resources. The response from this GET operation can be
+ * leveraged to submit requests to update a quota.
+ *
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of current quota limits and usages of all resources.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope);
+
+ /**
+ * Get a list of current quota limits and usages of all resources. The response from this GET operation can be
+ * leveraged to submit requests to update a quota.
+ *
+ * @param scope The target Azure resource URI. For example,
+ * `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after
+ * `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of current quota limits and usages of all resources.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope, Context context);
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/CurrentQuotaLimitBaseInner.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/CurrentQuotaLimitBaseInner.java
new file mode 100644
index 000000000000..07e8763de468
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/CurrentQuotaLimitBaseInner.java
@@ -0,0 +1,55 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.quota.models.QuotaProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Quota limit. */
+@Fluent
+public final class CurrentQuotaLimitBaseInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CurrentQuotaLimitBaseInner.class);
+
+ /*
+ * Quota properties for the specified resource.
+ */
+ @JsonProperty(value = "properties")
+ private QuotaProperties properties;
+
+ /**
+ * Get the properties property: Quota properties for the specified resource.
+ *
+ * @return the properties value.
+ */
+ public QuotaProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Quota properties for the specified resource.
+ *
+ * @param properties the properties value to set.
+ * @return the CurrentQuotaLimitBaseInner object itself.
+ */
+ public CurrentQuotaLimitBaseInner withProperties(QuotaProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/OperationResponseInner.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/OperationResponseInner.java
new file mode 100644
index 000000000000..68486082b5cd
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/OperationResponseInner.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.quota.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.quota.models.OperationDisplay;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The OperationResponse model. */
+@Fluent
+public final class OperationResponseInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationResponseInner.class);
+
+ /*
+ * The name property.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * The display property.
+ */
+ @JsonProperty(value = "display")
+ private OperationDisplay display;
+
+ /*
+ * The origin property.
+ */
+ @JsonProperty(value = "origin")
+ private String origin;
+
+ /**
+ * Get the name property: The name property.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: The name property.
+ *
+ * @param name the name value to set.
+ * @return the OperationResponseInner object itself.
+ */
+ public OperationResponseInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the display property: The display property.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: The display property.
+ *
+ * @param display the display value to set.
+ * @return the OperationResponseInner object itself.
+ */
+ public OperationResponseInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the origin property: The origin property.
+ *
+ * @return the origin value.
+ */
+ public String origin() {
+ return this.origin;
+ }
+
+ /**
+ * Set the origin property: The origin property.
+ *
+ * @param origin the origin value to set.
+ * @return the OperationResponseInner object itself.
+ */
+ public OperationResponseInner withOrigin(String origin) {
+ this.origin = origin;
+ 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/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/QuotaRequestDetailsInner.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/QuotaRequestDetailsInner.java
new file mode 100644
index 000000000000..7633798a34b3
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/QuotaRequestDetailsInner.java
@@ -0,0 +1,151 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.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.quota.models.QuotaRequestState;
+import com.azure.resourcemanager.quota.models.SubRequest;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.List;
+
+/** List of quota requests with details. */
+@JsonFlatten
+@Fluent
+public class QuotaRequestDetailsInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(QuotaRequestDetailsInner.class);
+
+ /*
+ * Quota request ID.
+ */
+ @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
+ private String id;
+
+ /*
+ * Quota request name.
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /*
+ * Resource type. "Microsoft.Quota/quotaLimits"
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /*
+ * The quota request status.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private QuotaRequestState provisioningState;
+
+ /*
+ * User-friendly status message.
+ */
+ @JsonProperty(value = "properties.message", access = JsonProperty.Access.WRITE_ONLY)
+ private String message;
+
+ /*
+ * The quota request submission time. The date conforms to the following
+ * format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ
+ */
+ @JsonProperty(value = "properties.requestSubmitTime", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime requestSubmitTime;
+
+ /*
+ * Quota request details.
+ */
+ @JsonProperty(value = "properties.value")
+ private List value;
+
+ /**
+ * Get the id property: Quota request ID.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the name property: Quota request name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the type property: Resource type. "Microsoft.Quota/quotaLimits".
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the provisioningState property: The quota request status.
+ *
+ * @return the provisioningState value.
+ */
+ public QuotaRequestState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the message property: User-friendly status message.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Get the requestSubmitTime property: The quota request submission time. The date conforms to the following format
+ * specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ.
+ *
+ * @return the requestSubmitTime value.
+ */
+ public OffsetDateTime requestSubmitTime() {
+ return this.requestSubmitTime;
+ }
+
+ /**
+ * Get the value property: Quota request details.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Quota request details.
+ *
+ * @param value the value value to set.
+ * @return the QuotaRequestDetailsInner object itself.
+ */
+ public QuotaRequestDetailsInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/ResourceProvidersListInner.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/ResourceProvidersListInner.java
new file mode 100644
index 000000000000..f8ac8766e28d
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/ResourceProvidersListInner.java
@@ -0,0 +1,55 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.quota.models.ResourceProviderInformation;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Resource providers list. */
+@Fluent
+public final class ResourceProvidersListInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ResourceProvidersListInner.class);
+
+ /*
+ * Resource provider information.
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /**
+ * Get the value property: Resource provider information.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Resource provider information.
+ *
+ * @param value the value value to set.
+ * @return the ResourceProvidersListInner object itself.
+ */
+ public ResourceProvidersListInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/package-info.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/models/package-info.java
new file mode 100644
index 000000000000..674fb9e78bb0
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/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 AzureQuotaExtensionApi. Microsoft Azure Quota Resource Provider. */
+package com.azure.resourcemanager.quota.fluent.models;
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/package-info.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/fluent/package-info.java
new file mode 100644
index 000000000000..f9b7490e09e3
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/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 AzureQuotaExtensionApi. Microsoft Azure Quota Resource Provider. */
+package com.azure.resourcemanager.quota.fluent;
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiBuilder.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiBuilder.java
new file mode 100644
index 000000000000..3b8210d62047
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiBuilder.java
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.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 AzureQuotaExtensionApiImpl type. */
+@ServiceClientBuilder(serviceClients = {AzureQuotaExtensionApiImpl.class})
+public final class AzureQuotaExtensionApiBuilder {
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the AzureQuotaExtensionApiBuilder.
+ */
+ public AzureQuotaExtensionApiBuilder 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 AzureQuotaExtensionApiBuilder.
+ */
+ public AzureQuotaExtensionApiBuilder 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 AzureQuotaExtensionApiBuilder.
+ */
+ public AzureQuotaExtensionApiBuilder 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 AzureQuotaExtensionApiBuilder.
+ */
+ public AzureQuotaExtensionApiBuilder 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 AzureQuotaExtensionApiBuilder.
+ */
+ public AzureQuotaExtensionApiBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of AzureQuotaExtensionApiImpl with the provided parameters.
+ *
+ * @return an instance of AzureQuotaExtensionApiImpl.
+ */
+ public AzureQuotaExtensionApiImpl 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();
+ }
+ AzureQuotaExtensionApiImpl client =
+ new AzureQuotaExtensionApiImpl(pipeline, serializerAdapter, defaultPollInterval, environment, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiImpl.java b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiImpl.java
new file mode 100644
index 000000000000..698ee1e118db
--- /dev/null
+++ b/sdk/quota/azure-resourcemanager-quota/src/main/java/com/azure/resourcemanager/quota/implementation/AzureQuotaExtensionApiImpl.java
@@ -0,0 +1,320 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.quota.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.quota.fluent.AzureQuotaExtensionApi;
+import com.azure.resourcemanager.quota.fluent.OperationsClient;
+import com.azure.resourcemanager.quota.fluent.QuotaRequestStatusClient;
+import com.azure.resourcemanager.quota.fluent.QuotaResourceProvidersClient;
+import com.azure.resourcemanager.quota.fluent.QuotasClient;
+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 AzureQuotaExtensionApiImpl type. */
+@ServiceClient(builder = AzureQuotaExtensionApiBuilder.class)
+public final class AzureQuotaExtensionApiImpl implements AzureQuotaExtensionApi {
+ private final ClientLogger logger = new ClientLogger(AzureQuotaExtensionApiImpl.class);
+
+ /** 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 QuotasClient object to access its operations. */
+ private final QuotasClient quotas;
+
+ /**
+ * Gets the QuotasClient object to access its operations.
+ *
+ * @return the QuotasClient object.
+ */
+ public QuotasClient getQuotas() {
+ return this.quotas;
+ }
+
+ /** The QuotaRequestStatusClient object to access its operations. */
+ private final QuotaRequestStatusClient quotaRequestStatus;
+
+ /**
+ * Gets the QuotaRequestStatusClient object to access its operations.
+ *
+ * @return the QuotaRequestStatusClient object.
+ */
+ public QuotaRequestStatusClient getQuotaRequestStatus() {
+ return this.quotaRequestStatus;
+ }
+
+ /** The QuotaResourceProvidersClient object to access its operations. */
+ private final QuotaResourceProvidersClient quotaResourceProviders;
+
+ /**
+ * Gets the QuotaResourceProvidersClient object to access its operations.
+ *
+ * @return the QuotaResourceProvidersClient object.
+ */
+ public QuotaResourceProvidersClient getQuotaResourceProviders() {
+ return this.quotaResourceProviders;
+ }
+
+ /** The OperationsClient object to access its operations. */
+ private final OperationsClient operations;
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ public OperationsClient getOperations() {
+ return this.operations;
+ }
+
+ /**
+ * Initializes an instance of AzureQuotaExtensionApi 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 endpoint server parameter.
+ */
+ AzureQuotaExtensionApiImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.endpoint = endpoint;
+ this.apiVersion = "2021-03-15-preview";
+ this.quotas = new QuotasClientImpl(this);
+ this.quotaRequestStatus = new QuotaRequestStatusClientImpl(this);
+ this.quotaResourceProviders = new QuotaResourceProvidersClientImpl(this);
+ this.operations = new OperationsClientImpl(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