diff --git a/eng/versioning/external_dependencies.txt b/eng/versioning/external_dependencies.txt
index 89f9243f9a00..1502121e62df 100644
--- a/eng/versioning/external_dependencies.txt
+++ b/eng/versioning/external_dependencies.txt
@@ -132,6 +132,7 @@ org.springframework:spring-messaging;5.2.10.RELEASE
org.springframework:spring-tx;5.2.10.RELEASE
org.springframework:spring-web;5.2.10.RELEASE
org.springframework:spring-webmvc;5.2.10.RELEASE
+org.springframework:spring-webflux;5.2.10.RELEASE
# spring-boot-starter-parent is not managed by spring-boot-dependencies or spring-cloud-dependencies.
org.springframework.boot:spring-boot-starter-parent;2.3.7.RELEASE
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index a4f5ca22cbe7..e084adcfa332 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -206,6 +206,7 @@ com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.0.0-beta.1;1.0.0-
com.azure.resourcemanager:azure-resourcemanager-netapp;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-storagecache;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-redisenterprise;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-blockchain;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 8069fdfba48a..1beb9b0176d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -579,6 +579,7 @@
sdk/attestationsdk/authorizationsdk/batch
+ sdk/blockchainsdk/bomssdk/cognitiveservicessdk/communication
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/CHANGELOG.md b/sdk/blockchain/azure-resourcemanager-blockchain/CHANGELOG.md
new file mode 100644
index 000000000000..6e03d14d08c5
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-02-26)
+
+- Azure Resource Manager Blockchain client library for Java. This package contains Microsoft Azure SDK for Blockchain Management SDK. REST API for Azure Blockchain Service. Package tag package-2018-06-01-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/blockchain/azure-resourcemanager-blockchain/README.md b/sdk/blockchain/azure-resourcemanager-blockchain/README.md
new file mode 100644
index 000000000000..ed50bb17567a
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/README.md
@@ -0,0 +1,99 @@
+# Azure Resource Manager Blockchain client library for Java
+
+Azure Resource Manager Blockchain client library for Java.
+
+This package contains Microsoft Azure SDK for Blockchain Management SDK. REST API for Azure Blockchain Service. Package tag package-2018-06-01-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-blockchain;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-blockchain
+ 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();
+BlockchainManager manager = BlockchainManager
+ .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/blockchain/azure-resourcemanager-blockchain/pom.xml b/sdk/blockchain/azure-resourcemanager-blockchain/pom.xml
new file mode 100644
index 000000000000..834e25f9e164
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/pom.xml
@@ -0,0 +1,67 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-blockchain
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for Blockchain Management
+ This package contains Microsoft Azure SDK for Blockchain Management SDK. REST API for Azure Blockchain Service. Package tag package-2018-06-01-preview. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.13.0
+
+
+ com.azure
+ azure-core-management
+ 1.1.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+
+
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/BlockchainManager.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/BlockchainManager.java
new file mode 100644
index 000000000000..daf5fe96af97
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/BlockchainManager.java
@@ -0,0 +1,275 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.fluent.BlockchainManagementClient;
+import com.azure.resourcemanager.blockchain.implementation.BlockchainManagementClientBuilder;
+import com.azure.resourcemanager.blockchain.implementation.BlockchainMemberOperationResultsImpl;
+import com.azure.resourcemanager.blockchain.implementation.BlockchainMembersImpl;
+import com.azure.resourcemanager.blockchain.implementation.LocationsImpl;
+import com.azure.resourcemanager.blockchain.implementation.OperationsImpl;
+import com.azure.resourcemanager.blockchain.implementation.SkusImpl;
+import com.azure.resourcemanager.blockchain.implementation.TransactionNodesImpl;
+import com.azure.resourcemanager.blockchain.models.BlockchainMemberOperationResults;
+import com.azure.resourcemanager.blockchain.models.BlockchainMembers;
+import com.azure.resourcemanager.blockchain.models.Locations;
+import com.azure.resourcemanager.blockchain.models.Operations;
+import com.azure.resourcemanager.blockchain.models.Skus;
+import com.azure.resourcemanager.blockchain.models.TransactionNodes;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to BlockchainManager. REST API for Azure Blockchain Service. */
+public final class BlockchainManager {
+ private BlockchainMembers blockchainMembers;
+
+ private BlockchainMemberOperationResults blockchainMemberOperationResults;
+
+ private Locations locations;
+
+ private Operations operations;
+
+ private Skus skus;
+
+ private TransactionNodes transactionNodes;
+
+ private final BlockchainManagementClient clientObject;
+
+ private BlockchainManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new BlockchainManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of Blockchain service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Blockchain service API instance.
+ */
+ public static BlockchainManager 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 BlockchainManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new BlockchainManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of Blockchain service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Blockchain service API instance.
+ */
+ public BlockchainManager 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.blockchain")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies
+ .add(
+ new BearerTokenAuthenticationPolicy(
+ credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new BlockchainManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of BlockchainMembers. */
+ public BlockchainMembers blockchainMembers() {
+ if (this.blockchainMembers == null) {
+ this.blockchainMembers = new BlockchainMembersImpl(clientObject.getBlockchainMembers(), this);
+ }
+ return blockchainMembers;
+ }
+
+ /** @return Resource collection API of BlockchainMemberOperationResults. */
+ public BlockchainMemberOperationResults blockchainMemberOperationResults() {
+ if (this.blockchainMemberOperationResults == null) {
+ this.blockchainMemberOperationResults =
+ new BlockchainMemberOperationResultsImpl(clientObject.getBlockchainMemberOperationResults(), this);
+ }
+ return blockchainMemberOperationResults;
+ }
+
+ /** @return Resource collection API of Locations. */
+ public Locations locations() {
+ if (this.locations == null) {
+ this.locations = new LocationsImpl(clientObject.getLocations(), this);
+ }
+ return locations;
+ }
+
+ /** @return Resource collection API of Operations. */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /** @return Resource collection API of Skus. */
+ public Skus skus() {
+ if (this.skus == null) {
+ this.skus = new SkusImpl(clientObject.getSkus(), this);
+ }
+ return skus;
+ }
+
+ /** @return Resource collection API of TransactionNodes. */
+ public TransactionNodes transactionNodes() {
+ if (this.transactionNodes == null) {
+ this.transactionNodes = new TransactionNodesImpl(clientObject.getTransactionNodes(), this);
+ }
+ return transactionNodes;
+ }
+
+ /**
+ * @return Wrapped service client BlockchainManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
+ */
+ public BlockchainManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainManagementClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainManagementClient.java
new file mode 100644
index 000000000000..059778ff39ac
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainManagementClient.java
@@ -0,0 +1,89 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for BlockchainManagementClient class. */
+public interface BlockchainManagementClient {
+ /**
+ * Gets Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The subscription ID is
+ * part of the URI for every service call.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the BlockchainMembersClient object to access its operations.
+ *
+ * @return the BlockchainMembersClient object.
+ */
+ BlockchainMembersClient getBlockchainMembers();
+
+ /**
+ * Gets the BlockchainMemberOperationResultsClient object to access its operations.
+ *
+ * @return the BlockchainMemberOperationResultsClient object.
+ */
+ BlockchainMemberOperationResultsClient getBlockchainMemberOperationResults();
+
+ /**
+ * Gets the LocationsClient object to access its operations.
+ *
+ * @return the LocationsClient object.
+ */
+ LocationsClient getLocations();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the SkusClient object to access its operations.
+ *
+ * @return the SkusClient object.
+ */
+ SkusClient getSkus();
+
+ /**
+ * Gets the TransactionNodesClient object to access its operations.
+ *
+ * @return the TransactionNodesClient object.
+ */
+ TransactionNodesClient getTransactionNodes();
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMemberOperationResultsClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMemberOperationResultsClient.java
new file mode 100644
index 000000000000..a9c4f848c13c
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMemberOperationResultsClient.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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.blockchain.fluent.models.OperationResultInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in BlockchainMemberOperationResultsClient.
+ */
+public interface BlockchainMemberOperationResultsClient {
+ /**
+ * Get Async operation result.
+ *
+ * @param locationName Location name.
+ * @param operationId Operation Id.
+ * @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 async operation result.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationResultInner get(String locationName, String operationId);
+
+ /**
+ * Get Async operation result.
+ *
+ * @param locationName Location name.
+ * @param operationId Operation Id.
+ * @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 async operation result.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String locationName, String operationId, Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMembersClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMembersClient.java
new file mode 100644
index 000000000000..4ee93f63fed3
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/BlockchainMembersClient.java
@@ -0,0 +1,366 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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.blockchain.fluent.models.ApiKeyCollectionInner;
+import com.azure.resourcemanager.blockchain.fluent.models.BlockchainMemberInner;
+import com.azure.resourcemanager.blockchain.fluent.models.ConsortiumMemberInner;
+import com.azure.resourcemanager.blockchain.models.ApiKey;
+import com.azure.resourcemanager.blockchain.models.BlockchainMemberUpdate;
+
+/** An instance of this class provides access to all the operations defined in BlockchainMembersClient. */
+public interface BlockchainMembersClient {
+ /**
+ * Get details about a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details about a blockchain member.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BlockchainMemberInner getByResourceGroup(String resourceGroupName, String blockchainMemberName);
+
+ /**
+ * Get details about a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return details about a blockchain member.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String blockchainMemberName, Context context);
+
+ /**
+ * Create a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMember Payload to create a blockchain member.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, BlockchainMemberInner> beginCreate(
+ String blockchainMemberName, String resourceGroupName, BlockchainMemberInner blockchainMember);
+
+ /**
+ * Create a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMember Payload to create a blockchain member.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, BlockchainMemberInner> beginCreate(
+ String blockchainMemberName, String resourceGroupName, BlockchainMemberInner blockchainMember, Context context);
+
+ /**
+ * Create a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMember Payload to create a blockchain member.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BlockchainMemberInner create(
+ String blockchainMemberName, String resourceGroupName, BlockchainMemberInner blockchainMember);
+
+ /**
+ * Create a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BlockchainMemberInner create(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Create a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMember Payload to create a blockchain member.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BlockchainMemberInner create(
+ String blockchainMemberName, String resourceGroupName, BlockchainMemberInner blockchainMember, Context context);
+
+ /**
+ * Delete a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String blockchainMemberName);
+
+ /**
+ * Delete a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String blockchainMemberName, Context context);
+
+ /**
+ * Delete a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String blockchainMemberName);
+
+ /**
+ * Delete a blockchain member.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMemberName Blockchain member name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String blockchainMemberName, Context context);
+
+ /**
+ * Update a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BlockchainMemberInner update(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Update a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param blockchainMember Payload to update the blockchain member.
+ * @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 payload of the blockchain member which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String blockchainMemberName,
+ String resourceGroupName,
+ BlockchainMemberUpdate blockchainMember,
+ Context context);
+
+ /**
+ * Lists the blockchain members for a resource group.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the blockchain member payload which is exposed in the request/response of the resource
+ * provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists the blockchain members for a resource group.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the blockchain member payload which is exposed in the request/response of the resource
+ * provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists the blockchain members for a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of the blockchain member payload which is exposed in the request/response of the resource
+ * provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists the blockchain members for a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of the blockchain member payload which is exposed in the request/response of the resource
+ * provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Lists the consortium members for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of consortium payload.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listConsortiumMembers(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Lists the consortium members for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of consortium payload.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listConsortiumMembers(
+ String blockchainMemberName, String resourceGroupName, Context context);
+
+ /**
+ * Lists the API keys for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiKeyCollectionInner listApiKeys(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Lists the API keys for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listApiKeysWithResponse(
+ String blockchainMemberName, String resourceGroupName, Context context);
+
+ /**
+ * Regenerate the API keys for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiKeyCollectionInner listRegenerateApiKeys(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Regenerate the API keys for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param apiKey api key to be regenerate.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listRegenerateApiKeysWithResponse(
+ String blockchainMemberName, String resourceGroupName, ApiKey apiKey, Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/LocationsClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/LocationsClient.java
new file mode 100644
index 000000000000..08398ad85ff5
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/LocationsClient.java
@@ -0,0 +1,68 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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.blockchain.fluent.models.ConsortiumCollectionInner;
+import com.azure.resourcemanager.blockchain.fluent.models.NameAvailabilityInner;
+import com.azure.resourcemanager.blockchain.models.NameAvailabilityRequest;
+
+/** An instance of this class provides access to all the operations defined in LocationsClient. */
+public interface LocationsClient {
+ /**
+ * To check whether a resource name is available.
+ *
+ * @param locationName Location Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return name availability payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NameAvailabilityInner checkNameAvailability(String locationName);
+
+ /**
+ * To check whether a resource name is available.
+ *
+ * @param locationName Location Name.
+ * @param nameAvailabilityRequest Name availability request 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 name availability payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkNameAvailabilityWithResponse(
+ String locationName, NameAvailabilityRequest nameAvailabilityRequest, Context context);
+
+ /**
+ * Lists the available consortiums for a subscription.
+ *
+ * @param locationName Location Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of the consortium payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConsortiumCollectionInner listConsortiums(String locationName);
+
+ /**
+ * Lists the available consortiums for a subscription.
+ *
+ * @param locationName Location Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of the consortium payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listConsortiumsWithResponse(String locationName, Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/OperationsClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/OperationsClient.java
new file mode 100644
index 000000000000..b1365180f118
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/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.blockchain.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.blockchain.fluent.models.ResourceProviderOperationInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * Lists the available operations of Microsoft.Blockchain resource provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of operation payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists the available operations of Microsoft.Blockchain resource provider.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of operation payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/SkusClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/SkusClient.java
new file mode 100644
index 000000000000..3350f14411d6
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/SkusClient.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.blockchain.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.blockchain.fluent.models.ResourceTypeSkuCollectionInner;
+
+/** An instance of this class provides access to all the operations defined in SkusClient. */
+public interface SkusClient {
+ /**
+ * Lists the Skus of the resource type.
+ *
+ * @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 collection of the resource type Sku.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ResourceTypeSkuCollectionInner list();
+
+ /**
+ * Lists the Skus of the resource type.
+ *
+ * @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 collection of the resource type Sku.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/TransactionNodesClient.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/TransactionNodesClient.java
new file mode 100644
index 000000000000..176ddc8b4674
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/TransactionNodesClient.java
@@ -0,0 +1,350 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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.blockchain.fluent.models.ApiKeyCollectionInner;
+import com.azure.resourcemanager.blockchain.fluent.models.TransactionNodeInner;
+import com.azure.resourcemanager.blockchain.models.ApiKey;
+import com.azure.resourcemanager.blockchain.models.TransactionNodeUpdate;
+
+/** An instance of this class provides access to all the operations defined in TransactionNodesClient. */
+public interface TransactionNodesClient {
+ /**
+ * Get the details of the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 transaction node.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TransactionNodeInner get(String blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Get the details of the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 transaction node.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String blockchainMemberName, String transactionNodeName, String resourceGroupName, Context context);
+
+ /**
+ * Create or update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param transactionNode Payload to create the transaction node.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, TransactionNodeInner> beginCreate(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ TransactionNodeInner transactionNode);
+
+ /**
+ * Create or update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param transactionNode Payload to create the transaction node.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, TransactionNodeInner> beginCreate(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ TransactionNodeInner transactionNode,
+ Context context);
+
+ /**
+ * Create or update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param transactionNode Payload to create the transaction node.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TransactionNodeInner create(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ TransactionNodeInner transactionNode);
+
+ /**
+ * Create or update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TransactionNodeInner create(String blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Create or update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param transactionNode Payload to create the transaction node.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TransactionNodeInner create(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ TransactionNodeInner transactionNode,
+ Context context);
+
+ /**
+ * Delete the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Delete the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 blockchainMemberName, String transactionNodeName, String resourceGroupName, Context context);
+
+ /**
+ * Delete the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Delete the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 blockchainMemberName, String transactionNodeName, String resourceGroupName, Context context);
+
+ /**
+ * Update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TransactionNodeInner update(String blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Update the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param transactionNode Payload to create the transaction node.
+ * @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 payload of the transaction node which is the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ TransactionNodeUpdate transactionNode,
+ Context context);
+
+ /**
+ * Lists the transaction nodes for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of transaction node payload which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String blockchainMemberName, String resourceGroupName);
+
+ /**
+ * Lists the transaction nodes for a blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of transaction node payload which is exposed in the request/response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String blockchainMemberName, String resourceGroupName, Context context);
+
+ /**
+ * List the API keys for the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiKeyCollectionInner listApiKeys(
+ String blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * List the API keys for the transaction node.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listApiKeysWithResponse(
+ String blockchainMemberName, String transactionNodeName, String resourceGroupName, Context context);
+
+ /**
+ * Regenerate the API keys for the blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiKeyCollectionInner listRegenerateApiKeys(
+ String blockchainMemberName, String transactionNodeName, String resourceGroupName);
+
+ /**
+ * Regenerate the API keys for the blockchain member.
+ *
+ * @param blockchainMemberName Blockchain member name.
+ * @param transactionNodeName Transaction node name.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param apiKey api key to be regenerated.
+ * @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 collection of the API key payload which is exposed in the response of the resource provider.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listRegenerateApiKeysWithResponse(
+ String blockchainMemberName,
+ String transactionNodeName,
+ String resourceGroupName,
+ ApiKey apiKey,
+ Context context);
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ApiKeyCollectionInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ApiKeyCollectionInner.java
new file mode 100644
index 000000000000..e35a5a6cf228
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ApiKeyCollectionInner.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.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.ApiKey;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of the API key payload which is exposed in the response of the resource provider. */
+@Fluent
+public final class ApiKeyCollectionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ApiKeyCollectionInner.class);
+
+ /*
+ * Gets or sets the collection of API key.
+ */
+ @JsonProperty(value = "keys")
+ private List keys;
+
+ /**
+ * Get the keys property: Gets or sets the collection of API key.
+ *
+ * @return the keys value.
+ */
+ public List keys() {
+ return this.keys;
+ }
+
+ /**
+ * Set the keys property: Gets or sets the collection of API key.
+ *
+ * @param keys the keys value to set.
+ * @return the ApiKeyCollectionInner object itself.
+ */
+ public ApiKeyCollectionInner withKeys(List keys) {
+ this.keys = keys;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (keys() != null) {
+ keys().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/BlockchainMemberInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/BlockchainMemberInner.java
new file mode 100644
index 000000000000..657968ee10ba
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/BlockchainMemberInner.java
@@ -0,0 +1,381 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.BlockchainMemberNodesSku;
+import com.azure.resourcemanager.blockchain.models.BlockchainMemberProvisioningState;
+import com.azure.resourcemanager.blockchain.models.BlockchainProtocol;
+import com.azure.resourcemanager.blockchain.models.FirewallRule;
+import com.azure.resourcemanager.blockchain.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** Payload of the blockchain member which is exposed in the request/response of the resource provider. */
+@JsonFlatten
+@Fluent
+public class BlockchainMemberInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BlockchainMemberInner.class);
+
+ /*
+ * Gets or sets the blockchain member Sku.
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Gets or sets the blockchain protocol.
+ */
+ @JsonProperty(value = "properties.protocol")
+ private BlockchainProtocol protocol;
+
+ /*
+ * Gets or sets the blockchain validator nodes Sku.
+ */
+ @JsonProperty(value = "properties.validatorNodesSku")
+ private BlockchainMemberNodesSku validatorNodesSku;
+
+ /*
+ * Gets or sets the blockchain member provision state.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private BlockchainMemberProvisioningState provisioningState;
+
+ /*
+ * Gets the dns endpoint of the blockchain member.
+ */
+ @JsonProperty(value = "properties.dns", access = JsonProperty.Access.WRITE_ONLY)
+ private String dns;
+
+ /*
+ * Gets the auth user name of the blockchain member.
+ */
+ @JsonProperty(value = "properties.userName", access = JsonProperty.Access.WRITE_ONLY)
+ private String username;
+
+ /*
+ * Sets the basic auth password of the blockchain member.
+ */
+ @JsonProperty(value = "properties.password")
+ private String password;
+
+ /*
+ * Gets or sets the consortium for the blockchain member.
+ */
+ @JsonProperty(value = "properties.consortium")
+ private String consortium;
+
+ /*
+ * Gets the managed consortium management account address.
+ */
+ @JsonProperty(value = "properties.consortiumManagementAccountAddress", access = JsonProperty.Access.WRITE_ONLY)
+ private String consortiumManagementAccountAddress;
+
+ /*
+ * Sets the managed consortium management account password.
+ */
+ @JsonProperty(value = "properties.consortiumManagementAccountPassword")
+ private String consortiumManagementAccountPassword;
+
+ /*
+ * Gets the role of the member in the consortium.
+ */
+ @JsonProperty(value = "properties.consortiumRole")
+ private String consortiumRole;
+
+ /*
+ * Gets the display name of the member in the consortium.
+ */
+ @JsonProperty(value = "properties.consortiumMemberDisplayName")
+ private String consortiumMemberDisplayName;
+
+ /*
+ * Gets the Ethereum root contract address of the blockchain.
+ */
+ @JsonProperty(value = "properties.rootContractAddress", access = JsonProperty.Access.WRITE_ONLY)
+ private String rootContractAddress;
+
+ /*
+ * Gets the public key of the blockchain member (default transaction node).
+ */
+ @JsonProperty(value = "properties.publicKey", access = JsonProperty.Access.WRITE_ONLY)
+ private String publicKey;
+
+ /*
+ * Gets or sets firewall rules
+ */
+ @JsonProperty(value = "properties.firewallRules")
+ private List firewallRules;
+
+ /**
+ * Get the sku property: Gets or sets the blockchain member Sku.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: Gets or sets the blockchain member Sku.
+ *
+ * @param sku the sku value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the protocol property: Gets or sets the blockchain protocol.
+ *
+ * @return the protocol value.
+ */
+ public BlockchainProtocol protocol() {
+ return this.protocol;
+ }
+
+ /**
+ * Set the protocol property: Gets or sets the blockchain protocol.
+ *
+ * @param protocol the protocol value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withProtocol(BlockchainProtocol protocol) {
+ this.protocol = protocol;
+ return this;
+ }
+
+ /**
+ * Get the validatorNodesSku property: Gets or sets the blockchain validator nodes Sku.
+ *
+ * @return the validatorNodesSku value.
+ */
+ public BlockchainMemberNodesSku validatorNodesSku() {
+ return this.validatorNodesSku;
+ }
+
+ /**
+ * Set the validatorNodesSku property: Gets or sets the blockchain validator nodes Sku.
+ *
+ * @param validatorNodesSku the validatorNodesSku value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withValidatorNodesSku(BlockchainMemberNodesSku validatorNodesSku) {
+ this.validatorNodesSku = validatorNodesSku;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Gets or sets the blockchain member provision state.
+ *
+ * @return the provisioningState value.
+ */
+ public BlockchainMemberProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the dns property: Gets the dns endpoint of the blockchain member.
+ *
+ * @return the dns value.
+ */
+ public String dns() {
+ return this.dns;
+ }
+
+ /**
+ * Get the username property: Gets the auth user name of the blockchain member.
+ *
+ * @return the username value.
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Get the password property: Sets the basic auth password of the blockchain member.
+ *
+ * @return the password value.
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set the password property: Sets the basic auth password of the blockchain member.
+ *
+ * @param password the password value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+ /**
+ * Get the consortium property: Gets or sets the consortium for the blockchain member.
+ *
+ * @return the consortium value.
+ */
+ public String consortium() {
+ return this.consortium;
+ }
+
+ /**
+ * Set the consortium property: Gets or sets the consortium for the blockchain member.
+ *
+ * @param consortium the consortium value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withConsortium(String consortium) {
+ this.consortium = consortium;
+ return this;
+ }
+
+ /**
+ * Get the consortiumManagementAccountAddress property: Gets the managed consortium management account address.
+ *
+ * @return the consortiumManagementAccountAddress value.
+ */
+ public String consortiumManagementAccountAddress() {
+ return this.consortiumManagementAccountAddress;
+ }
+
+ /**
+ * Get the consortiumManagementAccountPassword property: Sets the managed consortium management account password.
+ *
+ * @return the consortiumManagementAccountPassword value.
+ */
+ public String consortiumManagementAccountPassword() {
+ return this.consortiumManagementAccountPassword;
+ }
+
+ /**
+ * Set the consortiumManagementAccountPassword property: Sets the managed consortium management account password.
+ *
+ * @param consortiumManagementAccountPassword the consortiumManagementAccountPassword value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withConsortiumManagementAccountPassword(String consortiumManagementAccountPassword) {
+ this.consortiumManagementAccountPassword = consortiumManagementAccountPassword;
+ return this;
+ }
+
+ /**
+ * Get the consortiumRole property: Gets the role of the member in the consortium.
+ *
+ * @return the consortiumRole value.
+ */
+ public String consortiumRole() {
+ return this.consortiumRole;
+ }
+
+ /**
+ * Set the consortiumRole property: Gets the role of the member in the consortium.
+ *
+ * @param consortiumRole the consortiumRole value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withConsortiumRole(String consortiumRole) {
+ this.consortiumRole = consortiumRole;
+ return this;
+ }
+
+ /**
+ * Get the consortiumMemberDisplayName property: Gets the display name of the member in the consortium.
+ *
+ * @return the consortiumMemberDisplayName value.
+ */
+ public String consortiumMemberDisplayName() {
+ return this.consortiumMemberDisplayName;
+ }
+
+ /**
+ * Set the consortiumMemberDisplayName property: Gets the display name of the member in the consortium.
+ *
+ * @param consortiumMemberDisplayName the consortiumMemberDisplayName value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withConsortiumMemberDisplayName(String consortiumMemberDisplayName) {
+ this.consortiumMemberDisplayName = consortiumMemberDisplayName;
+ return this;
+ }
+
+ /**
+ * Get the rootContractAddress property: Gets the Ethereum root contract address of the blockchain.
+ *
+ * @return the rootContractAddress value.
+ */
+ public String rootContractAddress() {
+ return this.rootContractAddress;
+ }
+
+ /**
+ * Get the publicKey property: Gets the public key of the blockchain member (default transaction node).
+ *
+ * @return the publicKey value.
+ */
+ public String publicKey() {
+ return this.publicKey;
+ }
+
+ /**
+ * Get the firewallRules property: Gets or sets firewall rules.
+ *
+ * @return the firewallRules value.
+ */
+ public List firewallRules() {
+ return this.firewallRules;
+ }
+
+ /**
+ * Set the firewallRules property: Gets or sets firewall rules.
+ *
+ * @param firewallRules the firewallRules value to set.
+ * @return the BlockchainMemberInner object itself.
+ */
+ public BlockchainMemberInner withFirewallRules(List firewallRules) {
+ this.firewallRules = firewallRules;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BlockchainMemberInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public BlockchainMemberInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (sku() != null) {
+ sku().validate();
+ }
+ if (validatorNodesSku() != null) {
+ validatorNodesSku().validate();
+ }
+ if (firewallRules() != null) {
+ firewallRules().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumCollectionInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumCollectionInner.java
new file mode 100644
index 000000000000..f014c9703b96
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumCollectionInner.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.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.Consortium;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of the consortium payload. */
+@Fluent
+public final class ConsortiumCollectionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConsortiumCollectionInner.class);
+
+ /*
+ * Gets or sets the collection of consortiums.
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /**
+ * Get the value property: Gets or sets the collection of consortiums.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Gets or sets the collection of consortiums.
+ *
+ * @param value the value value to set.
+ * @return the ConsortiumCollectionInner object itself.
+ */
+ public ConsortiumCollectionInner 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/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumMemberInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumMemberInner.java
new file mode 100644
index 000000000000..10c5f1c5cd27
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ConsortiumMemberInner.java
@@ -0,0 +1,207 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Consortium approval. */
+@Fluent
+public final class ConsortiumMemberInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConsortiumMemberInner.class);
+
+ /*
+ * Gets the consortium member name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Gets the consortium member display name.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /*
+ * Gets the consortium member subscription id.
+ */
+ @JsonProperty(value = "subscriptionId")
+ private String subscriptionId;
+
+ /*
+ * Gets the consortium member role.
+ */
+ @JsonProperty(value = "role")
+ private String role;
+
+ /*
+ * Gets the consortium member status.
+ */
+ @JsonProperty(value = "status")
+ private String status;
+
+ /*
+ * Gets the consortium member join date.
+ */
+ @JsonProperty(value = "joinDate")
+ private OffsetDateTime joinDate;
+
+ /*
+ * Gets the consortium member modified date.
+ */
+ @JsonProperty(value = "dateModified")
+ private OffsetDateTime dateModified;
+
+ /**
+ * Get the name property: Gets the consortium member name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Gets the consortium member name.
+ *
+ * @param name the name value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the displayName property: Gets the consortium member display name.
+ *
+ * @return the displayName value.
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set the displayName property: Gets the consortium member display name.
+ *
+ * @param displayName the displayName value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /**
+ * Get the subscriptionId property: Gets the consortium member subscription id.
+ *
+ * @return the subscriptionId value.
+ */
+ public String subscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /**
+ * Set the subscriptionId property: Gets the consortium member subscription id.
+ *
+ * @param subscriptionId the subscriptionId value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withSubscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /**
+ * Get the role property: Gets the consortium member role.
+ *
+ * @return the role value.
+ */
+ public String role() {
+ return this.role;
+ }
+
+ /**
+ * Set the role property: Gets the consortium member role.
+ *
+ * @param role the role value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withRole(String role) {
+ this.role = role;
+ return this;
+ }
+
+ /**
+ * Get the status property: Gets the consortium member status.
+ *
+ * @return the status value.
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Set the status property: Gets the consortium member status.
+ *
+ * @param status the status value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withStatus(String status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get the joinDate property: Gets the consortium member join date.
+ *
+ * @return the joinDate value.
+ */
+ public OffsetDateTime joinDate() {
+ return this.joinDate;
+ }
+
+ /**
+ * Set the joinDate property: Gets the consortium member join date.
+ *
+ * @param joinDate the joinDate value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withJoinDate(OffsetDateTime joinDate) {
+ this.joinDate = joinDate;
+ return this;
+ }
+
+ /**
+ * Get the dateModified property: Gets the consortium member modified date.
+ *
+ * @return the dateModified value.
+ */
+ public OffsetDateTime dateModified() {
+ return this.dateModified;
+ }
+
+ /**
+ * Set the dateModified property: Gets the consortium member modified date.
+ *
+ * @param dateModified the dateModified value to set.
+ * @return the ConsortiumMemberInner object itself.
+ */
+ public ConsortiumMemberInner withDateModified(OffsetDateTime dateModified) {
+ this.dateModified = dateModified;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/NameAvailabilityInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/NameAvailabilityInner.java
new file mode 100644
index 000000000000..ac7a1b684058
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/NameAvailabilityInner.java
@@ -0,0 +1,103 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.NameAvailabilityReason;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Name availability payload which is exposed in the response of the resource provider. */
+@Fluent
+public final class NameAvailabilityInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(NameAvailabilityInner.class);
+
+ /*
+ * Gets or sets the value indicating whether the name is available.
+ */
+ @JsonProperty(value = "nameAvailable")
+ private Boolean nameAvailable;
+
+ /*
+ * Gets or sets the message.
+ */
+ @JsonProperty(value = "message")
+ private String message;
+
+ /*
+ * Gets or sets the name availability reason.
+ */
+ @JsonProperty(value = "reason")
+ private NameAvailabilityReason reason;
+
+ /**
+ * Get the nameAvailable property: Gets or sets the value indicating whether the name is available.
+ *
+ * @return the nameAvailable value.
+ */
+ public Boolean nameAvailable() {
+ return this.nameAvailable;
+ }
+
+ /**
+ * Set the nameAvailable property: Gets or sets the value indicating whether the name is available.
+ *
+ * @param nameAvailable the nameAvailable value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withNameAvailable(Boolean nameAvailable) {
+ this.nameAvailable = nameAvailable;
+ return this;
+ }
+
+ /**
+ * Get the message property: Gets or sets the message.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Set the message property: Gets or sets the message.
+ *
+ * @param message the message value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withMessage(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Get the reason property: Gets or sets the name availability reason.
+ *
+ * @return the reason value.
+ */
+ public NameAvailabilityReason reason() {
+ return this.reason;
+ }
+
+ /**
+ * Set the reason property: Gets or sets the name availability reason.
+ *
+ * @param reason the reason value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withReason(NameAvailabilityReason reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/OperationResultInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/OperationResultInner.java
new file mode 100644
index 000000000000..e27d51147e27
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/OperationResultInner.java
@@ -0,0 +1,103 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Operation result payload which is exposed in the response of the resource provider. */
+@Fluent
+public final class OperationResultInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationResultInner.class);
+
+ /*
+ * Gets or sets the operation name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Gets or sets the operation start time.
+ */
+ @JsonProperty(value = "startTime")
+ private OffsetDateTime startTime;
+
+ /*
+ * Gets or sets the operation end time.
+ */
+ @JsonProperty(value = "endTime")
+ private OffsetDateTime endTime;
+
+ /**
+ * Get the name property: Gets or sets the operation name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Gets or sets the operation name.
+ *
+ * @param name the name value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the startTime property: Gets or sets the operation start time.
+ *
+ * @return the startTime value.
+ */
+ public OffsetDateTime startTime() {
+ return this.startTime;
+ }
+
+ /**
+ * Set the startTime property: Gets or sets the operation start time.
+ *
+ * @param startTime the startTime value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withStartTime(OffsetDateTime startTime) {
+ this.startTime = startTime;
+ return this;
+ }
+
+ /**
+ * Get the endTime property: Gets or sets the operation end time.
+ *
+ * @return the endTime value.
+ */
+ public OffsetDateTime endTime() {
+ return this.endTime;
+ }
+
+ /**
+ * Set the endTime property: Gets or sets the operation end time.
+ *
+ * @param endTime the endTime value to set.
+ * @return the OperationResultInner object itself.
+ */
+ public OperationResultInner withEndTime(OffsetDateTime endTime) {
+ this.endTime = endTime;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceProviderOperationInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceProviderOperationInner.java
new file mode 100644
index 000000000000..6e2434e09e81
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceProviderOperationInner.java
@@ -0,0 +1,133 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.ResourceProviderOperationDisplay;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Operation payload which is exposed in the response of the resource provider. */
+@Fluent
+public final class ResourceProviderOperationInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ResourceProviderOperationInner.class);
+
+ /*
+ * Gets or sets the origin.
+ */
+ @JsonProperty(value = "origin")
+ private String origin;
+
+ /*
+ * Gets or sets the operation name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Gets or sets a value indicating whether the operation is a data action
+ * or not.
+ */
+ @JsonProperty(value = "isDataAction")
+ private Boolean isDataAction;
+
+ /*
+ * Gets or sets operation display
+ */
+ @JsonProperty(value = "display")
+ private ResourceProviderOperationDisplay display;
+
+ /**
+ * Get the origin property: Gets or sets the origin.
+ *
+ * @return the origin value.
+ */
+ public String origin() {
+ return this.origin;
+ }
+
+ /**
+ * Set the origin property: Gets or sets the origin.
+ *
+ * @param origin the origin value to set.
+ * @return the ResourceProviderOperationInner object itself.
+ */
+ public ResourceProviderOperationInner withOrigin(String origin) {
+ this.origin = origin;
+ return this;
+ }
+
+ /**
+ * Get the name property: Gets or sets the operation name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Gets or sets the operation name.
+ *
+ * @param name the name value to set.
+ * @return the ResourceProviderOperationInner object itself.
+ */
+ public ResourceProviderOperationInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Set the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.
+ *
+ * @param isDataAction the isDataAction value to set.
+ * @return the ResourceProviderOperationInner object itself.
+ */
+ public ResourceProviderOperationInner withIsDataAction(Boolean isDataAction) {
+ this.isDataAction = isDataAction;
+ return this;
+ }
+
+ /**
+ * Get the display property: Gets or sets operation display.
+ *
+ * @return the display value.
+ */
+ public ResourceProviderOperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: Gets or sets operation display.
+ *
+ * @param display the display value to set.
+ * @return the ResourceProviderOperationInner object itself.
+ */
+ public ResourceProviderOperationInner withDisplay(ResourceProviderOperationDisplay display) {
+ this.display = display;
+ 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/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceTypeSkuCollectionInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceTypeSkuCollectionInner.java
new file mode 100644
index 000000000000..3fc0005a8a30
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/ResourceTypeSkuCollectionInner.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.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.ResourceTypeSku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of the resource type Sku. */
+@Fluent
+public final class ResourceTypeSkuCollectionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ResourceTypeSkuCollectionInner.class);
+
+ /*
+ * Gets or sets the collection of resource type Sku.
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /**
+ * Get the value property: Gets or sets the collection of resource type Sku.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Gets or sets the collection of resource type Sku.
+ *
+ * @param value the value value to set.
+ * @return the ResourceTypeSkuCollectionInner object itself.
+ */
+ public ResourceTypeSkuCollectionInner 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/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/TransactionNodeInner.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/TransactionNodeInner.java
new file mode 100644
index 000000000000..c8ded751ab48
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/TransactionNodeInner.java
@@ -0,0 +1,171 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.blockchain.models.FirewallRule;
+import com.azure.resourcemanager.blockchain.models.NodeProvisioningState;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Payload of the transaction node which is the request/response of the resource provider. */
+@JsonFlatten
+@Fluent
+public class TransactionNodeInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(TransactionNodeInner.class);
+
+ /*
+ * Gets or sets the transaction node location.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /*
+ * Gets or sets the blockchain member provision state.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private NodeProvisioningState provisioningState;
+
+ /*
+ * Gets or sets the transaction node dns endpoint.
+ */
+ @JsonProperty(value = "properties.dns", access = JsonProperty.Access.WRITE_ONLY)
+ private String dns;
+
+ /*
+ * Gets or sets the transaction node public key.
+ */
+ @JsonProperty(value = "properties.publicKey", access = JsonProperty.Access.WRITE_ONLY)
+ private String publicKey;
+
+ /*
+ * Gets or sets the transaction node dns endpoint basic auth user name.
+ */
+ @JsonProperty(value = "properties.userName", access = JsonProperty.Access.WRITE_ONLY)
+ private String username;
+
+ /*
+ * Sets the transaction node dns endpoint basic auth password.
+ */
+ @JsonProperty(value = "properties.password")
+ private String password;
+
+ /*
+ * Gets or sets the firewall rules.
+ */
+ @JsonProperty(value = "properties.firewallRules")
+ private List firewallRules;
+
+ /**
+ * Get the location property: Gets or sets the transaction node location.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: Gets or sets the transaction node location.
+ *
+ * @param location the location value to set.
+ * @return the TransactionNodeInner object itself.
+ */
+ public TransactionNodeInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Gets or sets the blockchain member provision state.
+ *
+ * @return the provisioningState value.
+ */
+ public NodeProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the dns property: Gets or sets the transaction node dns endpoint.
+ *
+ * @return the dns value.
+ */
+ public String dns() {
+ return this.dns;
+ }
+
+ /**
+ * Get the publicKey property: Gets or sets the transaction node public key.
+ *
+ * @return the publicKey value.
+ */
+ public String publicKey() {
+ return this.publicKey;
+ }
+
+ /**
+ * Get the username property: Gets or sets the transaction node dns endpoint basic auth user name.
+ *
+ * @return the username value.
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Get the password property: Sets the transaction node dns endpoint basic auth password.
+ *
+ * @return the password value.
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set the password property: Sets the transaction node dns endpoint basic auth password.
+ *
+ * @param password the password value to set.
+ * @return the TransactionNodeInner object itself.
+ */
+ public TransactionNodeInner withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+ /**
+ * Get the firewallRules property: Gets or sets the firewall rules.
+ *
+ * @return the firewallRules value.
+ */
+ public List firewallRules() {
+ return this.firewallRules;
+ }
+
+ /**
+ * Set the firewallRules property: Gets or sets the firewall rules.
+ *
+ * @param firewallRules the firewallRules value to set.
+ * @return the TransactionNodeInner object itself.
+ */
+ public TransactionNodeInner withFirewallRules(List firewallRules) {
+ this.firewallRules = firewallRules;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (firewallRules() != null) {
+ firewallRules().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/package-info.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/models/package-info.java
new file mode 100644
index 000000000000..06451f36ccb8
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/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 BlockchainManagementClient. REST API for Azure Blockchain Service. */
+package com.azure.resourcemanager.blockchain.fluent.models;
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/package-info.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/fluent/package-info.java
new file mode 100644
index 000000000000..fe5535b55fb4
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/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 BlockchainManagementClient. REST API for Azure Blockchain Service. */
+package com.azure.resourcemanager.blockchain.fluent;
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/ApiKeyCollectionImpl.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/ApiKeyCollectionImpl.java
new file mode 100644
index 000000000000..79cf1e389a0e
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/ApiKeyCollectionImpl.java
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.implementation;
+
+import com.azure.resourcemanager.blockchain.BlockchainManager;
+import com.azure.resourcemanager.blockchain.fluent.models.ApiKeyCollectionInner;
+import com.azure.resourcemanager.blockchain.models.ApiKey;
+import com.azure.resourcemanager.blockchain.models.ApiKeyCollection;
+import java.util.Collections;
+import java.util.List;
+
+public final class ApiKeyCollectionImpl implements ApiKeyCollection {
+ private ApiKeyCollectionInner innerObject;
+
+ private final BlockchainManager serviceManager;
+
+ ApiKeyCollectionImpl(ApiKeyCollectionInner innerObject, BlockchainManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public List keys() {
+ List inner = this.innerModel().keys();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public ApiKeyCollectionInner innerModel() {
+ return this.innerObject;
+ }
+
+ private BlockchainManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientBuilder.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientBuilder.java
new file mode 100644
index 000000000000..7e1a6dae58d5
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientBuilder.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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 BlockchainManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {BlockchainManagementClientImpl.class})
+public final class BlockchainManagementClientBuilder {
+ /*
+ * Gets the subscription Id which uniquely identifies the Microsoft Azure
+ * subscription. The subscription ID is part of the URI for every service
+ * call.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The subscription ID is
+ * part of the URI for every service call.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder 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 BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder 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 BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder 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 BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder 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 BlockchainManagementClientBuilder.
+ */
+ public BlockchainManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of BlockchainManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of BlockchainManagementClientImpl.
+ */
+ public BlockchainManagementClientImpl 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();
+ }
+ BlockchainManagementClientImpl client =
+ new BlockchainManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientImpl.java b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientImpl.java
new file mode 100644
index 000000000000..2d01b35ba182
--- /dev/null
+++ b/sdk/blockchain/azure-resourcemanager-blockchain/src/main/java/com/azure/resourcemanager/blockchain/implementation/BlockchainManagementClientImpl.java
@@ -0,0 +1,368 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.blockchain.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.blockchain.fluent.BlockchainManagementClient;
+import com.azure.resourcemanager.blockchain.fluent.BlockchainMemberOperationResultsClient;
+import com.azure.resourcemanager.blockchain.fluent.BlockchainMembersClient;
+import com.azure.resourcemanager.blockchain.fluent.LocationsClient;
+import com.azure.resourcemanager.blockchain.fluent.OperationsClient;
+import com.azure.resourcemanager.blockchain.fluent.SkusClient;
+import com.azure.resourcemanager.blockchain.fluent.TransactionNodesClient;
+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 BlockchainManagementClientImpl type. */
+@ServiceClient(builder = BlockchainManagementClientBuilder.class)
+public final class BlockchainManagementClientImpl implements BlockchainManagementClient {
+ private final ClientLogger logger = new ClientLogger(BlockchainManagementClientImpl.class);
+
+ /**
+ * Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The subscription ID is part
+ * of the URI for every service call.
+ */
+ private final String subscriptionId;
+
+ /**
+ * Gets Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The subscription ID is
+ * part of the URI for every service call.
+ *
+ * @return the subscriptionId value.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** Api Version. */
+ private final String apiVersion;
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ public String getApiVersion() {
+ return this.apiVersion;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The BlockchainMembersClient object to access its operations. */
+ private final BlockchainMembersClient blockchainMembers;
+
+ /**
+ * Gets the BlockchainMembersClient object to access its operations.
+ *
+ * @return the BlockchainMembersClient object.
+ */
+ public BlockchainMembersClient getBlockchainMembers() {
+ return this.blockchainMembers;
+ }
+
+ /** The BlockchainMemberOperationResultsClient object to access its operations. */
+ private final BlockchainMemberOperationResultsClient blockchainMemberOperationResults;
+
+ /**
+ * Gets the BlockchainMemberOperationResultsClient object to access its operations.
+ *
+ * @return the BlockchainMemberOperationResultsClient object.
+ */
+ public BlockchainMemberOperationResultsClient getBlockchainMemberOperationResults() {
+ return this.blockchainMemberOperationResults;
+ }
+
+ /** The LocationsClient object to access its operations. */
+ private final LocationsClient locations;
+
+ /**
+ * Gets the LocationsClient object to access its operations.
+ *
+ * @return the LocationsClient object.
+ */
+ public LocationsClient getLocations() {
+ return this.locations;
+ }
+
+ /** 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;
+ }
+
+ /** The SkusClient object to access its operations. */
+ private final SkusClient skus;
+
+ /**
+ * Gets the SkusClient object to access its operations.
+ *
+ * @return the SkusClient object.
+ */
+ public SkusClient getSkus() {
+ return this.skus;
+ }
+
+ /** The TransactionNodesClient object to access its operations. */
+ private final TransactionNodesClient transactionNodes;
+
+ /**
+ * Gets the TransactionNodesClient object to access its operations.
+ *
+ * @return the TransactionNodesClient object.
+ */
+ public TransactionNodesClient getTransactionNodes() {
+ return this.transactionNodes;
+ }
+
+ /**
+ * Initializes an instance of BlockchainManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The
+ * subscription ID is part of the URI for every service call.
+ * @param endpoint server parameter.
+ */
+ BlockchainManagementClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String subscriptionId,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.subscriptionId = subscriptionId;
+ this.endpoint = endpoint;
+ this.apiVersion = "2018-06-01-preview";
+ this.blockchainMembers = new BlockchainMembersClientImpl(this);
+ this.blockchainMemberOperationResults = new BlockchainMemberOperationResultsClientImpl(this);
+ this.locations = new LocationsClientImpl(this);
+ this.operations = new OperationsClientImpl(this);
+ this.skus = new SkusClientImpl(this);
+ this.transactionNodes = new TransactionNodesClientImpl(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