diff --git a/sdk/kusto/mgmt-v2020_02_15/pom.xml b/sdk/kusto/mgmt-v2020_02_15/pom.xml
index 3c0a218a0978c..3735b8a6ef137 100644
--- a/sdk/kusto/mgmt-v2020_02_15/pom.xml
+++ b/sdk/kusto/mgmt-v2020_02_15/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.3.0
- ../../parents/azure-arm-parent/pom.xml
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-kusto
- 1.0.0-beta-1
+ 1.0.0-beta
jar
Microsoft Azure SDK for Kusto Management
This package contains Microsoft Kusto Management SDK.
diff --git a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersImpl.java b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersImpl.java
index 8af592f121915..2f3481ee17757 100644
--- a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersImpl.java
+++ b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersImpl.java
@@ -113,10 +113,10 @@ public PagedList list() {
public Observable listAsync() {
ClustersInner client = this.inner();
return client.listAsync()
- .flatMap(new Func1, Observable>() {
+ .flatMap(new Func1, Observable>() {
@Override
- public Observable call(Page innerList) {
- return Observable.from(innerList.items());
+ public Observable call(List innerList) {
+ return Observable.from(innerList);
}
})
.map(new Func1() {
diff --git a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersInner.java b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersInner.java
index 2ea491b5b4f6d..739a3ce6287e3 100644
--- a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersInner.java
+++ b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/ClustersInner.java
@@ -1581,16 +1581,8 @@ private ServiceResponse> listByResourceGroupDelegate(Resp
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<ClusterInner> object if successful.
*/
- public PagedList list() {
- PageImpl page = new PageImpl<>();
- page.setItems(listWithServiceResponseAsync().toBlocking().single().body());
- page.setNextPageLink(null);
- return new PagedList(page) {
- @Override
- public Page nextPage(String nextPageLink) {
- return null;
- }
- };
+ public List list() {
+ return listWithServiceResponseAsync().toBlocking().single().body();
}
/**
@@ -1610,12 +1602,11 @@ public ServiceFuture> listAsync(final ServiceCallback> listAsync() {
- return listWithServiceResponseAsync().map(new Func1>, Page>() {
- public Page call(ServiceResponse> response) {
- PageImpl page = new PageImpl<>();
- page.setItems(response.body());
- return page;
+ public Observable> listAsync() {
+ return listWithServiceResponseAsync().map(new Func1>, List>() {
+ @Override
+ public List call(ServiceResponse> response) {
+ return response.body();
}
});
}
diff --git a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DataConnectionInner.java b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DataConnectionInner.java
index 26e963e1a8e89..cc01d8f21ba3d 100644
--- a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DataConnectionInner.java
+++ b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DataConnectionInner.java
@@ -13,9 +13,6 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.microsoft.azure.ProxyResource;
-import com.microsoft.azure.management.kusto.v2020_02_15.EventGridDataConnection;
-import com.microsoft.azure.management.kusto.v2020_02_15.EventHubDataConnection;
-import com.microsoft.azure.management.kusto.v2020_02_15.IotHubDataConnection;
/**
* Class representing an data connection.
diff --git a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DatabaseInner.java b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DatabaseInner.java
index d222779e27360..6a88cc4a600ad 100644
--- a/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DatabaseInner.java
+++ b/sdk/kusto/mgmt-v2020_02_15/src/main/java/com/microsoft/azure/management/kusto/v2020_02_15/implementation/DatabaseInner.java
@@ -13,8 +13,6 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.microsoft.azure.ProxyResource;
-import com.microsoft.azure.management.kusto.v2020_02_15.ReadOnlyFollowingDatabase;
-import com.microsoft.azure.management.kusto.v2020_02_15.ReadWriteDatabase;
/**
* Class representing a Kusto database.