Skip to content

Commit

Permalink
Generated from 5e6bac5d7a8032e96f9c465bf2134bd0082c1884
Browse files Browse the repository at this point in the history
add default response
  • Loading branch information
SDK Automation committed Jun 17, 2020
1 parent 1c58061 commit 325e66c
Show file tree
Hide file tree
Showing 15 changed files with 4,674 additions and 998 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@ public interface CassandraResources {
*/
Observable<ThroughputSettingsGetResults> updateCassandraKeyspaceThroughputAsync(String resourceGroupName, String accountName, String keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB Cassandra Keyspace 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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleCassandraKeyspaceAsync(String resourceGroupName, String accountName, String keyspaceName);

/**
* Migrate an Azure Cosmos DB Cassandra Keyspace 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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputCassandraKeyspaceAsync(String resourceGroupName, String accountName, String keyspaceName);

/**
* Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
*
Expand All @@ -111,6 +133,30 @@ public interface CassandraResources {
*/
Observable<ThroughputSettingsGetResults> updateCassandraTableThroughputAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB Cassandra table 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 tableName Cosmos DB table name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleCassandraTableAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName);

/**
* Migrate an Azure Cosmos DB Cassandra table 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 tableName Cosmos DB table name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputCassandraTableAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName);

/**
* Gets the Cassandra table under an existing Azure Cosmos DB database account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@ public interface GremlinResources {
*/
Observable<ThroughputSettingsGetResults> updateGremlinDatabaseThroughputAsync(String resourceGroupName, String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB Gremlin database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleGremlinDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Migrate an Azure Cosmos DB Gremlin database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputGremlinDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
*
Expand All @@ -111,6 +133,30 @@ public interface GremlinResources {
*/
Observable<ThroughputSettingsGetResults> updateGremlinGraphThroughputAsync(String resourceGroupName, String accountName, String databaseName, String graphName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB Gremlin graph 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 databaseName Cosmos DB database name.
* @param graphName Cosmos DB graph name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleGremlinGraphAsync(String resourceGroupName, String accountName, String databaseName, String graphName);

/**
* Migrate an Azure Cosmos DB Gremlin graph 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 databaseName Cosmos DB database name.
* @param graphName Cosmos DB graph name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputGremlinGraphAsync(String resourceGroupName, String accountName, String databaseName, String graphName);

/**
* Gets the Gremlin graph under an existing Azure Cosmos DB database account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@ public interface MongoDBResources {
*/
Observable<ThroughputSettingsGetResults> updateMongoDBDatabaseThroughputAsync(String resourceGroupName, String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB MongoDB database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleMongoDBDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Migrate an Azure Cosmos DB MongoDB database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputMongoDBDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.
*
Expand All @@ -111,6 +133,30 @@ public interface MongoDBResources {
*/
Observable<ThroughputSettingsGetResults> updateMongoDBCollectionThroughputAsync(String resourceGroupName, String accountName, String databaseName, String collectionName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB MongoDB collection 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 databaseName Cosmos DB database name.
* @param collectionName Cosmos DB collection name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleMongoDBCollectionAsync(String resourceGroupName, String accountName, String databaseName, String collectionName);

/**
* Migrate an Azure Cosmos DB MongoDB collection 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 databaseName Cosmos DB database name.
* @param collectionName Cosmos DB collection name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputMongoDBCollectionAsync(String resourceGroupName, String accountName, String databaseName, String collectionName);

/**
* Gets the MongoDB collection under an existing Azure Cosmos DB database account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,28 @@ public interface SqlResources {
*/
Observable<ThroughputSettingsGetResults> updateSqlDatabaseThroughputAsync(String resourceGroupName, String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB SQL database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleSqlDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Migrate an Azure Cosmos DB SQL database 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 databaseName Cosmos DB database name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputSqlDatabaseAsync(String resourceGroupName, String accountName, String databaseName);

/**
* Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
*
Expand All @@ -135,6 +157,30 @@ public interface SqlResources {
*/
Observable<ThroughputSettingsGetResults> updateSqlContainerThroughputAsync(String resourceGroupName, String accountName, String databaseName, String containerName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB SQL container 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 databaseName Cosmos DB database name.
* @param containerName Cosmos DB container name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleSqlContainerAsync(String resourceGroupName, String accountName, String databaseName, String containerName);

/**
* Migrate an Azure Cosmos DB SQL container 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 databaseName Cosmos DB database name.
* @param containerName Cosmos DB container name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputSqlContainerAsync(String resourceGroupName, String accountName, String databaseName, String containerName);

/**
* Gets the SQL container under an existing Azure Cosmos DB database account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,26 @@ public interface TableResources {
*/
Observable<ThroughputSettingsGetResults> updateTableThroughputAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters);

/**
* Migrate an Azure Cosmos DB Table 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 tableName Cosmos DB table name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToAutoscaleTableAsync(String resourceGroupName, String accountName, String tableName);

/**
* Migrate an Azure Cosmos DB Table 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 tableName Cosmos DB table name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ThroughputSettingsGetResults> migrateToManualThroughputTableAsync(String resourceGroupName, String accountName, String tableName);

}
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,30 @@ public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner
});
}

@Override
public Observable<ThroughputSettingsGetResults> migrateToAutoscaleCassandraKeyspaceAsync(String resourceGroupName, String accountName, String keyspaceName) {
CassandraResourcesInner client = this.inner();
return client.migrateToAutoscaleCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName)
.map(new Func1<ThroughputSettingsGetResultsInner, ThroughputSettingsGetResults>() {
@Override
public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner) {
return new ThroughputSettingsGetResultsImpl(inner, manager());
}
});
}

@Override
public Observable<ThroughputSettingsGetResults> migrateToManualThroughputCassandraKeyspaceAsync(String resourceGroupName, String accountName, String keyspaceName) {
CassandraResourcesInner client = this.inner();
return client.migrateToManualThroughputCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName)
.map(new Func1<ThroughputSettingsGetResultsInner, ThroughputSettingsGetResults>() {
@Override
public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner) {
return new ThroughputSettingsGetResultsImpl(inner, manager());
}
});
}

@Override
public Observable<ThroughputSettingsGetResults> getCassandraTableThroughputAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName) {
CassandraResourcesInner client = this.inner();
Expand All @@ -163,6 +187,30 @@ public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner
});
}

@Override
public Observable<ThroughputSettingsGetResults> migrateToAutoscaleCassandraTableAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName) {
CassandraResourcesInner client = this.inner();
return client.migrateToAutoscaleCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName)
.map(new Func1<ThroughputSettingsGetResultsInner, ThroughputSettingsGetResults>() {
@Override
public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner) {
return new ThroughputSettingsGetResultsImpl(inner, manager());
}
});
}

@Override
public Observable<ThroughputSettingsGetResults> migrateToManualThroughputCassandraTableAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName) {
CassandraResourcesInner client = this.inner();
return client.migrateToManualThroughputCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName)
.map(new Func1<ThroughputSettingsGetResultsInner, ThroughputSettingsGetResults>() {
@Override
public ThroughputSettingsGetResults call(ThroughputSettingsGetResultsInner inner) {
return new ThroughputSettingsGetResultsImpl(inner, manager());
}
});
}

@Override
public Observable<CassandraTableGetResults> getCassandraTableAsync(String resourceGroupName, String accountName, String keyspaceName, String tableName) {
CassandraResourcesInner client = this.inner();
Expand Down
Loading

0 comments on commit 325e66c

Please sign in to comment.