Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore changes in Network.Management.SDK . It will be updated with next networking swagger release when .sdk is updated.

Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ public VirtualNetworkGateway()

/// <param name="active">ActiveActive flag.
/// </param>

/// <param name="enableHighBandwidthVpnGateway">Flag for enabling creation of High Bandwidth VPN gateway
/// </param>

/// <param name="disableIPSecReplayProtection">disableIPSecReplayProtection flag.
/// </param>
Expand Down Expand Up @@ -140,7 +143,7 @@ public VirtualNetworkGateway()
/// <param name="allowRemoteVnetTraffic">Configure this gateway to accept traffic from other Azure Virtual Networks.
/// This configuration does not support connectivity to Azure Virtual WAN.
/// </param>
public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string vpnType = default(string), BgpSettings bgpSettings = default(BgpSettings), string provisioningState = default(string), string adminState = default(string), string resiliencyModel = default(string), VirtualNetworkGatewayAutoScaleConfiguration autoScaleConfiguration = default(VirtualNetworkGatewayAutoScaleConfiguration), System.Collections.Generic.IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIPAddress = default(bool?), bool? active = default(bool?), bool? disableIPSecReplayProtection = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), System.Collections.Generic.IList<VirtualNetworkGatewayPolicyGroup> virtualNetworkGatewayPolicyGroups = default(System.Collections.Generic.IList<VirtualNetworkGatewayPolicyGroup>), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), System.Collections.Generic.IList<VirtualNetworkGatewayNatRule> natRules = default(System.Collections.Generic.IList<VirtualNetworkGatewayNatRule>), bool? enableBgpRouteTranslationForNat = default(bool?), bool? allowVirtualWanTraffic = default(bool?), bool? allowRemoteVnetTraffic = default(bool?))
public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string vpnType = default(string), BgpSettings bgpSettings = default(BgpSettings), string provisioningState = default(string), string adminState = default(string), string resiliencyModel = default(string), VirtualNetworkGatewayAutoScaleConfiguration autoScaleConfiguration = default(VirtualNetworkGatewayAutoScaleConfiguration), System.Collections.Generic.IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIPAddress = default(bool?), bool? active = default(bool?), bool? enableHighBandwidthVpnGateway = default(bool?),bool? disableIPSecReplayProtection = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), System.Collections.Generic.IList<VirtualNetworkGatewayPolicyGroup> virtualNetworkGatewayPolicyGroups = default(System.Collections.Generic.IList<VirtualNetworkGatewayPolicyGroup>), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), System.Collections.Generic.IList<VirtualNetworkGatewayNatRule> natRules = default(System.Collections.Generic.IList<VirtualNetworkGatewayNatRule>), bool? enableBgpRouteTranslationForNat = default(bool?), bool? allowVirtualWanTraffic = default(bool?), bool? allowRemoteVnetTraffic = default(bool?))

