Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/network/mgmt-v2020_04_01] Network june release revert - reverting changes which are not deployed from NRP side yet. #3584

Open
wants to merge 2 commits into
base: sdkAutomation/sdk_network_mgmt-v2020_04_01
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/network/mgmt-v2020_04_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-network</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Network Management</name>
<description>This package contains Microsoft Network Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -47,7 +46,7 @@ public class LoadBalancerBackendAddress {
*
* @return the virtualNetwork value
*/
public VirtualNetworkInner virtualNetwork() {
public SubResource virtualNetwork() {
return this.virtualNetwork;
}

Expand All @@ -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;
}
Expand Down Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down