Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR network/resource-manager] Merging July branch, resolved conflicts #3236

Merged
merged 1 commit into from
Jul 25, 2018
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6823,7 +6823,7 @@ export interface VirtualHub extends Resource {
* include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
* @member {number} [ingressBytesTransferred] Ingress bytes transferred.
* @member {number} [egressBytesTransferred] Egress bytes transferred.
* @member {number} [connectionBandwidth] Expected bandwidth in MBPS.
* @member {number} [connectionBandwidthInMbps] Expected bandwidth in MBPS.
* @member {string} [sharedKey] SharedKey for the vpn connection.
* @member {boolean} [enableBgp] EnableBgp flag
* @member {array} [ipsecPolicies] The IPSec Policies to be considered by this
Expand All @@ -6839,7 +6839,7 @@ export interface VpnConnection extends Resource {
connectionStatus?: string;
readonly ingressBytesTransferred?: number;
readonly egressBytesTransferred?: number;
readonly connectionBandwidth?: number;
readonly connectionBandwidthInMbps?: number;
sharedKey?: string;
enableBgp?: boolean;
ipsecPolicies?: IpsecPolicy[];
Expand Down
6 changes: 3 additions & 3 deletions lib/services/networkManagement2/lib/models/vpnConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class VpnConnection extends models['Resource'] {
* include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
* @member {number} [ingressBytesTransferred] Ingress bytes transferred.
* @member {number} [egressBytesTransferred] Egress bytes transferred.
* @member {number} [connectionBandwidth] Expected bandwidth in MBPS.
* @member {number} [connectionBandwidthInMbps] Expected bandwidth in MBPS.
* @member {string} [sharedKey] SharedKey for the vpn connection.
* @member {boolean} [enableBgp] EnableBgp flag
* @member {array} [ipsecPolicies] The IPSec Policies to be considered by
Expand Down Expand Up @@ -138,10 +138,10 @@ class VpnConnection extends models['Resource'] {
name: 'Number'
}
},
connectionBandwidth: {
connectionBandwidthInMbps: {
required: false,
readOnly: true,
serializedName: 'properties.connectionBandwidth',
serializedName: 'properties.connectionBandwidthInMbps',
type: {
name: 'Number'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function _checkDnsNameAvailability(location, domainNameLabel, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -551,7 +551,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -687,7 +687,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1029,7 +1029,7 @@ function _listAvailableWafRuleSets(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1161,7 +1161,7 @@ function _listAvailableSslOptions(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1294,7 +1294,7 @@ function _listAvailableSslPredefinedPolicies(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1428,7 +1428,7 @@ function _getSslPredefinedPolicy(predefinedPolicyName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1566,7 +1566,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -1828,7 +1828,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationGatewayName, paramet
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2010,7 +2010,7 @@ function _beginUpdateTags(resourceGroupName, applicationGatewayName, parameters,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2169,7 +2169,7 @@ function _beginStart(resourceGroupName, applicationGatewayName, options, callbac
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2294,7 +2294,7 @@ function _beginStop(resourceGroupName, applicationGatewayName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2426,7 +2426,7 @@ function _beginBackendHealth(resourceGroupName, applicationGatewayName, options,
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function _get(resourceGroupName, applicationSecurityGroupName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -344,7 +344,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -478,7 +478,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -617,7 +617,7 @@ function _beginDeleteMethod(resourceGroupName, applicationSecurityGroupName, opt
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -754,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _list(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
Expand Down
10 changes: 5 additions & 5 deletions lib/services/networkManagement2/lib/operations/azureFirewalls.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _get(resourceGroupName, azureFirewallName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -354,7 +354,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -490,7 +490,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -624,7 +624,7 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -772,7 +772,7 @@ function _beginCreateOrUpdate(resourceGroupName, azureFirewallName, parameters,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function _get(resourceGroupName, networkWatcherName, connectionMonitorName, opti
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -597,7 +597,7 @@ function _list(resourceGroupName, networkWatcherName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -776,7 +776,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkWatcherName, connectionM
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -959,7 +959,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, connectionMon
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -1091,7 +1091,7 @@ function _beginStop(resourceGroupName, networkWatcherName, connectionMonitorName
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -1223,7 +1223,7 @@ function _beginStart(resourceGroupName, networkWatcherName, connectionMonitorNam
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -1358,7 +1358,7 @@ function _beginQuery(resourceGroupName, networkWatcherName, connectionMonitorNam
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _get(resourceGroupName, ddosProtectionPlanName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -337,7 +337,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -471,7 +471,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -609,7 +609,7 @@ function _beginDeleteMethod(resourceGroupName, ddosProtectionPlanName, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -742,7 +742,7 @@ function _beginCreateOrUpdate(resourceGroupName, ddosProtectionPlanName, paramet
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function _list(resourceGroupName, networkSecurityGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -198,7 +198,7 @@ function _get(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleNa
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-04-01';
let apiVersion = '2018-06-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Loading