diff --git a/sdk/eventgrid/mgmt-v2018_01_01/pom.xml b/sdk/eventgrid/mgmt-v2018_01_01/pom.xml
index 69db592497b2a..93f70d40b7863 100644
--- a/sdk/eventgrid/mgmt-v2018_01_01/pom.xml
+++ b/sdk/eventgrid/mgmt-v2018_01_01/pom.xml
@@ -11,7 +11,7 @@
com.microsoft.azure
azure-arm-parent
- 1.2.0
+ 1.1.0
../../../pom.management.xml
azure-mgmt-eventgrid
@@ -71,6 +71,8 @@
azure-arm-client-runtime
test-jar
test
+
+ 1.6.5
diff --git a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventHubEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventHubEventSubscriptionDestination.java
index fad21465afa0e..7c17220516004 100644
--- a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventHubEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventHubEventSubscriptionDestination.java
@@ -16,7 +16,7 @@
/**
* Information about the event hub destination for an event subscription.
*/
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = EventHubEventSubscriptionDestination.class)
@JsonTypeName("EventHub")
@JsonFlatten
public class EventHubEventSubscriptionDestination extends EventSubscriptionDestination {
diff --git a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventSubscriptionDestination.java
index 15fdde382b2df..c3f9a2822f35d 100644
--- a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/EventSubscriptionDestination.java
@@ -15,7 +15,7 @@
/**
* Information about the destination for an event subscription.
*/
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = EventSubscriptionDestination.class)
@JsonTypeName("EventSubscriptionDestination")
@JsonSubTypes({
@JsonSubTypes.Type(name = "WebHook", value = WebHookEventSubscriptionDestination.class),
diff --git a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/WebHookEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/WebHookEventSubscriptionDestination.java
index 06a21bd9d1c04..a44380505df2a 100644
--- a/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/WebHookEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2018_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2018_01_01/WebHookEventSubscriptionDestination.java
@@ -16,7 +16,7 @@
/**
* Information about the webhook destination for an event subscription.
*/
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = WebHookEventSubscriptionDestination.class)
@JsonTypeName("WebHook")
@JsonFlatten
public class WebHookEventSubscriptionDestination extends EventSubscriptionDestination {