From fbfcca0f9acd191ab25b1c918682667544d67d47 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Feb 2019 23:32:43 +0000 Subject: [PATCH] Generated from 2c2a19ef164882e32efda399d87d302482d5f302 added links to applicattion gateway limits --- .../lib/models/applicationGateway.js | 46 +- ...pplicationGatewayAutoscaleConfiguration.js | 4 +- .../models/applicationGatewayRewriteRule.js | 27 + .../applicationGatewayRewriteRuleCondition.js | 80 +++ ...ewayWebApplicationFirewallConfiguration.js | 8 +- .../lib/models/azureFirewall.js | 9 + .../azureFirewallApplicationRuleCollection.js | 2 +- .../lib/models/azureFirewallNatRule.js | 2 +- .../azureFirewallNetworkRuleCollection.js | 2 +- .../lib/models/azureFirewallRCAction.js | 2 +- .../models/connectionMonitorQueryResult.js | 2 +- .../models/effectiveNetworkSecurityRule.js | 8 +- .../lib/models/expressRoutePort.js | 2 +- .../networkManagement2/lib/models/index.d.ts | 178 ++++-- .../networkManagement2/lib/models/index.js | 7 +- .../lib/models/networkIntentPolicy.js | 101 ++++ .../networkIntentPolicyConfiguration.js | 63 +++ .../models/prepareNetworkPoliciesRequest.js | 78 +++ .../lib/models/securityRule.js | 13 +- .../lib/networkManagementClient.js | 4 +- .../lib/operations/applicationGateways.js | 407 +++++++++----- .../operations/applicationSecurityGroups.js | 12 +- .../lib/operations/availableDelegations.js | 2 +- .../operations/availableEndpointServices.js | 2 +- .../availableResourceGroupDelegations.js | 2 +- .../lib/operations/azureFirewallFqdnTags.js | 2 +- .../lib/operations/azureFirewalls.js | 28 +- .../lib/operations/bgpServiceCommunities.js | 2 +- .../lib/operations/connectionMonitors.js | 14 +- .../lib/operations/ddosCustomPolicies.js | 8 +- .../lib/operations/ddosProtectionPlans.js | 10 +- .../lib/operations/defaultSecurityRules.js | 4 +- .../expressRouteCircuitAuthorizations.js | 8 +- .../expressRouteCircuitConnections.js | 20 +- .../operations/expressRouteCircuitPeerings.js | 8 +- .../lib/operations/expressRouteCircuits.js | 22 +- .../lib/operations/expressRouteConnections.js | 8 +- .../expressRouteCrossConnectionPeerings.js | 8 +- .../expressRouteCrossConnections.js | 16 +- .../lib/operations/expressRouteGateways.js | 10 +- .../lib/operations/expressRouteLinks.js | 4 +- .../lib/operations/expressRoutePorts.js | 12 +- .../operations/expressRoutePortsLocations.js | 16 +- .../expressRouteServiceProviders.js | 2 +- .../hubVirtualNetworkConnections.js | 4 +- .../lib/operations/inboundNatRules.js | 8 +- .../lib/operations/index.d.ts | 507 +++++++++++++----- .../lib/operations/interfaceEndpoints.js | 10 +- .../loadBalancerBackendAddressPools.js | 4 +- .../loadBalancerFrontendIPConfigurations.js | 4 +- .../loadBalancerLoadBalancingRules.js | 4 +- .../loadBalancerNetworkInterfaces.js | 2 +- .../operations/loadBalancerOutboundRules.js | 4 +- .../lib/operations/loadBalancerProbes.js | 4 +- .../lib/operations/loadBalancers.js | 12 +- .../lib/operations/localNetworkGateways.js | 10 +- .../networkInterfaceIPConfigurations.js | 4 +- .../networkInterfaceLoadBalancers.js | 2 +- .../networkInterfaceTapConfigurations.js | 8 +- .../lib/operations/networkInterfaces.js | 16 +- .../lib/operations/networkProfiles.js | 18 +- .../lib/operations/networkSecurityGroups.js | 12 +- .../lib/operations/networkWatchers.js | 36 +- .../lib/operations/operations.js | 2 +- .../lib/operations/p2sVpnGateways.js | 14 +- .../operations/p2sVpnServerConfigurations.js | 8 +- .../lib/operations/packetCaptures.js | 12 +- .../lib/operations/publicIPAddresses.js | 12 +- .../lib/operations/publicIPPrefixes.js | 18 +- .../lib/operations/routeFilterRules.js | 10 +- .../lib/operations/routeFilters.js | 12 +- .../lib/operations/routeTables.js | 12 +- .../lib/operations/routes.js | 8 +- .../lib/operations/securityRules.js | 80 +-- .../lib/operations/serviceEndpointPolicies.js | 12 +- .../serviceEndpointPolicyDefinitions.js | 8 +- .../lib/operations/subnets.js | 485 ++++++++++++++++- .../lib/operations/usages.js | 2 +- .../lib/operations/virtualHubs.js | 12 +- .../virtualNetworkGatewayConnections.js | 16 +- .../lib/operations/virtualNetworkGateways.js | 36 +- .../lib/operations/virtualNetworkPeerings.js | 8 +- .../lib/operations/virtualNetworkTaps.js | 12 +- .../lib/operations/virtualNetworks.js | 16 +- .../lib/operations/virtualWans.js | 12 +- .../lib/operations/vpnConnections.js | 8 +- .../lib/operations/vpnGateways.js | 12 +- .../lib/operations/vpnSites.js | 12 +- .../lib/operations/vpnSitesConfiguration.js | 2 +- 89 files changed, 2034 insertions(+), 741 deletions(-) create mode 100644 lib/services/networkManagement2/lib/models/applicationGatewayRewriteRuleCondition.js create mode 100644 lib/services/networkManagement2/lib/models/networkIntentPolicy.js create mode 100644 lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js create mode 100644 lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js diff --git a/lib/services/networkManagement2/lib/models/applicationGateway.js b/lib/services/networkManagement2/lib/models/applicationGateway.js index fb5d9c7311..c103d84804 100644 --- a/lib/services/networkManagement2/lib/models/applicationGateway.js +++ b/lib/services/networkManagement2/lib/models/applicationGateway.js @@ -45,33 +45,47 @@ class ApplicationGateway extends models['Resource'] { * @property {string} [operationalState] Operational state of the application * gateway resource. Possible values include: 'Stopped', 'Starting', * 'Running', 'Stopping' - * @property {array} [gatewayIPConfigurations] Subnets of application the - * gateway resource. + * @property {array} [gatewayIPConfigurations] Subnets of the application + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [authenticationCertificates] Authentication certificates - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [trustedRootCertificates] Trusted Root certificates of - * the application gateway resource. + * the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [sslCertificates] SSL certificates of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [frontendIPConfigurations] Frontend IP addresses of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [probes] Probes of the application gateway resource. * @property {array} [backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [backendHttpSettingsCollection] Backend http settings of - * the application gateway resource. + * the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [urlPathMaps] URL path map of the application gateway - * resource. + * resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {array} [requestRoutingRules] Request routing rules of the * application gateway resource. * @property {array} [rewriteRuleSets] Rewrite rules for the application * gateway resource. * @property {array} [redirectConfigurations] Redirect configurations of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * @property {object} [webApplicationFirewallConfiguration] Web application * firewall configuration. * @property {boolean} [webApplicationFirewallConfiguration.enabled] Whether @@ -89,13 +103,13 @@ class ApplicationGateway extends models['Resource'] { * @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck] * Whether allow WAF to check request Body. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySize] Maximum request + * [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request * body size for WAF. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maximum + * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium * request body size in Kb for WAF. * @property {number} - * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum file + * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file * upload size in Mb for WAF. * @property {array} [webApplicationFirewallConfiguration.exclusions] The * exclusion list. @@ -105,7 +119,7 @@ class ApplicationGateway extends models['Resource'] { * application gateway resource. * @property {object} [autoscaleConfiguration] Autoscale Configuration. * @property {number} [autoscaleConfiguration.minCapacity] Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * @property {number} [autoscaleConfiguration.maxCapacity] Upper bound on * number of Application Gateway capacity * @property {string} [resourceGuid] Resource GUID property of the diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js index c99467b381..f43f6732e8 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js @@ -18,7 +18,7 @@ class ApplicationGatewayAutoscaleConfiguration { /** * Create a ApplicationGatewayAutoscaleConfiguration. * @property {number} minCapacity Lower bound on number of Application - * Gateway capacity + * Gateway instances * @property {number} [maxCapacity] Upper bound on number of Application * Gateway capacity */ @@ -43,7 +43,7 @@ class ApplicationGatewayAutoscaleConfiguration { required: true, serializedName: 'minCapacity', constraints: { - InclusiveMinimum: 0 + InclusiveMinimum: 2 }, type: { name: 'Number' 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 ec8585c842..a2af0c022d 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] 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 + * @property {number} [maxRequestBodySize] Maxium request body size for WAF. + * @property {number} [maxRequestBodySizeInKb] Maxium request body size in Kb * 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 3221bb1498..b56a94dcba 100644 --- a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js +++ b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js @@ -18,7 +18,7 @@ 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/effectiveNetworkSecurityRule.js b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js index 36951b7787..2370290cbd 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 - * separator (e.g. 100-400), or an asterisk (*) + * separator (e.g. 100-400), or an asterix (*) * @property {array} [destinationPortRanges] The destination port ranges. * Expected values include a single integer between 0 and 65535, a range - * using '-' as separator (e.g. 100-400), or an asterisk (*) + * using '-' as separator (e.g. 100-400), or an asterix (*) * @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, - * AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * AzureLoadBalancer, Internet), System Tags, and the asterix (*). * @property {array} [destinationAddressPrefixes] The destination address * prefixes. Expected values include CIDR IP ranges, Default Tags * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the - * asterisk (*). + * asterix (*). * @property {array} [expandedSourceAddressPrefix] The expanded source * address prefix. * @property {array} [expandedDestinationAddressPrefix] Expanded destination diff --git a/lib/services/networkManagement2/lib/models/expressRoutePort.js b/lib/services/networkManagement2/lib/models/expressRoutePort.js index 06afeac1b0..825da5b272 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] Ether type of the physical port. + * @property {string} [etherType] Ethertype 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/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 228db44907..e402c979de 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. Asterisks '*' can also be used + * The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used * to match all ports. */ sourcePortRange?: string; /** - * The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be + * The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be * used to match all ports. */ destinationPortRange?: string; /** - * The CIDR or source IP range. Asterisks '*' can also be used to match all source IPs. Default + * 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. */ @@ -138,8 +138,8 @@ export interface SecurityRule extends SubResource { */ sourceApplicationSecurityGroups?: ApplicationSecurityGroup[]; /** - * The destination address prefix. CIDR or destination IP range. Asterisks '*' can also be used - * to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and + * The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to + * match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and * 'Internet' can also be used. */ destinationAddressPrefix?: string; @@ -1786,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. */ @@ -1822,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. */ @@ -2009,15 +2043,15 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ requestBodyCheck?: boolean; /** - * Maximum request body size for WAF. + * Maxium request body size for WAF. */ maxRequestBodySize?: number; /** - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. */ maxRequestBodySizeInKb?: number; /** - * Maximum file upload size in Mb for WAF. + * Maxium file upload size in Mb for WAF. */ fileUploadLimitInMb?: number; /** @@ -2031,7 +2065,7 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ export interface ApplicationGatewayAutoscaleConfiguration { /** - * Lower bound on number of Application Gateway capacity + * Lower bound on number of Application Gateway instances */ minCapacity: number; /** @@ -2099,27 +2133,38 @@ export interface ApplicationGateway extends Resource { */ readonly operationalState?: string; /** - * Subnets of application the gateway resource. + * Subnets of the application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ gatewayIPConfigurations?: ApplicationGatewayIPConfiguration[]; /** - * Authentication certificates of the application gateway resource. + * Authentication certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ authenticationCertificates?: ApplicationGatewayAuthenticationCertificate[]; /** - * Trusted Root certificates of the application gateway resource. + * Trusted Root certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ trustedRootCertificates?: ApplicationGatewayTrustedRootCertificate[]; /** - * SSL certificates of the application gateway resource. + * SSL certificates of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ sslCertificates?: ApplicationGatewaySslCertificate[]; /** - * Frontend IP addresses of the application gateway resource. + * Frontend IP addresses of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ frontendIPConfigurations?: ApplicationGatewayFrontendIPConfiguration[]; /** - * Frontend ports of the application gateway resource. + * Frontend ports of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ frontendPorts?: ApplicationGatewayFrontendPort[]; /** @@ -2127,19 +2172,26 @@ export interface ApplicationGateway extends Resource { */ probes?: ApplicationGatewayProbe[]; /** - * Backend address pool of the application gateway resource. + * Backend address pool of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ backendAddressPools?: ApplicationGatewayBackendAddressPool[]; /** - * Backend http settings of the application gateway resource. + * Backend http settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ backendHttpSettingsCollection?: ApplicationGatewayBackendHttpSettings[]; /** - * Http listeners of the application gateway resource. + * Http listeners of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ httpListeners?: ApplicationGatewayHttpListener[]; /** - * URL path map of the application gateway resource. + * URL path map of the application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ urlPathMaps?: ApplicationGatewayUrlPathMap[]; /** @@ -2151,7 +2203,9 @@ export interface ApplicationGateway extends Resource { */ rewriteRuleSets?: ApplicationGatewayRewriteRuleSet[]; /** - * Redirect configurations of the application gateway resource. + * Redirect configurations of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ redirectConfigurations?: ApplicationGatewayRedirectConfiguration[]; /** @@ -2197,36 +2251,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. */ @@ -2420,7 +2444,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; } @@ -2528,7 +2552,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[]; /** @@ -2668,6 +2693,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. */ @@ -3796,7 +3825,7 @@ export interface ExpressRoutePort extends Resource { */ encapsulation?: string; /** - * Ether type of the physical port. + * Ethertype of the physical port. */ readonly etherType?: string; /** @@ -4185,12 +4214,12 @@ export interface EffectiveNetworkSecurityRule { destinationPortRange?: string; /** * The source port ranges. Expected values include a single integer between 0 and 65535, a range - * using '-' as separator (e.g. 100-400), or an asterisk (*) + * using '-' as separator (e.g. 100-400), or an asterix (*) */ sourcePortRanges?: string[]; /** * The destination port ranges. Expected values include a single integer between 0 and 65535, a - * range using '-' as separator (e.g. 100-400), or an asterisk (*) + * range using '-' as separator (e.g. 100-400), or an asterix (*) */ destinationPortRanges?: string[]; /** @@ -4203,12 +4232,12 @@ export interface EffectiveNetworkSecurityRule { destinationAddressPrefix?: string; /** * The source address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterix (*). */ sourceAddressPrefixes?: string[]; /** * The destination address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterix (*). */ destinationAddressPrefixes?: string[]; /** @@ -5599,7 +5628,7 @@ export interface ConnectionStateSnapshot { */ 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; /** @@ -6317,6 +6346,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 */ 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/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/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 bbee914e68..6639a1f77c 100644 --- a/lib/services/networkManagement2/lib/models/securityRule.js +++ b/lib/services/networkManagement2/lib/models/securityRule.js @@ -26,21 +26,20 @@ 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. Asterisks '*' can also be used to match all + * range between 0 and 65535. Asterix '*' can also be used to match all * ports. * @property {string} [destinationPortRange] The destination port or range. - * Integer or range between 0 and 65535. Asterisks '*' can also be used to + * Integer or range between 0 and 65535. Asterix '*' can also be used to * match all ports. * @property {string} [sourceAddressPrefix] The CIDR or source IP range. - * Asterisks '*' 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. + * 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. * @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. Asterisks '*' can also be used to + * prefix. CIDR or destination IP range. Asterix '*' 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 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 ab7628f7d0..2a29dc0738 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') { @@ -263,38 +263,52 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -303,7 +317,9 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -332,15 +348,15 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -355,7 +371,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -584,7 +600,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') { @@ -720,7 +736,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') { @@ -1043,10 +1059,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. * @@ -1062,7 +1075,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') { @@ -1148,7 +1161,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) { @@ -1177,10 +1203,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. * @@ -1196,7 +1219,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') { @@ -1282,7 +1305,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) { @@ -1311,10 +1347,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. * @@ -1330,7 +1363,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') { @@ -1416,7 +1449,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) { @@ -1464,7 +1510,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') { @@ -1596,7 +1642,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') { @@ -1729,7 +1775,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') { @@ -1863,7 +1909,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') { @@ -2001,7 +2047,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') { @@ -2134,38 +2180,52 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -2174,7 +2234,9 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -2203,15 +2265,15 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -2226,7 +2288,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -2296,7 +2358,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') { @@ -2478,7 +2540,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') { @@ -2637,7 +2699,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') { @@ -2762,7 +2824,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') { @@ -2894,7 +2956,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') { @@ -3641,38 +3703,52 @@ class ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -3681,7 +3757,9 @@ class ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -3710,15 +3788,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3733,7 +3811,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -3842,38 +3920,52 @@ class ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -3882,7 +3974,9 @@ class ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -3911,15 +4005,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3934,7 +4028,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -4556,7 +4650,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. */ @@ -4589,7 +4683,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. * @@ -4597,10 +4691,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. * @@ -4636,7 +4727,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. */ @@ -4669,7 +4760,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. * @@ -4677,10 +4768,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. * @@ -4716,7 +4804,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. */ @@ -4749,7 +4837,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. * @@ -4757,10 +4845,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. * @@ -5235,38 +5320,52 @@ class ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -5275,7 +5374,9 @@ class ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -5304,15 +5405,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5327,7 +5428,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -5436,38 +5537,52 @@ class ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -5476,7 +5591,9 @@ class ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -5505,15 +5622,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5528,7 +5645,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity 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 4afa5247bb..7307b3981a 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 connection operation. + * to the create or update express route circuit 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 connection operation. + * to the create or update express route circuit 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 connection operation. + * to the create or update express route circuit 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 connection operation. + * to the create or update express route circuit 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 connection operation. + * to the create or update express route circuit 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 connection operation. + * to the create or update express route circuit 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 0115ec4485..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') { @@ -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') { @@ -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') { 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 bded47b466..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') { @@ -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') { @@ -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') { 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 e8cc4affbc..c0bc4be6ba 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 - * retrieving a specific peering location. + * retriving 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 - * retrieving a specific peering location. + * retriving 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 - * retrieving a specific peering location. + * retriving 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 - * retrieving a specific peering location. + * retriving 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 - * retrieving a specific peering location. + * retriving 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 - * retrieving a specific peering location. + * retriving 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 fa235abb9f..83c21ceef4 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -180,38 +180,52 @@ export interface ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -220,7 +234,9 @@ export interface ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -249,15 +265,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -272,7 +288,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -369,38 +385,52 @@ export interface ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -409,7 +439,9 @@ export interface ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -438,15 +470,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -461,7 +493,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -906,11 +938,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. @@ -927,7 +959,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. * @@ -935,18 +967,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; /** @@ -959,11 +988,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. @@ -980,7 +1009,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. * @@ -988,18 +1017,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; /** @@ -1012,11 +1038,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. @@ -1033,7 +1059,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. * @@ -1041,18 +1067,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; /** @@ -1369,38 +1392,52 @@ export interface ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -1409,7 +1446,9 @@ export interface ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -1438,15 +1477,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1461,7 +1500,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -1558,38 +1597,52 @@ export interface ApplicationGateways { * Ssl protocol to be supported on application gateway. Possible values * include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2' * - * @param {array} [parameters.gatewayIPConfigurations] Subnets of application - * the gateway resource. + * @param {array} [parameters.gatewayIPConfigurations] Subnets of the + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.authenticationCertificates] Authentication - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.trustedRootCertificates] Trusted Root - * certificates of the application gateway resource. + * certificates of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.sslCertificates] SSL certificates of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendIPConfigurations] Frontend IP addresses - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.frontendPorts] Frontend ports of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.probes] Probes of the application gateway * resource. * * @param {array} [parameters.backendAddressPools] Backend address pool of the - * application gateway resource. + * application gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.backendHttpSettingsCollection] Backend http - * settings of the application gateway resource. + * settings of the application gateway resource. For default limits, see + * [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.httpListeners] Http listeners of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.urlPathMaps] URL path map of the application - * gateway resource. + * gateway resource. For default limits, see [Application Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {array} [parameters.requestRoutingRules] Request routing rules of the * application gateway resource. @@ -1598,7 +1651,9 @@ export interface ApplicationGateways { * application gateway resource. * * @param {array} [parameters.redirectConfigurations] Redirect configurations - * of the application gateway resource. + * of the application gateway resource. For default limits, see [Application + * Gateway + * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * * @param {object} [parameters.webApplicationFirewallConfiguration] Web * application firewall configuration. @@ -1627,15 +1682,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1650,7 +1705,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity + * number of Application Gateway instances * * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound * on number of Application Gateway capacity @@ -3281,6 +3336,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. @@ -3326,6 +3384,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. @@ -3556,6 +3617,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. @@ -3601,6 +3665,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. @@ -6706,7 +6773,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6761,7 +6828,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6972,7 +7039,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -7027,7 +7094,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -11792,7 +11859,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11810,7 +11877,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11908,7 +11975,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -11929,7 +11996,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -20627,7 +20694,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -20649,7 +20716,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -22014,15 +22081,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -22034,7 +22101,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22111,15 +22178,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -22131,7 +22198,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22353,15 +22420,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -22373,7 +22440,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22450,15 +22517,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -22470,7 +22537,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -28741,7 +28808,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -28763,7 +28830,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -35197,6 +35264,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. * @@ -35551,6 +35708,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. * 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 089428b0f8..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 PublicIPPrefix. + * @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 PublicIPPrefix. + * @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 PublicIPPrefix. + * @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 aa787a4050..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') { @@ -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') { @@ -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') { 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 a7c9bb3865..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 PublicIPPrefix. + * @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 PublicIPPrefix. + * @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 PublicIPPrefix. + * @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 16dc435cd5..84f5073473 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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * 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. @@ -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. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * 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 fea817cb27..9ae8215f68 100644 --- a/lib/services/networkManagement2/lib/operations/vpnSites.js +++ b/lib/services/networkManagement2/lib/operations/vpnSites.js @@ -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') { 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') {