diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 8fd37cf545ed1..ae6b59705dcf0 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -300,6 +300,7 @@ com.azure.resourcemanager:azure-resourcemanager-maps;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-botservice;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-managedservices;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 8a459dd59a622..f0822339c84a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -707,6 +707,7 @@
eng/code-quality-reportseng/jacoco-test-coveragesdk/advisor
+ sdk/agrifoodsdk/anomalydetectorsdk/apimanagementsdk/appconfiguration
@@ -751,7 +752,6 @@
sdk/digitaltwinssdk/eventgridsdk/eventhubs
- sdk/agrifoodsdk/formrecognizersdk/frontdoorsdk/hanaonazure
@@ -773,6 +773,7 @@
sdk/machinelearningservicessdk/maintenancesdk/managedapplications
+ sdk/managedservicessdk/mapssdk/mariadbsdk/marketplaceordering
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/CHANGELOG.md b/sdk/managedservices/azure-resourcemanager-managedservices/CHANGELOG.md
new file mode 100644
index 0000000000000..a6d60a868d9cb
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-06-29)
+
+- Azure Resource Manager ManagedServices client library for Java. This package contains Microsoft Azure SDK for ManagedServices Management SDK. The specification for ManagedServices. Package tag package-2020-02-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/managedservices/azure-resourcemanager-managedservices/README.md b/sdk/managedservices/azure-resourcemanager-managedservices/README.md
new file mode 100644
index 0000000000000..3ff774abe79a5
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/README.md
@@ -0,0 +1,101 @@
+# Azure Resource Manager ManagedServices client library for Java
+
+Azure Resource Manager ManagedServices client library for Java.
+
+This package contains Microsoft Azure SDK for ManagedServices Management SDK. The specification for ManagedServices. Package tag package-2020-02-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-managedservices;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-managedservices
+ 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();
+ManagedServicesManager manager = ManagedServicesManager
+ .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/managedservices/azure-resourcemanager-managedservices/pom.xml b/sdk/managedservices/azure-resourcemanager-managedservices/pom.xml
new file mode 100644
index 0000000000000..ccac27f87778f
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/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-managedservices
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for ManagedServices Management
+ This package contains Microsoft Azure SDK for ManagedServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The specification for ManagedServices. Package tag package-2020-02-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.17.0
+
+
+ com.azure
+ azure-core-management
+ 1.3.0
+
+
+
+
+
+ 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/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/ManagedServicesManager.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/ManagedServicesManager.java
new file mode 100644
index 0000000000000..0f32fb25aa53c
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/ManagedServicesManager.java
@@ -0,0 +1,279 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices;
+
+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.managedservices.fluent.ManagedServicesClient;
+import com.azure.resourcemanager.managedservices.implementation.ManagedServicesClientBuilder;
+import com.azure.resourcemanager.managedservices.implementation.MarketplaceRegistrationDefinitionsImpl;
+import com.azure.resourcemanager.managedservices.implementation.MarketplaceRegistrationDefinitionsWithoutScopesImpl;
+import com.azure.resourcemanager.managedservices.implementation.OperationsImpl;
+import com.azure.resourcemanager.managedservices.implementation.RegistrationAssignmentsImpl;
+import com.azure.resourcemanager.managedservices.implementation.RegistrationDefinitionsImpl;
+import com.azure.resourcemanager.managedservices.models.MarketplaceRegistrationDefinitions;
+import com.azure.resourcemanager.managedservices.models.MarketplaceRegistrationDefinitionsWithoutScopes;
+import com.azure.resourcemanager.managedservices.models.Operations;
+import com.azure.resourcemanager.managedservices.models.RegistrationAssignments;
+import com.azure.resourcemanager.managedservices.models.RegistrationDefinitions;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to ManagedServicesManager. The specification for ManagedServices. */
+public final class ManagedServicesManager {
+ private RegistrationDefinitions registrationDefinitions;
+
+ private RegistrationAssignments registrationAssignments;
+
+ private MarketplaceRegistrationDefinitions marketplaceRegistrationDefinitions;
+
+ private MarketplaceRegistrationDefinitionsWithoutScopes marketplaceRegistrationDefinitionsWithoutScopes;
+
+ private Operations operations;
+
+ private final ManagedServicesClient clientObject;
+
+ private ManagedServicesManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new ManagedServicesClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of ManagedServices service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the ManagedServices service API instance.
+ */
+ public static ManagedServicesManager 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 ManagedServicesManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new ManagedServicesManager.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 ManagedServices service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the ManagedServices service API instance.
+ */
+ public ManagedServicesManager 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.managedservices")
+ .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 ManagedServicesManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of RegistrationDefinitions. */
+ public RegistrationDefinitions registrationDefinitions() {
+ if (this.registrationDefinitions == null) {
+ this.registrationDefinitions =
+ new RegistrationDefinitionsImpl(clientObject.getRegistrationDefinitions(), this);
+ }
+ return registrationDefinitions;
+ }
+
+ /** @return Resource collection API of RegistrationAssignments. */
+ public RegistrationAssignments registrationAssignments() {
+ if (this.registrationAssignments == null) {
+ this.registrationAssignments =
+ new RegistrationAssignmentsImpl(clientObject.getRegistrationAssignments(), this);
+ }
+ return registrationAssignments;
+ }
+
+ /** @return Resource collection API of MarketplaceRegistrationDefinitions. */
+ public MarketplaceRegistrationDefinitions marketplaceRegistrationDefinitions() {
+ if (this.marketplaceRegistrationDefinitions == null) {
+ this.marketplaceRegistrationDefinitions =
+ new MarketplaceRegistrationDefinitionsImpl(clientObject.getMarketplaceRegistrationDefinitions(), this);
+ }
+ return marketplaceRegistrationDefinitions;
+ }
+
+ /** @return Resource collection API of MarketplaceRegistrationDefinitionsWithoutScopes. */
+ public MarketplaceRegistrationDefinitionsWithoutScopes marketplaceRegistrationDefinitionsWithoutScopes() {
+ if (this.marketplaceRegistrationDefinitionsWithoutScopes == null) {
+ this.marketplaceRegistrationDefinitionsWithoutScopes =
+ new MarketplaceRegistrationDefinitionsWithoutScopesImpl(
+ clientObject.getMarketplaceRegistrationDefinitionsWithoutScopes(), this);
+ }
+ return marketplaceRegistrationDefinitionsWithoutScopes;
+ }
+
+ /** @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 ManagedServicesClient providing direct access to the underlying auto-generated API
+ * implementation, based on Azure REST API.
+ */
+ public ManagedServicesClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/ManagedServicesClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/ManagedServicesClient.java
new file mode 100644
index 0000000000000..ab22003ca7b5b
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/ManagedServicesClient.java
@@ -0,0 +1,74 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for ManagedServicesClient class. */
+public interface ManagedServicesClient {
+ /**
+ * 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 RegistrationDefinitionsClient object to access its operations.
+ *
+ * @return the RegistrationDefinitionsClient object.
+ */
+ RegistrationDefinitionsClient getRegistrationDefinitions();
+
+ /**
+ * Gets the RegistrationAssignmentsClient object to access its operations.
+ *
+ * @return the RegistrationAssignmentsClient object.
+ */
+ RegistrationAssignmentsClient getRegistrationAssignments();
+
+ /**
+ * Gets the MarketplaceRegistrationDefinitionsClient object to access its operations.
+ *
+ * @return the MarketplaceRegistrationDefinitionsClient object.
+ */
+ MarketplaceRegistrationDefinitionsClient getMarketplaceRegistrationDefinitions();
+
+ /**
+ * Gets the MarketplaceRegistrationDefinitionsWithoutScopesClient object to access its operations.
+ *
+ * @return the MarketplaceRegistrationDefinitionsWithoutScopesClient object.
+ */
+ MarketplaceRegistrationDefinitionsWithoutScopesClient getMarketplaceRegistrationDefinitionsWithoutScopes();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsClient.java
new file mode 100644
index 0000000000000..0096e81afcbed
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsClient.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.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.managedservices.fluent.models.MarketplaceRegistrationDefinitionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in MarketplaceRegistrationDefinitionsClient.
+ */
+public interface MarketplaceRegistrationDefinitionsClient {
+ /**
+ * Gets a list of the marketplace registration definitions for the marketplace identifier.
+ *
+ * @param scope The scope of the resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the marketplace registration definitions for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope);
+
+ /**
+ * Gets a list of the marketplace registration definitions for the marketplace identifier.
+ *
+ * @param scope The scope of the resource.
+ * @param filter The filter query parameter to filter marketplace registration definitions by plan identifier,
+ * publisher, version etc.
+ * @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 the marketplace registration definitions for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope, String filter, Context context);
+
+ /**
+ * Get the marketplace registration definition for the marketplace identifier.
+ *
+ * @param scope The scope of the resource.
+ * @param marketplaceIdentifier The Azure Marketplace identifier. Expected formats:
+ * {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or
+ * {publisher}.{product[-preview]} or {publisher}).
+ * @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 marketplace registration definition for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MarketplaceRegistrationDefinitionInner get(String scope, String marketplaceIdentifier);
+
+ /**
+ * Get the marketplace registration definition for the marketplace identifier.
+ *
+ * @param scope The scope of the resource.
+ * @param marketplaceIdentifier The Azure Marketplace identifier. Expected formats:
+ * {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or
+ * {publisher}.{product[-preview]} or {publisher}).
+ * @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 marketplace registration definition for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String scope, String marketplaceIdentifier, Context context);
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsWithoutScopesClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsWithoutScopesClient.java
new file mode 100644
index 0000000000000..1ddafa824b9b4
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/MarketplaceRegistrationDefinitionsWithoutScopesClient.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.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.managedservices.fluent.models.MarketplaceRegistrationDefinitionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * MarketplaceRegistrationDefinitionsWithoutScopesClient.
+ */
+public interface MarketplaceRegistrationDefinitionsWithoutScopesClient {
+ /**
+ * Gets a list of the marketplace registration definitions for the marketplace identifier.
+ *
+ * @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 the marketplace registration definitions for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets a list of the marketplace registration definitions for the marketplace identifier.
+ *
+ * @param filter The filter query parameter to filter marketplace registration definitions by plan identifier,
+ * publisher, version etc.
+ * @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 the marketplace registration definitions for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter, Context context);
+
+ /**
+ * Get the marketplace registration definition for the marketplace identifier.
+ *
+ * @param marketplaceIdentifier The Azure Marketplace identifier. Expected formats:
+ * {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or
+ * {publisher}.{product[-preview]} or {publisher}).
+ * @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 marketplace registration definition for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MarketplaceRegistrationDefinitionInner get(String marketplaceIdentifier);
+
+ /**
+ * Get the marketplace registration definition for the marketplace identifier.
+ *
+ * @param marketplaceIdentifier The Azure Marketplace identifier. Expected formats:
+ * {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or
+ * {publisher}.{product[-preview]} or {publisher}).
+ * @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 marketplace registration definition for the marketplace identifier.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String marketplaceIdentifier, Context context);
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/OperationsClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/OperationsClient.java
new file mode 100644
index 0000000000000..4ea2b865ac428
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/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.managedservices.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.managedservices.fluent.models.OperationListInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * Gets a list of the 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 a list of the operations.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationListInner list();
+
+ /**
+ * Gets a list of the 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 a list of the operations.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(Context context);
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationAssignmentsClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationAssignmentsClient.java
new file mode 100644
index 0000000000000..708f19703746c
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationAssignmentsClient.java
@@ -0,0 +1,189 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.managedservices.fluent.models.RegistrationAssignmentInner;
+
+/** An instance of this class provides access to all the operations defined in RegistrationAssignmentsClient. */
+public interface RegistrationAssignmentsClient {
+ /**
+ * Gets the details of the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration 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 the details of the specified registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationAssignmentInner get(String scope, String registrationAssignmentId);
+
+ /**
+ * Gets the details of the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration assignment.
+ * @param expandRegistrationDefinition The flag indicating whether to return the registration definition details
+ * along with the registration assignment details.
+ * @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 details of the specified registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String scope, String registrationAssignmentId, Boolean expandRegistrationDefinition, Context context);
+
+ /**
+ * Deletes the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration 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 the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String scope, String registrationAssignmentId);
+
+ /**
+ * Deletes the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration 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 the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String scope, String registrationAssignmentId, Context context);
+
+ /**
+ * Deletes the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String scope, String registrationAssignmentId);
+
+ /**
+ * Deletes the specified registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String scope, String registrationAssignmentId, Context context);
+
+ /**
+ * Creates or updates a registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration assignment.
+ * @param requestBody The parameters required to create new registration 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 the registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RegistrationAssignmentInner> beginCreateOrUpdate(
+ String scope, String registrationAssignmentId, RegistrationAssignmentInner requestBody);
+
+ /**
+ * Creates or updates a registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration assignment.
+ * @param requestBody The parameters required to create new registration 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 the registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RegistrationAssignmentInner> beginCreateOrUpdate(
+ String scope, String registrationAssignmentId, RegistrationAssignmentInner requestBody, Context context);
+
+ /**
+ * Creates or updates a registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration assignment.
+ * @param requestBody The parameters required to create new registration 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 the registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationAssignmentInner createOrUpdate(
+ String scope, String registrationAssignmentId, RegistrationAssignmentInner requestBody);
+
+ /**
+ * Creates or updates a registration assignment.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationAssignmentId The GUID of the registration assignment.
+ * @param requestBody The parameters required to create new registration 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 the registration assignment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationAssignmentInner createOrUpdate(
+ String scope, String registrationAssignmentId, RegistrationAssignmentInner requestBody, Context context);
+
+ /**
+ * Gets a list of the registration assignments.
+ *
+ * @param scope The scope of the resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the registration assignments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope);
+
+ /**
+ * Gets a list of the registration assignments.
+ *
+ * @param scope The scope of the resource.
+ * @param expandRegistrationDefinition The flag indicating whether to return the registration definition details
+ * along with the registration assignment details.
+ * @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 the registration assignments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String scope, Boolean expandRegistrationDefinition, Context context);
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationDefinitionsClient.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationDefinitionsClient.java
new file mode 100644
index 0000000000000..1528bd7eb7cf8
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/RegistrationDefinitionsClient.java
@@ -0,0 +1,158 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.managedservices.fluent.models.RegistrationDefinitionInner;
+
+/** An instance of this class provides access to all the operations defined in RegistrationDefinitionsClient. */
+public interface RegistrationDefinitionsClient {
+ /**
+ * Gets the registration definition details.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @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 registration definition details.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationDefinitionInner get(String scope, String registrationDefinitionId);
+
+ /**
+ * Gets the registration definition details.
+ *
+ * @param scope The scope of the resource.
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @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 registration definition details.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String scope, String registrationDefinitionId, Context context);
+
+ /**
+ * Deletes the registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String registrationDefinitionId, String scope);
+
+ /**
+ * Deletes the registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String registrationDefinitionId, String scope, Context context);
+
+ /**
+ * Creates or updates a registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @param requestBody The parameters required to create a new registration definition.
+ * @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 registration definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RegistrationDefinitionInner> beginCreateOrUpdate(
+ String registrationDefinitionId, String scope, RegistrationDefinitionInner requestBody);
+
+ /**
+ * Creates or updates a registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @param requestBody The parameters required to create a new registration definition.
+ * @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 registration definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RegistrationDefinitionInner> beginCreateOrUpdate(
+ String registrationDefinitionId, String scope, RegistrationDefinitionInner requestBody, Context context);
+
+ /**
+ * Creates or updates a registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @param requestBody The parameters required to create a new registration definition.
+ * @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 registration definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationDefinitionInner createOrUpdate(
+ String registrationDefinitionId, String scope, RegistrationDefinitionInner requestBody);
+
+ /**
+ * Creates or updates a registration definition.
+ *
+ * @param registrationDefinitionId The GUID of the registration definition.
+ * @param scope The scope of the resource.
+ * @param requestBody The parameters required to create a new registration definition.
+ * @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 registration definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegistrationDefinitionInner createOrUpdate(
+ String registrationDefinitionId, String scope, RegistrationDefinitionInner requestBody, Context context);
+
+ /**
+ * Gets a list of the registration definitions.
+ *
+ * @param scope The scope of the resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the registration definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope);
+
+ /**
+ * Gets a list of the registration definitions.
+ *
+ * @param scope The scope of the resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of the registration definitions.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String scope, Context context);
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/MarketplaceRegistrationDefinitionInner.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/MarketplaceRegistrationDefinitionInner.java
new file mode 100644
index 0000000000000..390c605872f00
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/MarketplaceRegistrationDefinitionInner.java
@@ -0,0 +1,86 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.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.managedservices.models.MarketplaceRegistrationDefinitionProperties;
+import com.azure.resourcemanager.managedservices.models.Plan;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The MarketplaceRegistrationDefinition model. */
+@Fluent
+public final class MarketplaceRegistrationDefinitionInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(MarketplaceRegistrationDefinitionInner.class);
+
+ /*
+ * The properties of the marketplace registration definition.
+ */
+ @JsonProperty(value = "properties")
+ private MarketplaceRegistrationDefinitionProperties properties;
+
+ /*
+ * The details for the Managed Services offer’s plan in Azure Marketplace.
+ */
+ @JsonProperty(value = "plan")
+ private Plan plan;
+
+ /**
+ * Get the properties property: The properties of the marketplace registration definition.
+ *
+ * @return the properties value.
+ */
+ public MarketplaceRegistrationDefinitionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of the marketplace registration definition.
+ *
+ * @param properties the properties value to set.
+ * @return the MarketplaceRegistrationDefinitionInner object itself.
+ */
+ public MarketplaceRegistrationDefinitionInner withProperties(
+ MarketplaceRegistrationDefinitionProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the plan property: The details for the Managed Services offer’s plan in Azure Marketplace.
+ *
+ * @return the plan value.
+ */
+ public Plan plan() {
+ return this.plan;
+ }
+
+ /**
+ * Set the plan property: The details for the Managed Services offer’s plan in Azure Marketplace.
+ *
+ * @param plan the plan value to set.
+ * @return the MarketplaceRegistrationDefinitionInner object itself.
+ */
+ public MarketplaceRegistrationDefinitionInner withPlan(Plan plan) {
+ this.plan = plan;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (plan() != null) {
+ plan().validate();
+ }
+ }
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/OperationListInner.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/OperationListInner.java
new file mode 100644
index 0000000000000..9d4aa0825fe0b
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/OperationListInner.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.managedservices.models.Operation;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** The list of the operations. */
+@Immutable
+public final class OperationListInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationListInner.class);
+
+ /*
+ * The list of Microsoft.ManagedServices operations.
+ */
+ @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
+ private List value;
+
+ /**
+ * Get the value property: The list of Microsoft.ManagedServices operations.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * 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/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationAssignmentInner.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationAssignmentInner.java
new file mode 100644
index 0000000000000..df2028388cf03
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationAssignmentInner.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.managedservices.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.managedservices.models.RegistrationAssignmentProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The registration assignment. */
+@Fluent
+public final class RegistrationAssignmentInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(RegistrationAssignmentInner.class);
+
+ /*
+ * The properties of a registration assignment.
+ */
+ @JsonProperty(value = "properties")
+ private RegistrationAssignmentProperties properties;
+
+ /**
+ * Get the properties property: The properties of a registration assignment.
+ *
+ * @return the properties value.
+ */
+ public RegistrationAssignmentProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of a registration assignment.
+ *
+ * @param properties the properties value to set.
+ * @return the RegistrationAssignmentInner object itself.
+ */
+ public RegistrationAssignmentInner withProperties(RegistrationAssignmentProperties 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/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationDefinitionInner.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationDefinitionInner.java
new file mode 100644
index 0000000000000..c6c3ab7989c09
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/RegistrationDefinitionInner.java
@@ -0,0 +1,85 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.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.managedservices.models.Plan;
+import com.azure.resourcemanager.managedservices.models.RegistrationDefinitionProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The registration definition. */
+@Fluent
+public final class RegistrationDefinitionInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(RegistrationDefinitionInner.class);
+
+ /*
+ * The properties of a registration definition.
+ */
+ @JsonProperty(value = "properties")
+ private RegistrationDefinitionProperties properties;
+
+ /*
+ * The details for the Managed Services offer’s plan in Azure Marketplace.
+ */
+ @JsonProperty(value = "plan")
+ private Plan plan;
+
+ /**
+ * Get the properties property: The properties of a registration definition.
+ *
+ * @return the properties value.
+ */
+ public RegistrationDefinitionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of a registration definition.
+ *
+ * @param properties the properties value to set.
+ * @return the RegistrationDefinitionInner object itself.
+ */
+ public RegistrationDefinitionInner withProperties(RegistrationDefinitionProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the plan property: The details for the Managed Services offer’s plan in Azure Marketplace.
+ *
+ * @return the plan value.
+ */
+ public Plan plan() {
+ return this.plan;
+ }
+
+ /**
+ * Set the plan property: The details for the Managed Services offer’s plan in Azure Marketplace.
+ *
+ * @param plan the plan value to set.
+ * @return the RegistrationDefinitionInner object itself.
+ */
+ public RegistrationDefinitionInner withPlan(Plan plan) {
+ this.plan = plan;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (plan() != null) {
+ plan().validate();
+ }
+ }
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/package-info.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/models/package-info.java
new file mode 100644
index 0000000000000..de64906447bd7
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/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 ManagedServicesClient. The specification for ManagedServices. */
+package com.azure.resourcemanager.managedservices.fluent.models;
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/package-info.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/fluent/package-info.java
new file mode 100644
index 0000000000000..af4a9b5447c8d
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/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 ManagedServicesClient. The specification for ManagedServices. */
+package com.azure.resourcemanager.managedservices.fluent;
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientBuilder.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientBuilder.java
new file mode 100644
index 0000000000000..912d90ca31e84
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientBuilder.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.managedservices.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 ManagedServicesClientImpl type. */
+@ServiceClientBuilder(serviceClients = {ManagedServicesClientImpl.class})
+public final class ManagedServicesClientBuilder {
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the ManagedServicesClientBuilder.
+ */
+ public ManagedServicesClientBuilder 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 ManagedServicesClientBuilder.
+ */
+ public ManagedServicesClientBuilder 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 ManagedServicesClientBuilder.
+ */
+ public ManagedServicesClientBuilder 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 ManagedServicesClientBuilder.
+ */
+ public ManagedServicesClientBuilder 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 ManagedServicesClientBuilder.
+ */
+ public ManagedServicesClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of ManagedServicesClientImpl with the provided parameters.
+ *
+ * @return an instance of ManagedServicesClientImpl.
+ */
+ public ManagedServicesClientImpl 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();
+ }
+ ManagedServicesClientImpl client =
+ new ManagedServicesClientImpl(pipeline, serializerAdapter, defaultPollInterval, environment, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientImpl.java b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientImpl.java
new file mode 100644
index 0000000000000..f3e9e05fcbe78
--- /dev/null
+++ b/sdk/managedservices/azure-resourcemanager-managedservices/src/main/java/com/azure/resourcemanager/managedservices/implementation/ManagedServicesClientImpl.java
@@ -0,0 +1,335 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.managedservices.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.managedservices.fluent.ManagedServicesClient;
+import com.azure.resourcemanager.managedservices.fluent.MarketplaceRegistrationDefinitionsClient;
+import com.azure.resourcemanager.managedservices.fluent.MarketplaceRegistrationDefinitionsWithoutScopesClient;
+import com.azure.resourcemanager.managedservices.fluent.OperationsClient;
+import com.azure.resourcemanager.managedservices.fluent.RegistrationAssignmentsClient;
+import com.azure.resourcemanager.managedservices.fluent.RegistrationDefinitionsClient;
+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 ManagedServicesClientImpl type. */
+@ServiceClient(builder = ManagedServicesClientBuilder.class)
+public final class ManagedServicesClientImpl implements ManagedServicesClient {
+ private final ClientLogger logger = new ClientLogger(ManagedServicesClientImpl.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 RegistrationDefinitionsClient object to access its operations. */
+ private final RegistrationDefinitionsClient registrationDefinitions;
+
+ /**
+ * Gets the RegistrationDefinitionsClient object to access its operations.
+ *
+ * @return the RegistrationDefinitionsClient object.
+ */
+ public RegistrationDefinitionsClient getRegistrationDefinitions() {
+ return this.registrationDefinitions;
+ }
+
+ /** The RegistrationAssignmentsClient object to access its operations. */
+ private final RegistrationAssignmentsClient registrationAssignments;
+
+ /**
+ * Gets the RegistrationAssignmentsClient object to access its operations.
+ *
+ * @return the RegistrationAssignmentsClient object.
+ */
+ public RegistrationAssignmentsClient getRegistrationAssignments() {
+ return this.registrationAssignments;
+ }
+
+ /** The MarketplaceRegistrationDefinitionsClient object to access its operations. */
+ private final MarketplaceRegistrationDefinitionsClient marketplaceRegistrationDefinitions;
+
+ /**
+ * Gets the MarketplaceRegistrationDefinitionsClient object to access its operations.
+ *
+ * @return the MarketplaceRegistrationDefinitionsClient object.
+ */
+ public MarketplaceRegistrationDefinitionsClient getMarketplaceRegistrationDefinitions() {
+ return this.marketplaceRegistrationDefinitions;
+ }
+
+ /** The MarketplaceRegistrationDefinitionsWithoutScopesClient object to access its operations. */
+ private final MarketplaceRegistrationDefinitionsWithoutScopesClient marketplaceRegistrationDefinitionsWithoutScopes;
+
+ /**
+ * Gets the MarketplaceRegistrationDefinitionsWithoutScopesClient object to access its operations.
+ *
+ * @return the MarketplaceRegistrationDefinitionsWithoutScopesClient object.
+ */
+ public MarketplaceRegistrationDefinitionsWithoutScopesClient getMarketplaceRegistrationDefinitionsWithoutScopes() {
+ return this.marketplaceRegistrationDefinitionsWithoutScopes;
+ }
+
+ /** 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 ManagedServicesClient 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.
+ */
+ ManagedServicesClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.endpoint = endpoint;
+ this.apiVersion = "2020-02-01-preview";
+ this.registrationDefinitions = new RegistrationDefinitionsClientImpl(this);
+ this.registrationAssignments = new RegistrationAssignmentsClientImpl(this);
+ this.marketplaceRegistrationDefinitions = new MarketplaceRegistrationDefinitionsClientImpl(this);
+ this.marketplaceRegistrationDefinitionsWithoutScopes =
+ new MarketplaceRegistrationDefinitionsWithoutScopesClientImpl(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