From 905b3ff88d7123423358e8f5663e263a89d06d5c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 15 Aug 2018 18:45:29 +0000 Subject: [PATCH] Generated from 3a4b18e1cbf64d1cc61cd892d576e2596a289bf2 Changes to Support MSEEv2 Datapath for ExpressRoute. Description of Changes: - Added a flag expressRouteGatewayBypass to the Connection Properties. - The user can set the flag to True to use MSEEv2 datapath Related work items: #2628003 --- .../networkManagement2/lib/models/index.d.ts | 6 ++++++ .../models/virtualNetworkGatewayConnection.js | 9 +++++++++ ...irtualNetworkGatewayConnectionListEntity.js | 9 +++++++++ .../lib/operations/index.d.ts | 12 ++++++++++++ .../virtualNetworkGatewayConnections.js | 18 ++++++++++++++++++ 5 files changed, 54 insertions(+) diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index a7f4e21d5b..9e5779e306 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -6651,6 +6651,8 @@ export interface LocalNetworkGateway extends Resource { * @member {string} [provisioningState] The provisioning state of the * VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. + * @member {boolean} [expressRouteGatewayBypass] Bypass ExpressRoute Gateway + * for data forwarding * @member {string} [etag] Gets a unique read-only string that changes whenever * the resource is updated. */ @@ -6672,6 +6674,7 @@ export interface VirtualNetworkGatewayConnection extends Resource { ipsecPolicies?: IpsecPolicy[]; resourceGuid?: string; readonly provisioningState?: string; + expressRouteGatewayBypass?: boolean; etag?: string; } @@ -6799,6 +6802,8 @@ export interface VirtualNetworkConnectionGatewayReference { * @member {string} [provisioningState] The provisioning state of the * VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. + * @member {boolean} [expressRouteGatewayBypass] Bypass ExpressRoute Gateway + * for data forwarding * @member {string} [etag] Gets a unique read-only string that changes whenever * the resource is updated. */ @@ -6820,6 +6825,7 @@ export interface VirtualNetworkGatewayConnectionListEntity extends Resource { ipsecPolicies?: IpsecPolicy[]; resourceGuid?: string; readonly provisioningState?: string; + expressRouteGatewayBypass?: boolean; etag?: string; } diff --git a/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnection.js b/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnection.js index ec5d8f580a..0d63743097 100644 --- a/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnection.js +++ b/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnection.js @@ -226,6 +226,8 @@ class VirtualNetworkGatewayConnection extends models['Resource'] { * @member {string} [provisioningState] The provisioning state of the * VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. + * @member {boolean} [expressRouteGatewayBypass] Bypass ExpressRoute Gateway + * for data forwarding * @member {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ @@ -435,6 +437,13 @@ class VirtualNetworkGatewayConnection extends models['Resource'] { name: 'String' } }, + expressRouteGatewayBypass: { + required: false, + serializedName: 'properties.expressRouteGatewayBypass', + type: { + name: 'Boolean' + } + }, etag: { required: false, serializedName: 'etag', diff --git a/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnectionListEntity.js b/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnectionListEntity.js index 12183ef6db..f65af58487 100644 --- a/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnectionListEntity.js +++ b/lib/services/networkManagement2/lib/models/virtualNetworkGatewayConnectionListEntity.js @@ -60,6 +60,8 @@ class VirtualNetworkGatewayConnectionListEntity extends models['Resource'] { * @member {string} [provisioningState] The provisioning state of the * VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. + * @member {boolean} [expressRouteGatewayBypass] Bypass ExpressRoute Gateway + * for data forwarding * @member {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ @@ -269,6 +271,13 @@ class VirtualNetworkGatewayConnectionListEntity extends models['Resource'] { name: 'String' } }, + expressRouteGatewayBypass: { + required: false, + serializedName: 'properties.expressRouteGatewayBypass', + type: { + name: 'Boolean' + } + }, etag: { required: false, serializedName: 'etag', diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index c34377d2e5..e1c0fe40e8 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -30257,6 +30257,9 @@ export interface VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -30451,6 +30454,9 @@ export interface VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -31149,6 +31155,9 @@ export interface VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -31343,6 +31352,9 @@ export interface VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js index 1fc5e9d16d..7c99173abb 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js @@ -187,6 +187,9 @@ const WebResource = msRest.WebResource; * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -1199,6 +1202,9 @@ function _resetSharedKey(resourceGroupName, virtualNetworkGatewayConnectionName, * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -2359,6 +2365,9 @@ class VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -2565,6 +2574,9 @@ class VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -3467,6 +3479,9 @@ class VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. * @@ -3673,6 +3688,9 @@ class VirtualNetworkGatewayConnections { * @param {string} [parameters.resourceGuid] The resource GUID property of the * VirtualNetworkGatewayConnection resource. * + * @param {boolean} [parameters.expressRouteGatewayBypass] Bypass ExpressRoute + * Gateway for data forwarding + * * @param {string} [parameters.etag] Gets a unique read-only string that * changes whenever the resource is updated. *