Skip to content

Commit d2dcfad

Browse files
author
SDK Automation
committed
Update from master
1 parent 2bcabdd commit d2dcfad

File tree

6 files changed

+19
-35
lines changed

6 files changed

+19
-35
lines changed

sdk/network/mgmt-v2020_04_01/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-network</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Network Management</name>
2121
<description>This package contains Microsoft Network Management SDK.</description>

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/HubRouteTable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import com.microsoft.azure.arm.resources.models.HasManager;
1919
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkManager;
2020
import java.util.List;
21-
import com.microsoft.azure.SubResource;
2221

2322
/**
2423
* Type representing HubRouteTable.
@@ -27,7 +26,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
2726
/**
2827
* @return the associatedConnections value.
2928
*/
30-
List<SubResource> associatedConnections();
29+
List<String> associatedConnections();
3130

3231
/**
3332
* @return the etag value.
@@ -52,7 +51,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
5251
/**
5352
* @return the propagatingConnections value.
5453
*/
55-
List<SubResource> propagatingConnections();
54+
List<String> propagatingConnections();
5655

5756
/**
5857
* @return the provisioningState value.

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
package com.microsoft.azure.management.network.v2020_04_01;
1010

11-
import com.microsoft.azure.management.network.v2020_04_01.implementation.VirtualNetworkInner;
12-
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkInterfaceIPConfigurationInner;
11+
import com.microsoft.azure.SubResource;
1312
import com.fasterxml.jackson.annotation.JsonProperty;
1413
import com.microsoft.rest.serializer.JsonFlatten;
1514

@@ -22,7 +21,7 @@ public class LoadBalancerBackendAddress {
2221
* Reference to an existing virtual network.
2322
*/
2423
@JsonProperty(value = "properties.virtualNetwork")
25-
private VirtualNetworkInner virtualNetwork;
24+
private SubResource virtualNetwork;
2625

2726
/**
2827
* IP Address belonging to the referenced virtual network.
@@ -33,8 +32,8 @@ public class LoadBalancerBackendAddress {
3332
/**
3433
* Reference to IP address defined in network interfaces.
3534
*/
36-
@JsonProperty(value = "properties.networkInterfaceIPConfiguration")
37-
private NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration;
35+
@JsonProperty(value = "properties.networkInterfaceIPConfiguration", access = JsonProperty.Access.WRITE_ONLY)
36+
private SubResource networkInterfaceIPConfiguration;
3837

3938
/**
4039
* Name of the backend address.
@@ -47,7 +46,7 @@ public class LoadBalancerBackendAddress {
4746
*
4847
* @return the virtualNetwork value
4948
*/
50-
public VirtualNetworkInner virtualNetwork() {
49+
public SubResource virtualNetwork() {
5150
return this.virtualNetwork;
5251
}
5352

@@ -57,7 +56,7 @@ public VirtualNetworkInner virtualNetwork() {
5756
* @param virtualNetwork the virtualNetwork value to set
5857
* @return the LoadBalancerBackendAddress object itself.
5958
*/
60-
public LoadBalancerBackendAddress withVirtualNetwork(VirtualNetworkInner virtualNetwork) {
59+
public LoadBalancerBackendAddress withVirtualNetwork(SubResource virtualNetwork) {
6160
this.virtualNetwork = virtualNetwork;
6261
return this;
6362
}
@@ -87,21 +86,10 @@ public LoadBalancerBackendAddress withIpAddress(String ipAddress) {
8786
*
8887
* @return the networkInterfaceIPConfiguration value
8988
*/
90-
public NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration() {
89+
public SubResource networkInterfaceIPConfiguration() {
9190
return this.networkInterfaceIPConfiguration;
9291
}
9392

94-
/**
95-
* Set reference to IP address defined in network interfaces.
96-
*
97-
* @param networkInterfaceIPConfiguration the networkInterfaceIPConfiguration value to set
98-
* @return the LoadBalancerBackendAddress object itself.
99-
*/
100-
public LoadBalancerBackendAddress withNetworkInterfaceIPConfiguration(NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration) {
101-
this.networkInterfaceIPConfiguration = networkInterfaceIPConfiguration;
102-
return this;
103-
}
104-
10593
/**
10694
* Get name of the backend address.
10795
*

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
package com.microsoft.azure.management.network.v2020_04_01;
1010

1111
import com.microsoft.azure.arm.model.HasInner;
12-
import com.microsoft.azure.management.network.v2020_04_01.implementation.ResourceNavigationLinkInner;
13-
import com.microsoft.azure.management.network.v2020_04_01.implementation.ServiceAssociationLinkInner;
1412
import com.microsoft.azure.management.network.v2020_04_01.implementation.SubnetInner;
1513
import com.microsoft.azure.arm.model.Indexable;
1614
import com.microsoft.azure.arm.model.Refreshable;

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/implementation/HubRouteTableImpl.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import rx.Observable;
1414
import java.util.List;
1515
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
16-
import com.microsoft.azure.SubResource;
1716
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;
1817

1918
class HubRouteTableImpl extends CreatableUpdatableImpl<HubRouteTable, HubRouteTableInner, HubRouteTableImpl> implements HubRouteTable, HubRouteTable.Definition, HubRouteTable.Update {
@@ -74,7 +73,7 @@ public boolean isInCreateMode() {
7473

7574

7675
@Override
77-
public List<SubResource> associatedConnections() {
76+
public List<String> associatedConnections() {
7877
return this.inner().associatedConnections();
7978
}
8079

@@ -99,7 +98,7 @@ public String name() {
9998
}
10099

101100
@Override
102-
public List<SubResource> propagatingConnections() {
101+
public List<String> propagatingConnections() {
103102
return this.inner().propagatingConnections();
104103
}
105104

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/implementation/HubRouteTableInner.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
import java.util.List;
1212
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
13-
import com.microsoft.azure.SubResource;
1413
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;
1514
import com.fasterxml.jackson.annotation.JsonProperty;
1615
import com.microsoft.rest.serializer.JsonFlatten;
16+
import com.microsoft.azure.SubResource;
1717

1818
/**
1919
* RouteTable resource in a virtual hub.
@@ -36,13 +36,13 @@ public class HubRouteTableInner extends SubResource {
3636
* List of all connections associated with this route table.
3737
*/
3838
@JsonProperty(value = "properties.associatedConnections", access = JsonProperty.Access.WRITE_ONLY)
39-
private List<SubResource> associatedConnections;
39+
private List<String> associatedConnections;
4040

4141
/**
4242
* List of all connections that advertise to this route table.
4343
*/
4444
@JsonProperty(value = "properties.propagatingConnections", access = JsonProperty.Access.WRITE_ONLY)
45-
private List<SubResource> propagatingConnections;
45+
private List<String> propagatingConnections;
4646

4747
/**
4848
* The provisioning state of the RouteTable resource. Possible values
@@ -115,7 +115,7 @@ public HubRouteTableInner withLabels(List<String> labels) {
115115
*
116116
* @return the associatedConnections value
117117
*/
118-
public List<SubResource> associatedConnections() {
118+
public List<String> associatedConnections() {
119119
return this.associatedConnections;
120120
}
121121

@@ -124,7 +124,7 @@ public List<SubResource> associatedConnections() {
124124
*
125125
* @return the propagatingConnections value
126126
*/
127-
public List<SubResource> propagatingConnections() {
127+
public List<String> propagatingConnections() {
128128
return this.propagatingConnections;
129129
}
130130

0 commit comments

Comments
 (0)