: base(id, name, type, location, tags)
{
Expand All @@ -159,6 +162,7 @@ public VirtualNetworkGateway()
this.EnableBgp = enableBgp;
this.EnablePrivateIPAddress = enablePrivateIPAddress;
this.Active = active;
this.EnableHighBandwidthVpnGateway = enableHighBandwidthVpnGateway;
this.DisableIPSecReplayProtection = disableIPSecReplayProtection;
this.GatewayDefaultSite = gatewayDefaultSite;
this.Sku = sku;
Expand Down Expand Up @@ -278,6 +282,12 @@ public VirtualNetworkGateway()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.activeActive")]
public bool? Active {get; set; }

/// <summary>
/// Gets or sets flag for enabling creation of High Bandwidth VPN gateway
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.enableHighBandwidthVpnGateway")]
public bool? EnableHighBandwidthVpnGateway { get; set; }

/// <summary>
/// Gets or sets disableIPSecReplayProtection flag.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ public VirtualNetworkGatewayConnection()
/// <param name="connectionMode">The connection mode for this connection.
/// Possible values include: &#39;Default&#39;, &#39;ResponderOnly&#39;, &#39;InitiatorOnly&#39;</param>

/// <param name="tunnelProperties">
/// </param>
///
/// <param name="sharedKey">The IPSec shared key.
/// </param>

Expand Down Expand Up @@ -128,7 +131,7 @@ public VirtualNetworkGatewayConnection()
/// <param name="enablePrivateLinkFastPath">Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute
/// FastPath (expressRouteGatewayBypass) must be enabled.
/// </param>
public VirtualNetworkGatewayConnection(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string provisioningState = default(string), string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), System.Collections.Generic.IList<SubResource> ingressNatRules = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<SubResource> egressNatRules = default(System.Collections.Generic.IList<SubResource>), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string connectionMode = default(string), string sharedKey = default(string), string connectionStatus = default(string), System.Collections.Generic.IList<TunnelConnectionHealth> tunnelConnectionStatus = default(System.Collections.Generic.IList<TunnelConnectionHealth>), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIPAddresses = default(System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration>), bool? useLocalAzureIPAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), System.Collections.Generic.IList<IpsecPolicy> ipsecPolicies = default(System.Collections.Generic.IList<IpsecPolicy>), System.Collections.Generic.IList<TrafficSelectorPolicy> trafficSelectorPolicies = default(System.Collections.Generic.IList<TrafficSelectorPolicy>), string resourceGuid = default(string), bool? expressRouteGatewayBypass = default(bool?), bool? enablePrivateLinkFastPath = default(bool?))
public VirtualNetworkGatewayConnection(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string provisioningState = default(string), string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), System.Collections.Generic.IList<SubResource> ingressNatRules = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<SubResource> egressNatRules = default(System.Collections.Generic.IList<SubResource>), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string connectionMode = default(string), System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties = default(System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties>) , string sharedKey = default(string), string connectionStatus = default(string), System.Collections.Generic.IList<TunnelConnectionHealth> tunnelConnectionStatus = default(System.Collections.Generic.IList<TunnelConnectionHealth>), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIPAddresses = default(System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration>), bool? useLocalAzureIPAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), System.Collections.Generic.IList<IpsecPolicy> ipsecPolicies = default(System.Collections.Generic.IList<IpsecPolicy>), System.Collections.Generic.IList<TrafficSelectorPolicy> trafficSelectorPolicies = default(System.Collections.Generic.IList<TrafficSelectorPolicy>), string resourceGuid = default(string), bool? expressRouteGatewayBypass = default(bool?), bool? enablePrivateLinkFastPath = default(bool?))

