diff --git a/applicationinsights/data-plane/pom.xml b/applicationinsights/data-plane/pom.xml
index ab91c8f8fa3d8..7a9e7b65ab7d5 100644
--- a/applicationinsights/data-plane/pom.xml
+++ b/applicationinsights/data-plane/pom.xml
@@ -29,7 +29,7 @@
UTF-8
- 1.6.1
+ 1.6.3
record
@@ -42,7 +42,7 @@
com.microsoft.azure
azure-client-runtime
- 1.6.1
+ ${runtime.version}
junit
@@ -68,11 +68,6 @@
azure-arm-client-runtime
${runtime.version}
-
- com.microsoft.azure
- azure-client-runtime
- ${runtime.version}
-
@@ -166,4 +161,4 @@
-
\ No newline at end of file
+
diff --git a/loganalytics/data-plane/pom.xml b/loganalytics/data-plane/pom.xml
index 6e5cba4acf80e..1ccc97e1d303d 100644
--- a/loganalytics/data-plane/pom.xml
+++ b/loganalytics/data-plane/pom.xml
@@ -29,7 +29,7 @@
UTF-8
- 1.6.1
+ 1.6.3
record
@@ -42,7 +42,7 @@
com.microsoft.azure
azure-client-runtime
- 1.6.1
+ ${runtime.version}
junit
@@ -68,11 +68,6 @@
azure-arm-client-runtime
${runtime.version}
-
- com.microsoft.azure
- azure-client-runtime
- ${runtime.version}
-
diff --git a/loganalytics/data-plane/samples/pom.xml b/loganalytics/data-plane/samples/pom.xml
new file mode 100644
index 0000000000000..525d6b6f06558
--- /dev/null
+++ b/loganalytics/data-plane/samples/pom.xml
@@ -0,0 +1,76 @@
+
+
+ 4.0.0
+ com.microsoft.azure
+ azure-loganalytics-sample
+ 1.0.0-Preview-1
+ jar
+ Microsoft Azure SDK for Log Analytics Sample
+ This package contains Microsoft Log Analytics SDK Sample.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+ UTF-8
+
+ 1.6.3
+
+
+
+ microsoft
+ Microsoft
+
+
+
+
+ com.microsoft.azure
+ azure-loganalytics
+ ${version}
+
+
+ com.microsoft.azure
+ azure-client-authentication
+ ${runtime.version}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+
+ 1.7
+
+
+ com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
+
+
+ true
+ true
+
+ true
+ true
+
+
+
+
+
+
diff --git a/loganalytics/data-plane/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java b/loganalytics/data-plane/samples/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java
similarity index 77%
rename from loganalytics/data-plane/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java
rename to loganalytics/data-plane/samples/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java
index 69c0acd3a2959..1e4ca1f68b00e 100644
--- a/loganalytics/data-plane/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java
+++ b/loganalytics/data-plane/samples/src/main/java/com/microsoft/azure/loganalytics/samples/BasicSample.java
@@ -1,10 +1,21 @@
-import java.util.List;
-import java.util.stream.Collectors;
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.loganalytics.samples;
+
import com.microsoft.azure.AzureEnvironment;
+import com.microsoft.azure.credentials.ApplicationTokenCredentials;
import com.microsoft.azure.loganalytics.implementation.LogAnalyticsDataClientImpl;
+import com.microsoft.azure.loganalytics.models.Column;
import com.microsoft.azure.loganalytics.models.QueryBody;
import com.microsoft.azure.loganalytics.models.QueryResults;
-import com.microsoft.azure.credentials.ApplicationTokenCredentials;
+
+import java.util.List;
/**
* Basic query example
@@ -34,19 +45,15 @@ public static void main( String[] args )
// Process and print results
List