Skip to content

Commit

Permalink
Generated from 0a7e77b778f183f40d3ca084f84539238242b5a2
Browse files Browse the repository at this point in the history
New api-version 2020-05 and 2020-04
  • Loading branch information
SDK Automation committed Jun 12, 2020
1 parent e52686f commit f80725d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
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

0 comments on commit f80725d

Please sign in to comment.