diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/CHANGELOG.md b/sdk/cosmos/azure-resourcemanager-cosmos/CHANGELOG.md
index b08465af9ea8..c9582691430e 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/CHANGELOG.md
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/CHANGELOG.md
@@ -1,14 +1,278 @@
# Release History
-## 2.56.0-beta.1 (Unreleased)
+## 2.56.0-beta.1 (2026-08-20)
+
+- Package api-version 2026-04-01-preview.
### Features Added
-### Breaking Changes
+* `models.ThroughputPoolUpdate` was added
-### Bugs Fixed
+* `models.CassandraRUToCassandraRUCopyJobTask` was added
-### Other Changes
+* `models.SoftDeletedSqlContainerProperties` was added
+
+* `models.GarnetCacheProvisioningState` was added
+
+* `models.SoftDeletedDatabaseAccountResource` was added
+
+* `models.CosmosDBMongoCollection` was added
+
+* `models.CassandraViewCreateUpdateParameters` was added
+
+* `models.ResourceAssociation` was added
+
+* `models.GraphResourceGetPropertiesOptions` was added
+
+* `models.CosmosMongoDataTransferDataSourceSink` was added
+
+* `models.DataTransferDataSourceSink` was added
+
+* `models.NoSqlRUToNoSqlRUCopyJobTask` was added
+
+* `models.CosmosCassandraDataTransferDataSourceSink` was added
+
+* `models.CosmosSqlDataTransferDataSourceSink` was added
+
+* `models.CapacityModeTransitionStatus` was added
+
+* `models.SoftDeletedDatabaseAccountProperties` was added
+
+* `models.GarnetClusterResourcePatch` was added
+
+* `models.PhysicalPartitionStorageInfo` was added
+
+* `models.GarnetClusterResourcePatchProperties` was added
+
+* `models.BlobToCassandraRUCopyJobTask` was added
+
+* `models.CosmosDBMongoVCoreCollection` was added
+
+* `models.CapacityMode` was added
+
+* `models.CopyJobStatus` was added
+
+* `models.MergeParameters` was added
+
+* `models.MongoRUToMongoRUCopyJobTask` was added
+
+* `models.SoftDeleteConfiguration` was added
+
+* `models.CassandraViewResource` was added
+
+* `models.GarnetAuthenticationType` was added
+
+* `models.GraphResource` was added
+
+* `models.SoftDeletionMetadata` was added
+
+* `models.CassandraRUToBlobCopyJobTask` was added
+
+* `models.AccessRulePropertiesSubscription` was added
+
+* `models.IssueType` was added
+
+* `models.ResourceAssociationAccessMode` was added
+
+* `models.EnableFullTextQuery` was added
+
+* `models.DataMaskingPolicyIncludedPathsItem` was added
+
+* `models.CassandraRUToBlobCopyJobProperties` was added
+
+* `models.DiagnosticLogSettings` was added
+
+* `models.NetworkSecurityPerimeterConfigurationProperties` was added
+
+* `models.CosmosDBCassandraTable` was added
+
+* `models.CommandAsyncPostBody` was added
+
+* `models.SoftDeletedSqlDatabaseResource` was added
+
+* `models.BaseCopyJobTask` was added
+
+* `models.BackupState` was added
+
+* `models.BlobToCassandraRUCopyJobProperties` was added
+
+* `models.RetrieveThroughputPropertiesResource` was added
+
+* `models.MongoRUToMongoRUCopyJobProperties` was added
+
+* `models.RetrieveThroughputParameters` was added
+
+* `models.AzureBlobDataTransferDataSourceSink` was added
+
+* `models.CosmosDBSourceSinkDetails` was added
+
+* `models.DataMaskingPolicy` was added
+
+* `models.PhysicalPartitionThroughputInfoResultPropertiesResource` was added
+
+* `models.MongoRUToMongoVCoreCopyJobTask` was added
+
+* `models.AzureBlobContainer` was added
+
+* `models.DataMaskingPolicyExcludedPathsItem` was added
+
+* `models.SupportedActions` was added
+
+* `models.CommandStatus` was added
+
+* `models.DataTransferJobMode` was added
+
+* `models.PhysicalPartitionThroughputInfoResource` was added
+
+* `models.MaterializedViewDetails` was added
+
+* `models.NetworkSecurityProfile` was added
+
+* `models.CosmosMongoVCoreDataTransferDataSourceSink` was added
+
+* `models.Severity` was added
+
+* `models.PhysicalPartitionId` was added
+
+* `models.BaseCosmosDataTransferDataSourceSink` was added
+
+* `models.AzureBlobSourceSinkDetails` was added
+
+* `models.NoSqlRUToNoSqlRUCopyJobProperties` was added
+
+* `models.MaterializedViewDefinition` was added
+
+* `models.MongoRUToMongoVCoreCopyJobProperties` was added
+
+* `models.DataTransferComponent` was added
+
+* `models.PhysicalPartitionThroughputInfoProperties` was added
+
+* `models.RedistributeThroughputPropertiesResource` was added
+
+* `models.ThroughputBucketResource` was added
+
+* `models.RedistributeThroughputParameters` was added
+
+* `models.BaseCopyJobProperties` was added
+
+* `models.CosmosDBNoSqlContainer` was added
+
+* `models.AccessRuleDirection` was added
+
+* `models.CapacityModeChangeTransitionState` was added
+
+* `models.GraphResourceGetPropertiesResource` was added
+
+* `models.NetworkSecurityPerimeter` was added
+
+* `models.CopyJobMode` was added
+
+* `models.NetworkSecurityPerimeterConfigurationProvisioningState` was added
+
+* `models.GarnetClusterResourceProperties` was added
+
+* `models.SoftDeletedSqlDatabaseProperties` was added
+
+* `models.CassandraViewGetPropertiesResource` was added
+
+* `models.CassandraRUToCassandraRUCopyJobProperties` was added
+
+* `models.MaterializedViewsProperties` was added
+
+* `models.AccessRule` was added
+
+* `models.ProvisioningIssueProperties` was added
+
+* `models.CreateJobRequest` was added
+
+* `models.ClusterType` was added
+
+* `models.MongoVCoreSourceSinkDetails` was added
+
+* `models.CopyJobProperties` was added
+
+* `models.GarnetClusterResourcePropertiesEndPointsItem` was added
+
+* `models.CassandraViewGetPropertiesOptions` was added
+
+* `models.AccessRuleProperties` was added
+
+* `models.CopyJobType` was added
+
+* `models.SoftDeletedSqlContainerResource` was added
+
+* `models.ThroughputPolicyType` was added
+
+* `models.AllocationState` was added
+
+* `models.SoftDeleteActionKind` was added
+
+* `models.GraphResourceCreateUpdateParameters` was added
+
+* `models.FleetAnalyticsPropertiesStorageLocationType` was added
+
+* `models.ProvisioningIssue` was added
+
+#### `models.DatabaseAccountUpdateParameters` was modified
+
+* `enableAllVersionsAndDeletesChangeFeed()` was added
+* `capacityMode()` was added
+* `withCapacityMode(models.CapacityMode)` was added
+* `enableMaterializedViews()` was added
+* `softDeleteConfiguration()` was added
+* `withEnableMaterializedViews(java.lang.Boolean)` was added
+* `withSoftDeleteConfiguration(models.SoftDeleteConfiguration)` was added
+* `withDiagnosticLogSettings(models.DiagnosticLogSettings)` was added
+* `withEnableAllVersionsAndDeletesChangeFeed(java.lang.Boolean)` was added
+* `diagnosticLogSettings()` was added
+
+#### `models.AccountKeyMetadata` was modified
+
+* `approximateLastUsageTime()` was added
+
+#### `models.DatabaseAccountCreateUpdateParameters` was modified
+
+* `withSoftDeleteConfiguration(models.SoftDeleteConfiguration)` was added
+* `withCapacityMode(models.CapacityMode)` was added
+* `enableAllVersionsAndDeletesChangeFeed()` was added
+* `withDiagnosticLogSettings(models.DiagnosticLogSettings)` was added
+* `softDeleteConfiguration()` was added
+* `diagnosticLogSettings()` was added
+* `withEnableAllVersionsAndDeletesChangeFeed(java.lang.Boolean)` was added
+* `withEnableMaterializedViews(java.lang.Boolean)` was added
+* `enableMaterializedViews()` was added
+* `capacityMode()` was added
+
+#### `models.ClusterResourceProperties` was modified
+
+* `withClusterType(models.ClusterType)` was added
+* `clusterType()` was added
+
+#### `models.DatabaseAccountRegenerateKeyParameters` was modified
+
+* `withSkipAccountKeysLastUsageCheck(java.lang.Boolean)` was added
+* `skipAccountKeysLastUsageCheck()` was added
+
+#### `models.SqlContainerResource` was modified
+
+* `materializedViewsProperties()` was added
+* `materializedViews()` was added
+* `withMaterializedViewDefinition(models.MaterializedViewDefinition)` was added
+* `withDataMaskingPolicy(models.DataMaskingPolicy)` was added
+* `withMaterializedViews(java.util.List)` was added
+* `withMaterializedViewsProperties(models.MaterializedViewsProperties)` was added
+* `dataMaskingPolicy()` was added
+* `materializedViewDefinition()` was added
+
+#### `models.ThroughputSettingsResource` was modified
+
+* `withThroughputBuckets(java.util.List)` was added
+* `throughputBuckets()` was added
+
+#### `models.ContinuousTier` was modified
+
+* `CONTINUOUS35DAYS` was added
## 2.55.0 (2026-07-01)
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/README.md b/sdk/cosmos/azure-resourcemanager-cosmos/README.md
index 5605890a39e0..4a6e8a090072 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/README.md
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/README.md
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
com.azure.resourcemanager
azure-resourcemanager-cosmos
- 2.55.0
+ 2.56.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/pom.xml b/sdk/cosmos/azure-resourcemanager-cosmos/pom.xml
index 49b0d98d2f9f..4a684b1d3b5d 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/pom.xml
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/pom.xml
@@ -43,6 +43,7 @@
--add-opens com.azure.resourcemanager.cosmos/com.azure.resourcemanager.cosmos=ALL-UNNAMED
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
+ true
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java
index eb19eb6ae780..38367ca9b500 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java
@@ -13,9 +13,12 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.BackupResourceInner;
import com.azure.resourcemanager.cosmos.fluent.models.CassandraClusterPublicStatusInner;
import com.azure.resourcemanager.cosmos.fluent.models.ClusterResourceInner;
import com.azure.resourcemanager.cosmos.fluent.models.CommandOutputInner;
+import com.azure.resourcemanager.cosmos.fluent.models.CommandPublicResourceInner;
+import com.azure.resourcemanager.cosmos.models.CommandAsyncPostBody;
import com.azure.resourcemanager.cosmos.models.CommandPostBody;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
@@ -570,6 +573,317 @@ SyncPoller, CommandOutputInner> beginInvokeComman
CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body,
Context context);
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 resource representing a command along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> invokeCommandAsyncResourceWithResponseAsync(String resourceGroupName,
+ String clusterName, CommandAsyncPostBody body);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 {@link PollerFlux} for polling of resource representing a command.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, CommandPublicResourceInner>
+ beginInvokeCommandAsyncResourceAsync(String resourceGroupName, String clusterName, CommandAsyncPostBody body);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 {@link SyncPoller} for polling of resource representing a command.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CommandPublicResourceInner>
+ beginInvokeCommandAsyncResource(String resourceGroupName, String clusterName, CommandAsyncPostBody body);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 {@link SyncPoller} for polling of resource representing a command.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CommandPublicResourceInner> beginInvokeCommandAsyncResource(
+ String resourceGroupName, String clusterName, CommandAsyncPostBody body, Context context);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 resource representing a command on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono invokeCommandAsyncResourceAsync(String resourceGroupName, String clusterName,
+ CommandAsyncPostBody body);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 resource representing a command.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CommandPublicResourceInner invokeCommandAsyncResource(String resourceGroupName, String clusterName,
+ CommandAsyncPostBody body);
+
+ /**
+ * Invoke a command like nodetool for cassandra maintenance asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param body Specification which command to run where.
+ * @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 resource representing a command.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CommandPublicResourceInner invokeCommandAsyncResource(String resourceGroupName, String clusterName,
+ CommandAsyncPostBody body, Context context);
+
+ /**
+ * List all commands currently running on ring info.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of commands for cluster as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listCommandAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * List all commands currently running on ring info.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of commands for cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCommand(String resourceGroupName, String clusterName);
+
+ /**
+ * List all commands currently running on ring info.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of commands for cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCommand(String resourceGroupName, String clusterName,
+ Context context);
+
+ /**
+ * Get details about a specified command that was run asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param commandId Managed Cassandra cluster command 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 details about a specified command that was run asynchronously along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getCommandAsyncResourceWithResponseAsync(String resourceGroupName,
+ String clusterName, String commandId);
+
+ /**
+ * Get details about a specified command that was run asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param commandId Managed Cassandra cluster command 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 details about a specified command that was run asynchronously on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getCommandAsyncResourceAsync(String resourceGroupName, String clusterName,
+ String commandId);
+
+ /**
+ * Get details about a specified command that was run asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param commandId Managed Cassandra cluster command 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 details about a specified command that was run asynchronously along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getCommandAsyncResourceWithResponse(String resourceGroupName,
+ String clusterName, String commandId, Context context);
+
+ /**
+ * Get details about a specified command that was run asynchronously.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param commandId Managed Cassandra cluster command 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 details about a specified command that was run asynchronously.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CommandPublicResourceInner getCommandAsyncResource(String resourceGroupName, String clusterName, String commandId);
+
+ /**
+ * List the backups of this cluster that are available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of restorable backups for a Cassandra cluster as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listBackupsAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * List the backups of this cluster that are available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of restorable backups for a Cassandra cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBackups(String resourceGroupName, String clusterName);
+
+ /**
+ * List the backups of this cluster that are available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster 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 list of restorable backups for a Cassandra cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBackups(String resourceGroupName, String clusterName, Context context);
+
+ /**
+ * Get the properties of an individual backup of this cluster that is available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param backupId Id of a restorable backup of a Cassandra cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of an individual backup of this cluster that is available to restore along with
+ * {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getBackupWithResponseAsync(String resourceGroupName, String clusterName,
+ String backupId);
+
+ /**
+ * Get the properties of an individual backup of this cluster that is available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param backupId Id of a restorable backup of a Cassandra cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of an individual backup of this cluster that is available to restore on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getBackupAsync(String resourceGroupName, String clusterName, String backupId);
+
+ /**
+ * Get the properties of an individual backup of this cluster that is available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param backupId Id of a restorable backup of a Cassandra cluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of an individual backup of this cluster that is available to restore along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getBackupWithResponse(String resourceGroupName, String clusterName, String backupId,
+ Context context);
+
+ /**
+ * Get the properties of an individual backup of this cluster that is available to restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName Managed Cassandra cluster name.
+ * @param backupId Id of a restorable backup of a Cassandra cluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of an individual backup of this cluster that is available to restore.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BackupResourceInner getBackup(String resourceGroupName, String clusterName, String backupId);
+
/**
* Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate the host
* virtual machine of this cluster, and reserved the data disk. This won't do anything on an already deallocated
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java
index b9b04cb91e25..7303d617c257 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java
@@ -17,9 +17,11 @@
import com.azure.resourcemanager.cosmos.fluent.models.CassandraRoleAssignmentResourceInner;
import com.azure.resourcemanager.cosmos.fluent.models.CassandraRoleDefinitionResourceInner;
import com.azure.resourcemanager.cosmos.fluent.models.CassandraTableGetResultsInner;
+import com.azure.resourcemanager.cosmos.fluent.models.CassandraViewGetResultsInner;
import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner;
import com.azure.resourcemanager.cosmos.models.CassandraKeyspaceCreateUpdateParameters;
import com.azure.resourcemanager.cosmos.models.CassandraTableCreateUpdateParameters;
+import com.azure.resourcemanager.cosmos.models.CassandraViewCreateUpdateParameters;
import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -888,6 +890,443 @@ ThroughputSettingsGetResultsInner migrateCassandraTableToManualThroughput(String
ThroughputSettingsGetResultsInner migrateCassandraTableToManualThroughput(String resourceGroupName,
String accountName, String keyspaceName, String tableName, Context context);
+ /**
+ * Gets the RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getCassandraViewThroughputWithResponseAsync(
+ String resourceGroupName, String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Gets the RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getCassandraViewThroughputAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Gets the RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getCassandraViewThroughputWithResponse(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName, Context context);
+
+ /**
+ * Gets the RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 RUs per second of the Cassandra view under an existing Azure Cosmos DB database account with the
+ * provided name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner getCassandraViewThroughput(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 an Azure Cosmos DB resource throughput along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateCassandraViewThroughputWithResponseAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName,
+ ThroughputSettingsUpdateParameters updateThroughputParameters);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, ThroughputSettingsGetResultsInner>
+ beginUpdateCassandraViewThroughputAsync(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, ThroughputSettingsUpdateParameters updateThroughputParameters);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginUpdateCassandraViewThroughput(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, ThroughputSettingsUpdateParameters updateThroughputParameters);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginUpdateCassandraViewThroughput(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 an Azure Cosmos DB resource throughput on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateCassandraViewThroughputAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName,
+ ThroughputSettingsUpdateParameters updateThroughputParameters);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner updateCassandraViewThroughput(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, ThroughputSettingsUpdateParameters updateThroughputParameters);
+
+ /**
+ * Update RUs per second of an Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra view.
+ * @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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner updateCassandraViewThroughput(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, ThroughputSettingsUpdateParameters updateThroughputParameters,
+ Context context);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> migrateCassandraViewToAutoscaleWithResponseAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link PollerFlux} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToAutoscaleAsync(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToAutoscale(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToAutoscale(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, Context context);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono migrateCassandraViewToAutoscaleAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner migrateCassandraViewToAutoscale(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from manual throughput to autoscale.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner migrateCassandraViewToAutoscale(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, Context context);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> migrateCassandraViewToManualThroughputWithResponseAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link PollerFlux} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToManualThroughputAsync(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToManualThroughput(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ThroughputSettingsGetResultsInner>
+ beginMigrateCassandraViewToManualThroughput(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, Context context);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono migrateCassandraViewToManualThroughputAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner migrateCassandraViewToManualThroughput(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Migrate an Azure Cosmos DB Cassandra view from autoscale to manual throughput.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 an Azure Cosmos DB resource throughput.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ThroughputSettingsGetResultsInner migrateCassandraViewToManualThroughput(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName, Context context);
+
/**
* Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
*
@@ -1577,6 +2016,359 @@ PagedIterable listCassandraTables(String resource
PagedIterable listCassandraTables(String resourceGroupName, String accountName,
String keyspaceName, Context context);
+ /**
+ * Gets the Cassandra view under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 Cassandra view under an existing Azure Cosmos DB database account along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getCassandraViewWithResponseAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Gets the Cassandra view under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 Cassandra view under an existing Azure Cosmos DB database account on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getCassandraViewAsync(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Gets the Cassandra view under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 Cassandra view under an existing Azure Cosmos DB database account along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getCassandraViewWithResponse(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, Context context);
+
+ /**
+ * Gets the Cassandra view under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 Cassandra view under an existing Azure Cosmos DB database account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CassandraViewGetResultsInner getCassandraView(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 an Azure Cosmos DB Cassandra view along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createUpdateCassandraViewWithResponseAsync(String resourceGroupName,
+ String accountName, String keyspaceName, String viewName,
+ CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB Cassandra view.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, CassandraViewGetResultsInner>
+ beginCreateUpdateCassandraViewAsync(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName, CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB Cassandra view.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CassandraViewGetResultsInner> beginCreateUpdateCassandraView(
+ String resourceGroupName, String accountName, String keyspaceName, String viewName,
+ CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB Cassandra view.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CassandraViewGetResultsInner> beginCreateUpdateCassandraView(
+ String resourceGroupName, String accountName, String keyspaceName, String viewName,
+ CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters, Context context);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 an Azure Cosmos DB Cassandra view on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createUpdateCassandraViewAsync(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 an Azure Cosmos DB Cassandra view.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CassandraViewGetResultsInner createUpdateCassandraView(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Cassandra View.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view name.
+ * @param createUpdateCassandraViewParameters The parameters to provide for the current Cassandra View.
+ * @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 an Azure Cosmos DB Cassandra view.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CassandraViewGetResultsInner createUpdateCassandraView(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, CassandraViewCreateUpdateParameters createUpdateCassandraViewParameters,
+ Context context);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteCassandraViewWithResponseAsync(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteCassandraViewAsync(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDeleteCassandraView(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDeleteCassandraView(String resourceGroupName, String accountName,
+ String keyspaceName, String viewName, Context context);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteCassandraViewAsync(String resourceGroupName, String accountName, String keyspaceName,
+ String viewName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 deleteCassandraView(String resourceGroupName, String accountName, String keyspaceName, String viewName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Cassandra view.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace name.
+ * @param viewName Cosmos DB view 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 deleteCassandraView(String resourceGroupName, String accountName, String keyspaceName, String viewName,
+ Context context);
+
+ /**
+ * Lists the Cassandra materialized views under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace 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 List operation response, that contains the Cassandra views and their properties as paginated response
+ * with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listCassandraViewsAsync(String resourceGroupName, String accountName,
+ String keyspaceName);
+
+ /**
+ * Lists the Cassandra materialized views under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace 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 List operation response, that contains the Cassandra views and their properties as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCassandraViews(String resourceGroupName, String accountName,
+ String keyspaceName);
+
+ /**
+ * Lists the Cassandra materialized views under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param keyspaceName Cosmos DB keyspace 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 List operation response, that contains the Cassandra views and their properties as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCassandraViews(String resourceGroupName, String accountName,
+ String keyspaceName, Context context);
+
/**
* Retrieves the properties of an existing Azure Cosmos DB Cassandra Role Definition with the given Id.
*
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ChaosFaultsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ChaosFaultsClient.java
new file mode 100644
index 000000000000..288f7a907862
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ChaosFaultsClient.java
@@ -0,0 +1,240 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.ChaosFaultResourceInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in ChaosFaultsClient.
+ */
+public interface ChaosFaultsClient {
+ /**
+ * Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @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 chaos Fault for a CosmosdB account for a particular Chaos Fault along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String accountName,
+ String chaosFault);
+
+ /**
+ * Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @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 chaos Fault for a CosmosdB account for a particular Chaos Fault on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String accountName, String chaosFault);
+
+ /**
+ * Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @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 chaos Fault for a CosmosdB account for a particular Chaos Fault along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String chaosFault,
+ Context context);
+
+ /**
+ * Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @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 chaos Fault for a CosmosdB account for a particular Chaos Fault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ChaosFaultResourceInner get(String resourceGroupName, String accountName, String chaosFault);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a request object to enable/disable the chaos fault along with {@link Response} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> enableDisableWithResponseAsync(String resourceGroupName, String accountName,
+ String chaosFault, ChaosFaultResourceInner chaosFaultRequest);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @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 {@link PollerFlux} for polling of a request object to enable/disable the chaos fault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, ChaosFaultResourceInner> beginEnableDisableAsync(
+ String resourceGroupName, String accountName, String chaosFault, ChaosFaultResourceInner chaosFaultRequest);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @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 {@link SyncPoller} for polling of a request object to enable/disable the chaos fault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ChaosFaultResourceInner> beginEnableDisable(
+ String resourceGroupName, String accountName, String chaosFault, ChaosFaultResourceInner chaosFaultRequest);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @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 {@link SyncPoller} for polling of a request object to enable/disable the chaos fault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ChaosFaultResourceInner> beginEnableDisable(
+ String resourceGroupName, String accountName, String chaosFault, ChaosFaultResourceInner chaosFaultRequest,
+ Context context);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a request object to enable/disable the chaos fault on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono enableDisableAsync(String resourceGroupName, String accountName, String chaosFault,
+ ChaosFaultResourceInner chaosFaultRequest);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a request object to enable/disable the chaos fault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ChaosFaultResourceInner enableDisable(String resourceGroupName, String accountName, String chaosFault,
+ ChaosFaultResourceInner chaosFaultRequest);
+
+ /**
+ * Enable, disable Chaos Fault in a CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param chaosFault The name of the ChaosFault.
+ * @param chaosFaultRequest A request object to enable/disable the chaos fault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a request object to enable/disable the chaos fault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ChaosFaultResourceInner enableDisable(String resourceGroupName, String accountName, String chaosFault,
+ ChaosFaultResourceInner chaosFaultRequest, Context context);
+
+ /**
+ * List Chaos Faults for CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 chaos Fault List Response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String accountName);
+
+ /**
+ * List Chaos Faults for CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 chaos Fault List Response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
+
+ /**
+ * List Chaos Faults for CosmosDB account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 chaos Fault List Response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CopyJobsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CopyJobsClient.java
new file mode 100644
index 000000000000..c75156bd1ddf
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CopyJobsClient.java
@@ -0,0 +1,420 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.cosmos.fluent.models.CopyJobGetResultsInner;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in CopyJobsClient.
+ */
+public interface CopyJobsClient {
+ /**
+ * Get a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Get a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Get a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String jobName,
+ Context context);
+
+ /**
+ * Get a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner get(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Creates a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName, CopyJobGetResultsInner jobCreateParameters);
+
+ /**
+ * Creates a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createAsync(String resourceGroupName, String accountName, String jobName,
+ CopyJobGetResultsInner jobCreateParameters);
+
+ /**
+ * Creates a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(String resourceGroupName, String accountName, String jobName,
+ CopyJobGetResultsInner jobCreateParameters, Context context);
+
+ /**
+ * Creates a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner create(String resourceGroupName, String accountName, String jobName,
+ CopyJobGetResultsInner jobCreateParameters);
+
+ /**
+ * Get a list of Copy jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Copy jobs as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByDatabaseAccountAsync(String resourceGroupName, String accountName);
+
+ /**
+ * Get a list of Copy jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Copy jobs as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDatabaseAccount(String resourceGroupName, String accountName);
+
+ /**
+ * Get a list of Copy jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Copy jobs as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDatabaseAccount(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Pause a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> pauseWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Pause a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono pauseAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Pause a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response pauseWithResponse(String resourceGroupName, String accountName, String jobName,
+ Context context);
+
+ /**
+ * Pause a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner pause(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Resumes a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> resumeWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Resumes a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono resumeAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Resumes a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response resumeWithResponse(String resourceGroupName, String accountName, String jobName,
+ Context context);
+
+ /**
+ * Resumes a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner resume(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Cancels a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> cancelWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Cancels a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono cancelAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Cancels a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response cancelWithResponse(String resourceGroupName, String accountName, String jobName,
+ Context context);
+
+ /**
+ * Cancels a Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner cancel(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Completes an Online Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> completeWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Completes an Online Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono completeAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Completes an Online Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response completeWithResponse(String resourceGroupName, String accountName, String jobName,
+ Context context);
+
+ /**
+ * Completes an Online Copy Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Copy Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Copy Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CopyJobGetResultsInner complete(String resourceGroupName, String accountName, String jobName);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java
index 1243831d876e..76a02cea34ef 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java
@@ -60,6 +60,20 @@ public interface CosmosDBManagementClient {
*/
DatabaseAccountsClient getDatabaseAccounts();
+ /**
+ * Gets the CopyJobsClient object to access its operations.
+ *
+ * @return the CopyJobsClient object.
+ */
+ CopyJobsClient getCopyJobs();
+
+ /**
+ * Gets the GraphResourcesClient object to access its operations.
+ *
+ * @return the GraphResourcesClient object.
+ */
+ GraphResourcesClient getGraphResources();
+
/**
* Gets the SqlResourcesClient object to access its operations.
*
@@ -95,6 +109,27 @@ public interface CosmosDBManagementClient {
*/
GremlinResourcesClient getGremlinResources();
+ /**
+ * Gets the DataTransferJobsClient object to access its operations.
+ *
+ * @return the DataTransferJobsClient object.
+ */
+ DataTransferJobsClient getDataTransferJobs();
+
+ /**
+ * Gets the GarnetClustersClient object to access its operations.
+ *
+ * @return the GarnetClustersClient object.
+ */
+ GarnetClustersClient getGarnetClusters();
+
+ /**
+ * Gets the NetworkSecurityPerimeterConfigurationsClient object to access its operations.
+ *
+ * @return the NetworkSecurityPerimeterConfigurationsClient object.
+ */
+ NetworkSecurityPerimeterConfigurationsClient getNetworkSecurityPerimeterConfigurations();
+
/**
* Gets the NotebookWorkspacesClient object to access its operations.
*
@@ -116,6 +151,34 @@ public interface CosmosDBManagementClient {
*/
PrivateLinkResourcesClient getPrivateLinkResources();
+ /**
+ * Gets the SoftDeletedDatabaseAccountsClient object to access its operations.
+ *
+ * @return the SoftDeletedDatabaseAccountsClient object.
+ */
+ SoftDeletedDatabaseAccountsClient getSoftDeletedDatabaseAccounts();
+
+ /**
+ * Gets the SoftDeletedSqlDatabasesClient object to access its operations.
+ *
+ * @return the SoftDeletedSqlDatabasesClient object.
+ */
+ SoftDeletedSqlDatabasesClient getSoftDeletedSqlDatabases();
+
+ /**
+ * Gets the SoftDeletedSqlContainersClient object to access its operations.
+ *
+ * @return the SoftDeletedSqlContainersClient object.
+ */
+ SoftDeletedSqlContainersClient getSoftDeletedSqlContainers();
+
+ /**
+ * Gets the ChaosFaultsClient object to access its operations.
+ *
+ * @return the ChaosFaultsClient object.
+ */
+ ChaosFaultsClient getChaosFaults();
+
/**
* Gets the DatabasesClient object to access its operations.
*
@@ -305,6 +368,34 @@ public interface CosmosDBManagementClient {
*/
ServicesClient getServices();
+ /**
+ * Gets the ThroughputPoolsClient object to access its operations.
+ *
+ * @return the ThroughputPoolsClient object.
+ */
+ ThroughputPoolsClient getThroughputPools();
+
+ /**
+ * Gets the ThroughputPoolsOperationsClient object to access its operations.
+ *
+ * @return the ThroughputPoolsOperationsClient object.
+ */
+ ThroughputPoolsOperationsClient getThroughputPoolsOperations();
+
+ /**
+ * Gets the ThroughputPoolAccountsClient object to access its operations.
+ *
+ * @return the ThroughputPoolAccountsClient object.
+ */
+ ThroughputPoolAccountsClient getThroughputPoolAccounts();
+
+ /**
+ * Gets the ThroughputPoolAccountsOperationsClient object to access its operations.
+ *
+ * @return the ThroughputPoolAccountsOperationsClient object.
+ */
+ ThroughputPoolAccountsOperationsClient getThroughputPoolAccountsOperations();
+
/**
* Gets the MongoMIResourcesClient object to access its operations.
*
@@ -319,6 +410,13 @@ public interface CosmosDBManagementClient {
*/
FleetsClient getFleets();
+ /**
+ * Gets the FleetAnalyticsClient object to access its operations.
+ *
+ * @return the FleetAnalyticsClient object.
+ */
+ FleetAnalyticsClient getFleetAnalytics();
+
/**
* Gets the FleetspacesClient object to access its operations.
*
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DataTransferJobsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DataTransferJobsClient.java
new file mode 100644
index 000000000000..611d044b6ef6
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DataTransferJobsClient.java
@@ -0,0 +1,421 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.cosmos.fluent.models.DataTransferJobGetResultsInner;
+import com.azure.resourcemanager.cosmos.models.CreateJobRequest;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in DataTransferJobsClient.
+ */
+public interface DataTransferJobsClient {
+ /**
+ * Get a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Get a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Get a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String jobName, Context context);
+
+ /**
+ * Get a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner get(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Creates a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName, CreateJobRequest jobCreateParameters);
+
+ /**
+ * Creates a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createAsync(String resourceGroupName, String accountName, String jobName,
+ CreateJobRequest jobCreateParameters);
+
+ /**
+ * Creates a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(String resourceGroupName, String accountName,
+ String jobName, CreateJobRequest jobCreateParameters, Context context);
+
+ /**
+ * Creates a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param jobCreateParameters The jobCreateParameters parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner create(String resourceGroupName, String accountName, String jobName,
+ CreateJobRequest jobCreateParameters);
+
+ /**
+ * Get a list of Data Transfer jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Data Transfer jobs as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByDatabaseAccountAsync(String resourceGroupName, String accountName);
+
+ /**
+ * Get a list of Data Transfer jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Data Transfer jobs as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDatabaseAccount(String resourceGroupName, String accountName);
+
+ /**
+ * Get a list of Data Transfer jobs.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 a list of Data Transfer jobs as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDatabaseAccount(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Pause a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> pauseWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Pause a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono pauseAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Pause a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response pauseWithResponse(String resourceGroupName, String accountName,
+ String jobName, Context context);
+
+ /**
+ * Pause a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner pause(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Resumes a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> resumeWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Resumes a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono resumeAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Resumes a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response resumeWithResponse(String resourceGroupName, String accountName,
+ String jobName, Context context);
+
+ /**
+ * Resumes a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner resume(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Cancels a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> cancelWithResponseAsync(String resourceGroupName, String accountName,
+ String jobName);
+
+ /**
+ * Cancels a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono cancelAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Cancels a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response cancelWithResponse(String resourceGroupName, String accountName,
+ String jobName, Context context);
+
+ /**
+ * Cancels a Data Transfer Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner cancel(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Completes a Data Transfer Online Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> completeWithResponseAsync(String resourceGroupName,
+ String accountName, String jobName);
+
+ /**
+ * Completes a Data Transfer Online Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono completeAsync(String resourceGroupName, String accountName, String jobName);
+
+ /**
+ * Completes a Data Transfer Online Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response completeWithResponse(String resourceGroupName, String accountName,
+ String jobName, Context context);
+
+ /**
+ * Completes a Data Transfer Online Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param jobName Name of the Data Transfer Job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Cosmos DB Data Transfer Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataTransferJobGetResultsInner complete(String resourceGroupName, String accountName, String jobName);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/FleetAnalyticsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/FleetAnalyticsClient.java
new file mode 100644
index 000000000000..04788f625d0d
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/FleetAnalyticsClient.java
@@ -0,0 +1,290 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.FleetAnalyticsResourceInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in FleetAnalyticsClient.
+ */
+public interface FleetAnalyticsClient {
+ /**
+ * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 an Azure Cosmos DB FleetAnalytics along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName);
+
+ /**
+ * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 an Azure Cosmos DB FleetAnalytics on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String fleetName, String fleetAnalyticsName);
+
+ /**
+ * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 an Azure Cosmos DB FleetAnalytics along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName, Context context);
+
+ /**
+ * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 an Azure Cosmos DB FleetAnalytics.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FleetAnalyticsResourceInner get(String resourceGroupName, String fleetName, String fleetAnalyticsName);
+
+ /**
+ * Creates an Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics name.
+ * @param body The parameters to provide for the current FleetAnalytics.
+ * @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 an Azure Cosmos DB FleetAnalytics along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName, FleetAnalyticsResourceInner body);
+
+ /**
+ * Creates an Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics name.
+ * @param body The parameters to provide for the current FleetAnalytics.
+ * @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 an Azure Cosmos DB FleetAnalytics on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createAsync(String resourceGroupName, String fleetName, String fleetAnalyticsName,
+ FleetAnalyticsResourceInner body);
+
+ /**
+ * Creates an Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics name.
+ * @param body The parameters to provide for the current FleetAnalytics.
+ * @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 an Azure Cosmos DB FleetAnalytics along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName, FleetAnalyticsResourceInner body, Context context);
+
+ /**
+ * Creates an Azure Cosmos DB FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics name.
+ * @param body The parameters to provide for the current FleetAnalytics.
+ * @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 an Azure Cosmos DB FleetAnalytics.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FleetAnalyticsResourceInner create(String resourceGroupName, String fleetName, String fleetAnalyticsName,
+ FleetAnalyticsResourceInner body);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName,
+ String fleetAnalyticsName, Context context);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String fleetName, String fleetAnalyticsName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 fleetName, String fleetAnalyticsName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB FleetAnalytics.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @param fleetAnalyticsName Cosmos DB fleetAnalytics 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 fleetName, String fleetAnalyticsName, Context context);
+
+ /**
+ * Lists all the FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FleetAnalyticsResource list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String fleetName);
+
+ /**
+ * Lists all the FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under a subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FleetAnalyticsResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String fleetName);
+
+ /**
+ * Lists all the FleetAnalytics under a fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName Cosmos DB fleet name. Needs to be unique under 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 the response of a FleetAnalyticsResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String fleetName, Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GarnetClustersClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GarnetClustersClient.java
new file mode 100644
index 000000000000..dc7dda1d54d3
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GarnetClustersClient.java
@@ -0,0 +1,460 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.GarnetClusterResourceInner;
+import com.azure.resourcemanager.cosmos.models.GarnetClusterResourcePatch;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in GarnetClustersClient.
+ */
+public interface GarnetClustersClient extends InnerSupportsGet,
+ InnerSupportsListing, InnerSupportsDelete {
+ /**
+ * Get the properties of a Garnet cache cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Garnet cache cluster along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String clusterName);
+
+ /**
+ * Get the properties of a Garnet cache cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Garnet cache cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getByResourceGroupAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Get the properties of a Garnet cache cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Garnet cache cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName,
+ Context context);
+
+ /**
+ * Get the properties of a Garnet cache cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GarnetClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 representation of a Garnet cache cluster along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createUpdateWithResponseAsync(String resourceGroupName, String clusterName,
+ GarnetClusterResourceInner body);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 {@link PollerFlux} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, GarnetClusterResourceInner>
+ beginCreateUpdateAsync(String resourceGroupName, String clusterName, GarnetClusterResourceInner body);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 {@link SyncPoller} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GarnetClusterResourceInner>
+ beginCreateUpdate(String resourceGroupName, String clusterName, GarnetClusterResourceInner body);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 {@link SyncPoller} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GarnetClusterResourceInner> beginCreateUpdate(
+ String resourceGroupName, String clusterName, GarnetClusterResourceInner body, Context context);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 representation of a Garnet cache cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createUpdateAsync(String resourceGroupName, String clusterName,
+ GarnetClusterResourceInner body);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GarnetClusterResourceInner createUpdate(String resourceGroupName, String clusterName,
+ GarnetClusterResourceInner body);
+
+ /**
+ * Create or update a Garnet cache cluster. When updating, you must specify all writable properties.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body Resource create parameters.
+ * @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 representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GarnetClusterResourceInner createUpdate(String resourceGroupName, String clusterName,
+ GarnetClusterResourceInner body, Context context);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 representation of a Garnet cache cluster along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> updateWithResponseAsync(String resourceGroupName, String clusterName,
+ GarnetClusterResourcePatch body);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 {@link PollerFlux} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, GarnetClusterResourceInner>
+ beginUpdateAsync(String resourceGroupName, String clusterName, GarnetClusterResourcePatch body);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GarnetClusterResourceInner> beginUpdate(String resourceGroupName,
+ String clusterName, GarnetClusterResourcePatch body);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 {@link SyncPoller} for polling of representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GarnetClusterResourceInner> beginUpdate(String resourceGroupName,
+ String clusterName, GarnetClusterResourcePatch body, Context context);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 representation of a Garnet cache cluster on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono updateAsync(String resourceGroupName, String clusterName,
+ GarnetClusterResourcePatch body);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GarnetClusterResourceInner update(String resourceGroupName, String clusterName, GarnetClusterResourcePatch body);
+
+ /**
+ * Updates some of the properties of a garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @param body The resource properties to be updated.
+ * @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 representation of a Garnet cache cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GarnetClusterResourceInner update(String resourceGroupName, String clusterName, GarnetClusterResourcePatch body,
+ Context context);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName, Context context);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String clusterName);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 clusterName);
+
+ /**
+ * Deletes a Garnet cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the GarnetClusterResource.
+ * @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 clusterName, Context context);
+
+ /**
+ * List all Garnet clusters in this resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 list of Garnet clusters as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(String resourceGroupName);
+
+ /**
+ * List all Garnet clusters in this resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 list of Garnet clusters as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all Garnet clusters in this resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 list of Garnet clusters as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List all Garnet clusters in this 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 list of Garnet clusters as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * List all Garnet clusters in this 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 list of Garnet clusters as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all Garnet clusters in this 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 list of Garnet clusters as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GraphResourcesClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GraphResourcesClient.java
new file mode 100644
index 000000000000..c603299fa374
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GraphResourcesClient.java
@@ -0,0 +1,350 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.GraphResourceGetResultsInner;
+import com.azure.resourcemanager.cosmos.models.GraphResourceCreateUpdateParameters;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in GraphResourcesClient.
+ */
+public interface GraphResourcesClient {
+ /**
+ * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Graph resource under an existing Azure Cosmos DB database account with the provided name along with
+ * {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getGraphWithResponseAsync(String resourceGroupName, String accountName,
+ String graphName);
+
+ /**
+ * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Graph resource under an existing Azure Cosmos DB database account with the provided name on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getGraphAsync(String resourceGroupName, String accountName, String graphName);
+
+ /**
+ * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Graph resource under an existing Azure Cosmos DB database account with the provided name along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getGraphWithResponse(String resourceGroupName, String accountName,
+ String graphName, Context context);
+
+ /**
+ * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Graph resource under an existing Azure Cosmos DB database account with the provided name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GraphResourceGetResultsInner getGraph(String resourceGroupName, String accountName, String graphName);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 an Azure Cosmos DB Graph resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createUpdateGraphWithResponseAsync(String resourceGroupName, String accountName,
+ String graphName, GraphResourceCreateUpdateParameters createUpdateGraphParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB Graph resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, GraphResourceGetResultsInner> beginCreateUpdateGraphAsync(
+ String resourceGroupName, String accountName, String graphName,
+ GraphResourceCreateUpdateParameters createUpdateGraphParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB Graph resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GraphResourceGetResultsInner> beginCreateUpdateGraph(
+ String resourceGroupName, String accountName, String graphName,
+ GraphResourceCreateUpdateParameters createUpdateGraphParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB Graph resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GraphResourceGetResultsInner> beginCreateUpdateGraph(
+ String resourceGroupName, String accountName, String graphName,
+ GraphResourceCreateUpdateParameters createUpdateGraphParameters, Context context);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 an Azure Cosmos DB Graph resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createUpdateGraphAsync(String resourceGroupName, String accountName,
+ String graphName, GraphResourceCreateUpdateParameters createUpdateGraphParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 an Azure Cosmos DB Graph resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GraphResourceGetResultsInner createUpdateGraph(String resourceGroupName, String accountName, String graphName,
+ GraphResourceCreateUpdateParameters createUpdateGraphParameters);
+
+ /**
+ * Create or update an Azure Cosmos DB Graph.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param createUpdateGraphParameters The parameters to provide for the current graph.
+ * @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 an Azure Cosmos DB Graph resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GraphResourceGetResultsInner createUpdateGraph(String resourceGroupName, String accountName, String graphName,
+ GraphResourceCreateUpdateParameters createUpdateGraphParameters, Context context);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteGraphResourceWithResponseAsync(String resourceGroupName, String accountName,
+ String graphName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginDeleteGraphResourceAsync(String resourceGroupName, String accountName,
+ String graphName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDeleteGraphResource(String resourceGroupName, String accountName,
+ String graphName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDeleteGraphResource(String resourceGroupName, String accountName,
+ String graphName, Context context);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteGraphResourceAsync(String resourceGroupName, String accountName, String graphName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteGraphResource(String resourceGroupName, String accountName, String graphName);
+
+ /**
+ * Deletes an existing Azure Cosmos DB Graph Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param graphName Cosmos DB graph resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteGraphResource(String resourceGroupName, String accountName, String graphName, Context context);
+
+ /**
+ * Lists the graphs under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 List operation response, that contains the Graph resource and their properties as paginated response
+ * with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listGraphsAsync(String resourceGroupName, String accountName);
+
+ /**
+ * Lists the graphs under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 List operation response, that contains the Graph resource and their properties as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listGraphs(String resourceGroupName, String accountName);
+
+ /**
+ * Lists the graphs under an existing Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 List operation response, that contains the Graph resource and their properties as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listGraphs(String resourceGroupName, String accountName,
+ Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java
index ab470784aae2..4d59793f7c1f 100644
--- a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java
@@ -18,12 +18,17 @@
import com.azure.resourcemanager.cosmos.fluent.models.MongoDBDatabaseGetResultsInner;
import com.azure.resourcemanager.cosmos.fluent.models.MongoRoleDefinitionGetResultsInner;
import com.azure.resourcemanager.cosmos.fluent.models.MongoUserDefinitionGetResultsInner;
+import com.azure.resourcemanager.cosmos.fluent.models.PhysicalPartitionStorageInfoCollectionInner;
+import com.azure.resourcemanager.cosmos.fluent.models.PhysicalPartitionThroughputInfoResultInner;
import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner;
import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation;
+import com.azure.resourcemanager.cosmos.models.MergeParameters;
import com.azure.resourcemanager.cosmos.models.MongoDBCollectionCreateUpdateParameters;
import com.azure.resourcemanager.cosmos.models.MongoDBDatabaseCreateUpdateParameters;
import com.azure.resourcemanager.cosmos.models.MongoRoleDefinitionCreateUpdateParameters;
import com.azure.resourcemanager.cosmos.models.MongoUserDefinitionCreateUpdateParameters;
+import com.azure.resourcemanager.cosmos.models.RedistributeThroughputParameters;
+import com.azure.resourcemanager.cosmos.models.RetrieveThroughputParameters;
import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -447,6 +452,261 @@ ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToManualThroughput(Strin
ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToManualThroughput(String resourceGroupName,
String accountName, String databaseName, Context context);
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> mongoDBDatabaseRetrieveThroughputDistributionWithResponseAsync(
+ String resourceGroupName, String accountName, String databaseName,
+ RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRetrieveThroughputDistributionAsync(String resourceGroupName, String accountName,
+ String databaseName, RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRetrieveThroughputDistribution(String resourceGroupName, String accountName,
+ String databaseName, RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRetrieveThroughputDistribution(String resourceGroupName, String accountName,
+ String databaseName, RetrieveThroughputParameters retrieveThroughputParameters, Context context);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono mongoDBDatabaseRetrieveThroughputDistributionAsync(
+ String resourceGroupName, String accountName, String databaseName,
+ RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBDatabaseRetrieveThroughputDistribution(String resourceGroupName,
+ String accountName, String databaseName, RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBDatabaseRetrieveThroughputDistribution(String resourceGroupName,
+ String accountName, String databaseName, RetrieveThroughputParameters retrieveThroughputParameters,
+ Context context);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> mongoDBDatabaseRedistributeThroughputWithResponseAsync(String resourceGroupName,
+ String accountName, String databaseName, RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRedistributeThroughputAsync(String resourceGroupName, String accountName,
+ String databaseName, RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRedistributeThroughput(String resourceGroupName, String accountName, String databaseName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBDatabaseRedistributeThroughput(String resourceGroupName, String accountName, String databaseName,
+ RedistributeThroughputParameters redistributeThroughputParameters, Context context);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono mongoDBDatabaseRedistributeThroughputAsync(
+ String resourceGroupName, String accountName, String databaseName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBDatabaseRedistributeThroughput(String resourceGroupName,
+ String accountName, String databaseName, RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB database.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBDatabaseRedistributeThroughput(String resourceGroupName,
+ String accountName, String databaseName, RedistributeThroughputParameters redistributeThroughputParameters,
+ Context context);
+
/**
* Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the
* provided name.
@@ -655,6 +915,280 @@ ThroughputSettingsGetResultsInner updateMongoDBCollectionThroughput(String resou
String databaseName, String collectionName, ThroughputSettingsUpdateParameters updateThroughputParameters,
Context context);
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> mongoDBContainerRetrieveThroughputDistributionWithResponseAsync(
+ String resourceGroupName, String accountName, String databaseName, String collectionName,
+ RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRetrieveThroughputDistributionAsync(String resourceGroupName, String accountName,
+ String databaseName, String collectionName, RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRetrieveThroughputDistribution(String resourceGroupName, String accountName,
+ String databaseName, String collectionName, RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRetrieveThroughputDistribution(String resourceGroupName, String accountName,
+ String databaseName, String collectionName, RetrieveThroughputParameters retrieveThroughputParameters,
+ Context context);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono mongoDBContainerRetrieveThroughputDistributionAsync(
+ String resourceGroupName, String accountName, String databaseName, String collectionName,
+ RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBContainerRetrieveThroughputDistribution(String resourceGroupName,
+ String accountName, String databaseName, String collectionName,
+ RetrieveThroughputParameters retrieveThroughputParameters);
+
+ /**
+ * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution for the
+ * current MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBContainerRetrieveThroughputDistribution(String resourceGroupName,
+ String accountName, String databaseName, String collectionName,
+ RetrieveThroughputParameters retrieveThroughputParameters, Context context);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> mongoDBContainerRedistributeThroughputWithResponseAsync(String resourceGroupName,
+ String accountName, String databaseName, String collectionName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 {@link PollerFlux} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRedistributeThroughputAsync(String resourceGroupName, String accountName,
+ String databaseName, String collectionName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRedistributeThroughput(String resourceGroupName, String accountName, String databaseName,
+ String collectionName, RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 {@link SyncPoller} for polling of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionThroughputInfoResultInner>
+ beginMongoDBContainerRedistributeThroughput(String resourceGroupName, String accountName, String databaseName,
+ String collectionName, RedistributeThroughputParameters redistributeThroughputParameters, Context context);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono mongoDBContainerRedistributeThroughputAsync(
+ String resourceGroupName, String accountName, String databaseName, String collectionName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBContainerRedistributeThroughput(String resourceGroupName,
+ String accountName, String databaseName, String collectionName,
+ RedistributeThroughputParameters redistributeThroughputParameters);
+
+ /**
+ * Redistribute throughput for an Azure Cosmos DB MongoDB container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for the current
+ * MongoDB container.
+ * @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 an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionThroughputInfoResultInner mongoDBContainerRedistributeThroughput(String resourceGroupName,
+ String accountName, String databaseName, String collectionName,
+ RedistributeThroughputParameters redistributeThroughputParameters, Context context);
+
/**
* Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale.
*
@@ -1220,6 +1754,128 @@ SyncPoller, Void> beginDeleteMongoDBDatabase(String resourceGro
PagedIterable listMongoDBDatabases(String resourceGroupName, String accountName,
Context context);
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation along with
+ * {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> mongoDBDatabasePartitionMergeWithResponseAsync(String resourceGroupName,
+ String accountName, String databaseName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge 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 {@link PollerFlux} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionStorageInfoCollectionInner>
+ beginMongoDBDatabasePartitionMergeAsync(String resourceGroupName, String accountName, String databaseName,
+ MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge 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 {@link SyncPoller} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionStorageInfoCollectionInner>
+ beginMongoDBDatabasePartitionMerge(String resourceGroupName, String accountName, String databaseName,
+ MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge operation.
+ * @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 {@link SyncPoller} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionStorageInfoCollectionInner>
+ beginMongoDBDatabasePartitionMerge(String resourceGroupName, String accountName, String databaseName,
+ MergeParameters mergeParameters, Context context);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono mongoDBDatabasePartitionMergeAsync(String resourceGroupName,
+ String accountName, String databaseName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionStorageInfoCollectionInner mongoDBDatabasePartitionMerge(String resourceGroupName,
+ String accountName, String databaseName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB database.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param mergeParameters The parameters for the merge operation.
+ * @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 list of physical partitions and their properties returned by a merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionStorageInfoCollectionInner mongoDBDatabasePartitionMerge(String resourceGroupName,
+ String accountName, String databaseName, MergeParameters mergeParameters, Context context);
+
/**
* Gets the MongoDB collection under an existing Azure Cosmos DB database account.
*
@@ -1578,6 +2234,136 @@ PagedIterable listMongoDBCollections(String re
PagedIterable listMongoDBCollections(String resourceGroupName, String accountName,
String databaseName, Context context);
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation along with
+ * {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> listMongoDBCollectionPartitionMergeWithResponseAsync(String resourceGroupName,
+ String accountName, String databaseName, String collectionName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge 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 {@link PollerFlux} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, PhysicalPartitionStorageInfoCollectionInner>
+ beginListMongoDBCollectionPartitionMergeAsync(String resourceGroupName, String accountName, String databaseName,
+ String collectionName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge 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 {@link SyncPoller} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionStorageInfoCollectionInner>
+ beginListMongoDBCollectionPartitionMerge(String resourceGroupName, String accountName, String databaseName,
+ String collectionName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge operation.
+ * @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 {@link SyncPoller} for polling of list of physical partitions and their properties returned by a
+ * merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PhysicalPartitionStorageInfoCollectionInner>
+ beginListMongoDBCollectionPartitionMerge(String resourceGroupName, String accountName, String databaseName,
+ String collectionName, MergeParameters mergeParameters, Context context);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listMongoDBCollectionPartitionMergeAsync(String resourceGroupName,
+ String accountName, String databaseName, String collectionName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge 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 list of physical partitions and their properties returned by a merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionStorageInfoCollectionInner listMongoDBCollectionPartitionMerge(String resourceGroupName,
+ String accountName, String databaseName, String collectionName, MergeParameters mergeParameters);
+
+ /**
+ * Merges the partitions of a MongoDB Collection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB database name.
+ * @param collectionName Cosmos DB collection name.
+ * @param mergeParameters The parameters for the merge operation.
+ * @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 list of physical partitions and their properties returned by a merge operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PhysicalPartitionStorageInfoCollectionInner listMongoDBCollectionPartitionMerge(String resourceGroupName,
+ String accountName, String databaseName, String collectionName, MergeParameters mergeParameters,
+ Context context);
+
/**
* Retrieves continuous backup information for a Mongodb collection.
*
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NetworkSecurityPerimeterConfigurationsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NetworkSecurityPerimeterConfigurationsClient.java
new file mode 100644
index 000000000000..75aa08a90abe
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NetworkSecurityPerimeterConfigurationsClient.java
@@ -0,0 +1,236 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.NetworkSecurityPerimeterConfigurationInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * NetworkSecurityPerimeterConfigurationsClient.
+ */
+public interface NetworkSecurityPerimeterConfigurationsClient {
+ /**
+ * Gets effective Network Security Perimeter Configuration for association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 effective Network Security Perimeter Configuration for association along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName,
+ String accountName, String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Gets effective Network Security Perimeter Configuration for association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 effective Network Security Perimeter Configuration for association on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Gets effective Network Security Perimeter Configuration for association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 effective Network Security Perimeter Configuration for association along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName, Context context);
+
+ /**
+ * Gets effective Network Security Perimeter Configuration for association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 effective Network Security Perimeter Configuration for association.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NetworkSecurityPerimeterConfigurationInner get(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Gets list of effective Network Security Perimeter Configuration for cosmos db account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 list of effective Network Security Perimeter Configuration for cosmos db account as paginated response
+ * with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync(String resourceGroupName, String accountName);
+
+ /**
+ * Gets list of effective Network Security Perimeter Configuration for cosmos db account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 list of effective Network Security Perimeter Configuration for cosmos db account as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
+
+ /**
+ * Gets list of effective Network Security Perimeter Configuration for cosmos db account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account 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 list of effective Network Security Perimeter Configuration for cosmos db account as paginated response
+ * with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> reconcileWithResponseAsync(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginReconcileAsync(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginReconcile(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginReconcile(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName, Context context);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono reconcileAsync(String resourceGroupName, String accountName,
+ String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 reconcile(String resourceGroupName, String accountName, String networkSecurityPerimeterConfigurationName);
+
+ /**
+ * Refreshes any information about the association.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName Cosmos DB database account name.
+ * @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter configuration.
+ * @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 reconcile(String resourceGroupName, String accountName, String networkSecurityPerimeterConfigurationName,
+ Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedDatabaseAccountsClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedDatabaseAccountsClient.java
new file mode 100644
index 000000000000..a96867c2863d
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedDatabaseAccountsClient.java
@@ -0,0 +1,481 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedDatabaseAccountGetResultInner;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedDatabaseAccountsListResultInner;
+import com.azure.resourcemanager.cosmos.models.SoftDeleteActionKind;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in SoftDeletedDatabaseAccountsClient.
+ */
+public interface SoftDeletedDatabaseAccountsClient {
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB database account by location and accountName. This
+ * call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 a Azure Cosmos DB soft-deleted database account along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName,
+ String location, String accountName);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB database account by location and accountName. This
+ * call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 a Azure Cosmos DB soft-deleted database account on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String location,
+ String accountName);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB database account by location and accountName. This
+ * call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 a Azure Cosmos DB soft-deleted database account along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String location,
+ String accountName, Context context);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB database account by location and accountName. This
+ * call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 a Azure Cosmos DB soft-deleted database account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SoftDeletedDatabaseAccountGetResultInner get(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the subscription and in a region.
+ * This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties along
+ * with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> listByLocationWithResponseAsync(String location);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the subscription and in a region.
+ * This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listByLocationAsync(String location);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the subscription and in a region.
+ * This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param location The name of the Azure region.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties along
+ * with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listByLocationWithResponse(String location, Context context);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the subscription and in a region.
+ * This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SoftDeletedDatabaseAccountsListResultInner listByLocation(String location);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the given resource group and in a
+ * region. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties along
+ * with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>
+ listByResourceGroupAndLocationWithResponseAsync(String resourceGroupName, String location);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the given resource group and in a
+ * region. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listByResourceGroupAndLocationAsync(String resourceGroupName,
+ String location);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the given resource group and in a
+ * region. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties along
+ * with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response
+ listByResourceGroupAndLocationWithResponse(String resourceGroupName, String location, Context context);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB database accounts available under the given resource group and in a
+ * region. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the List operation response, that contains the soft-deleted database accounts and their properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SoftDeletedDatabaseAccountsListResultInner listByResourceGroupAndLocation(String resourceGroupName,
+ String location);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> restoreWithResponseAsync(String resourceGroupName, String location,
+ String accountName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginRestoreAsync(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginRestoreAsync(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestore(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestore(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono restoreAsync(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono restoreAsync(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 restore(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 restore(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> purgeWithResponseAsync(String resourceGroupName, String location,
+ String accountName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginPurgeAsync(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginPurgeAsync(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPurge(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPurge(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono purgeAsync(String resourceGroupName, String location, String accountName,
+ SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono purgeAsync(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account 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 purge(String resourceGroupName, String location, String accountName);
+
+ /**
+ * Permanently deletes (purges) a soft-deleted Azure Cosmos DB database account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 purge(String resourceGroupName, String location, String accountName, SoftDeleteActionKind softDeleteActionKind,
+ Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlContainersClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlContainersClient.java
new file mode 100644
index 000000000000..99d3b278a237
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlContainersClient.java
@@ -0,0 +1,494 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedSqlContainerGetResultInner;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedSqlContainersListResultInner;
+import com.azure.resourcemanager.cosmos.models.SoftDeleteActionKind;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in SoftDeletedSqlContainersClient.
+ */
+public interface SoftDeletedSqlContainersClient {
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL container. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 an Azure Cosmos DB soft-deleted SQL container along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName,
+ String location, String accountName, String databaseName, String containerName);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL container. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 an Azure Cosmos DB soft-deleted SQL container on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono getAsync(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL container. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 an Azure Cosmos DB soft-deleted SQL container along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String location,
+ String accountName, String databaseName, String containerName, Context context);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL container. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 an Azure Cosmos DB soft-deleted SQL container.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SoftDeletedSqlContainerGetResultInner get(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB SQL containers under a soft-deleted SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 List operation response, that contains the soft-deleted SQL containers and their properties along
+ * with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> listWithResponseAsync(String resourceGroupName,
+ String location, String accountName, String databaseName);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB SQL containers under a soft-deleted SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 List operation response, that contains the soft-deleted SQL containers and their properties on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listAsync(String resourceGroupName, String location,
+ String accountName, String databaseName);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB SQL containers under a soft-deleted SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 List operation response, that contains the soft-deleted SQL containers and their properties along
+ * with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(String resourceGroupName, String location,
+ String accountName, String databaseName, Context context);
+
+ /**
+ * Lists all the soft-deleted Azure Cosmos DB SQL containers under a soft-deleted SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/softDeletedSqlContainers/read'
+ * permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 List operation response, that contains the soft-deleted SQL containers and their properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SoftDeletedSqlContainersListResultInner list(String resourceGroupName, String location, String accountName,
+ String databaseName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> restoreWithResponseAsync(String resourceGroupName, String location,
+ String accountName, String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginRestoreAsync(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginRestoreAsync(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestore(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestore(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono restoreAsync(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono restoreAsync(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 restore(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName);
+
+ /**
+ * Restores a soft-deleted Azure Cosmos DB SQL container to active state.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 restore(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName, SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> purgeWithResponseAsync(String resourceGroupName, String location,
+ String accountName, String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginPurgeAsync(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ PollerFlux, Void> beginPurgeAsync(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPurge(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPurge(String resourceGroupName, String location, String accountName,
+ String databaseName, String containerName, SoftDeleteActionKind softDeleteActionKind, Context context);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono purgeAsync(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName, SoftDeleteActionKind softDeleteActionKind);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono purgeAsync(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container 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 purge(String resourceGroupName, String location, String accountName, String databaseName,
+ String containerName);
+
+ /**
+ * Permanently deletes a soft-deleted Azure Cosmos DB SQL container.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database name.
+ * @param containerName Cosmos DB SQL container name.
+ * @param softDeleteActionKind The kind of soft delete action to perform.
+ * @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 purge(String resourceGroupName, String location, String accountName, String databaseName, String containerName,
+ SoftDeleteActionKind softDeleteActionKind, Context context);
+}
diff --git a/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlDatabasesClient.java b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlDatabasesClient.java
new file mode 100644
index 000000000000..56915965c20f
--- /dev/null
+++ b/sdk/cosmos/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SoftDeletedSqlDatabasesClient.java
@@ -0,0 +1,455 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.cosmos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedSqlDatabaseGetResultInner;
+import com.azure.resourcemanager.cosmos.fluent.models.SoftDeletedSqlDatabasesListResultInner;
+import com.azure.resourcemanager.cosmos.models.SoftDeleteActionKind;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in SoftDeletedSqlDatabasesClient.
+ */
+public interface SoftDeletedSqlDatabasesClient {
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 an Azure Cosmos DB soft-deleted SQL database along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> getWithResponseAsync(String resourceGroupName, String location,
+ String accountName, String databaseName);
+
+ /**
+ * Retrieves the properties of a soft-deleted Azure Cosmos DB SQL database. This call requires
+ * 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/read' permission.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param accountName Cosmos DB database account name.
+ * @param databaseName Cosmos DB SQL database 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 an Azure Cosmos DB soft-deleted SQL database on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono