Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Jun 25, 2020
1 parent 35d9154 commit 33784c8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 35 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 @@ -18,7 +18,6 @@
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkManager;
import java.util.List;
import com.microsoft.azure.SubResource;

/**
* Type representing HubRouteTable.
Expand All @@ -27,7 +26,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
/**
* @return the associatedConnections value.
*/
List<SubResource> associatedConnections();
List<String> associatedConnections();

/**
* @return the etag value.
Expand All @@ -52,7 +51,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
/**
* @return the propagatingConnections value.
*/
List<SubResource> propagatingConnections();
List<String> propagatingConnections();

/**
* @return the provisioningState value.
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import rx.Observable;
import java.util.List;
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;

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


@Override
public List<SubResource> associatedConnections() {
public List<String> associatedConnections() {
return this.inner().associatedConnections();
}

Expand All @@ -99,7 +98,7 @@ public String name() {
}

@Override
public List<SubResource> propagatingConnections() {
public List<String> propagatingConnections() {
return this.inner().propagatingConnections();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

import java.util.List;
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;

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

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

/**
* The provisioning state of the RouteTable resource. Possible values
Expand Down Expand Up @@ -115,7 +115,7 @@ public HubRouteTableInner withLabels(List<String> labels) {
*
* @return the associatedConnections value
*/
public List<SubResource> associatedConnections() {
public List<String> associatedConnections() {
return this.associatedConnections;
}

Expand All @@ -124,7 +124,7 @@ public List<SubResource> associatedConnections() {
*
* @return the propagatingConnections value
*/
public List<SubResource> propagatingConnections() {
public List<String> propagatingConnections() {
return this.propagatingConnections;
}

Expand Down

0 comments on commit 33784c8

Please sign in to comment.