: base(id, name, type, location, tags)
{
Expand All @@ -145,6 +148,7 @@ public VirtualNetworkGatewayConnection()
this.RoutingWeight = routingWeight;
this.DpdTimeoutSeconds = dpdTimeoutSeconds;
this.ConnectionMode = connectionMode;
this.TunnelProperties = tunnelProperties;
this.SharedKey = sharedKey;
this.ConnectionStatus = connectionStatus;
this.TunnelConnectionStatus = tunnelConnectionStatus;
Expand Down Expand Up @@ -249,6 +253,12 @@ public VirtualNetworkGatewayConnection()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.connectionMode")]
public string ConnectionMode {get; set; }

/// <summary>
/// Gets or sets
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.tunnelProperties")]
public System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties> TunnelProperties { get; set; }

/// <summary>
/// Gets or sets the IPSec shared key.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public VirtualNetworkGatewayConnectionPropertiesFormat()
/// <param name="connectionMode">The connection mode for this connection.
/// Possible values include: &#39;Default&#39;, &#39;ResponderOnly&#39;, &#39;InitiatorOnly&#39;</param>

/// <param name="tunnelProperties">
/// </param>

/// <param name="sharedKey">The IPSec shared key.
/// </param>

Expand Down Expand Up @@ -109,7 +112,7 @@ public VirtualNetworkGatewayConnectionPropertiesFormat()
/// <param name="enablePrivateLinkFastPath">Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute
/// FastPath (expressRouteGatewayBypass) must be enabled.
/// </param>
public VirtualNetworkGatewayConnectionPropertiesFormat(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), System.Collections.Generic.IList<SubResource> ingressNatRules = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<SubResource> egressNatRules = default(System.Collections.Generic.IList<SubResource>), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string connectionMode = default(string), string sharedKey = default(string), string connectionStatus = default(string), System.Collections.Generic.IList<TunnelConnectionHealth> tunnelConnectionStatus = default(System.Collections.Generic.IList<TunnelConnectionHealth>), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIPAddresses = default(System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration>), bool? useLocalAzureIPAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), System.Collections.Generic.IList<IpsecPolicy> ipsecPolicies = default(System.Collections.Generic.IList<IpsecPolicy>), System.Collections.Generic.IList<TrafficSelectorPolicy> trafficSelectorPolicies = default(System.Collections.Generic.IList<TrafficSelectorPolicy>), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), bool? enablePrivateLinkFastPath = default(bool?))
public VirtualNetworkGatewayConnectionPropertiesFormat(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), System.Collections.Generic.IList<SubResource> ingressNatRules = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<SubResource> egressNatRules = default(System.Collections.Generic.IList<SubResource>), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string connectionMode = default(string), System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties = default(System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties>), string sharedKey = default(string), string connectionStatus = default(string), System.Collections.Generic.IList<TunnelConnectionHealth> tunnelConnectionStatus = default(System.Collections.Generic.IList<TunnelConnectionHealth>), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIPAddresses = default(System.Collections.Generic.IList<GatewayCustomBgpIpAddressIpConfiguration>), bool? useLocalAzureIPAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), System.Collections.Generic.IList<IpsecPolicy> ipsecPolicies = default(System.Collections.Generic.IList<IpsecPolicy>), System.Collections.Generic.IList<TrafficSelectorPolicy> trafficSelectorPolicies = default(System.Collections.Generic.IList<TrafficSelectorPolicy>), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), bool? enablePrivateLinkFastPath = default(bool?))

{
this.AuthorizationKey = authorizationKey;
Expand All @@ -123,6 +126,7 @@ public VirtualNetworkGatewayConnectionPropertiesFormat()
this.RoutingWeight = routingWeight;
this.DpdTimeoutSeconds = dpdTimeoutSeconds;
this.ConnectionMode = connectionMode;
this.TunnelProperties = tunnelProperties;
this.SharedKey = sharedKey;
this.ConnectionStatus = connectionStatus;
this.TunnelConnectionStatus = tunnelConnectionStatus;
Expand Down Expand Up @@ -214,6 +218,12 @@ public VirtualNetworkGatewayConnectionPropertiesFormat()
[Newtonsoft.Json.JsonProperty(PropertyName = "connectionMode")]
public string ConnectionMode {get; set; }

/// <summary>
/// Gets or sets
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "tunnelProperties")]
public System.Collections.Generic.IList<VirtualNetworkGatewayConnectionTunnelProperties> TunnelProperties { get; set; }

/// <summary>
/// Gets or sets the IPSec shared key.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.Network.Models
{
using System.Linq;

public partial class VirtualNetworkGatewayConnectionTunnelProperties
{
/// <summary>
/// Initializes a new instance of the VirtualNetworkGatewayConnectionTunnelProperties class.
/// </summary>
public VirtualNetworkGatewayConnectionTunnelProperties()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the VirtualNetworkGatewayConnectionTunnelProperties class.
/// </summary>

/// <param name="tunnelIPAddress">Tunnel Remote IP address
/// </param>

/// <param name="bgpPeeringAddress">Tunnel BGP peering address
/// </param>
public VirtualNetworkGatewayConnectionTunnelProperties(string tunnelIPAddress = default(string), string bgpPeeringAddress = default(string))

{
this.TunnelIPAddress = tunnelIPAddress;
this.BgpPeeringAddress = bgpPeeringAddress;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();


/// <summary>
/// Gets or sets tunnel Remote IP address
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "tunnelIpAddress")]
public string TunnelIPAddress { get; set; }

/// <summary>
/// Gets or sets tunnel BGP peering address
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "bgpPeeringAddress")]
public string BgpPeeringAddress { get; set; }
}
}
Loading
Loading