diff --git a/sdk/eventgrid/mgmt-v2019_01_01/pom.xml b/sdk/eventgrid/mgmt-v2019_01_01/pom.xml
index 239369c550b3..c3d9a9c4b391 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/pom.xml
+++ b/sdk/eventgrid/mgmt-v2019_01_01/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.2.0
- ../../parents/azure-arm-parent
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-eventgrid
- 1.0.0
+ 1.0.0-beta
jar
Microsoft Azure SDK for EventGrid Management
This package contains Microsoft EventGrid Management SDK.
@@ -71,6 +71,8 @@
azure-arm-client-runtime
test-jar
test
+
+ 1.6.5
diff --git a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/DeadLetterDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/DeadLetterDestination.java
index c71e8daa37ab..89161f5f5b54 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/DeadLetterDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/DeadLetterDestination.java
@@ -19,7 +19,7 @@
* StorageBlobDeadLetterDestination is the only class that derives from this
* class.
*/
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = DeadLetterDestination.class)
@JsonTypeName("DeadLetterDestination")
@JsonSubTypes({
@JsonSubTypes.Type(name = "StorageBlob", value = StorageBlobDeadLetterDestination.class)
diff --git a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventHubEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventHubEventSubscriptionDestination.java
index c17ff8bdfcaa..5f3080188f80 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventHubEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_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-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventSubscriptionDestination.java
index 2e3df95ced99..03a4682e06d2 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/EventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_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-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/HybridConnectionEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/HybridConnectionEventSubscriptionDestination.java
index fce1a977a286..9a376ac1d9f9 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/HybridConnectionEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/HybridConnectionEventSubscriptionDestination.java
@@ -17,7 +17,7 @@
* Information about the HybridConnection 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 = HybridConnectionEventSubscriptionDestination.class)
@JsonTypeName("HybridConnection")
@JsonFlatten
public class HybridConnectionEventSubscriptionDestination extends EventSubscriptionDestination {
diff --git a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageBlobDeadLetterDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageBlobDeadLetterDestination.java
index ad78db352eeb..687f6b621354 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageBlobDeadLetterDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageBlobDeadLetterDestination.java
@@ -16,13 +16,13 @@
/**
* Information about the storage blob based dead letter destination.
*/
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = StorageBlobDeadLetterDestination.class)
@JsonTypeName("StorageBlob")
@JsonFlatten
public class StorageBlobDeadLetterDestination extends DeadLetterDestination {
/**
- * The Azure Resource ID of the storage blob container that is the
- * destination of the deadletter events. For example:
+ * The Azure Resource ID of the storage account that is the destination of
+ * the deadletter events. For example:
* /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}.
*/
@JsonProperty(value = "properties.resourceId")
@@ -36,7 +36,7 @@ public class StorageBlobDeadLetterDestination extends DeadLetterDestination {
private String blobContainerName;
/**
- * Get the Azure Resource ID of the storage blob container that is the destination of the deadletter events. For example: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}.
+ * Get the Azure Resource ID of the storage account that is the destination of the deadletter events. For example: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}.
*
* @return the resourceId value
*/
@@ -45,7 +45,7 @@ public String resourceId() {
}
/**
- * Set the Azure Resource ID of the storage blob container that is the destination of the deadletter events. For example: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}.
+ * Set the Azure Resource ID of the storage account that is the destination of the deadletter events. For example: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}.
*
* @param resourceId the resourceId value to set
* @return the StorageBlobDeadLetterDestination object itself.
diff --git a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageQueueEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageQueueEventSubscriptionDestination.java
index 6ba84f19322c..aec1740f5b8f 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageQueueEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/StorageQueueEventSubscriptionDestination.java
@@ -16,7 +16,7 @@
/**
* Information about the storage queue 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 = StorageQueueEventSubscriptionDestination.class)
@JsonTypeName("StorageQueue")
@JsonFlatten
public class StorageQueueEventSubscriptionDestination extends EventSubscriptionDestination {
diff --git a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/WebHookEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/WebHookEventSubscriptionDestination.java
index c47c80abd191..9637ff054e03 100644
--- a/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_01_01/WebHookEventSubscriptionDestination.java
+++ b/sdk/eventgrid/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/eventgrid/v2019_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 {