diff --git a/lib/services/networkManagement2/lib/models/applicationGateway.js b/lib/services/networkManagement2/lib/models/applicationGateway.js index 13f5cef0cd..fb5d9c7311 100644 --- a/lib/services/networkManagement2/lib/models/applicationGateway.js +++ b/lib/services/networkManagement2/lib/models/applicationGateway.js @@ -89,13 +89,13 @@ class ApplicationGateway extends models['Resource'] { * @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck] * Whether allow WAF to check request Body. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request + * [webApplicationFirewallConfiguration.maxRequestBodySize] Maximum request * body size for WAF. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium + * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maximum * request body size in Kb for WAF. * @property {number} - * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file + * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum file * upload size in Mb for WAF. * @property {array} [webApplicationFirewallConfiguration.exclusions] The * exclusion list. @@ -105,7 +105,9 @@ class ApplicationGateway extends models['Resource'] { * application gateway resource. * @property {object} [autoscaleConfiguration] Autoscale Configuration. * @property {number} [autoscaleConfiguration.minCapacity] Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * @property {number} [autoscaleConfiguration.maxCapacity] Upper bound on + * number of Application Gateway capacity * @property {string} [resourceGuid] Resource GUID property of the * application gateway resource. * @property {string} [provisioningState] Provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js index 8edff41c3a..c99467b381 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js @@ -18,7 +18,9 @@ class ApplicationGatewayAutoscaleConfiguration { /** * Create a ApplicationGatewayAutoscaleConfiguration. * @property {number} minCapacity Lower bound on number of Application - * Gateway instances + * Gateway capacity + * @property {number} [maxCapacity] Upper bound on number of Application + * Gateway capacity */ constructor() { } @@ -40,6 +42,16 @@ class ApplicationGatewayAutoscaleConfiguration { minCapacity: { required: true, serializedName: 'minCapacity', + constraints: { + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + }, + maxCapacity: { + required: false, + serializedName: 'maxCapacity', constraints: { InclusiveMinimum: 2 }, diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRule.js b/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRule.js index c0732abf80..47700ed5ae 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRule.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRule.js @@ -19,6 +19,11 @@ class ApplicationGatewayRewriteRule { * Create a ApplicationGatewayRewriteRule. * @property {string} [name] Name of the rewrite rule that is unique within * an Application Gateway. + * @property {number} [ruleSequence] Rule Sequence of the rewrite rule that + * determines the order of execution of a particular rule in a + * RewriteRuleSet. + * @property {array} [conditions] Conditions based on which the action set + * execution will be evaluated. * @property {object} [actionSet] Set of actions to be done as part of the * rewrite Rule. * @property {array} [actionSet.requestHeaderConfigurations] Request Header @@ -50,6 +55,28 @@ class ApplicationGatewayRewriteRule { name: 'String' } }, + ruleSequence: { + required: false, + serializedName: 'ruleSequence', + type: { + name: 'Number' + } + }, + conditions: { + required: false, + serializedName: 'conditions', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ApplicationGatewayRewriteRuleConditionElementType', + type: { + name: 'Composite', + className: 'ApplicationGatewayRewriteRuleCondition' + } + } + } + }, actionSet: { required: false, serializedName: 'actionSet', diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRuleCondition.js b/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRuleCondition.js new file mode 100644 index 0000000000..a1ac0c0376 --- /dev/null +++ b/lib/services/networkManagement2/lib/models/applicationGatewayRewriteRuleCondition.js @@ -0,0 +1,80 @@ +/* + * 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. + */ + +'use strict'; + +/** + * Set of conditions in the Rewrite Rule in Application Gateway. + * + */ +class ApplicationGatewayRewriteRuleCondition { + /** + * Create a ApplicationGatewayRewriteRuleCondition. + * @property {string} [variable] The condition parameter of the + * RewriteRuleCondition. + * @property {string} [pattern] The pattern, either fixed string or regular + * expression, that evaluates the truthfulness of the condition + * @property {boolean} [ignoreCase] Setting this paramter to truth value with + * force the pattern to do a case in-sensitive comparison. + * @property {boolean} [negate] Setting this value as truth will force to + * check the negation of the condition given by the user. + */ + constructor() { + } + + /** + * Defines the metadata of ApplicationGatewayRewriteRuleCondition + * + * @returns {object} metadata of ApplicationGatewayRewriteRuleCondition + * + */ + mapper() { + return { + required: false, + serializedName: 'ApplicationGatewayRewriteRuleCondition', + type: { + name: 'Composite', + className: 'ApplicationGatewayRewriteRuleCondition', + modelProperties: { + variable: { + required: false, + serializedName: 'variable', + type: { + name: 'String' + } + }, + pattern: { + required: false, + serializedName: 'pattern', + type: { + name: 'String' + } + }, + ignoreCase: { + required: false, + serializedName: 'ignoreCase', + type: { + name: 'Boolean' + } + }, + negate: { + required: false, + serializedName: 'negate', + type: { + name: 'Boolean' + } + } + } + } + }; + } +} + +module.exports = ApplicationGatewayRewriteRuleCondition; diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js b/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js index a2af0c022d..ec8585c842 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js @@ -27,11 +27,11 @@ class ApplicationGatewayWebApplicationFirewallConfiguration { * @property {array} [disabledRuleGroups] The disabled rule groups. * @property {boolean} [requestBodyCheck] Whether allow WAF to check request * Body. - * @property {number} [maxRequestBodySize] Maxium request body size for WAF. - * @property {number} [maxRequestBodySizeInKb] Maxium request body size in Kb + * @property {number} [maxRequestBodySize] Maximum request body size for WAF. + * @property {number} [maxRequestBodySizeInKb] Maximum request body size in + * Kb for WAF. + * @property {number} [fileUploadLimitInMb] Maximum file upload size in Mb * for WAF. - * @property {number} [fileUploadLimitInMb] Maxium file upload size in Mb for - * WAF. * @property {array} [exclusions] The exclusion list. */ constructor() { diff --git a/lib/services/networkManagement2/lib/models/azureFirewall.js b/lib/services/networkManagement2/lib/models/azureFirewall.js index fd69283902..23c63a0bed 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewall.js +++ b/lib/services/networkManagement2/lib/models/azureFirewall.js @@ -31,6 +31,8 @@ class AzureFirewall extends models['Resource'] { * @property {string} [provisioningState] The provisioning state of the * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' + * @property {string} [threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' * @property {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ @@ -163,6 +165,13 @@ class AzureFirewall extends models['Resource'] { name: 'String' } }, + threatIntelMode: { + required: false, + serializedName: 'properties.threatIntelMode', + type: { + name: 'String' + } + }, etag: { required: false, readOnly: true, diff --git a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js index 5701abe73a..1c45bcac3f 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallApplicationRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a application rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js b/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js index 06e3136e14..a90a663598 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js @@ -22,7 +22,7 @@ class AzureFirewallNatRule { * @property {array} [sourceAddresses] List of source IP addresses for this * rule. * @property {array} [destinationAddresses] List of destination IP addresses - * for this rule. + * for this rule. Supports IP ranges, prefixes, and service tags. * @property {array} [destinationPorts] List of destination ports. * @property {array} [protocols] Array of AzureFirewallNetworkRuleProtocols * applicable to this NAT rule. diff --git a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js index 56d3d62f40..a421875a57 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallNetworkRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a network rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js index ab9dfbe700..1815e244bd 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js @@ -18,7 +18,7 @@ class AzureFirewallRCAction { /** * Create a AzureFirewallRCAction. * @property {string} [type] The type of action. Possible values include: - * 'Allow', 'Deny' + * 'Allow', 'Deny', 'Alert' */ constructor() { } diff --git a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js index 5bc4876daf..b56a94dcba 100644 --- a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js +++ b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js @@ -11,14 +11,14 @@ 'use strict'; /** - * List of connection states snaphots. + * List of connection states snapshots. * */ class ConnectionMonitorQueryResult { /** * Create a ConnectionMonitorQueryResult. * @property {string} [sourceStatus] Status of connection monitor source. - * Possible values include: 'Uknown', 'Active', 'Inactive' + * Possible values include: 'Unknown', 'Active', 'Inactive' * @property {array} [states] Information about connection states. */ constructor() { diff --git a/lib/services/networkManagement2/lib/models/containerNetworkInterface.js b/lib/services/networkManagement2/lib/models/containerNetworkInterface.js index 8daec95b31..713badcaa8 100644 --- a/lib/services/networkManagement2/lib/models/containerNetworkInterface.js +++ b/lib/services/networkManagement2/lib/models/containerNetworkInterface.js @@ -39,7 +39,7 @@ class ContainerNetworkInterface extends models['SubResource'] { * Resource type. * @property {string} [containerNetworkInterfaceConfiguration.etag] A unique * read-only string that changes whenever the resource is updated. - * @property {object} [container] Reference to the conatinaer to which this + * @property {object} [container] Reference to the container to which this * container network interface is attached. * @property {array} [ipConfigurations] Reference to the ip configuration on * this container nic. diff --git a/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js b/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js index 701851a1da..ca44a96d58 100644 --- a/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js +++ b/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js @@ -13,7 +13,7 @@ const models = require('./index'); /** - * Container network interface configruation child resource. + * Container network interface configuration child resource. * * @extends models['SubResource'] */ diff --git a/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js index 7e443c4728..36951b7787 100644 --- a/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js +++ b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js @@ -26,20 +26,20 @@ class EffectiveNetworkSecurityRule { * @property {string} [destinationPortRange] The destination port or range. * @property {array} [sourcePortRanges] The source port ranges. Expected * values include a single integer between 0 and 65535, a range using '-' as - * seperator (e.g. 100-400), or an asterix (*) + * separator (e.g. 100-400), or an asterisk (*) * @property {array} [destinationPortRanges] The destination port ranges. * Expected values include a single integer between 0 and 65535, a range - * using '-' as seperator (e.g. 100-400), or an asterix (*) + * using '-' as separator (e.g. 100-400), or an asterisk (*) * @property {string} [sourceAddressPrefix] The source address prefix. * @property {string} [destinationAddressPrefix] The destination address * prefix. * @property {array} [sourceAddressPrefixes] The source address prefixes. * Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, - * AureLoadBalancer, Internet), System Tags, and the asterix (*). + * AzureLoadBalancer, Internet), System Tags, and the asterisk (*). * @property {array} [destinationAddressPrefixes] The destination address * prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix - * (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the + * asterisk (*). * @property {array} [expandedSourceAddressPrefix] The expanded source * address prefix. * @property {array} [expandedDestinationAddressPrefix] Expanded destination diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js index f938b80f46..6d2110b174 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js @@ -33,7 +33,7 @@ class ExpressRouteCircuitConnection extends models['SubResource'] { * Connection State. Possible values are: 'Connected' and 'Disconnected'. * Possible values include: 'Connected', 'Connecting', 'Disconnected' * @property {string} [provisioningState] Provisioning state of the circuit - * connection resource. Possible values are: 'Succeded', 'Updating', + * connection resource. Possible values are: 'Succeeded', 'Updating', * 'Deleting', and 'Failed'. * @property {string} [name] Gets name of the resource that is unique within * a resource group. This name can be used to access the resource. diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js index 081bc30051..3c02f9ef76 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js @@ -38,7 +38,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. @@ -84,7 +84,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] { * reference of AdvertisedPublicPrefixes. * @property {array} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js index d8b599509d..b298d147ae 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js @@ -20,7 +20,7 @@ class ExpressRouteCircuitPeeringConfig { * @property {array} [advertisedPublicPrefixes] The reference of * AdvertisedPublicPrefixes. * @property {array} [advertisedCommunities] The communities of bgp peering. - * Spepcified for microsoft peering + * Specified for microsoft peering * @property {string} [advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. diff --git a/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js b/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js index 7160299e30..fe66bdc67e 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js @@ -38,7 +38,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. @@ -68,7 +68,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] { * reference of AdvertisedPublicPrefixes. * @property {array} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are diff --git a/lib/services/networkManagement2/lib/models/expressRoutePort.js b/lib/services/networkManagement2/lib/models/expressRoutePort.js index 825da5b272..06afeac1b0 100644 --- a/lib/services/networkManagement2/lib/models/expressRoutePort.js +++ b/lib/services/networkManagement2/lib/models/expressRoutePort.js @@ -31,7 +31,7 @@ class ExpressRoutePort extends models['Resource'] { * pair(s) * @property {string} [encapsulation] Encapsulation method on physical ports. * Possible values include: 'Dot1Q', 'QinQ' - * @property {string} [etherType] Ethertype of the physical port. + * @property {string} [etherType] Ether type of the physical port. * @property {string} [allocationDate] Date of the physical port allocation * to be used in Letter of Authorization. * @property {array} [links] ExpressRouteLink Sub-Resources. The set of diff --git a/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js b/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js index 8099172bba..d60031e028 100644 --- a/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js +++ b/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js @@ -21,7 +21,7 @@ class IPConfigurationProfile extends models['SubResource'] { /** * Create a IPConfigurationProfile. * @property {object} [subnet] The reference of the subnet resource to create - * a contatainer network interface ip configruation. + * a container network interface ip configuration. * @property {string} [subnet.addressPrefix] The address prefix for the * subnet. * @property {array} [subnet.addressPrefixes] List of address prefixes for diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 4b5a99b2cb..779f817d12 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -114,17 +114,17 @@ export interface SecurityRule extends SubResource { */ protocol: string; /** - * The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used + * The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used * to match all ports. */ sourcePortRange?: string; /** - * The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be + * The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be * used to match all ports. */ destinationPortRange?: string; /** - * The CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default + * The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default * tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is * an ingress rule, specifies where network traffic originates from. */ @@ -138,7 +138,7 @@ export interface SecurityRule extends SubResource { */ sourceApplicationSecurityGroups?: ApplicationSecurityGroup[]; /** - * The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to + * The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to * match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and * 'Internet' can also be used. */ @@ -172,7 +172,7 @@ export interface SecurityRule extends SubResource { priority?: number; /** * The direction of the rule. The direction specifies if rule will be evaluated on incoming or - * outcoming traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: + * outgoing traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: * 'Inbound', 'Outbound' */ direction: string; @@ -680,8 +680,7 @@ export interface IPConfiguration extends SubResource { */ export interface IPConfigurationProfile extends SubResource { /** - * The reference of the subnet resource to create a contatainer network interface ip - * configruation. + * The reference of the subnet resource to create a container network interface ip configuration. */ subnet?: Subnet; /** @@ -1787,6 +1786,31 @@ export interface ApplicationGatewayRequestRoutingRule extends SubResource { type?: string; } +/** + * Set of conditions in the Rewrite Rule in Application Gateway. +*/ +export interface ApplicationGatewayRewriteRuleCondition { + /** + * The condition parameter of the RewriteRuleCondition. + */ + variable?: string; + /** + * The pattern, either fixed string or regular expression, that evaluates the truthfulness of the + * condition + */ + pattern?: string; + /** + * Setting this paramter to truth value with force the pattern to do a case in-sensitive + * comparison. + */ + ignoreCase?: boolean; + /** + * Setting this value as truth will force to check the negation of the condition given by the + * user. + */ + negate?: boolean; +} + /** * Header configuration of the Actions set in Application Gateway. */ @@ -1823,6 +1847,15 @@ export interface ApplicationGatewayRewriteRule { * Name of the rewrite rule that is unique within an Application Gateway. */ name?: string; + /** + * Rule Sequence of the rewrite rule that determines the order of execution of a particular rule + * in a RewriteRuleSet. + */ + ruleSequence?: number; + /** + * Conditions based on which the action set execution will be evaluated. + */ + conditions?: ApplicationGatewayRewriteRuleCondition[]; /** * Set of actions to be done as part of the rewrite Rule. */ @@ -2010,15 +2043,15 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ requestBodyCheck?: boolean; /** - * Maxium request body size for WAF. + * Maximum request body size for WAF. */ maxRequestBodySize?: number; /** - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. */ maxRequestBodySizeInKb?: number; /** - * Maxium file upload size in Mb for WAF. + * Maximum file upload size in Mb for WAF. */ fileUploadLimitInMb?: number; /** @@ -2032,9 +2065,13 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ export interface ApplicationGatewayAutoscaleConfiguration { /** - * Lower bound on number of Application Gateway instances + * Lower bound on number of Application Gateway capacity */ minCapacity: number; + /** + * Upper bound on number of Application Gateway capacity + */ + maxCapacity?: number; } export interface ManagedServiceIdentityUserAssignedIdentitiesValue { @@ -2194,36 +2231,6 @@ export interface ApplicationGateway extends Resource { identity?: ManagedServiceIdentity; } -/** - * Response for ApplicationGatewayAvailableServerVariables API service call. -*/ -export interface ApplicationGatewayAvailableServerVariablesResult { - /** - * The list of supported server variables in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableRequestHeaders API service call. -*/ -export interface ApplicationGatewayAvailableRequestHeadersResult { - /** - * The list of supported request headers in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableResponeHeaders API service call. -*/ -export interface ApplicationGatewayAvailableResponseHeadersResult { - /** - * The list of supported response header in application gateway. - */ - value?: string[]; -} - /** * A web application firewall rule. */ @@ -2417,7 +2424,7 @@ export interface AzureFirewallIPConfiguration extends SubResource { */ export interface AzureFirewallRCAction { /** - * The type of action. Possible values include: 'Allow', 'Deny' + * The type of action. Possible values include: 'Allow', 'Deny', 'Alert' */ type?: string; } @@ -2525,7 +2532,8 @@ export interface AzureFirewallNatRule { */ sourceAddresses?: string[]; /** - * List of destination IP addresses for this rule. + * List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service + * tags. */ destinationAddresses?: string[]; /** @@ -2665,6 +2673,10 @@ export interface AzureFirewall extends Resource { * 'Deleting', 'Failed' */ provisioningState?: string; + /** + * The operation mode for Threat Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + */ + threatIntelMode?: string; /** * Gets a unique read-only string that changes whenever the resource is updated. */ @@ -2854,7 +2866,7 @@ export interface ExpressRouteCircuitPeeringConfig { */ advertisedPublicPrefixes?: string[]; /** - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering */ advertisedCommunities?: string[]; /** @@ -2969,7 +2981,7 @@ export interface ExpressRouteCircuitConnection extends SubResource { */ readonly circuitConnectionStatus?: string; /** - * Provisioning state of the circuit connection resource. Possible values are: 'Succeded', + * Provisioning state of the circuit connection resource. Possible values are: 'Succeeded', * 'Updating', 'Deleting', and 'Failed'. */ readonly provisioningState?: string; @@ -3793,7 +3805,7 @@ export interface ExpressRoutePort extends Resource { */ encapsulation?: string; /** - * Ethertype of the physical port. + * Ether type of the physical port. */ readonly etherType?: string; /** @@ -4182,12 +4194,12 @@ export interface EffectiveNetworkSecurityRule { destinationPortRange?: string; /** * The source port ranges. Expected values include a single integer between 0 and 65535, a range - * using '-' as seperator (e.g. 100-400), or an asterix (*) + * using '-' as separator (e.g. 100-400), or an asterisk (*) */ sourcePortRanges?: string[]; /** * The destination port ranges. Expected values include a single integer between 0 and 65535, a - * range using '-' as seperator (e.g. 100-400), or an asterix (*) + * range using '-' as separator (e.g. 100-400), or an asterisk (*) */ destinationPortRanges?: string[]; /** @@ -4200,12 +4212,12 @@ export interface EffectiveNetworkSecurityRule { destinationAddressPrefix?: string; /** * The source address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). */ sourceAddressPrefixes?: string[]; /** * The destination address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). */ destinationAddressPrefixes?: string[]; /** @@ -4317,7 +4329,7 @@ export interface EffectiveRouteListResult { } /** - * Container network interface configruation child resource. + * Container network interface configuration child resource. */ export interface ContainerNetworkInterfaceConfiguration extends SubResource { /** @@ -4385,7 +4397,7 @@ export interface ContainerNetworkInterface extends SubResource { */ containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfiguration; /** - * Reference to the conatinaer to which this container network interface is attached. + * Reference to the container to which this container network interface is attached. */ container?: Container; /** @@ -5592,11 +5604,11 @@ export interface ConnectionStateSnapshot { } /** - * List of connection states snaphots. + * List of connection states snapshots. */ export interface ConnectionMonitorQueryResult { /** - * Status of connection monitor source. Possible values include: 'Uknown', 'Active', 'Inactive' + * Status of connection monitor source. Possible values include: 'Unknown', 'Active', 'Inactive' */ sourceStatus?: string; /** @@ -5627,7 +5639,7 @@ export interface NetworkConfigurationDiagnosticProfile { */ destination: string; /** - * Traffice destination port. Accepted values are '*', port (for example, 3389) and port range + * Traffic destination port. Accepted values are '*', port (for example, 3389) and port range * (for example, 80-100). */ destinationPort: string; @@ -6314,6 +6326,39 @@ export interface VirtualNetworkUsage { readonly unit?: string; } +/** + * Network Intent Policy resource. +*/ +export interface NetworkIntentPolicy extends Resource { + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ + etag?: string; +} + +export interface NetworkIntentPolicyConfiguration { + /** + * The name of the Network Intent Policy for storing in target subscription. + */ + networkIntentPolicyName?: string; + sourceNetworkIntentPolicy?: NetworkIntentPolicy; +} + +export interface PrepareNetworkPoliciesRequest { + /** + * The name of the service for which subnet is being prepared for. + */ + serviceName?: string; + /** + * The name of the resource group where the Network Intent Policy will be stored. + */ + resourceGroupName?: string; + /** + * A list of NetworkIntentPolicyConfiguration. + */ + networkIntentPolicyConfigurations?: NetworkIntentPolicyConfiguration[]; +} + /** * IP configuration for virtual network gateway */ @@ -7163,8 +7208,8 @@ export interface P2SVpnServerConfiguration extends SubResource { */ radiusServerAddress?: string; /** - * The radius secret property of the P2SVpnServerConfiguration resource for for point to site - * client connection. + * The radius secret property of the P2SVpnServerConfiguration resource for point to site client + * connection. */ radiusServerSecret?: string; /** @@ -7594,7 +7639,7 @@ export interface P2SVpnGateway extends Resource { */ vpnClientAddressPool?: AddressSpace; /** - * All P2S vpnclients' connection health status. + * All P2S VPN clients' connection health status. */ readonly vpnClientConnectionHealth?: VpnClientConnectionHealth; /** diff --git a/lib/services/networkManagement2/lib/models/index.js b/lib/services/networkManagement2/lib/models/index.js index 04cff88c29..796a019f0d 100644 --- a/lib/services/networkManagement2/lib/models/index.js +++ b/lib/services/networkManagement2/lib/models/index.js @@ -71,6 +71,7 @@ exports.ApplicationGatewayPathRule = require('./applicationGatewayPathRule'); exports.ApplicationGatewayProbeHealthResponseMatch = require('./applicationGatewayProbeHealthResponseMatch'); exports.ApplicationGatewayProbe = require('./applicationGatewayProbe'); exports.ApplicationGatewayRequestRoutingRule = require('./applicationGatewayRequestRoutingRule'); +exports.ApplicationGatewayRewriteRuleCondition = require('./applicationGatewayRewriteRuleCondition'); exports.ApplicationGatewayHeaderConfiguration = require('./applicationGatewayHeaderConfiguration'); exports.ApplicationGatewayRewriteRuleActionSet = require('./applicationGatewayRewriteRuleActionSet'); exports.ApplicationGatewayRewriteRule = require('./applicationGatewayRewriteRule'); @@ -84,9 +85,6 @@ exports.ApplicationGatewayAutoscaleConfiguration = require('./applicationGateway exports.ManagedServiceIdentityUserAssignedIdentitiesValue = require('./managedServiceIdentityUserAssignedIdentitiesValue'); exports.ManagedServiceIdentity = require('./managedServiceIdentity'); exports.ApplicationGateway = require('./applicationGateway'); -exports.ApplicationGatewayAvailableServerVariablesResult = require('./applicationGatewayAvailableServerVariablesResult'); -exports.ApplicationGatewayAvailableRequestHeadersResult = require('./applicationGatewayAvailableRequestHeadersResult'); -exports.ApplicationGatewayAvailableResponseHeadersResult = require('./applicationGatewayAvailableResponseHeadersResult'); exports.ApplicationGatewayFirewallRule = require('./applicationGatewayFirewallRule'); exports.ApplicationGatewayFirewallRuleGroup = require('./applicationGatewayFirewallRuleGroup'); exports.ApplicationGatewayFirewallRuleSet = require('./applicationGatewayFirewallRuleSet'); @@ -259,6 +257,9 @@ exports.VirtualNetwork = require('./virtualNetwork'); exports.IPAddressAvailabilityResult = require('./iPAddressAvailabilityResult'); exports.VirtualNetworkUsageName = require('./virtualNetworkUsageName'); exports.VirtualNetworkUsage = require('./virtualNetworkUsage'); +exports.NetworkIntentPolicy = require('./networkIntentPolicy'); +exports.NetworkIntentPolicyConfiguration = require('./networkIntentPolicyConfiguration'); +exports.PrepareNetworkPoliciesRequest = require('./prepareNetworkPoliciesRequest'); exports.VirtualNetworkGatewayIPConfiguration = require('./virtualNetworkGatewayIPConfiguration'); exports.VirtualNetworkGatewaySku = require('./virtualNetworkGatewaySku'); exports.VpnClientRootCertificate = require('./vpnClientRootCertificate'); diff --git a/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js b/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js index 8963d27f2e..fbf83a896f 100644 --- a/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js +++ b/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js @@ -25,7 +25,7 @@ class Ipv6ExpressRouteCircuitPeeringConfig { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. diff --git a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js index 18b0e42a73..2442663842 100644 --- a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js +++ b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js @@ -26,7 +26,7 @@ class NetworkConfigurationDiagnosticProfile { * Address/CIDR, Service Tag. * @property {string} destination Traffic destination. Accepted values are: * '*', IP Address/CIDR, Service Tag. - * @property {string} destinationPort Traffice destination port. Accepted + * @property {string} destinationPort Traffic destination port. Accepted * values are '*', port (for example, 3389) and port range (for example, * 80-100). */ diff --git a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js index 0f92eccfff..dd2f605ce9 100644 --- a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js +++ b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js @@ -28,7 +28,7 @@ class NetworkConfigurationDiagnosticResult { * '*', IP Address/CIDR, Service Tag. * @property {string} [profile.destination] Traffic destination. Accepted * values are: '*', IP Address/CIDR, Service Tag. - * @property {string} [profile.destinationPort] Traffice destination port. + * @property {string} [profile.destinationPort] Traffic destination port. * Accepted values are '*', port (for example, 3389) and port range (for * example, 80-100). * @property {object} [networkSecurityGroupResult] diff --git a/lib/services/networkManagement2/lib/models/networkIntentPolicy.js b/lib/services/networkManagement2/lib/models/networkIntentPolicy.js new file mode 100644 index 0000000000..4c3bdc4adf --- /dev/null +++ b/lib/services/networkManagement2/lib/models/networkIntentPolicy.js @@ -0,0 +1,101 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Network Intent Policy resource. + * + * @extends models['Resource'] + */ +class NetworkIntentPolicy extends models['Resource'] { + /** + * Create a NetworkIntentPolicy. + * @property {string} [etag] Gets a unique read-only string that changes + * whenever the resource is updated. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of NetworkIntentPolicy + * + * @returns {object} metadata of NetworkIntentPolicy + * + */ + mapper() { + return { + required: false, + serializedName: 'NetworkIntentPolicy', + type: { + name: 'Composite', + className: 'NetworkIntentPolicy', + modelProperties: { + id: { + required: false, + serializedName: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + readOnly: true, + serializedName: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + readOnly: true, + serializedName: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serializedName: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serializedName: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + etag: { + required: false, + serializedName: 'etag', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = NetworkIntentPolicy; diff --git a/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js b/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js new file mode 100644 index 0000000000..7a73808ad6 --- /dev/null +++ b/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js @@ -0,0 +1,63 @@ +/* + * 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. + */ + +'use strict'; + +/** + * Class representing a NetworkIntentPolicyConfiguration. + */ +class NetworkIntentPolicyConfiguration { + /** + * Create a NetworkIntentPolicyConfiguration. + * @property {string} [networkIntentPolicyName] The name of the Network + * Intent Policy for storing in target subscription. + * @property {object} [sourceNetworkIntentPolicy] + * @property {string} [sourceNetworkIntentPolicy.etag] Gets a unique + * read-only string that changes whenever the resource is updated. + */ + constructor() { + } + + /** + * Defines the metadata of NetworkIntentPolicyConfiguration + * + * @returns {object} metadata of NetworkIntentPolicyConfiguration + * + */ + mapper() { + return { + required: false, + serializedName: 'NetworkIntentPolicyConfiguration', + type: { + name: 'Composite', + className: 'NetworkIntentPolicyConfiguration', + modelProperties: { + networkIntentPolicyName: { + required: false, + serializedName: 'networkIntentPolicyName', + type: { + name: 'String' + } + }, + sourceNetworkIntentPolicy: { + required: false, + serializedName: 'sourceNetworkIntentPolicy', + type: { + name: 'Composite', + className: 'NetworkIntentPolicy' + } + } + } + } + }; + } +} + +module.exports = NetworkIntentPolicyConfiguration; diff --git a/lib/services/networkManagement2/lib/models/p2SVpnGateway.js b/lib/services/networkManagement2/lib/models/p2SVpnGateway.js index 52c0a8e4aa..8e04614fec 100644 --- a/lib/services/networkManagement2/lib/models/p2SVpnGateway.js +++ b/lib/services/networkManagement2/lib/models/p2SVpnGateway.js @@ -35,7 +35,7 @@ class P2SVpnGateway extends models['Resource'] { * space resource which represents Address space for P2S VpnClient. * @property {array} [vpnClientAddressPool.addressPrefixes] A list of address * blocks reserved for this virtual network in CIDR notation. - * @property {object} [vpnClientConnectionHealth] All P2S vpnclients' + * @property {object} [vpnClientConnectionHealth] All P2S VPN clients' * connection health status. * @property {number} * [vpnClientConnectionHealth.totalIngressBytesTransferred] Total of the diff --git a/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js b/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js index 0ae7cb2040..42e452c175 100644 --- a/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js +++ b/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js @@ -40,8 +40,7 @@ class P2SVpnServerConfiguration extends models['SubResource'] { * property of the P2SVpnServerConfiguration resource for point to site * client connection. * @property {string} [radiusServerSecret] The radius secret property of the - * P2SVpnServerConfiguration resource for for point to site client - * connection. + * P2SVpnServerConfiguration resource for point to site client connection. * @property {string} [provisioningState] The provisioning state of the * P2SVpnServerConfiguration resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. diff --git a/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js b/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js new file mode 100644 index 0000000000..6adaef9e65 --- /dev/null +++ b/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js @@ -0,0 +1,78 @@ +/* + * 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. + */ + +'use strict'; + +/** + * Class representing a PrepareNetworkPoliciesRequest. + */ +class PrepareNetworkPoliciesRequest { + /** + * Create a PrepareNetworkPoliciesRequest. + * @property {string} [serviceName] The name of the service for which subnet + * is being prepared for. + * @property {string} [resourceGroupName] The name of the resource group + * where the Network Intent Policy will be stored. + * @property {array} [networkIntentPolicyConfigurations] A list of + * NetworkIntentPolicyConfiguration. + */ + constructor() { + } + + /** + * Defines the metadata of PrepareNetworkPoliciesRequest + * + * @returns {object} metadata of PrepareNetworkPoliciesRequest + * + */ + mapper() { + return { + required: false, + serializedName: 'PrepareNetworkPoliciesRequest', + type: { + name: 'Composite', + className: 'PrepareNetworkPoliciesRequest', + modelProperties: { + serviceName: { + required: false, + serializedName: 'serviceName', + type: { + name: 'String' + } + }, + resourceGroupName: { + required: false, + serializedName: 'resourceGroupName', + type: { + name: 'String' + } + }, + networkIntentPolicyConfigurations: { + required: false, + serializedName: 'networkIntentPolicyConfigurations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'NetworkIntentPolicyConfigurationElementType', + type: { + name: 'Composite', + className: 'NetworkIntentPolicyConfiguration' + } + } + } + } + } + } + }; + } +} + +module.exports = PrepareNetworkPoliciesRequest; diff --git a/lib/services/networkManagement2/lib/models/securityRule.js b/lib/services/networkManagement2/lib/models/securityRule.js index a40f02a127..22fcfa7972 100644 --- a/lib/services/networkManagement2/lib/models/securityRule.js +++ b/lib/services/networkManagement2/lib/models/securityRule.js @@ -26,20 +26,21 @@ class SecurityRule extends models['SubResource'] { * Possible values are 'Tcp', 'Udp', and '*'. Possible values include: 'Tcp', * 'Udp', '*' * @property {string} [sourcePortRange] The source port or range. Integer or - * range between 0 and 65535. Asterix '*' can also be used to match all + * range between 0 and 65535. Asterisk '*' can also be used to match all * ports. * @property {string} [destinationPortRange] The destination port or range. - * Integer or range between 0 and 65535. Asterix '*' can also be used to + * Integer or range between 0 and 65535. Asterisk '*' can also be used to * match all ports. * @property {string} [sourceAddressPrefix] The CIDR or source IP range. - * Asterix '*' can also be used to match all source IPs. Default tags such as - * 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If - * this is an ingress rule, specifies where network traffic originates from. + * Asterisk '*' can also be used to match all source IPs. Default tags such + * as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. + * If this is an ingress rule, specifies where network traffic originates + * from. * @property {array} [sourceAddressPrefixes] The CIDR or source IP ranges. * @property {array} [sourceApplicationSecurityGroups] The application * security group specified as source. * @property {string} [destinationAddressPrefix] The destination address - * prefix. CIDR or destination IP range. Asterix '*' can also be used to + * prefix. CIDR or destination IP range. Asterisk '*' can also be used to * match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @property {array} [destinationAddressPrefixes] The destination address @@ -56,7 +57,7 @@ class SecurityRule extends models['SubResource'] { * the collection. The lower the priority number, the higher the priority of * the rule. * @property {string} direction The direction of the rule. The direction - * specifies if rule will be evaluated on incoming or outcoming traffic. + * specifies if rule will be evaluated on incoming or outgoing traffic. * Possible values are: 'Inbound' and 'Outbound'. Possible values include: * 'Inbound', 'Outbound' * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/networkManagementClient.js b/lib/services/networkManagement2/lib/networkManagementClient.js index 7804a305b4..ad0b9330d3 100644 --- a/lib/services/networkManagement2/lib/networkManagementClient.js +++ b/lib/services/networkManagement2/lib/networkManagementClient.js @@ -61,7 +61,7 @@ function _checkDnsNameAvailability(location, domainNameLabel, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { @@ -206,7 +206,7 @@ function _supportedSecurityProviders(resourceGroupName, virtualWANName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.subscriptionId === null || this.subscriptionId === undefined || typeof this.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/applicationGateways.js b/lib/services/networkManagement2/lib/operations/applicationGateways.js index cbe7e2a8cb..8501f0c92c 100644 --- a/lib/services/networkManagement2/lib/operations/applicationGateways.js +++ b/lib/services/networkManagement2/lib/operations/applicationGateways.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -332,15 +332,15 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -355,7 +355,10 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -581,7 +584,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -717,7 +720,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1040,10 +1043,7 @@ function _backendHealth(resourceGroupName, applicationGatewayName, options, call * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1059,7 +1059,7 @@ function _listAvailableServerVariables(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1145,7 +1145,20 @@ function _listAvailableServerVariables(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableServerVariablesResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1174,10 +1187,7 @@ function _listAvailableServerVariables(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1193,7 +1203,7 @@ function _listAvailableRequestHeaders(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1279,7 +1289,20 @@ function _listAvailableRequestHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableRequestHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1308,10 +1331,7 @@ function _listAvailableRequestHeaders(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1327,7 +1347,7 @@ function _listAvailableResponseHeaders(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1413,7 +1433,20 @@ function _listAvailableResponseHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableResponseHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1461,7 +1494,7 @@ function _listAvailableWafRuleSets(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1593,7 +1626,7 @@ function _listAvailableSslOptions(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1726,7 +1759,7 @@ function _listAvailableSslPredefinedPolicies(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1860,7 +1893,7 @@ function _getSslPredefinedPolicy(predefinedPolicyName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1998,7 +2031,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2200,15 +2233,15 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -2223,7 +2256,10 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -2290,7 +2326,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationGatewayName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2472,7 +2508,7 @@ function _beginUpdateTags(resourceGroupName, applicationGatewayName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2631,7 +2667,7 @@ function _beginStart(resourceGroupName, applicationGatewayName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2756,7 +2792,7 @@ function _beginStop(resourceGroupName, applicationGatewayName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2888,7 +2924,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-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3704,15 +3740,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3727,7 +3763,10 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -3902,15 +3941,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3925,7 +3964,10 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -4544,7 +4586,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4577,7 +4619,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4585,10 +4627,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4624,7 +4663,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4657,7 +4696,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4665,10 +4704,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4704,7 +4740,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4737,7 +4773,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4745,10 +4781,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -5292,15 +5325,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5315,7 +5348,10 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -5490,15 +5526,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5513,7 +5549,10 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. diff --git a/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js b/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js index 2ec88bc52c..0b517c76ab 100644 --- a/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js +++ b/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, applicationSecurityGroupName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -429,7 +429,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -563,7 +563,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -702,7 +702,7 @@ function _beginDeleteMethod(resourceGroupName, applicationSecurityGroupName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -839,7 +839,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1023,7 +1023,7 @@ function _beginUpdateTags(resourceGroupName, applicationSecurityGroupName, param if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableDelegations.js b/lib/services/networkManagement2/lib/operations/availableDelegations.js index ecfe61cda0..ecc49b3203 100644 --- a/lib/services/networkManagement2/lib/operations/availableDelegations.js +++ b/lib/services/networkManagement2/lib/operations/availableDelegations.js @@ -49,7 +49,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableEndpointServices.js b/lib/services/networkManagement2/lib/operations/availableEndpointServices.js index 31208b2a1f..d2ab87e06c 100644 --- a/lib/services/networkManagement2/lib/operations/availableEndpointServices.js +++ b/lib/services/networkManagement2/lib/operations/availableEndpointServices.js @@ -48,7 +48,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js b/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js index e88b1fad5e..0cbf866d33 100644 --- a/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js +++ b/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js @@ -51,7 +51,7 @@ function _list(location, resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js b/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js index 339e85cc84..c37b0d97dc 100644 --- a/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js +++ b/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js @@ -46,7 +46,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/azureFirewalls.js b/lib/services/networkManagement2/lib/operations/azureFirewalls.js index 4b1c21651e..6d027cdb6f 100644 --- a/lib/services/networkManagement2/lib/operations/azureFirewalls.js +++ b/lib/services/networkManagement2/lib/operations/azureFirewalls.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, azureFirewallName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -247,6 +247,9 @@ function _get(resourceGroupName, azureFirewallName, options, callback) { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -357,7 +360,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -493,7 +496,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -627,7 +630,7 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -744,6 +747,9 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -778,7 +784,7 @@ function _beginCreateOrUpdate(resourceGroupName, azureFirewallName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1392,6 +1398,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1449,6 +1458,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1775,6 +1787,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1832,6 +1847,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. diff --git a/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js b/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js index 37f8d308a1..130d4370cd 100644 --- a/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js +++ b/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/connectionMonitors.js b/lib/services/networkManagement2/lib/operations/connectionMonitors.js index dc37300297..e1229b06da 100644 --- a/lib/services/networkManagement2/lib/operations/connectionMonitors.js +++ b/lib/services/networkManagement2/lib/operations/connectionMonitors.js @@ -167,7 +167,7 @@ function _get(resourceGroupName, networkWatcherName, connectionMonitorName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _list(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -778,7 +778,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkWatcherName, connectionM if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -962,7 +962,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, connectionMon if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1095,7 +1095,7 @@ function _beginStop(resourceGroupName, networkWatcherName, connectionMonitorName if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1228,7 +1228,7 @@ function _beginStart(resourceGroupName, networkWatcherName, connectionMonitorNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1364,7 +1364,7 @@ function _beginQuery(resourceGroupName, networkWatcherName, connectionMonitorNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js b/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js index bda75d7026..e34602bc10 100644 --- a/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js +++ b/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, ddosCustomPolicyName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -427,7 +427,7 @@ function _beginDeleteMethod(resourceGroupName, ddosCustomPolicyName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -565,7 +565,7 @@ function _beginCreateOrUpdate(resourceGroupName, ddosCustomPolicyName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -747,7 +747,7 @@ function _beginUpdateTags(resourceGroupName, ddosCustomPolicyName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js b/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js index a2a8554e3c..6eb8a0f9db 100644 --- a/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js +++ b/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, ddosProtectionPlanName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -337,7 +337,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -471,7 +471,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -609,7 +609,7 @@ function _beginDeleteMethod(resourceGroupName, ddosProtectionPlanName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -742,7 +742,7 @@ function _beginCreateOrUpdate(resourceGroupName, ddosProtectionPlanName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js b/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js index fb8f9be421..0c99cfd880 100644 --- a/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js +++ b/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, networkSecurityGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -198,7 +198,7 @@ function _get(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js index d8fe7affe9..76e311c2a1 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js @@ -118,7 +118,7 @@ function _get(resourceGroupName, circuitName, authorizationName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -367,7 +367,7 @@ function _list(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -512,7 +512,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, authorizationName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -665,7 +665,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, authorizationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js index e435af4167..29c38fbe2c 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js @@ -125,7 +125,7 @@ function _get(resourceGroupName, circuitName, peeringName, connectionName, optio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -256,7 +256,7 @@ function _get(resourceGroupName, circuitName, peeringName, connectionName, optio * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -394,7 +394,7 @@ function _list(resourceGroupName, circuitName, peeringName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -546,7 +546,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, connect if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -659,7 +659,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, connect * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -716,7 +716,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, peeringName, conne if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1222,7 +1222,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1289,7 +1289,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1569,7 +1569,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1636,7 +1636,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js index d04c764460..157375c6c3 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, circuitName, peeringName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -317,7 +317,7 @@ function _get(resourceGroupName, circuitName, peeringName, options, callback) { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -479,7 +479,7 @@ function _list(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -623,7 +623,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -805,7 +805,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, options * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -889,7 +889,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, peeringName, peeri if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1447,7 +1447,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1614,7 +1614,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1980,7 +1980,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -2147,7 +2147,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js index eeae671832..186aaec386 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -741,7 +741,7 @@ function _getStats(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -887,7 +887,7 @@ function _getPeeringStats(resourceGroupName, circuitName, peeringName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1033,7 +1033,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1169,7 +1169,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1303,7 +1303,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1500,7 +1500,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, parameters, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1682,7 +1682,7 @@ function _beginUpdateTags(resourceGroupName, circuitName, parameters, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1848,7 +1848,7 @@ function _beginListArpTable(resourceGroupName, circuitName, peeringName, deviceP if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2005,7 +2005,7 @@ function _beginListRoutesTable(resourceGroupName, circuitName, peeringName, devi if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2163,7 +2163,7 @@ function _beginListRoutesTableSummary(resourceGroupName, circuitName, peeringNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteConnections.js index f1097c066b..fc7c45d753 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteConnections.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteConnections.js @@ -158,7 +158,7 @@ function _get(resourceGroupName, expressRouteGatewayName, connectionName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -373,7 +373,7 @@ function _list(resourceGroupName, expressRouteGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -543,7 +543,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRouteGatewayName, connec if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -726,7 +726,7 @@ function _beginDeleteMethod(resourceGroupName, expressRouteGatewayName, connecti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js index a66fac00cd..edbfbd7320 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, crossConnectionName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -264,7 +264,7 @@ function _get(resourceGroupName, crossConnectionName, peeringName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -438,7 +438,7 @@ function _get(resourceGroupName, crossConnectionName, peeringName, options, call * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -595,7 +595,7 @@ function _beginDeleteMethod(resourceGroupName, crossConnectionName, peeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -751,7 +751,7 @@ function _beginDeleteMethod(resourceGroupName, crossConnectionName, peeringName, * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -829,7 +829,7 @@ function _beginCreateOrUpdate(resourceGroupName, crossConnectionName, peeringNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1454,7 +1454,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1589,7 +1589,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1838,7 +1838,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1973,7 +1973,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js index 77de78d9f6..02fd35fd82 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -180,7 +180,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -322,7 +322,7 @@ function _get(resourceGroupName, crossConnectionName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -947,7 +947,7 @@ function _beginCreateOrUpdate(resourceGroupName, crossConnectionName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1113,7 +1113,7 @@ function _beginUpdateTags(resourceGroupName, crossConnectionName, crossConnectio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1280,7 +1280,7 @@ function _beginListArpTable(resourceGroupName, crossConnectionName, peeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1439,7 +1439,7 @@ function _beginListRoutesTableSummary(resourceGroupName, crossConnectionName, pe if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1597,7 +1597,7 @@ function _beginListRoutesTable(resourceGroupName, crossConnectionName, peeringNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteGateways.js b/lib/services/networkManagement2/lib/operations/expressRouteGateways.js index e524e40666..f6db6abf62 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteGateways.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteGateways.js @@ -46,7 +46,7 @@ function _listBySubscription(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -180,7 +180,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -432,7 +432,7 @@ function _get(resourceGroupName, expressRouteGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -675,7 +675,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRouteGatewayName, putExp if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -854,7 +854,7 @@ function _beginDeleteMethod(resourceGroupName, expressRouteGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteLinks.js b/lib/services/networkManagement2/lib/operations/expressRouteLinks.js index 63d28ac82c..ad107223c1 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteLinks.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteLinks.js @@ -52,7 +52,7 @@ function _get(resourceGroupName, expressRoutePortName, linkName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -202,7 +202,7 @@ function _list(resourceGroupName, expressRoutePortName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRoutePorts.js b/lib/services/networkManagement2/lib/operations/expressRoutePorts.js index cf8ecfa743..f500975054 100644 --- a/lib/services/networkManagement2/lib/operations/expressRoutePorts.js +++ b/lib/services/networkManagement2/lib/operations/expressRoutePorts.js @@ -113,7 +113,7 @@ function _get(resourceGroupName, expressRoutePortName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -442,7 +442,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -578,7 +578,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -713,7 +713,7 @@ function _beginDeleteMethod(resourceGroupName, expressRoutePortName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -864,7 +864,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRoutePortName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1047,7 +1047,7 @@ function _beginUpdateTags(resourceGroupName, expressRoutePortName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js index 8df086050f..5e4d58b9b4 100644 --- a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js +++ b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js @@ -17,7 +17,7 @@ const WebResource = msRest.WebResource; /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -48,7 +48,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -184,7 +184,7 @@ function _get(locationName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -291,7 +291,7 @@ function _get(locationName, options, callback) { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -434,7 +434,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -464,7 +464,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -604,7 +604,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -637,7 +637,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. diff --git a/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js b/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js index 20321c7870..de63790247 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js b/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js index a21e10597c..d076191333 100644 --- a/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js +++ b/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js @@ -52,7 +52,7 @@ function _get(resourceGroupName, virtualHubName, connectionName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -201,7 +201,7 @@ function _list(resourceGroupName, virtualHubName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/inboundNatRules.js b/lib/services/networkManagement2/lib/operations/inboundNatRules.js index 584cb6ea7d..ec1c57fd4b 100644 --- a/lib/services/networkManagement2/lib/operations/inboundNatRules.js +++ b/lib/services/networkManagement2/lib/operations/inboundNatRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -263,7 +263,7 @@ function _get(resourceGroupName, loadBalancerName, inboundNatRuleName, options, throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -544,7 +544,7 @@ function _beginDeleteMethod(resourceGroupName, loadBalancerName, inboundNatRuleN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -723,7 +723,7 @@ function _beginCreateOrUpdate(resourceGroupName, loadBalancerName, inboundNatRul if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index 8be5edf2ec..61ae5217ca 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -249,15 +249,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -272,7 +272,10 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -435,15 +438,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -458,7 +461,10 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -900,11 +906,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available server variables. @@ -921,7 +927,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -929,18 +935,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableServerVariablesResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableServerVariables(callback: ServiceCallback): void; - listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableServerVariables(callback: ServiceCallback): void; + listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -953,11 +956,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available request headers. @@ -974,7 +977,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -982,18 +985,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableRequestHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableRequestHeaders(callback: ServiceCallback): void; - listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableRequestHeaders(callback: ServiceCallback): void; + listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -1006,11 +1006,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available response headers. @@ -1027,7 +1027,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -1035,18 +1035,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableResponseHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableResponseHeaders(callback: ServiceCallback): void; - listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableResponseHeaders(callback: ServiceCallback): void; + listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -1432,15 +1429,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1455,7 +1452,10 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -1618,15 +1618,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maxium request body size in Kb for WAF. + * Maximum request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1641,7 +1641,10 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway instances + * number of Application Gateway capacity + * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -3269,6 +3272,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3314,6 +3320,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3544,6 +3553,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3589,6 +3601,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -5776,7 +5791,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -5931,7 +5946,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6228,7 +6243,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6383,7 +6398,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6694,7 +6709,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6749,7 +6764,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6960,7 +6975,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -7015,7 +7030,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit circuit connection operation. + * to the create or update express route circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -10126,7 +10141,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10249,7 +10264,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10456,7 +10471,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10579,7 +10594,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -11780,7 +11795,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11798,7 +11813,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11896,7 +11911,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -11917,7 +11932,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retriving a specific peering location. + * retrieving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -20615,7 +20630,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -20637,7 +20652,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -22002,15 +22017,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22022,7 +22037,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22048,7 +22063,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22099,15 +22114,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22119,7 +22134,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22145,7 +22160,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22341,15 +22356,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22361,7 +22376,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22387,7 +22402,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22438,15 +22453,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22458,7 +22473,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22484,7 +22499,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -28729,7 +28744,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -28751,7 +28766,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -35185,6 +35200,96 @@ export interface Subnets { createOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: models.Subnet, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + */ + prepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {ServiceCallback} [optionalCallback] - The optional callback. + * + * @returns {ServiceCallback|Promise} If a callback was passed as the last + * parameter then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned. + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + * + * {ServiceCallback} optionalCallback(err, result, request, response) + * + * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {WebResource} [request] - The HTTP Request object if an error did not occur. + * + * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. + */ + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, callback: ServiceCallback): void; + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + + /** * Gets all subnets in a virtual network. * @@ -35539,6 +35644,96 @@ export interface Subnets { beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: models.Subnet, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + */ + beginPrepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {ServiceCallback} [optionalCallback] - The optional callback. + * + * @returns {ServiceCallback|Promise} If a callback was passed as the last + * parameter then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned. + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + * + * {ServiceCallback} optionalCallback(err, result, request, response) + * + * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {WebResource} [request] - The HTTP Request object if an error did not occur. + * + * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. + */ + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, callback: ServiceCallback): void; + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + + /** * Gets all subnets in a virtual network. * @@ -44372,7 +44567,7 @@ export interface VpnSites { /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -44392,7 +44587,7 @@ export interface VpnSites { getWithHttpOperationResponse(resourceGroupName: string, vpnSiteName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -47974,8 +48169,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48047,8 +48242,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48266,8 +48461,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48339,8 +48534,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] diff --git a/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js b/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js index e36d3c803f..1766375fc0 100644 --- a/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js +++ b/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, interfaceEndpointName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -447,7 +447,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -583,7 +583,7 @@ function _listBySubscription(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -717,7 +717,7 @@ function _beginDeleteMethod(resourceGroupName, interfaceEndpointName, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -949,7 +949,7 @@ function _beginCreateOrUpdate(resourceGroupName, interfaceEndpointName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js b/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js index 240e22ad4d..213d5830ae 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, backendAddressPoolName, optio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js b/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js index 57a53a47e0..6b5e5e54e4 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -198,7 +198,7 @@ function _get(resourceGroupName, loadBalancerName, frontendIPConfigurationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js b/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js index 60a89da10f..1e3376a349 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, loadBalancingRuleName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js b/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js index 427e95e281..03cea66916 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js b/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js index 6a0fc06139..b3afddf382 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, outboundRuleName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js b/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js index ae50028837..56360035d3 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, probeName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancers.js b/lib/services/networkManagement2/lib/operations/loadBalancers.js index 5e1ed981fa..2235c4cb1f 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancers.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancers.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, loadBalancerName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -476,7 +476,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -610,7 +610,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -748,7 +748,7 @@ function _beginDeleteMethod(resourceGroupName, loadBalancerName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -929,7 +929,7 @@ function _beginCreateOrUpdate(resourceGroupName, loadBalancerName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1110,7 +1110,7 @@ function _beginUpdateTags(resourceGroupName, loadBalancerName, parameters, optio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/localNetworkGateways.js b/lib/services/networkManagement2/lib/operations/localNetworkGateways.js index b5929a4531..f58bbe0d6f 100644 --- a/lib/services/networkManagement2/lib/operations/localNetworkGateways.js +++ b/lib/services/networkManagement2/lib/operations/localNetworkGateways.js @@ -164,7 +164,7 @@ function _get(resourceGroupName, localNetworkGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -460,7 +460,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -635,7 +635,7 @@ function _beginCreateOrUpdate(resourceGroupName, localNetworkGatewayName, parame if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -818,7 +818,7 @@ function _beginDeleteMethod(resourceGroupName, localNetworkGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -956,7 +956,7 @@ function _beginUpdateTags(resourceGroupName, localNetworkGatewayName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js b/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js index d65ffa0950..13860025b6 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -196,7 +196,7 @@ function _get(resourceGroupName, networkInterfaceName, ipConfigurationName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js b/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js index b080647566..3f83a10314 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js b/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js index 1e44a1d671..eb8ad31b0d 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, networkInterfaceName, tapConfigurationName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -722,7 +722,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -866,7 +866,7 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, tapConfigur if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1375,7 +1375,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkInterfaceName, tapConfig if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaces.js b/lib/services/networkManagement2/lib/operations/networkInterfaces.js index 2c488bf1ce..4196a3c5d4 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaces.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaces.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, networkInterfaceName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -511,7 +511,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -645,7 +645,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1743,7 +1743,7 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1958,7 +1958,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkInterfaceName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2140,7 +2140,7 @@ function _beginUpdateTags(resourceGroupName, networkInterfaceName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2301,7 +2301,7 @@ function _beginGetEffectiveRouteTable(resourceGroupName, networkInterfaceName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2445,7 +2445,7 @@ function _beginListEffectiveNetworkSecurityGroups(resourceGroupName, networkInte if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkProfiles.js b/lib/services/networkManagement2/lib/operations/networkProfiles.js index bcf5381384..15e5a4ab93 100644 --- a/lib/services/networkManagement2/lib/operations/networkProfiles.js +++ b/lib/services/networkManagement2/lib/operations/networkProfiles.js @@ -48,7 +48,7 @@ function _deleteMethod(resourceGroupName, networkProfileName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -144,7 +144,7 @@ function _deleteMethod(resourceGroupName, networkProfileName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -177,7 +177,7 @@ function _get(resourceGroupName, networkProfileName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -344,7 +344,7 @@ function _createOrUpdate(resourceGroupName, networkProfileName, parameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -526,7 +526,7 @@ function _updateTags(resourceGroupName, networkProfileName, parameters, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -683,7 +683,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -817,7 +817,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1285,7 +1285,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -1319,7 +1319,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js b/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js index 732f111b7b..45a9b0704a 100644 --- a/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js +++ b/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, networkSecurityGroupName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -451,7 +451,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -585,7 +585,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -724,7 +724,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -876,7 +876,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkSecurityGroupName, param if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1059,7 +1059,7 @@ function _beginUpdateTags(resourceGroupName, networkSecurityGroupName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkWatchers.js b/lib/services/networkManagement2/lib/operations/networkWatchers.js index acb0914b74..8304b8603b 100644 --- a/lib/services/networkManagement2/lib/operations/networkWatchers.js +++ b/lib/services/networkManagement2/lib/operations/networkWatchers.js @@ -61,7 +61,7 @@ function _createOrUpdate(resourceGroupName, networkWatcherName, parameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -239,7 +239,7 @@ function _get(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -451,7 +451,7 @@ function _updateTags(resourceGroupName, networkWatcherName, parameters, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -611,7 +611,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -748,7 +748,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -898,7 +898,7 @@ function _getTopology(resourceGroupName, networkWatcherName, parameters, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2148,7 +2148,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2307,7 +2307,7 @@ function _beginVerifyIPFlow(resourceGroupName, networkWatcherName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2499,7 +2499,7 @@ function _beginGetNextHop(resourceGroupName, networkWatcherName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2683,7 +2683,7 @@ function _beginGetVMSecurityRules(resourceGroupName, networkWatcherName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2873,7 +2873,7 @@ function _beginGetTroubleshooting(resourceGroupName, networkWatcherName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3057,7 +3057,7 @@ function _beginGetTroubleshootingResult(resourceGroupName, networkWatcherName, p if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3290,7 +3290,7 @@ function _beginSetFlowLogConfiguration(resourceGroupName, networkWatcherName, pa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3476,7 +3476,7 @@ function _beginGetFlowLogStatus(resourceGroupName, networkWatcherName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3697,7 +3697,7 @@ function _beginCheckConnectivity(resourceGroupName, networkWatcherName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3901,7 +3901,7 @@ function _beginGetAzureReachabilityReport(resourceGroupName, networkWatcherName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4094,7 +4094,7 @@ function _beginListAvailableProviders(resourceGroupName, networkWatcherName, par if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4287,7 +4287,7 @@ function _beginGetNetworkConfigurationDiagnostic(resourceGroupName, networkWatch if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/operations.js b/lib/services/networkManagement2/lib/operations/operations.js index f284d26143..dd54a1aeaf 100644 --- a/lib/services/networkManagement2/lib/operations/operations.js +++ b/lib/services/networkManagement2/lib/operations/operations.js @@ -45,7 +45,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js b/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js index 07906d8380..d8d676d6e6 100644 --- a/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js +++ b/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js @@ -50,7 +50,7 @@ function _get(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -455,7 +455,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -592,7 +592,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -849,7 +849,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, p2SVpnGatewayParam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1033,7 +1033,7 @@ function _beginUpdateTags(resourceGroupName, gatewayName, p2SVpnGatewayParameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1211,7 +1211,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1346,7 +1346,7 @@ function _beginGenerateVpnProfile(resourceGroupName, gatewayName, parameters, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js b/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js index bf9997b946..0b89fa30f2 100644 --- a/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js @@ -54,7 +54,7 @@ function _get(resourceGroupName, virtualWanName, p2SVpnServerConfigurationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -215,8 +215,8 @@ function _get(resourceGroupName, virtualWanName, p2SVpnServerConfigurationName, * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -402,7 +402,7 @@ function _listByVirtualWan(resourceGroupName, virtualWanName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -558,8 +558,8 @@ function _listByVirtualWan(resourceGroupName, virtualWanName, options, callback) * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -600,7 +600,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualWanName, p2SVpnServerCon if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -785,7 +785,7 @@ function _beginDeleteMethod(resourceGroupName, virtualWanName, p2SVpnServerConfi if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1169,8 +1169,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1254,8 +1254,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1542,8 +1542,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1627,8 +1627,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] diff --git a/lib/services/networkManagement2/lib/operations/packetCaptures.js b/lib/services/networkManagement2/lib/operations/packetCaptures.js index c4b78fc628..31c8012b23 100644 --- a/lib/services/networkManagement2/lib/operations/packetCaptures.js +++ b/lib/services/networkManagement2/lib/operations/packetCaptures.js @@ -163,7 +163,7 @@ function _get(resourceGroupName, networkWatcherName, packetCaptureName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -524,7 +524,7 @@ function _list(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -702,7 +702,7 @@ function _beginCreate(resourceGroupName, networkWatcherName, packetCaptureName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -868,7 +868,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, packetCapture if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1000,7 +1000,7 @@ function _beginStop(resourceGroupName, networkWatcherName, packetCaptureName, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1135,7 +1135,7 @@ function _beginGetStatus(resourceGroupName, networkWatcherName, packetCaptureNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/publicIPAddresses.js b/lib/services/networkManagement2/lib/operations/publicIPAddresses.js index f54dbfaf3c..078e9b8fd1 100644 --- a/lib/services/networkManagement2/lib/operations/publicIPAddresses.js +++ b/lib/services/networkManagement2/lib/operations/publicIPAddresses.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, publicIpAddressName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -501,7 +501,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -635,7 +635,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1260,7 +1260,7 @@ function _beginDeleteMethod(resourceGroupName, publicIpAddressName, options, cal if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1465,7 +1465,7 @@ function _beginCreateOrUpdate(resourceGroupName, publicIpAddressName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1647,7 +1647,7 @@ function _beginUpdateTags(resourceGroupName, publicIpAddressName, parameters, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js index d90b347ff9..af19ada133 100644 --- a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js +++ b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js @@ -82,7 +82,7 @@ function _deleteMethod(resourceGroupName, publicIpPrefixName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -115,7 +115,7 @@ function _get(resourceGroupName, publicIpPrefixName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -464,7 +464,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -736,7 +736,7 @@ function _beginDeleteMethod(resourceGroupName, publicIpPrefixName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -904,7 +904,7 @@ function _beginCreateOrUpdate(resourceGroupName, publicIpPrefixName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1086,7 +1086,7 @@ function _beginUpdateTags(resourceGroupName, publicIpPrefixName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1578,7 +1578,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -1612,7 +1612,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/networkManagement2/lib/operations/routeFilterRules.js b/lib/services/networkManagement2/lib/operations/routeFilterRules.js index 8428caa1e8..0fac583b28 100644 --- a/lib/services/networkManagement2/lib/operations/routeFilterRules.js +++ b/lib/services/networkManagement2/lib/operations/routeFilterRules.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeFilterName, ruleName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -454,7 +454,7 @@ function _listByRouteFilter(resourceGroupName, routeFilterName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _beginDeleteMethod(resourceGroupName, routeFilterName, ruleName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -752,7 +752,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeFilterName, ruleName, rout { routeFilterRuleParameters = {}; } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -951,7 +951,7 @@ function _beginUpdate(resourceGroupName, routeFilterName, ruleName, routeFilterR { routeFilterRuleParameters = {}; } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routeFilters.js b/lib/services/networkManagement2/lib/operations/routeFilters.js index a2d4043c52..8ff2bf5f89 100644 --- a/lib/services/networkManagement2/lib/operations/routeFilters.js +++ b/lib/services/networkManagement2/lib/operations/routeFilters.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeFilterName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -447,7 +447,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -582,7 +582,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -716,7 +716,7 @@ function _beginDeleteMethod(resourceGroupName, routeFilterName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -857,7 +857,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeFilterName, routeFilterPar if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1047,7 +1047,7 @@ function _beginUpdate(resourceGroupName, routeFilterName, routeFilterParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routeTables.js b/lib/services/networkManagement2/lib/operations/routeTables.js index 3084f24f83..fc3f6c7e50 100644 --- a/lib/services/networkManagement2/lib/operations/routeTables.js +++ b/lib/services/networkManagement2/lib/operations/routeTables.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, routeTableName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -444,7 +444,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -579,7 +579,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -713,7 +713,7 @@ function _beginDeleteMethod(resourceGroupName, routeTableName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -861,7 +861,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeTableName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1042,7 +1042,7 @@ function _beginUpdateTags(resourceGroupName, routeTableName, parameters, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routes.js b/lib/services/networkManagement2/lib/operations/routes.js index c7a5408740..e6b5e4ce10 100644 --- a/lib/services/networkManagement2/lib/operations/routes.js +++ b/lib/services/networkManagement2/lib/operations/routes.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeTableName, routeName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -371,7 +371,7 @@ function _list(resourceGroupName, routeTableName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -515,7 +515,7 @@ function _beginDeleteMethod(resourceGroupName, routeTableName, routeName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -675,7 +675,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeTableName, routeName, rout if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/securityRules.js b/lib/services/networkManagement2/lib/operations/securityRules.js index 80cc77fbd3..6dda2c2f07 100644 --- a/lib/services/networkManagement2/lib/operations/securityRules.js +++ b/lib/services/networkManagement2/lib/operations/securityRules.js @@ -118,7 +118,7 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -252,15 +252,15 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -272,7 +272,7 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -298,7 +298,7 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -422,7 +422,7 @@ function _list(resourceGroupName, networkSecurityGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -567,7 +567,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -683,15 +683,15 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -703,7 +703,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -729,7 +729,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -774,7 +774,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkSecurityGroupName, secur if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1269,15 +1269,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1289,7 +1289,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -1315,7 +1315,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1378,15 +1378,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1398,7 +1398,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -1424,7 +1424,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1689,15 +1689,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1709,7 +1709,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -1735,7 +1735,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1798,15 +1798,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterix '*' can also be used to - * match all ports. + * range. Integer or range between 0 and 65535. Asterisk '*' can also be used + * to match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterix '*' - * can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterisk + * '*' can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterix '*' can also be used to match all source IPs. + * source IP range. Asterisk '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1818,7 +1818,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterix '*' can + * destination address prefix. CIDR or destination IP range. Asterisk '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -1844,7 +1844,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * diff --git a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js index 84e4fbcf06..c6e85ce7b7 100644 --- a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js +++ b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, serviceEndpointPolicyName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -441,7 +441,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -575,7 +575,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -714,7 +714,7 @@ function _beginDeleteMethod(resourceGroupName, serviceEndpointPolicyName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -856,7 +856,7 @@ function _beginCreateOrUpdate(resourceGroupName, serviceEndpointPolicyName, para if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1039,7 +1039,7 @@ function _beginUpdate(resourceGroupName, serviceEndpointPolicyName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js index 513896be38..508957ffd5 100644 --- a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js +++ b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js @@ -122,7 +122,7 @@ function _get(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolic if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -376,7 +376,7 @@ function _listByResourceGroup(resourceGroupName, serviceEndpointPolicyName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -522,7 +522,7 @@ function _beginDeleteMethod(resourceGroupName, serviceEndpointPolicyName, servic if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -679,7 +679,7 @@ function _beginCreateOrUpdate(resourceGroupName, serviceEndpointPolicyName, serv if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/subnets.js b/lib/services/networkManagement2/lib/operations/subnets.js index 3cf1de78e6..36a19465a3 100644 --- a/lib/services/networkManagement2/lib/operations/subnets.js +++ b/lib/services/networkManagement2/lib/operations/subnets.js @@ -119,7 +119,7 @@ function _get(resourceGroupName, virtualNetworkName, subnetName, options, callba throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -402,6 +402,85 @@ function _createOrUpdate(resourceGroupName, virtualNetworkName, subnetName, subn }); } + +/** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} callback - The callback. + * + * @returns {function} callback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ +function _prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, callback) { + /* jshint validthis: true */ + let client = this.client; + if(!callback && typeof options === 'function') { + callback = options; + options = null; + } + + if (!callback) { + throw new Error('callback cannot be null.'); + } + + // Send request + this.beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, parsedResult, httpRequest, response) => { + if (err) return callback(err); + + let initialResult = new msRest.HttpOperationResponse(); + initialResult.request = httpRequest; + initialResult.response = response; + initialResult.body = response.body; + client.getLongRunningOperationResult(initialResult, options, (err, pollingResult) => { + if (err) return callback(err); + + // Create Result + let result = null; + + httpRequest = pollingResult.request; + response = pollingResult.response; + let responseBody = pollingResult.body; + if (responseBody === '') responseBody = null; + + // Deserialize Response + + return callback(null, result, httpRequest, response); + }); + }); +} + /** * Gets all subnets in a virtual network. * @@ -437,7 +516,7 @@ function _list(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -581,7 +660,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, subnetName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -798,7 +877,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, subnetName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -944,6 +1023,168 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, subnetName, }); } +/** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} callback - The callback. + * + * @returns {function} callback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ +function _beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, callback) { + /* jshint validthis: true */ + let client = this.client; + if(!callback && typeof options === 'function') { + callback = options; + options = null; + } + if (!callback) { + throw new Error('callback cannot be null.'); + } + let apiVersion = '2018-12-01'; + // Validate + try { + if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { + throw new Error('resourceGroupName cannot be null or undefined and it must be of type string.'); + } + if (virtualNetworkName === null || virtualNetworkName === undefined || typeof virtualNetworkName.valueOf() !== 'string') { + throw new Error('virtualNetworkName cannot be null or undefined and it must be of type string.'); + } + if (subnetName === null || subnetName === undefined || typeof subnetName.valueOf() !== 'string') { + throw new Error('subnetName cannot be null or undefined and it must be of type string.'); + } + if (prepareNetworkPoliciesRequestParameters === null || prepareNetworkPoliciesRequestParameters === undefined) { + throw new Error('prepareNetworkPoliciesRequestParameters cannot be null or undefined.'); + } + if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { + throw new Error('this.client.subscriptionId cannot be null or undefined and it must be of type string.'); + } + if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { + throw new Error('this.client.acceptLanguage must be of type string.'); + } + } catch (error) { + return callback(error); + } + + // Construct URL + let baseUrl = this.client.baseUri; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'; + requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); + requestUrl = requestUrl.replace('{virtualNetworkName}', encodeURIComponent(virtualNetworkName)); + requestUrl = requestUrl.replace('{subnetName}', encodeURIComponent(subnetName)); + requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); + let queryParameters = []; + queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); + if (queryParameters.length > 0) { + requestUrl += '?' + queryParameters.join('&'); + } + + // Create HTTP transport objects + let httpRequest = new WebResource(); + httpRequest.method = 'POST'; + httpRequest.url = requestUrl; + httpRequest.headers = {}; + // Set Headers + httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; + if (this.client.generateClientRequestId) { + httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); + } + if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { + httpRequest.headers['accept-language'] = this.client.acceptLanguage; + } + if(options) { + for(let headerName in options['customHeaders']) { + if (options['customHeaders'].hasOwnProperty(headerName)) { + httpRequest.headers[headerName] = options['customHeaders'][headerName]; + } + } + } + // Serialize Request + let requestContent = null; + let requestModel = null; + try { + if (prepareNetworkPoliciesRequestParameters !== null && prepareNetworkPoliciesRequestParameters !== undefined) { + let requestModelMapper = new client.models['PrepareNetworkPoliciesRequest']().mapper(); + requestModel = client.serialize(requestModelMapper, prepareNetworkPoliciesRequestParameters, 'prepareNetworkPoliciesRequestParameters'); + requestContent = JSON.stringify(requestModel); + } + } catch (error) { + let serializationError = new Error(`Error "${error.message}" occurred in serializing the ` + + `payload - ${JSON.stringify(prepareNetworkPoliciesRequestParameters, null, 2)}.`); + return callback(serializationError); + } + httpRequest.body = requestContent; + // Send Request + return client.pipeline(httpRequest, (err, response, responseBody) => { + if (err) { + return callback(err); + } + let statusCode = response.statusCode; + if (statusCode !== 200 && statusCode !== 202) { + let error = new Error(responseBody); + error.statusCode = response.statusCode; + error.request = msRest.stripRequest(httpRequest); + error.response = msRest.stripResponse(response); + if (responseBody === '') responseBody = null; + let parsedErrorResponse; + try { + parsedErrorResponse = JSON.parse(responseBody); + if (parsedErrorResponse) { + if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; + if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; + if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; + } + if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { + let resultMapper = new client.models['CloudError']().mapper(); + error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); + } + } catch (defaultError) { + error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + + `- "${responseBody}" for the default response.`; + return callback(error); + } + return callback(error); + } + // Create Result + let result = null; + if (responseBody === '') responseBody = null; + + return callback(null, result, httpRequest, response); + }); +} + /** * Gets all subnets in a virtual network. * @@ -1082,9 +1323,11 @@ class Subnets { this._deleteMethod = _deleteMethod; this._get = _get; this._createOrUpdate = _createOrUpdate; + this._prepareNetworkPolicies = _prepareNetworkPolicies; this._list = _list; this._beginDeleteMethod = _beginDeleteMethod; this._beginCreateOrUpdate = _beginCreateOrUpdate; + this._beginPrepareNetworkPolicies = _beginPrepareNetworkPolicies; this._listNext = _listNext; } @@ -1531,6 +1774,123 @@ class Subnets { } } + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error} - The error object. + */ + prepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options) { + let client = this.client; + let self = this; + return new Promise((resolve, reject) => { + self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + let httpOperationResponse = new msRest.HttpOperationResponse(request, response); + httpOperationResponse.body = result; + if (err) { reject(err); } + else { resolve(httpOperationResponse); } + return; + }); + }); + } + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} [optionalCallback] - The optional callback. + * + * @returns {function|Promise} If a callback was passed as the last parameter + * then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error} - The error object. + * + * {function} optionalCallback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ + prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback) { + let client = this.client; + let self = this; + if (!optionalCallback && typeof options === 'function') { + optionalCallback = options; + options = null; + } + if (!optionalCallback) { + return new Promise((resolve, reject) => { + self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + if (err) { reject(err); } + else { resolve(result); } + return; + }); + }); + } else { + return self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback); + } + } + /** * Gets all subnets in a virtual network. * @@ -1966,6 +2326,123 @@ class Subnets { } } + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error} - The error object. + */ + beginPrepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options) { + let client = this.client; + let self = this; + return new Promise((resolve, reject) => { + self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + let httpOperationResponse = new msRest.HttpOperationResponse(request, response); + httpOperationResponse.body = result; + if (err) { reject(err); } + else { resolve(httpOperationResponse); } + return; + }); + }); + } + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} [optionalCallback] - The optional callback. + * + * @returns {function|Promise} If a callback was passed as the last parameter + * then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error} - The error object. + * + * {function} optionalCallback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ + beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback) { + let client = this.client; + let self = this; + if (!optionalCallback && typeof options === 'function') { + optionalCallback = options; + options = null; + } + if (!optionalCallback) { + return new Promise((resolve, reject) => { + self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + if (err) { reject(err); } + else { resolve(result); } + return; + }); + }); + } else { + return self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback); + } + } + /** * Gets all subnets in a virtual network. * diff --git a/lib/services/networkManagement2/lib/operations/usages.js b/lib/services/networkManagement2/lib/operations/usages.js index 90e9791596..ebc076753d 100644 --- a/lib/services/networkManagement2/lib/operations/usages.js +++ b/lib/services/networkManagement2/lib/operations/usages.js @@ -47,7 +47,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualHubs.js b/lib/services/networkManagement2/lib/operations/virtualHubs.js index c07f7b76cc..851e3c2652 100644 --- a/lib/services/networkManagement2/lib/operations/virtualHubs.js +++ b/lib/services/networkManagement2/lib/operations/virtualHubs.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, virtualHubName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -454,7 +454,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -590,7 +590,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -765,7 +765,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualHubName, virtualHubParam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -948,7 +948,7 @@ function _beginUpdateTags(resourceGroupName, virtualHubName, virtualHubParameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1125,7 +1125,7 @@ function _beginDeleteMethod(resourceGroupName, virtualHubName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js index 96769a18f3..b26b50de41 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js @@ -310,7 +310,7 @@ function _get(resourceGroupName, virtualNetworkGatewayConnectionName, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -696,7 +696,7 @@ function _getSharedKey(resourceGroupName, virtualNetworkGatewayConnectionName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -839,7 +839,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1249,7 +1249,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkGatewayConnection if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1426,7 +1426,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkGatewayConnectionNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1559,7 +1559,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkGatewayConnectionName if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1732,7 +1732,7 @@ function _beginSetSharedKey(resourceGroupName, virtualNetworkGatewayConnectionNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1921,7 +1921,7 @@ function _beginResetSharedKey(resourceGroupName, virtualNetworkGatewayConnection if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js b/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js index cf7946090a..4554540743 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js @@ -228,7 +228,7 @@ function _get(resourceGroupName, virtualNetworkGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -518,7 +518,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -659,7 +659,7 @@ function _listConnections(resourceGroupName, virtualNetworkGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1329,7 +1329,7 @@ function _supportedVpnDevices(resourceGroupName, virtualNetworkGatewayName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1852,7 +1852,7 @@ function _vpnDeviceConfigurationScript(resourceGroupName, virtualNetworkGatewayC if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2118,7 +2118,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkGatewayName, para if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2295,7 +2295,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkGatewayName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2427,7 +2427,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkGatewayName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2593,7 +2593,7 @@ function _beginReset(resourceGroupName, virtualNetworkGatewayName, options, call throw new Error('callback cannot be null.'); } let gatewayVip = (options && options.gatewayVip !== undefined) ? options.gatewayVip : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2743,7 +2743,7 @@ function _beginResetVpnClientSharedKey(resourceGroupName, virtualNetworkGatewayN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2890,7 +2890,7 @@ function _beginGeneratevpnclientpackage(resourceGroupName, virtualNetworkGateway if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3077,7 +3077,7 @@ function _beginGenerateVpnProfile(resourceGroupName, virtualNetworkGatewayName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3245,7 +3245,7 @@ function _beginGetVpnProfilePackageUrl(resourceGroupName, virtualNetworkGatewayN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3400,7 +3400,7 @@ function _beginGetBgpPeerStatus(resourceGroupName, virtualNetworkGatewayName, op throw new Error('callback cannot be null.'); } let peer = (options && options.peer !== undefined) ? options.peer : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3552,7 +3552,7 @@ function _beginGetLearnedRoutes(resourceGroupName, virtualNetworkGatewayName, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3700,7 +3700,7 @@ function _beginGetAdvertisedRoutes(resourceGroupName, virtualNetworkGatewayName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3887,7 +3887,7 @@ function _beginSetVpnclientIpsecParameters(resourceGroupName, virtualNetworkGate if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4050,7 +4050,7 @@ function _beginGetVpnclientIpsecParameters(resourceGroupName, virtualNetworkGate if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js b/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js index fc37be4426..459aeed39c 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js @@ -118,7 +118,7 @@ function _get(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -401,7 +401,7 @@ function _list(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -546,7 +546,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, virtualNetwor if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -733,7 +733,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, virtualNetw if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js b/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js index 0b024cfb30..eec3ee699c 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, tapName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -767,7 +767,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -901,7 +901,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1039,7 +1039,7 @@ function _beginDeleteMethod(resourceGroupName, tapName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1519,7 +1519,7 @@ function _beginCreateOrUpdate(resourceGroupName, tapName, parameters, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1701,7 +1701,7 @@ function _beginUpdateTags(resourceGroupName, tapName, tapParameters, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworks.js b/lib/services/networkManagement2/lib/operations/virtualNetworks.js index 36c0afa10b..ff40065b13 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworks.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworks.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, virtualNetworkName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -470,7 +470,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -604,7 +604,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -746,7 +746,7 @@ function _checkIPAddressAvailability(resourceGroupName, virtualNetworkName, ipAd if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -894,7 +894,7 @@ function _listUsage(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1036,7 +1036,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1210,7 +1210,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1392,7 +1392,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualWans.js b/lib/services/networkManagement2/lib/operations/virtualWans.js index f79e4b0d21..3a26f16464 100644 --- a/lib/services/networkManagement2/lib/operations/virtualWans.js +++ b/lib/services/networkManagement2/lib/operations/virtualWans.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, virtualWANName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -448,7 +448,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -584,7 +584,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -754,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualWANName, wANParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -936,7 +936,7 @@ function _beginUpdateTags(resourceGroupName, virtualWANName, wANParameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1113,7 +1113,7 @@ function _beginDeleteMethod(resourceGroupName, virtualWANName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnConnections.js b/lib/services/networkManagement2/lib/operations/vpnConnections.js index 5207558382..3cadd3bb06 100644 --- a/lib/services/networkManagement2/lib/operations/vpnConnections.js +++ b/lib/services/networkManagement2/lib/operations/vpnConnections.js @@ -51,7 +51,7 @@ function _get(resourceGroupName, gatewayName, connectionName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -391,7 +391,7 @@ function _listByVpnGateway(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -583,7 +583,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, connectionName, vp if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -766,7 +766,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, connectionName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnGateways.js b/lib/services/networkManagement2/lib/operations/vpnGateways.js index f86d0589bb..7f25c8c69c 100644 --- a/lib/services/networkManagement2/lib/operations/vpnGateways.js +++ b/lib/services/networkManagement2/lib/operations/vpnGateways.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -452,7 +452,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -588,7 +588,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -761,7 +761,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, vpnGatewayParamete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -944,7 +944,7 @@ function _beginUpdateTags(resourceGroupName, gatewayName, vpnGatewayParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1121,7 +1121,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnSites.js b/lib/services/networkManagement2/lib/operations/vpnSites.js index ee50e00f17..9ae8215f68 100644 --- a/lib/services/networkManagement2/lib/operations/vpnSites.js +++ b/lib/services/networkManagement2/lib/operations/vpnSites.js @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure'); const WebResource = msRest.WebResource; /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -49,7 +49,7 @@ function _get(resourceGroupName, vpnSiteName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -470,7 +470,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -606,7 +606,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -797,7 +797,7 @@ function _beginCreateOrUpdate(resourceGroupName, vpnSiteName, vpnSiteParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -980,7 +980,7 @@ function _beginUpdateTags(resourceGroupName, vpnSiteName, vpnSiteParameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1157,7 +1157,7 @@ function _beginDeleteMethod(resourceGroupName, vpnSiteName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1527,7 +1527,7 @@ class VpnSites { } /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -1559,7 +1559,7 @@ class VpnSites { } /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * diff --git a/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js b/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js index a419a0f4cb..3cc77537fb 100644 --- a/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js +++ b/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js @@ -133,7 +133,7 @@ function _beginDownload(resourceGroupName, virtualWANName, request, options, cal if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {