diff --git a/sdk/network/mgmt-v2020_04_01/pom.xml b/sdk/network/mgmt-v2020_04_01/pom.xml
index 2b4830250704c..afe05c06ed585 100644
--- a/sdk/network/mgmt-v2020_04_01/pom.xml
+++ b/sdk/network/mgmt-v2020_04_01/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.3.0
- ../../parents/azure-arm-parent
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-network
- 1.0.0-beta-1
+ 1.0.0-beta
jar
Microsoft Azure SDK for Network Management
This package contains Microsoft Network Management SDK.
diff --git a/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java b/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java
index 6f7aa9e7a1b7a..e0f0fcd35bc8b 100644
--- a/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java
+++ b/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java
@@ -8,8 +8,7 @@
package com.microsoft.azure.management.network.v2020_04_01;
-import com.microsoft.azure.management.network.v2020_04_01.implementation.VirtualNetworkInner;
-import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkInterfaceIPConfigurationInner;
+import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
@@ -22,7 +21,7 @@ public class LoadBalancerBackendAddress {
* Reference to an existing virtual network.
*/
@JsonProperty(value = "properties.virtualNetwork")
- private VirtualNetworkInner virtualNetwork;
+ private SubResource virtualNetwork;
/**
* IP Address belonging to the referenced virtual network.
@@ -33,8 +32,8 @@ public class LoadBalancerBackendAddress {
/**
* Reference to IP address defined in network interfaces.
*/
- @JsonProperty(value = "properties.networkInterfaceIPConfiguration")
- private NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration;
+ @JsonProperty(value = "properties.networkInterfaceIPConfiguration", access = JsonProperty.Access.WRITE_ONLY)
+ private SubResource networkInterfaceIPConfiguration;
/**
* Name of the backend address.
@@ -47,7 +46,7 @@ public class LoadBalancerBackendAddress {
*
* @return the virtualNetwork value
*/
- public VirtualNetworkInner virtualNetwork() {
+ public SubResource virtualNetwork() {
return this.virtualNetwork;
}
@@ -57,7 +56,7 @@ public VirtualNetworkInner virtualNetwork() {
* @param virtualNetwork the virtualNetwork value to set
* @return the LoadBalancerBackendAddress object itself.
*/
- public LoadBalancerBackendAddress withVirtualNetwork(VirtualNetworkInner virtualNetwork) {
+ public LoadBalancerBackendAddress withVirtualNetwork(SubResource virtualNetwork) {
this.virtualNetwork = virtualNetwork;
return this;
}
@@ -87,21 +86,10 @@ public LoadBalancerBackendAddress withIpAddress(String ipAddress) {
*
* @return the networkInterfaceIPConfiguration value
*/
- public NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration() {
+ public SubResource networkInterfaceIPConfiguration() {
return this.networkInterfaceIPConfiguration;
}
- /**
- * Set reference to IP address defined in network interfaces.
- *
- * @param networkInterfaceIPConfiguration the networkInterfaceIPConfiguration value to set
- * @return the LoadBalancerBackendAddress object itself.
- */
- public LoadBalancerBackendAddress withNetworkInterfaceIPConfiguration(NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration) {
- this.networkInterfaceIPConfiguration = networkInterfaceIPConfiguration;
- return this;
- }
-
/**
* Get name of the backend address.
*
diff --git a/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java b/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java
index 92cb82eda4ebf..acb080dca7093 100644
--- a/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java
+++ b/sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java
@@ -9,8 +9,6 @@
package com.microsoft.azure.management.network.v2020_04_01;
import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.management.network.v2020_04_01.implementation.ResourceNavigationLinkInner;
-import com.microsoft.azure.management.network.v2020_04_01.implementation.ServiceAssociationLinkInner;
import com.microsoft.azure.management.network.v2020_04_01.implementation.SubnetInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;