From 532a4b7300988e65742e7048fbb87d8478f76ceb Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 2 Apr 2018 18:22:47 +0000 Subject: [PATCH] Generated from 8dfb56822b7d2394dadac574335ecc4a43bc0a0f Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs into readonlyremove --- .../ExpressRouteCrossConnectionInner.java | 39 +++++++++++++++++-- ...pressRouteCrossConnectionPeeringInner.java | 13 ++++++- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionInner.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionInner.java index b6498ec9527..55dedf05b0c 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionInner.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionInner.java @@ -41,19 +41,19 @@ public class ExpressRouteCrossConnectionInner extends Resource { /** * The peering location of the ExpressRoute circuit. */ - @JsonProperty(value = "properties.peeringLocation", access = JsonProperty.Access.WRITE_ONLY) + @JsonProperty(value = "properties.peeringLocation") private String peeringLocation; /** * The circuit bandwidth In Mbps. */ - @JsonProperty(value = "properties.bandwidthInMbps", access = JsonProperty.Access.WRITE_ONLY) + @JsonProperty(value = "properties.bandwidthInMbps") private Integer bandwidthInMbps; /** * The ExpressRouteCircuit. */ - @JsonProperty(value = "properties.expressRouteCircuit", access = JsonProperty.Access.WRITE_ONLY) + @JsonProperty(value = "properties.expressRouteCircuit") private ExpressRouteCircuitReference expressRouteCircuit; /** @@ -127,6 +127,17 @@ public String peeringLocation() { return this.peeringLocation; } + /** + * Set the peeringLocation value. + * + * @param peeringLocation the peeringLocation value to set + * @return the ExpressRouteCrossConnectionInner object itself. + */ + public ExpressRouteCrossConnectionInner withPeeringLocation(String peeringLocation) { + this.peeringLocation = peeringLocation; + return this; + } + /** * Get the bandwidthInMbps value. * @@ -136,6 +147,17 @@ public Integer bandwidthInMbps() { return this.bandwidthInMbps; } + /** + * Set the bandwidthInMbps value. + * + * @param bandwidthInMbps the bandwidthInMbps value to set + * @return the ExpressRouteCrossConnectionInner object itself. + */ + public ExpressRouteCrossConnectionInner withBandwidthInMbps(Integer bandwidthInMbps) { + this.bandwidthInMbps = bandwidthInMbps; + return this; + } + /** * Get the expressRouteCircuit value. * @@ -145,6 +167,17 @@ public ExpressRouteCircuitReference expressRouteCircuit() { return this.expressRouteCircuit; } + /** + * Set the expressRouteCircuit value. + * + * @param expressRouteCircuit the expressRouteCircuit value to set + * @return the ExpressRouteCrossConnectionInner object itself. + */ + public ExpressRouteCrossConnectionInner withExpressRouteCircuit(ExpressRouteCircuitReference expressRouteCircuit) { + this.expressRouteCircuit = expressRouteCircuit; + return this; + } + /** * Get the serviceProviderProvisioningState value. * diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionPeeringInner.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionPeeringInner.java index af150dbc97c..6fa0a12eb6f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionPeeringInner.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ExpressRouteCrossConnectionPeeringInner.java @@ -98,7 +98,7 @@ public class ExpressRouteCrossConnectionPeeringInner extends SubResource { /** * The GatewayManager Etag. */ - @JsonProperty(value = "properties.gatewayManagerEtag", access = JsonProperty.Access.WRITE_ONLY) + @JsonProperty(value = "properties.gatewayManagerEtag") private String gatewayManagerEtag; /** @@ -331,6 +331,17 @@ public String gatewayManagerEtag() { return this.gatewayManagerEtag; } + /** + * Set the gatewayManagerEtag value. + * + * @param gatewayManagerEtag the gatewayManagerEtag value to set + * @return the ExpressRouteCrossConnectionPeeringInner object itself. + */ + public ExpressRouteCrossConnectionPeeringInner withGatewayManagerEtag(String gatewayManagerEtag) { + this.gatewayManagerEtag = gatewayManagerEtag; + return this; + } + /** * Get the lastModifiedBy value. *