diff --git a/sdk/kusto/mgmt-v2019_05_15/pom.xml b/sdk/kusto/mgmt-v2019_05_15/pom.xml index 9a20dfa8377e..073ec691b875 100644 --- a/sdk/kusto/mgmt-v2019_05_15/pom.xml +++ b/sdk/kusto/mgmt-v2019_05_15/pom.xml @@ -11,7 +11,7 @@ com.microsoft.azure azure-arm-parent - 1.2.0 + 1.1.0 ../../../pom.management.xml azure-mgmt-kusto diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/DataFormat.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/DataFormat.java index ec6b7b444726..647f3dcdf9fd 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/DataFormat.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/DataFormat.java @@ -49,6 +49,9 @@ public final class DataFormat extends ExpandableStringEnum { /** Static value AVRO for DataFormat. */ public static final DataFormat AVRO = fromString("AVRO"); + /** Static value TSVE for DataFormat. */ + public static final DataFormat TSVE = fromString("TSVE"); + /** * Creates or finds a DataFormat from its string representation. * @param name a name to look for diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventGridDataConnection.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventGridDataConnection.java index 019630d1f961..5f57c399a2da 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventGridDataConnection.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventGridDataConnection.java @@ -56,7 +56,8 @@ public class EventGridDataConnection extends DataConnectionInner { /** * The data format of the message. Optionally the data format can be added * to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', - * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', + * 'TSVE'. */ @JsonProperty(value = "properties.dataFormat", required = true) private DataFormat dataFormat; @@ -162,7 +163,7 @@ public EventGridDataConnection withMappingRuleName(String mappingRuleName) { } /** - * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @return the dataFormat value */ @@ -171,7 +172,7 @@ public DataFormat dataFormat() { } /** - * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @param dataFormat the dataFormat value to set * @return the EventGridDataConnection object itself. diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventHubDataConnection.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventHubDataConnection.java index b1d8f9295c93..7c4a07cc12a1 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventHubDataConnection.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/EventHubDataConnection.java @@ -51,7 +51,8 @@ public class EventHubDataConnection extends DataConnectionInner { /** * The data format of the message. Optionally the data format can be added * to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', - * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', + * 'TSVE'. */ @JsonProperty(value = "properties.dataFormat") private DataFormat dataFormat; @@ -143,7 +144,7 @@ public EventHubDataConnection withMappingRuleName(String mappingRuleName) { } /** - * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @return the dataFormat value */ @@ -152,7 +153,7 @@ public DataFormat dataFormat() { } /** - * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @param dataFormat the dataFormat value to set * @return the EventHubDataConnection object itself. diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/IotHubDataConnection.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/IotHubDataConnection.java index 94447d53561f..f1f106b3c985 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/IotHubDataConnection.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/IotHubDataConnection.java @@ -51,7 +51,8 @@ public class IotHubDataConnection extends DataConnectionInner { /** * The data format of the message. Optionally the data format can be added * to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', - * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', + * 'TSVE'. */ @JsonProperty(value = "properties.dataFormat") private DataFormat dataFormat; @@ -149,7 +150,7 @@ public IotHubDataConnection withMappingRuleName(String mappingRuleName) { } /** - * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Get the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @return the dataFormat value */ @@ -158,7 +159,7 @@ public DataFormat dataFormat() { } /** - * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO'. + * Set the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE'. * * @param dataFormat the dataFormat value to set * @return the IotHubDataConnection object itself. diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersImpl.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersImpl.java index 5a9711521b6d..54da47a59494 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersImpl.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersImpl.java @@ -110,18 +110,18 @@ public PagedList list() { public Observable listAsync() { ClustersInner client = this.inner(); return client.listAsync() - .flatMap(new Func1, Observable>() { - @Override - public Observable call(Page innerList) { - return Observable.from(innerList.items()); - } - }) - .map(new Func1() { - @Override - public Cluster call(ClusterInner inner) { - return wrapModel(inner); - } - }); + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public Cluster call(ClusterInner inner) { + return wrapModel(inner); + } + }); } @Override diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersInner.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersInner.java index 0f3abb72e5eb..82b3a025754d 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersInner.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/ClustersInner.java @@ -1120,16 +1120,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(); } /** @@ -1149,13 +1141,11 @@ public ServiceFuture> listAsync(final ServiceCallback> listAsync() { - return listWithServiceResponseAsync().map(new Func1>, Page>() { + public Observable> listAsync() { + return listWithServiceResponseAsync().map(new Func1>, List>() { @Override - public Page call(ServiceResponse> response) { - PageImpl page = new PageImpl<>(); - page.setItems(response.body()); - return page; + public List call(ServiceResponse> response) { + return response.body(); } }); } diff --git a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/DataConnectionInner.java b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/DataConnectionInner.java index f7b5d9df4997..bf107aeca0b1 100644 --- a/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/DataConnectionInner.java +++ b/sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_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.v2019_05_15.EventGridDataConnection; -import com.microsoft.azure.management.kusto.v2019_05_15.EventHubDataConnection; -import com.microsoft.azure.management.kusto.v2019_05_15.IotHubDataConnection; /** * Class representing an data connection.