From 00b09e000306850f6bf862d7c8bf6eb93f429a2c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 12 Feb 2019 09:47:05 +0000 Subject: [PATCH] Generated from 8ad6916384d1b84fcc51e109f9aeafc993b01a2a Fix typos in Network 2018-12-01 --- lib/services/frontdoorManagement/LICENSE.txt | 42 +- lib/services/frontdoorManagement/README.md | 83 +- .../lib/models/azureAsyncOperationResult.js | 14 +- .../models/azureManagedOverrideRuleGroup.js | 8 +- .../lib/models/azureManagedRuleSet.js | 2 +- .../frontdoorManagement/lib/models/backend.js | 16 +- .../lib/models/backendPool.js | 19 +- .../lib/models/backendPoolListResult.js | 6 +- .../lib/models/backendPoolUpdateParameters.js | 10 +- .../lib/models/cacheConfiguration.js | 4 +- .../lib/models/checkNameAvailabilityInput.js | 4 +- .../lib/models/checkNameAvailabilityOutput.js | 6 +- .../lib/models/customHttpsConfiguration.js | 17 +- .../lib/models/customRule.js | 26 +- .../lib/models/customRules.js | 2 +- .../lib/models/errorDetails.js | 6 +- .../lib/models/errorModel.js | 10 +- .../lib/models/errorResponse.js | 6 +- .../lib/models/frontDoor.js | 27 +- .../lib/models/frontDoorListResult.js | 6 +- .../lib/models/frontDoorUpdateParameters.js | 20 +- .../lib/models/frontendEndpoint.js | 49 +- .../frontendEndpointUpdateParameters.js | 12 +- ...ametersWebApplicationFirewallPolicyLink.js | 2 +- .../lib/models/frontendEndpointsListResult.js | 6 +- .../models/healthProbeSettingsListResult.js | 7 +- .../lib/models/healthProbeSettingsModel.js | 18 +- .../healthProbeSettingsUpdateParameters.js | 9 +- .../frontdoorManagement/lib/models/index.d.ts | 1133 ++++++++--------- ...eyVaultCertificateSourceParametersVault.js | 2 +- .../models/loadBalancingSettingsListResult.js | 4 +- .../lib/models/loadBalancingSettingsModel.js | 19 +- .../loadBalancingSettingsUpdateParameters.js | 10 +- .../lib/models/managedRuleSet.js | 6 +- .../lib/models/managedRuleSets.js | 2 +- .../lib/models/matchCondition1.js | 12 +- .../lib/models/policySettings.js | 4 +- .../lib/models/purgeParameters.js | 2 +- .../lib/models/resource.js | 10 +- .../lib/models/routingRule.js | 33 +- .../lib/models/routingRuleListResult.js | 6 +- .../lib/models/routingRuleUpdateParameters.js | 24 +- .../lib/models/subResource.js | 2 +- .../lib/models/tagsObject.js | 2 +- .../lib/models/validateCustomDomainInput.js | 2 +- .../lib/models/validateCustomDomainOutput.js | 8 +- .../models/webApplicationFirewallPolicy1.js | 25 +- .../webApplicationFirewallPolicyListResult.js | 6 +- .../lib/operations/frontendEndpoints.js | 10 +- .../lib/operations/index.d.ts | 4 +- .../lib/operations/policies.js | 6 +- lib/services/frontdoorManagement/package.json | 2 +- .../lib/models/applicationGateway.js | 2 + ...pplicationGatewayAutoscaleConfiguration.js | 12 + .../models/applicationGatewayRewriteRule.js | 27 + .../applicationGatewayRewriteRuleCondition.js | 80 ++ .../lib/models/azureFirewall.js | 9 + .../azureFirewallApplicationRuleCollection.js | 2 +- .../lib/models/azureFirewallNatRule.js | 2 +- .../azureFirewallNetworkRuleCollection.js | 2 +- .../lib/models/azureFirewallRCAction.js | 2 +- .../models/connectionMonitorQueryResult.js | 4 +- .../lib/models/containerNetworkInterface.js | 2 +- .../containerNetworkInterfaceConfiguration.js | 2 +- .../models/effectiveNetworkSecurityRule.js | 10 +- .../models/expressRouteCircuitConnection.js | 2 +- .../lib/models/expressRouteCircuitPeering.js | 4 +- .../expressRouteCircuitPeeringConfig.js | 2 +- .../expressRouteCrossConnectionPeering.js | 4 +- .../lib/models/iPConfigurationProfile.js | 2 +- .../networkManagement2/lib/models/index.d.ts | 143 ++- .../networkManagement2/lib/models/index.js | 7 +- .../ipv6ExpressRouteCircuitPeeringConfig.js | 2 +- .../networkConfigurationDiagnosticProfile.js | 2 +- .../networkConfigurationDiagnosticResult.js | 2 +- .../lib/models/networkIntentPolicy.js | 101 ++ .../networkIntentPolicyConfiguration.js | 63 + .../lib/models/p2SVpnGateway.js | 2 +- .../lib/models/p2SVpnServerConfiguration.js | 3 +- .../models/prepareNetworkPoliciesRequest.js | 78 ++ .../lib/models/securityRule.js | 2 +- .../lib/networkManagementClient.js | 4 +- .../lib/operations/applicationGateways.js | 137 +- .../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 | 8 +- .../operations/expressRouteCircuitPeerings.js | 20 +- .../lib/operations/expressRouteCircuits.js | 22 +- .../lib/operations/expressRouteConnections.js | 8 +- .../expressRouteCrossConnectionPeerings.js | 20 +- .../expressRouteCrossConnections.js | 16 +- .../lib/operations/expressRouteGateways.js | 10 +- .../lib/operations/expressRouteLinks.js | 4 +- .../lib/operations/expressRoutePorts.js | 12 +- .../operations/expressRoutePortsLocations.js | 4 +- .../expressRouteServiceProviders.js | 2 +- .../hubVirtualNetworkConnections.js | 4 +- .../lib/operations/inboundNatRules.js | 8 +- .../lib/operations/index.d.ts | 307 ++++- .../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 | 32 +- .../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 | 20 +- .../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 | 18 +- .../lib/operations/vpnSitesConfiguration.js | 2 +- 151 files changed, 2558 insertions(+), 1429 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/frontdoorManagement/LICENSE.txt b/lib/services/frontdoorManagement/LICENSE.txt index a70e8cf660..8f3d856145 100644 --- a/lib/services/frontdoorManagement/LICENSE.txt +++ b/lib/services/frontdoorManagement/LICENSE.txt @@ -1,21 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2018 Microsoft - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The MIT License (MIT) + +Copyright (c) 2019 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lib/services/frontdoorManagement/README.md b/lib/services/frontdoorManagement/README.md index ff5fb6f394..5e99d92521 100644 --- a/lib/services/frontdoorManagement/README.md +++ b/lib/services/frontdoorManagement/README.md @@ -1,40 +1,43 @@ ---- -uid: azure-arm-frontdoor -summary: *content - ---- -# Microsoft Azure SDK for Node.js - FrontDoorManagementClient -This project provides a Node.js package for accessing Azure. Right now it supports: -- **Node.js version 6.x.x or higher** - -## Features - - -## How to Install - -```bash -npm install azure-arm-frontdoor -``` - -## How to use - -### Authentication, client creation and list frontDoors as an example. - -```javascript -const msRestAzure = require("ms-rest-azure"); -const FrontDoorManagementClient = require("azure-arm-frontdoor"); -msRestAzure.interactiveLogin().then((creds) => { - const subscriptionId = ""; - const client = new FrontDoorManagementClient(creds, subscriptionId); - return client.frontDoors.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.log('An error occurred:'); - console.dir(err, {depth: null, colors: true}); -}); - -## Related projects - -- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node) +--- +uid: azure-arm-frontdoor +summary: *content + +--- +**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.** +## Microsoft Azure SDK for Node.js - FrontDoorManagementClient + +This project provides a Node.js package for accessing Azure. Right now it supports: +- **Node.js version 6.x.x or higher** + +### Features + + +### How to Install + +```bash +npm install azure-arm-frontdoor +``` + +### How to use + +#### Authentication, client creation, and list frontDoors as an example. + +```javascript +const msRestAzure = require("ms-rest-azure"); +const FrontDoorManagementClient = require("azure-arm-frontdoor"); +msRestAzure.interactiveLogin().then((creds) => { + const subscriptionId = ""; + const client = new FrontDoorManagementClient(creds, subscriptionId); + + return client.frontDoors.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.log('An error occurred:'); + console.dir(err, {depth: null, colors: true}); +}); +``` +### Related projects + +- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node) diff --git a/lib/services/frontdoorManagement/lib/models/azureAsyncOperationResult.js b/lib/services/frontdoorManagement/lib/models/azureAsyncOperationResult.js index 4870803217..7f6d7a5d49 100644 --- a/lib/services/frontdoorManagement/lib/models/azureAsyncOperationResult.js +++ b/lib/services/frontdoorManagement/lib/models/azureAsyncOperationResult.js @@ -24,15 +24,15 @@ class AzureAsyncOperationResult { /** * Create a AzureAsyncOperationResult. - * @member {string} [status] Status of the Azure async operation. Possible + * @property {string} [status] Status of the Azure async operation. Possible * values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values * include: 'InProgress', 'Succeeded', 'Failed' - * @member {object} [error] - * @member {string} [error.code] - * @member {string} [error.message] - * @member {string} [error.target] - * @member {array} [error.details] - * @member {string} [error.innerError] + * @property {object} [error] + * @property {string} [error.code] + * @property {string} [error.message] + * @property {string} [error.target] + * @property {array} [error.details] + * @property {string} [error.innerError] */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/azureManagedOverrideRuleGroup.js b/lib/services/frontdoorManagement/lib/models/azureManagedOverrideRuleGroup.js index 57d51bc2ad..77bab5f9b7 100644 --- a/lib/services/frontdoorManagement/lib/models/azureManagedOverrideRuleGroup.js +++ b/lib/services/frontdoorManagement/lib/models/azureManagedOverrideRuleGroup.js @@ -17,10 +17,10 @@ class AzureManagedOverrideRuleGroup { /** * Create a AzureManagedOverrideRuleGroup. - * @member {string} ruleGroupOverride Describes overrideruleGroup. Possible - * values include: 'SqlInjection', 'XSS' - * @member {string} action Type of Actions. Possible values include: 'Allow', - * 'Block', 'Log' + * @property {string} ruleGroupOverride Describes override rule group. + * Possible values include: 'SqlInjection', 'XSS' + * @property {string} action Type of Actions. Possible values include: + * 'Allow', 'Block', 'Log' */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/azureManagedRuleSet.js b/lib/services/frontdoorManagement/lib/models/azureManagedRuleSet.js index 97b5305923..6c36f5b957 100644 --- a/lib/services/frontdoorManagement/lib/models/azureManagedRuleSet.js +++ b/lib/services/frontdoorManagement/lib/models/azureManagedRuleSet.js @@ -20,7 +20,7 @@ const models = require('./index'); class AzureManagedRuleSet extends models['ManagedRuleSet'] { /** * Create a AzureManagedRuleSet. - * @member {array} [ruleGroupOverrides] List of azure managed provider + * @property {array} [ruleGroupOverrides] List of azure managed provider * override configuration (optional) */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/backend.js b/lib/services/frontdoorManagement/lib/models/backend.js index a20e8a4083..9eb98025db 100644 --- a/lib/services/frontdoorManagement/lib/models/backend.js +++ b/lib/services/frontdoorManagement/lib/models/backend.js @@ -17,20 +17,20 @@ class Backend { /** * Create a Backend. - * @member {string} [address] Location of the backend (IP address or FQDN) - * @member {number} [httpPort] The HTTP TCP port number. Must be between 1 + * @property {string} [address] Location of the backend (IP address or FQDN) + * @property {number} [httpPort] The HTTP TCP port number. Must be between 1 * and 65535. - * @member {number} [httpsPort] The HTTPS TCP port number. Must be between 1 - * and 65535. - * @member {string} [enabledState] Whether to enable use of this backend. + * @property {number} [httpsPort] The HTTPS TCP port number. Must be between + * 1 and 65535. + * @property {string} [enabledState] Whether to enable use of this backend. * Permitted values are 'Enabled' or 'Disabled'. Possible values include: * 'Enabled', 'Disabled' - * @member {number} [priority] Priority to use for load balancing. Higher + * @property {number} [priority] Priority to use for load balancing. Higher * priorities will not be used for load balancing if any lower priority * backend is healthy. - * @member {number} [weight] Weight of this endpoint for load balancing + * @property {number} [weight] Weight of this endpoint for load balancing * purposes. - * @member {string} [backendHostHeader] The value to use as the host header + * @property {string} [backendHostHeader] The value to use as the host header * sent to the backend. If blank or unspecified, this defaults to the * incoming host. */ diff --git a/lib/services/frontdoorManagement/lib/models/backendPool.js b/lib/services/frontdoorManagement/lib/models/backendPool.js index f7ff8a02f2..5aeec2c638 100644 --- a/lib/services/frontdoorManagement/lib/models/backendPool.js +++ b/lib/services/frontdoorManagement/lib/models/backendPool.js @@ -20,17 +20,18 @@ const models = require('./index'); class BackendPool extends models['SubResource'] { /** * Create a BackendPool. - * @member {array} [backends] The set of backends for this pool - * @member {object} [loadBalancingSettings] Load balancing settings for a + * @property {array} [backends] The set of backends for this pool + * @property {object} [loadBalancingSettings] Load balancing settings for a * backend pool - * @member {string} [loadBalancingSettings.id] Resource ID. - * @member {object} [healthProbeSettings] L7 health probe settings for a + * @property {string} [loadBalancingSettings.id] Resource ID. + * @property {object} [healthProbeSettings] L7 health probe settings for a * backend pool - * @member {string} [healthProbeSettings.id] Resource ID. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {string} [healthProbeSettings.id] Resource ID. + * @property {string} [resourceState] Resource status. Possible values + * include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Deleting' + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/backendPoolListResult.js b/lib/services/frontdoorManagement/lib/models/backendPoolListResult.js index 4d77352f50..d1635bf6f5 100644 --- a/lib/services/frontdoorManagement/lib/models/backendPoolListResult.js +++ b/lib/services/frontdoorManagement/lib/models/backendPoolListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list Backend Pools. It contains a list of Backend - * Pools objects and a URL link to get the the next set of results. + * Pools objects and a URL link to get the next set of results. */ class BackendPoolListResult extends Array { /** * Create a BackendPoolListResult. - * @member {string} [nextLink] URL to get the next set of BackendPool objects - * if there are any. + * @property {string} [nextLink] URL to get the next set of BackendPool + * objects if there are any. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/backendPoolUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/backendPoolUpdateParameters.js index f812b39aa7..7c20bdc91d 100644 --- a/lib/services/frontdoorManagement/lib/models/backendPoolUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/backendPoolUpdateParameters.js @@ -17,13 +17,13 @@ class BackendPoolUpdateParameters { /** * Create a BackendPoolUpdateParameters. - * @member {array} [backends] The set of backends for this pool - * @member {object} [loadBalancingSettings] Load balancing settings for a + * @property {array} [backends] The set of backends for this pool + * @property {object} [loadBalancingSettings] Load balancing settings for a * backend pool - * @member {string} [loadBalancingSettings.id] Resource ID. - * @member {object} [healthProbeSettings] L7 health probe settings for a + * @property {string} [loadBalancingSettings.id] Resource ID. + * @property {object} [healthProbeSettings] L7 health probe settings for a * backend pool - * @member {string} [healthProbeSettings.id] Resource ID. + * @property {string} [healthProbeSettings.id] Resource ID. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/cacheConfiguration.js b/lib/services/frontdoorManagement/lib/models/cacheConfiguration.js index 198afe5622..36217493d2 100644 --- a/lib/services/frontdoorManagement/lib/models/cacheConfiguration.js +++ b/lib/services/frontdoorManagement/lib/models/cacheConfiguration.js @@ -18,10 +18,10 @@ class CacheConfiguration { /** * Create a CacheConfiguration. - * @member {string} [queryParameterStripDirective] Treatment of URL query + * @property {string} [queryParameterStripDirective] Treatment of URL query * terms when forming the cache key. Possible values include: 'StripNone', * 'StripAll' - * @member {string} [dynamicCompression] Whether to use dynamic compression + * @property {string} [dynamicCompression] Whether to use dynamic compression * for cached content. Possible values include: 'Enabled', 'Disabled' */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityInput.js b/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityInput.js index a3108083d2..a68f49cf36 100644 --- a/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityInput.js +++ b/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityInput.js @@ -17,8 +17,8 @@ class CheckNameAvailabilityInput { /** * Create a CheckNameAvailabilityInput. - * @member {string} name The resource name to validate. - * @member {string} type The type of the resource whose name is to be + * @property {string} name The resource name to validate. + * @property {string} type The type of the resource whose name is to be * validated. Possible values include: 'Microsoft.Network/frontDoors', * 'Microsoft.Network/frontDoors/frontendEndpoints' */ diff --git a/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityOutput.js b/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityOutput.js index 7699b34c79..dcc5696bc3 100644 --- a/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityOutput.js +++ b/lib/services/frontdoorManagement/lib/models/checkNameAvailabilityOutput.js @@ -17,10 +17,10 @@ class CheckNameAvailabilityOutput { /** * Create a CheckNameAvailabilityOutput. - * @member {string} [nameAvailability] Indicates whether the name is + * @property {string} [nameAvailability] Indicates whether the name is * available. Possible values include: 'Available', 'Unavailable' - * @member {string} [reason] The reason why the name is not available. - * @member {string} [message] The detailed error message describing why the + * @property {string} [reason] The reason why the name is not available. + * @property {string} [message] The detailed error message describing why the * name is not available. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/customHttpsConfiguration.js b/lib/services/frontdoorManagement/lib/models/customHttpsConfiguration.js index 6efe7fe9fe..4f6bec0b63 100644 --- a/lib/services/frontdoorManagement/lib/models/customHttpsConfiguration.js +++ b/lib/services/frontdoorManagement/lib/models/customHttpsConfiguration.js @@ -17,17 +17,18 @@ class CustomHttpsConfiguration { /** * Create a CustomHttpsConfiguration. - * @member {string} [certificateSource] Defines the source of the SSL + * @property {string} [certificateSource] Defines the source of the SSL * certificate. Possible values include: 'AzureKeyVault', 'FrontDoor' - * @member {string} [protocolType] Defines the TLS extension protocol that is - * used for secure delivery. Possible values include: 'ServerNameIndication' - * @member {object} [vault] The Key Vault containing the SSL certificate - * @member {string} [vault.id] Resource ID. - * @member {string} [secretName] The name of the Key Vault secret + * @property {string} [protocolType] Defines the TLS extension protocol that + * is used for secure delivery. Possible values include: + * 'ServerNameIndication' + * @property {object} [vault] The Key Vault containing the SSL certificate + * @property {string} [vault.id] Resource ID. + * @property {string} [secretName] The name of the Key Vault secret * representing the full certificate PFX - * @member {string} [secretVersion] The version of the Key Vault secret + * @property {string} [secretVersion] The version of the Key Vault secret * representing the full certificate PFX - * @member {string} [certificateType] Defines the type of the certificate + * @property {string} [certificateType] Defines the type of the certificate * used for secure connections to a frontendEndpoint. Possible values * include: 'Dedicated' */ diff --git a/lib/services/frontdoorManagement/lib/models/customRule.js b/lib/services/frontdoorManagement/lib/models/customRule.js index 1276b3f49a..ffc68b74fa 100644 --- a/lib/services/frontdoorManagement/lib/models/customRule.js +++ b/lib/services/frontdoorManagement/lib/models/customRule.js @@ -17,21 +17,21 @@ class CustomRule { /** * Create a CustomRule. - * @member {string} [name] Gets name of the resource that is unique within a - * policy. This name can be used to access the resource. - * @member {string} [etag] Gets a unique read-only string that changes + * @property {string} [name] Gets name of the resource that is unique within + * a policy. This name can be used to access the resource. + * @property {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. - * @member {number} priority Describes priority of the rule. Rules with a + * @property {number} priority Describes priority of the rule. Rules with a * lower value will be evaluated before rules with a higher value - * @member {string} ruleType Describes type of rule. Possible values include: - * 'MatchRule', 'RateLimitRule' - * @member {number} [rateLimitDurationInMinutes] Defines rate limit duration. - * Default - 1 minute - * @member {number} [rateLimitThreshold] Defines rate limit thresold - * @member {array} matchConditions List of match conditions - * @member {string} action Type of Actions. Possible values include: 'Allow', - * 'Block', 'Log' - * @member {array} [transforms] List of transforms + * @property {string} ruleType Describes type of rule. Possible values + * include: 'MatchRule', 'RateLimitRule' + * @property {number} [rateLimitDurationInMinutes] Defines rate limit + * duration. Default - 1 minute + * @property {number} [rateLimitThreshold] Defines rate limit threshold + * @property {array} matchConditions List of match conditions + * @property {string} action Type of Actions. Possible values include: + * 'Allow', 'Block', 'Log' + * @property {array} [transforms] List of transforms */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/customRules.js b/lib/services/frontdoorManagement/lib/models/customRules.js index 90cbc888df..2ba009138b 100644 --- a/lib/services/frontdoorManagement/lib/models/customRules.js +++ b/lib/services/frontdoorManagement/lib/models/customRules.js @@ -17,7 +17,7 @@ class CustomRules { /** * Create a CustomRules. - * @member {array} [rules] List of rules + * @property {array} [rules] List of rules */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/errorDetails.js b/lib/services/frontdoorManagement/lib/models/errorDetails.js index fcac88503a..7393f66139 100644 --- a/lib/services/frontdoorManagement/lib/models/errorDetails.js +++ b/lib/services/frontdoorManagement/lib/models/errorDetails.js @@ -16,9 +16,9 @@ class ErrorDetails { /** * Create a ErrorDetails. - * @member {string} [code] - * @member {string} [target] - * @member {string} [message] + * @property {string} [code] + * @property {string} [target] + * @property {string} [message] */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/errorModel.js b/lib/services/frontdoorManagement/lib/models/errorModel.js index 955cde1528..6ef42630b7 100644 --- a/lib/services/frontdoorManagement/lib/models/errorModel.js +++ b/lib/services/frontdoorManagement/lib/models/errorModel.js @@ -16,11 +16,11 @@ class ErrorModel { /** * Create a ErrorModel. - * @member {string} [code] - * @member {string} [message] - * @member {string} [target] - * @member {array} [details] - * @member {string} [innerError] + * @property {string} [code] + * @property {string} [message] + * @property {string} [target] + * @property {array} [details] + * @property {string} [innerError] */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/errorResponse.js b/lib/services/frontdoorManagement/lib/models/errorResponse.js index f7411b7340..7277f3bb5d 100644 --- a/lib/services/frontdoorManagement/lib/models/errorResponse.js +++ b/lib/services/frontdoorManagement/lib/models/errorResponse.js @@ -11,15 +11,15 @@ 'use strict'; /** - * Error reponse indicates Front Door service is not able to process the + * Error response indicates Front Door service is not able to process the * incoming request. The reason is provided in the error message. * */ class ErrorResponse { /** * Create a ErrorResponse. - * @member {string} [code] Error code. - * @member {string} [message] Error message indicating why the operation + * @property {string} [code] Error code. + * @property {string} [message] Error message indicating why the operation * failed. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/frontDoor.js b/lib/services/frontdoorManagement/lib/models/frontDoor.js index 90c3366037..371180f0fb 100644 --- a/lib/services/frontdoorManagement/lib/models/frontDoor.js +++ b/lib/services/frontdoorManagement/lib/models/frontDoor.js @@ -21,24 +21,25 @@ const models = require('./index'); class FrontDoor extends models['Resource'] { /** * Create a FrontDoor. - * @member {string} [friendlyName] A friendly name for the frontDoor - * @member {array} [routingRules] Routing rules associated with this Front + * @property {string} [friendlyName] A friendly name for the frontDoor + * @property {array} [routingRules] Routing rules associated with this Front * Door. - * @member {array} [loadBalancingSettings] Load balancing settings associated + * @property {array} [loadBalancingSettings] Load balancing settings + * associated with this Front Door instance. + * @property {array} [healthProbeSettings] Health probe settings associated * with this Front Door instance. - * @member {array} [healthProbeSettings] Health probe settings associated - * with this Front Door instance. - * @member {array} [backendPools] Backend pools available to routing rules. - * @member {array} [frontendEndpoints] Frontend endpoints available to + * @property {array} [backendPools] Backend pools available to routing rules. + * @property {array} [frontendEndpoints] Frontend endpoints available to * routing rules. - * @member {string} [enabledState] Operational status of the Front Door load - * balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values - * include: 'Enabled', 'Disabled' - * @member {string} [resourceState] Resource status of the Front Door. + * @property {string} [enabledState] Operational status of the Front Door + * load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible + * values include: 'Enabled', 'Disabled' + * @property {string} [resourceState] Resource status of the Front Door. * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', * 'Disabled', 'Deleting' - * @member {string} [provisioningState] Provisioning state of the Front Door. - * @member {string} [cname] The host that each frontendEndpoint must CNAME + * @property {string} [provisioningState] Provisioning state of the Front + * Door. + * @property {string} [cname] The host that each frontendEndpoint must CNAME * to. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/frontDoorListResult.js b/lib/services/frontdoorManagement/lib/models/frontDoorListResult.js index d719fd6e2e..7e24b70138 100644 --- a/lib/services/frontdoorManagement/lib/models/frontDoorListResult.js +++ b/lib/services/frontdoorManagement/lib/models/frontDoorListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list Front Doors. It contains a list of Front Door - * objects and a URL link to get the the next set of results. + * objects and a URL link to get the next set of results. */ class FrontDoorListResult extends Array { /** * Create a FrontDoorListResult. - * @member {string} [nextLink] URL to get the next set of Front Door objects - * if there are any. + * @property {string} [nextLink] URL to get the next set of Front Door + * objects if there are any. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/frontDoorUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/frontDoorUpdateParameters.js index f6dd2a0426..9fc5dcd53a 100644 --- a/lib/services/frontdoorManagement/lib/models/frontDoorUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/frontDoorUpdateParameters.js @@ -17,19 +17,19 @@ class FrontDoorUpdateParameters { /** * Create a FrontDoorUpdateParameters. - * @member {string} [friendlyName] A friendly name for the frontDoor - * @member {array} [routingRules] Routing rules associated with this Front + * @property {string} [friendlyName] A friendly name for the frontDoor + * @property {array} [routingRules] Routing rules associated with this Front * Door. - * @member {array} [loadBalancingSettings] Load balancing settings associated + * @property {array} [loadBalancingSettings] Load balancing settings + * associated with this Front Door instance. + * @property {array} [healthProbeSettings] Health probe settings associated * with this Front Door instance. - * @member {array} [healthProbeSettings] Health probe settings associated - * with this Front Door instance. - * @member {array} [backendPools] Backend pools available to routing rules. - * @member {array} [frontendEndpoints] Frontend endpoints available to + * @property {array} [backendPools] Backend pools available to routing rules. + * @property {array} [frontendEndpoints] Frontend endpoints available to * routing rules. - * @member {string} [enabledState] Operational status of the Front Door load - * balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values - * include: 'Enabled', 'Disabled' + * @property {string} [enabledState] Operational status of the Front Door + * load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible + * values include: 'Enabled', 'Disabled' */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/frontendEndpoint.js b/lib/services/frontdoorManagement/lib/models/frontendEndpoint.js index d4cd4f4d82..eb8df59aea 100644 --- a/lib/services/frontdoorManagement/lib/models/frontendEndpoint.js +++ b/lib/services/frontdoorManagement/lib/models/frontendEndpoint.js @@ -20,22 +20,23 @@ const models = require('./index'); class FrontendEndpoint extends models['SubResource'] { /** * Create a FrontendEndpoint. - * @member {string} [hostName] The host name of the frontendEndpoint. Must be - * a domain name. - * @member {string} [sessionAffinityEnabledState] Whether to allow session + * @property {string} [hostName] The host name of the frontendEndpoint. Must + * be a domain name. + * @property {string} [sessionAffinityEnabledState] Whether to allow session * affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible * values include: 'Enabled', 'Disabled' - * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be + * @property {number} [sessionAffinityTtlSeconds] UNUSED. This field will be * ignored. The TTL to use in seconds for session affinity, if applicable. - * @member {object} [webApplicationFirewallPolicyLink] Defines the Web + * @property {object} [webApplicationFirewallPolicyLink] Defines the Web * Application Firewall policy for each host (if applicable) - * @member {string} [webApplicationFirewallPolicyLink.id] Resource ID. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [customHttpsProvisioningState] Provisioning status of + * @property {string} [webApplicationFirewallPolicyLink.id] Resource ID. + * @property {string} [resourceState] Resource status. Possible values + * include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Deleting' + * @property {string} [customHttpsProvisioningState] Provisioning status of * Custom Https of the frontendEndpoint. Possible values include: 'Enabling', * 'Enabled', 'Disabling', 'Disabled', 'Failed' - * @member {string} [customHttpsProvisioningSubstate] Provisioning substate + * @property {string} [customHttpsProvisioningSubstate] Provisioning substate * shows the progress of custom HTTPS enabling/disabling process step by * step. Possible values include: 'SubmittingDomainControlValidationRequest', * 'PendingDomainControlValidationREquestApproval', @@ -44,26 +45,26 @@ class FrontendEndpoint extends models['SubResource'] { * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', * 'CertificateDeleted' - * @member {object} [customHttpsConfiguration] The configuration specifying + * @property {object} [customHttpsConfiguration] The configuration specifying * how to enable HTTPS - * @member {string} [customHttpsConfiguration.certificateSource] Defines the - * source of the SSL certificate. Possible values include: 'AzureKeyVault', - * 'FrontDoor' - * @member {string} [customHttpsConfiguration.protocolType] Defines the TLS + * @property {string} [customHttpsConfiguration.certificateSource] Defines + * the source of the SSL certificate. Possible values include: + * 'AzureKeyVault', 'FrontDoor' + * @property {string} [customHttpsConfiguration.protocolType] Defines the TLS * extension protocol that is used for secure delivery. Possible values * include: 'ServerNameIndication' - * @member {object} [customHttpsConfiguration.vault] The Key Vault containing - * the SSL certificate - * @member {string} [customHttpsConfiguration.vault.id] Resource ID. - * @member {string} [customHttpsConfiguration.secretName] The name of the Key - * Vault secret representing the full certificate PFX - * @member {string} [customHttpsConfiguration.secretVersion] The version of + * @property {object} [customHttpsConfiguration.vault] The Key Vault + * containing the SSL certificate + * @property {string} [customHttpsConfiguration.vault.id] Resource ID. + * @property {string} [customHttpsConfiguration.secretName] The name of the + * Key Vault secret representing the full certificate PFX + * @property {string} [customHttpsConfiguration.secretVersion] The version of * the Key Vault secret representing the full certificate PFX - * @member {string} [customHttpsConfiguration.certificateType] Defines the + * @property {string} [customHttpsConfiguration.certificateType] Defines the * type of the certificate used for secure connections to a frontendEndpoint. * Possible values include: 'Dedicated' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParameters.js index 4661f6aed1..cb81e5faca 100644 --- a/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParameters.js @@ -17,16 +17,16 @@ class FrontendEndpointUpdateParameters { /** * Create a FrontendEndpointUpdateParameters. - * @member {string} [hostName] The host name of the frontendEndpoint. Must be - * a domain name. - * @member {string} [sessionAffinityEnabledState] Whether to allow session + * @property {string} [hostName] The host name of the frontendEndpoint. Must + * be a domain name. + * @property {string} [sessionAffinityEnabledState] Whether to allow session * affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible * values include: 'Enabled', 'Disabled' - * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be + * @property {number} [sessionAffinityTtlSeconds] UNUSED. This field will be * ignored. The TTL to use in seconds for session affinity, if applicable. - * @member {object} [webApplicationFirewallPolicyLink] Defines the Web + * @property {object} [webApplicationFirewallPolicyLink] Defines the Web * Application Firewall policy for each host (if applicable) - * @member {string} [webApplicationFirewallPolicyLink.id] Resource ID. + * @property {string} [webApplicationFirewallPolicyLink.id] Resource ID. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.js b/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.js index 3fa1e51455..17f6c065ec 100644 --- a/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.js +++ b/lib/services/frontdoorManagement/lib/models/frontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.js @@ -17,7 +17,7 @@ class FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink { /** * Create a FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink. - * @member {string} [id] Resource ID. + * @property {string} [id] Resource ID. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/frontendEndpointsListResult.js b/lib/services/frontdoorManagement/lib/models/frontendEndpointsListResult.js index 381bdce9c5..3c9a9b8d6d 100644 --- a/lib/services/frontdoorManagement/lib/models/frontendEndpointsListResult.js +++ b/lib/services/frontdoorManagement/lib/models/frontendEndpointsListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list frontend endpoints. It contains a list of - * Frontend endpoint objects and a URL link to get the the next set of results. + * Frontend endpoint objects and a URL link to get the next set of results. */ class FrontendEndpointsListResult extends Array { /** * Create a FrontendEndpointsListResult. - * @member {string} [nextLink] URL to get the next set of frontend endpoints - * if there are any. + * @property {string} [nextLink] URL to get the next set of frontend + * endpoints if there are any. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsListResult.js b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsListResult.js index 6449669558..926ec93975 100644 --- a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsListResult.js +++ b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsListResult.js @@ -12,14 +12,13 @@ /** * Result of the request to list HealthProbeSettings. It contains a list of - * HealthProbeSettings objects and a URL link to get the the next set of - * results. + * HealthProbeSettings objects and a URL link to get the next set of results. */ class HealthProbeSettingsListResult extends Array { /** * Create a HealthProbeSettingsListResult. - * @member {string} [nextLink] URL to get the next set of HealthProbeSettings - * objects if there are any. + * @property {string} [nextLink] URL to get the next set of + * HealthProbeSettings objects if there are any. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsModel.js b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsModel.js index 551e3d35b2..ce2068c453 100644 --- a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsModel.js +++ b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsModel.js @@ -20,15 +20,17 @@ const models = require('./index'); class HealthProbeSettingsModel extends models['SubResource'] { /** * Create a HealthProbeSettingsModel. - * @member {string} [path] The path to use for the health probe. Default is / - * @member {string} [protocol] Protocol scheme to use for this probe. + * @property {string} [path] The path to use for the health probe. Default is + * / + * @property {string} [protocol] Protocol scheme to use for this probe. * Possible values include: 'Http', 'Https' - * @member {number} [intervalInSeconds] The number of seconds between health - * probes. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {number} [intervalInSeconds] The number of seconds between + * health probes. + * @property {string} [resourceState] Resource status. Possible values + * include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Deleting' + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsUpdateParameters.js index 6c87904add..b526599c9d 100644 --- a/lib/services/frontdoorManagement/lib/models/healthProbeSettingsUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/healthProbeSettingsUpdateParameters.js @@ -17,11 +17,12 @@ class HealthProbeSettingsUpdateParameters { /** * Create a HealthProbeSettingsUpdateParameters. - * @member {string} [path] The path to use for the health probe. Default is / - * @member {string} [protocol] Protocol scheme to use for this probe. + * @property {string} [path] The path to use for the health probe. Default is + * / + * @property {string} [protocol] Protocol scheme to use for this probe. * Possible values include: 'Http', 'Https' - * @member {number} [intervalInSeconds] The number of seconds between health - * probes. + * @property {number} [intervalInSeconds] The number of seconds between + * health probes. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/index.d.ts b/lib/services/frontdoorManagement/lib/models/index.d.ts index 78bf28e1b7..41b301bb15 100644 --- a/lib/services/frontdoorManagement/lib/models/index.d.ts +++ b/lib/services/frontdoorManagement/lib/models/index.d.ts @@ -1,656 +1,661 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { BaseResource } from 'ms-rest-azure'; -import { CloudError } from 'ms-rest-azure'; -import * as moment from 'moment'; +import { BaseResource, CloudError } from "ms-rest-azure"; +import * as moment from "moment"; -export { BaseResource } from 'ms-rest-azure'; -export { CloudError } from 'ms-rest-azure'; +export { + BaseResource, + CloudError +}; /** - * @class - * Initializes a new instance of the Resource class. - * @constructor * Common resource representation. - * - * @member {string} [id] Resource ID. - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. - * @member {string} [location] Resource location. - * @member {object} [tags] Resource tags. */ export interface Resource extends BaseResource { + /** + * Resource ID. + */ readonly id?: string; + /** + * Resource name. + */ readonly name?: string; + /** + * Resource type. + */ readonly type?: string; + /** + * Resource location. + */ location?: string; + /** + * Resource tags. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the FrontDoor class. - * @constructor - * Front Door represents a collection of backend endpoints to route traffic to - * along with rules that specify how traffic is sent there. - * - * @member {string} [friendlyName] A friendly name for the frontDoor - * @member {array} [routingRules] Routing rules associated with this Front - * Door. - * @member {array} [loadBalancingSettings] Load balancing settings associated - * with this Front Door instance. - * @member {array} [healthProbeSettings] Health probe settings associated with - * this Front Door instance. - * @member {array} [backendPools] Backend pools available to routing rules. - * @member {array} [frontendEndpoints] Frontend endpoints available to routing - * rules. - * @member {string} [enabledState] Operational status of the Front Door load - * balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values - * include: 'Enabled', 'Disabled' - * @member {string} [resourceState] Resource status of the Front Door. Possible - * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Deleting' - * @member {string} [provisioningState] Provisioning state of the Front Door. - * @member {string} [cname] The host that each frontendEndpoint must CNAME to. + * Front Door represents a collection of backend endpoints to route traffic to along with rules + * that specify how traffic is sent there. */ export interface FrontDoor extends Resource { + /** + * A friendly name for the frontDoor + */ friendlyName?: string; + /** + * Routing rules associated with this Front Door. + */ routingRules?: RoutingRule[]; + /** + * Load balancing settings associated with this Front Door instance. + */ loadBalancingSettings?: LoadBalancingSettingsModel[]; + /** + * Health probe settings associated with this Front Door instance. + */ healthProbeSettings?: HealthProbeSettingsModel[]; + /** + * Backend pools available to routing rules. + */ backendPools?: BackendPool[]; + /** + * Frontend endpoints available to routing rules. + */ frontendEndpoints?: FrontendEndpoint[]; + /** + * Operational status of the Front Door load balancer. Permitted values are 'Enabled' or + * 'Disabled'. Possible values include: 'Enabled', 'Disabled' + */ enabledState?: string; + /** + * Resource status of the Front Door. Possible values include: 'Creating', 'Enabling', 'Enabled', + * 'Disabling', 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Provisioning state of the Front Door. + */ readonly provisioningState?: string; + /** + * The host that each frontendEndpoint must CNAME to. + */ readonly cname?: string; } /** - * @class - * Initializes a new instance of the SubResource class. - * @constructor * Reference to another subresource. - * - * @member {string} [id] Resource ID. */ export interface SubResource extends BaseResource { + /** + * Resource ID. + */ id?: string; } /** - * @class - * Initializes a new instance of the RoutingRule class. - * @constructor - * A routing rule represents a specification for traffic to treat and where to - * send it, along with health probe information. - * - * @member {array} [frontendEndpoints] Frontend endpoints associated with this - * rule - * @member {array} [acceptedProtocols] Protocol schemes to match for this rule - * @member {array} [patternsToMatch] The route patterns of the rule. - * @member {string} [customForwardingPath] A custom path used to rewrite - * resource paths matched by this rule. Leave empty to use incoming path. - * @member {string} [forwardingProtocol] Protocol this rule will use when - * forwarding traffic to backends. Possible values include: 'HttpOnly', - * 'HttpsOnly', 'MatchRequest' - * @member {object} [cacheConfiguration] The caching configuration associated - * with this rule. - * @member {string} [cacheConfiguration.queryParameterStripDirective] Treatment - * of URL query terms when forming the cache key. Possible values include: - * 'StripNone', 'StripAll' - * @member {string} [cacheConfiguration.dynamicCompression] Whether to use - * dynamic compression for cached content. Possible values include: 'Enabled', - * 'Disabled' - * @member {object} [backendPool] A reference to the BackendPool which this - * rule routes to. - * @member {string} [backendPool.id] Resource ID. - * @member {string} [enabledState] Whether to enable use of this rule. - * Permitted values are 'Enabled' or 'Disabled'. Possible values include: - * 'Enabled', 'Disabled' - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * A routing rule represents a specification for traffic to treat and where to send it, along with + * health probe information. */ export interface RoutingRule extends SubResource { + /** + * Frontend endpoints associated with this rule + */ frontendEndpoints?: SubResource[]; + /** + * Protocol schemes to match for this rule + */ acceptedProtocols?: string[]; + /** + * The route patterns of the rule. + */ patternsToMatch?: string[]; + /** + * A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming + * path. + */ customForwardingPath?: string; + /** + * Protocol this rule will use when forwarding traffic to backends. Possible values include: + * 'HttpOnly', 'HttpsOnly', 'MatchRequest' + */ forwardingProtocol?: string; + /** + * The caching configuration associated with this rule. + */ cacheConfiguration?: CacheConfiguration; + /** + * A reference to the BackendPool which this rule routes to. + */ backendPool?: SubResource; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible + * values include: 'Enabled', 'Disabled' + */ enabledState?: string; + /** + * Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Resource name. + */ name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the LoadBalancingSettingsModel class. - * @constructor * Load balancing settings for a backend pool - * - * @member {number} [sampleSize] The number of samples to consider for load - * balancing decisions - * @member {number} [successfulSamplesRequired] The number of samples within - * the sample period that must succeed - * @member {number} [additionalLatencyMilliseconds] The additional latency in - * milliseconds for probes to fall into the lowest latency bucket - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface LoadBalancingSettingsModel extends SubResource { + /** + * The number of samples to consider for load balancing decisions + */ sampleSize?: number; + /** + * The number of samples within the sample period that must succeed + */ successfulSamplesRequired?: number; + /** + * The additional latency in milliseconds for probes to fall into the lowest latency bucket + */ additionalLatencyMilliseconds?: number; + /** + * Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Resource name. + */ name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the HealthProbeSettingsModel class. - * @constructor * Load balancing settings for a backend pool - * - * @member {string} [path] The path to use for the health probe. Default is / - * @member {string} [protocol] Protocol scheme to use for this probe. Possible - * values include: 'Http', 'Https' - * @member {number} [intervalInSeconds] The number of seconds between health - * probes. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface HealthProbeSettingsModel extends SubResource { + /** + * The path to use for the health probe. Default is / + */ path?: string; + /** + * Protocol scheme to use for this probe. Possible values include: 'Http', 'Https' + */ protocol?: string; + /** + * The number of seconds between health probes. + */ intervalInSeconds?: number; + /** + * Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Resource name. + */ name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the BackendPool class. - * @constructor * A backend pool is a collection of backends that can be routed to. - * - * @member {array} [backends] The set of backends for this pool - * @member {object} [loadBalancingSettings] Load balancing settings for a - * backend pool - * @member {string} [loadBalancingSettings.id] Resource ID. - * @member {object} [healthProbeSettings] L7 health probe settings for a - * backend pool - * @member {string} [healthProbeSettings.id] Resource ID. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface BackendPool extends SubResource { + /** + * The set of backends for this pool + */ backends?: Backend[]; + /** + * Load balancing settings for a backend pool + */ loadBalancingSettings?: SubResource; + /** + * L7 health probe settings for a backend pool + */ healthProbeSettings?: SubResource; + /** + * Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Resource name. + */ name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the KeyVaultCertificateSourceParametersVault class. - * @constructor * The Key Vault containing the SSL certificate - * - * @member {string} [id] Resource ID. */ export interface KeyVaultCertificateSourceParametersVault { + /** + * Resource ID. + */ id?: string; } /** - * @class - * Initializes a new instance of the CustomHttpsConfiguration class. - * @constructor * Https settings for a domain - * - * @member {string} [certificateSource] Defines the source of the SSL - * certificate. Possible values include: 'AzureKeyVault', 'FrontDoor' - * @member {string} [protocolType] Defines the TLS extension protocol that is - * used for secure delivery. Possible values include: 'ServerNameIndication' - * @member {object} [vault] The Key Vault containing the SSL certificate - * @member {string} [vault.id] Resource ID. - * @member {string} [secretName] The name of the Key Vault secret representing - * the full certificate PFX - * @member {string} [secretVersion] The version of the Key Vault secret - * representing the full certificate PFX - * @member {string} [certificateType] Defines the type of the certificate used - * for secure connections to a frontendEndpoint. Possible values include: - * 'Dedicated' */ export interface CustomHttpsConfiguration { + /** + * Defines the source of the SSL certificate. Possible values include: 'AzureKeyVault', + * 'FrontDoor' + */ certificateSource?: string; + /** + * Defines the TLS extension protocol that is used for secure delivery. Possible values include: + * 'ServerNameIndication' + */ protocolType?: string; + /** + * The Key Vault containing the SSL certificate + */ vault?: KeyVaultCertificateSourceParametersVault; + /** + * The name of the Key Vault secret representing the full certificate PFX + */ secretName?: string; + /** + * The version of the Key Vault secret representing the full certificate PFX + */ secretVersion?: string; + /** + * Defines the type of the certificate used for secure connections to a frontendEndpoint. + * Possible values include: 'Dedicated' + */ certificateType?: string; } /** - * @class - * Initializes a new instance of the FrontendEndpoint class. - * @constructor * A frontend endpoint used for routing. - * - * @member {string} [hostName] The host name of the frontendEndpoint. Must be a - * domain name. - * @member {string} [sessionAffinityEnabledState] Whether to allow session - * affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible - * values include: 'Enabled', 'Disabled' - * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be - * ignored. The TTL to use in seconds for session affinity, if applicable. - * @member {object} [webApplicationFirewallPolicyLink] Defines the Web - * Application Firewall policy for each host (if applicable) - * @member {string} [webApplicationFirewallPolicyLink.id] Resource ID. - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [customHttpsProvisioningState] Provisioning status of - * Custom Https of the frontendEndpoint. Possible values include: 'Enabling', - * 'Enabled', 'Disabling', 'Disabled', 'Failed' - * @member {string} [customHttpsProvisioningSubstate] Provisioning substate - * shows the progress of custom HTTPS enabling/disabling process step by step. - * Possible values include: 'SubmittingDomainControlValidationRequest', - * 'PendingDomainControlValidationREquestApproval', - * 'DomainControlValidationRequestApproved', - * 'DomainControlValidationRequestRejected', - * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', - * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', - * 'CertificateDeleted' - * @member {object} [customHttpsConfiguration] The configuration specifying how - * to enable HTTPS - * @member {string} [customHttpsConfiguration.certificateSource] Defines the - * source of the SSL certificate. Possible values include: 'AzureKeyVault', - * 'FrontDoor' - * @member {string} [customHttpsConfiguration.protocolType] Defines the TLS - * extension protocol that is used for secure delivery. Possible values - * include: 'ServerNameIndication' - * @member {object} [customHttpsConfiguration.vault] The Key Vault containing - * the SSL certificate - * @member {string} [customHttpsConfiguration.vault.id] Resource ID. - * @member {string} [customHttpsConfiguration.secretName] The name of the Key - * Vault secret representing the full certificate PFX - * @member {string} [customHttpsConfiguration.secretVersion] The version of the - * Key Vault secret representing the full certificate PFX - * @member {string} [customHttpsConfiguration.certificateType] Defines the type - * of the certificate used for secure connections to a frontendEndpoint. - * Possible values include: 'Dedicated' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface FrontendEndpoint extends SubResource { + /** + * The host name of the frontendEndpoint. Must be a domain name. + */ hostName?: string; + /** + * Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. + * Possible values include: 'Enabled', 'Disabled' + */ sessionAffinityEnabledState?: string; + /** + * UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if + * applicable. + */ sessionAffinityTtlSeconds?: number; + /** + * Defines the Web Application Firewall policy for each host (if applicable) + */ webApplicationFirewallPolicyLink?: FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink; + /** + * Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ resourceState?: string; + /** + * Provisioning status of Custom Https of the frontendEndpoint. Possible values include: + * 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' + */ readonly customHttpsProvisioningState?: string; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by + * step. Possible values include: 'SubmittingDomainControlValidationRequest', + * 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', + * 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', + * 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', + * 'CertificateDeleted' + */ readonly customHttpsProvisioningSubstate?: string; + /** + * The configuration specifying how to enable HTTPS + */ readonly customHttpsConfiguration?: CustomHttpsConfiguration; + /** + * Resource name. + */ name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the FrontDoorUpdateParameters class. - * @constructor * The properties needed to update a Front Door - * - * @member {string} [friendlyName] A friendly name for the frontDoor - * @member {array} [routingRules] Routing rules associated with this Front - * Door. - * @member {array} [loadBalancingSettings] Load balancing settings associated - * with this Front Door instance. - * @member {array} [healthProbeSettings] Health probe settings associated with - * this Front Door instance. - * @member {array} [backendPools] Backend pools available to routing rules. - * @member {array} [frontendEndpoints] Frontend endpoints available to routing - * rules. - * @member {string} [enabledState] Operational status of the Front Door load - * balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values - * include: 'Enabled', 'Disabled' */ export interface FrontDoorUpdateParameters { + /** + * A friendly name for the frontDoor + */ friendlyName?: string; + /** + * Routing rules associated with this Front Door. + */ routingRules?: RoutingRule[]; + /** + * Load balancing settings associated with this Front Door instance. + */ loadBalancingSettings?: LoadBalancingSettingsModel[]; + /** + * Health probe settings associated with this Front Door instance. + */ healthProbeSettings?: HealthProbeSettingsModel[]; + /** + * Backend pools available to routing rules. + */ backendPools?: BackendPool[]; + /** + * Frontend endpoints available to routing rules. + */ frontendEndpoints?: FrontendEndpoint[]; + /** + * Operational status of the Front Door load balancer. Permitted values are 'Enabled' or + * 'Disabled'. Possible values include: 'Enabled', 'Disabled' + */ enabledState?: string; } /** - * @class - * Initializes a new instance of the PurgeParameters class. - * @constructor * Parameters required for content purge. - * - * @member {array} contentPaths The path to the content to be purged. Can - * describe a file path or a wild card directory. */ export interface PurgeParameters { + /** + * The path to the content to be purged. Can describe a file path or a wild card directory. + */ contentPaths: string[]; } /** - * @class - * Initializes a new instance of the CacheConfiguration class. - * @constructor - * Caching settings for a caching-type route. To disable caching, do not - * provide a cacheConfiguration object. - * - * @member {string} [queryParameterStripDirective] Treatment of URL query terms - * when forming the cache key. Possible values include: 'StripNone', 'StripAll' - * @member {string} [dynamicCompression] Whether to use dynamic compression for - * cached content. Possible values include: 'Enabled', 'Disabled' + * Caching settings for a caching-type route. To disable caching, do not provide a + * cacheConfiguration object. */ export interface CacheConfiguration { + /** + * Treatment of URL query terms when forming the cache key. Possible values include: 'StripNone', + * 'StripAll' + */ queryParameterStripDirective?: string; + /** + * Whether to use dynamic compression for cached content. Possible values include: 'Enabled', + * 'Disabled' + */ dynamicCompression?: string; } /** - * @class - * Initializes a new instance of the RoutingRuleUpdateParameters class. - * @constructor * Routing rules to apply to an endpoint - * - * @member {array} [frontendEndpoints] Frontend endpoints associated with this - * rule - * @member {array} [acceptedProtocols] Protocol schemes to match for this rule - * @member {array} [patternsToMatch] The route patterns of the rule. - * @member {string} [customForwardingPath] A custom path used to rewrite - * resource paths matched by this rule. Leave empty to use incoming path. - * @member {string} [forwardingProtocol] Protocol this rule will use when - * forwarding traffic to backends. Possible values include: 'HttpOnly', - * 'HttpsOnly', 'MatchRequest' - * @member {object} [cacheConfiguration] The caching configuration associated - * with this rule. - * @member {string} [cacheConfiguration.queryParameterStripDirective] Treatment - * of URL query terms when forming the cache key. Possible values include: - * 'StripNone', 'StripAll' - * @member {string} [cacheConfiguration.dynamicCompression] Whether to use - * dynamic compression for cached content. Possible values include: 'Enabled', - * 'Disabled' - * @member {object} [backendPool] A reference to the BackendPool which this - * rule routes to. - * @member {string} [backendPool.id] Resource ID. - * @member {string} [enabledState] Whether to enable use of this rule. - * Permitted values are 'Enabled' or 'Disabled'. Possible values include: - * 'Enabled', 'Disabled' */ export interface RoutingRuleUpdateParameters { + /** + * Frontend endpoints associated with this rule + */ frontendEndpoints?: SubResource[]; + /** + * Protocol schemes to match for this rule + */ acceptedProtocols?: string[]; + /** + * The route patterns of the rule. + */ patternsToMatch?: string[]; + /** + * A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming + * path. + */ customForwardingPath?: string; + /** + * Protocol this rule will use when forwarding traffic to backends. Possible values include: + * 'HttpOnly', 'HttpsOnly', 'MatchRequest' + */ forwardingProtocol?: string; + /** + * The caching configuration associated with this rule. + */ cacheConfiguration?: CacheConfiguration; + /** + * A reference to the BackendPool which this rule routes to. + */ backendPool?: SubResource; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible + * values include: 'Enabled', 'Disabled' + */ enabledState?: string; } /** - * @class - * Initializes a new instance of the Backend class. - * @constructor * Backend address of a frontDoor load balancer. - * - * @member {string} [address] Location of the backend (IP address or FQDN) - * @member {number} [httpPort] The HTTP TCP port number. Must be between 1 and - * 65535. - * @member {number} [httpsPort] The HTTPS TCP port number. Must be between 1 - * and 65535. - * @member {string} [enabledState] Whether to enable use of this backend. - * Permitted values are 'Enabled' or 'Disabled'. Possible values include: - * 'Enabled', 'Disabled' - * @member {number} [priority] Priority to use for load balancing. Higher - * priorities will not be used for load balancing if any lower priority backend - * is healthy. - * @member {number} [weight] Weight of this endpoint for load balancing - * purposes. - * @member {string} [backendHostHeader] The value to use as the host header - * sent to the backend. If blank or unspecified, this defaults to the incoming - * host. */ export interface Backend { + /** + * Location of the backend (IP address or FQDN) + */ address?: string; + /** + * The HTTP TCP port number. Must be between 1 and 65535. + */ httpPort?: number; + /** + * The HTTPS TCP port number. Must be between 1 and 65535. + */ httpsPort?: number; + /** + * Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'. Possible + * values include: 'Enabled', 'Disabled' + */ enabledState?: string; + /** + * Priority to use for load balancing. Higher priorities will not be used for load balancing if + * any lower priority backend is healthy. + */ priority?: number; + /** + * Weight of this endpoint for load balancing purposes. + */ weight?: number; + /** + * The value to use as the host header sent to the backend. If blank or unspecified, this + * defaults to the incoming host. + */ backendHostHeader?: string; } /** - * @class - * Initializes a new instance of the LoadBalancingSettingsUpdateParameters class. - * @constructor * Round-Robin load balancing settings for a backend pool - * - * @member {number} [sampleSize] The number of samples to consider for load - * balancing decisions - * @member {number} [successfulSamplesRequired] The number of samples within - * the sample period that must succeed - * @member {number} [additionalLatencyMilliseconds] The additional latency in - * milliseconds for probes to fall into the lowest latency bucket */ export interface LoadBalancingSettingsUpdateParameters { + /** + * The number of samples to consider for load balancing decisions + */ sampleSize?: number; + /** + * The number of samples within the sample period that must succeed + */ successfulSamplesRequired?: number; + /** + * The additional latency in milliseconds for probes to fall into the lowest latency bucket + */ additionalLatencyMilliseconds?: number; } /** - * @class - * Initializes a new instance of the HealthProbeSettingsUpdateParameters class. - * @constructor * L7 health probe settings for a backend pool - * - * @member {string} [path] The path to use for the health probe. Default is / - * @member {string} [protocol] Protocol scheme to use for this probe. Possible - * values include: 'Http', 'Https' - * @member {number} [intervalInSeconds] The number of seconds between health - * probes. */ export interface HealthProbeSettingsUpdateParameters { + /** + * The path to use for the health probe. Default is / + */ path?: string; + /** + * Protocol scheme to use for this probe. Possible values include: 'Http', 'Https' + */ protocol?: string; + /** + * The number of seconds between health probes. + */ intervalInSeconds?: number; } /** - * @class - * Initializes a new instance of the BackendPoolUpdateParameters class. - * @constructor * A collection of backends that can be routed to. - * - * @member {array} [backends] The set of backends for this pool - * @member {object} [loadBalancingSettings] Load balancing settings for a - * backend pool - * @member {string} [loadBalancingSettings.id] Resource ID. - * @member {object} [healthProbeSettings] L7 health probe settings for a - * backend pool - * @member {string} [healthProbeSettings.id] Resource ID. */ export interface BackendPoolUpdateParameters { + /** + * The set of backends for this pool + */ backends?: Backend[]; + /** + * Load balancing settings for a backend pool + */ loadBalancingSettings?: SubResource; + /** + * L7 health probe settings for a backend pool + */ healthProbeSettings?: SubResource; } /** - * @class - * Initializes a new instance of the FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink class. - * @constructor * Defines the Web Application Firewall policy for each host (if applicable) - * - * @member {string} [id] Resource ID. */ export interface FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink { + /** + * Resource ID. + */ id?: string; } /** - * @class - * Initializes a new instance of the FrontendEndpointUpdateParameters class. - * @constructor * Frontend endpoint used in routing rule - * - * @member {string} [hostName] The host name of the frontendEndpoint. Must be a - * domain name. - * @member {string} [sessionAffinityEnabledState] Whether to allow session - * affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible - * values include: 'Enabled', 'Disabled' - * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be - * ignored. The TTL to use in seconds for session affinity, if applicable. - * @member {object} [webApplicationFirewallPolicyLink] Defines the Web - * Application Firewall policy for each host (if applicable) - * @member {string} [webApplicationFirewallPolicyLink.id] Resource ID. */ export interface FrontendEndpointUpdateParameters { + /** + * The host name of the frontendEndpoint. Must be a domain name. + */ hostName?: string; + /** + * Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. + * Possible values include: 'Enabled', 'Disabled' + */ sessionAffinityEnabledState?: string; + /** + * UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if + * applicable. + */ sessionAffinityTtlSeconds?: number; + /** + * Defines the Web Application Firewall policy for each host (if applicable) + */ webApplicationFirewallPolicyLink?: FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink; } /** - * @class - * Initializes a new instance of the ValidateCustomDomainInput class. - * @constructor * Input of the custom domain to be validated for DNS mapping. - * - * @member {string} hostName The host name of the custom domain. Must be a - * domain name. */ export interface ValidateCustomDomainInput { + /** + * The host name of the custom domain. Must be a domain name. + */ hostName: string; } /** - * @class - * Initializes a new instance of the ValidateCustomDomainOutput class. - * @constructor * Output of custom domain validation. - * - * @member {boolean} [customDomainValidated] Indicates whether the custom - * domain is valid or not. - * @member {string} [reason] The reason why the custom domain is not valid. - * @member {string} [message] Error message describing why the custom domain is - * not valid. */ export interface ValidateCustomDomainOutput { + /** + * Indicates whether the custom domain is valid or not. + */ readonly customDomainValidated?: boolean; + /** + * The reason why the custom domain is not valid. + */ readonly reason?: string; + /** + * Error message describing why the custom domain is not valid. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the ErrorResponse class. - * @constructor - * Error reponse indicates Front Door service is not able to process the - * incoming request. The reason is provided in the error message. - * - * @member {string} [code] Error code. - * @member {string} [message] Error message indicating why the operation - * failed. + * Error response indicates Front Door service is not able to process the incoming request. The + * reason is provided in the error message. */ export interface ErrorResponse { + /** + * Error code. + */ readonly code?: string; + /** + * Error message indicating why the operation failed. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityInput class. - * @constructor * Input of CheckNameAvailability API. - * - * @member {string} name The resource name to validate. - * @member {string} type The type of the resource whose name is to be - * validated. Possible values include: 'Microsoft.Network/frontDoors', - * 'Microsoft.Network/frontDoors/frontendEndpoints' */ export interface CheckNameAvailabilityInput { + /** + * The resource name to validate. + */ name: string; + /** + * The type of the resource whose name is to be validated. Possible values include: + * 'Microsoft.Network/frontDoors', 'Microsoft.Network/frontDoors/frontendEndpoints' + */ type: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityOutput class. - * @constructor * Output of check name availability API. - * - * @member {string} [nameAvailability] Indicates whether the name is available. - * Possible values include: 'Available', 'Unavailable' - * @member {string} [reason] The reason why the name is not available. - * @member {string} [message] The detailed error message describing why the - * name is not available. */ export interface CheckNameAvailabilityOutput { + /** + * Indicates whether the name is available. Possible values include: 'Available', 'Unavailable' + */ readonly nameAvailability?: string; + /** + * The reason why the name is not available. + */ readonly reason?: string; + /** + * The detailed error message describing why the name is not available. + */ readonly message?: string; } -/** - * @class - * Initializes a new instance of the ErrorDetails class. - * @constructor - * @member {string} [code] - * @member {string} [target] - * @member {string} [message] - */ export interface ErrorDetails { code?: string; target?: string; message?: string; } -/** - * @class - * Initializes a new instance of the ErrorModel class. - * @constructor - * @member {string} [code] - * @member {string} [message] - * @member {string} [target] - * @member {array} [details] - * @member {string} [innerError] - */ export interface ErrorModel { code?: string; message?: string; @@ -660,323 +665,289 @@ export interface ErrorModel { } /** - * @class - * Initializes a new instance of the AzureAsyncOperationResult class. - * @constructor - * The response body contains the status of the specified asynchronous - * operation, indicating whether it has succeeded, is in progress, or has - * failed. Note that this status is distinct from the HTTP status code returned - * for the Get Operation Status operation itself. If the asynchronous operation - * succeeded, the response body includes the HTTP status code for the - * successful request. If the asynchronous operation failed, the response body - * includes the HTTP status code for the failed request and error information - * regarding the failure. - * - * @member {string} [status] Status of the Azure async operation. Possible - * values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values - * include: 'InProgress', 'Succeeded', 'Failed' - * @member {object} [error] - * @member {string} [error.code] - * @member {string} [error.message] - * @member {string} [error.target] - * @member {array} [error.details] - * @member {string} [error.innerError] - */ + * The response body contains the status of the specified asynchronous operation, indicating + * whether it has succeeded, is in progress, or has failed. Note that this status is distinct from + * the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous + * operation succeeded, the response body includes the HTTP status code for the successful request. + * If the asynchronous operation failed, the response body includes the HTTP status code for the + * failed request and error information regarding the failure. +*/ export interface AzureAsyncOperationResult { + /** + * Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and + * 'Failed'. Possible values include: 'InProgress', 'Succeeded', 'Failed' + */ status?: string; error?: ErrorModel; } /** - * @class - * Initializes a new instance of the TagsObject class. - * @constructor * Tags object for patch operations. - * - * @member {object} [tags] Resource tags. - */ +*/ export interface TagsObject { + /** + * Resource tags. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the PolicySettings class. - * @constructor * Defines contents of a web application firewall global configuration - * - * @member {string} [enabledState] describes if the policy is in enabled state - * or disabled state. Possible values include: 'Disabled', 'Enabled' - * @member {string} [mode] Describes if it is in detection mode or prevention - * mode at policy level. Possible values include: 'Prevention', 'Detection' - */ +*/ export interface PolicySettings { + /** + * describes if the policy is in enabled state or disabled state. Possible values include: + * 'Disabled', 'Enabled' + */ enabledState?: string; + /** + * Describes if it is in detection mode or prevention mode at policy level. Possible values + * include: 'Prevention', 'Detection' + */ mode?: string; } /** - * @class - * Initializes a new instance of the MatchCondition1 class. - * @constructor * Define match conditions - * - * @member {string} matchVariable Match Variable. Possible values include: - * 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', - * 'RequestHeader', 'RequestBody' - * @member {string} [selector] Name of selector in RequestHeader or RequestBody - * to be matched - * @member {string} operator Describes operator to be matched. Possible values - * include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', - * 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', - * 'EndsWith' - * @member {boolean} [negateCondition] Describes if this is negate condition or - * not - * @member {array} matchValue Match value - */ +*/ export interface MatchCondition1 { + /** + * Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', + * 'PostArgs', 'RequestUri', 'RequestHeader', 'RequestBody' + */ matchVariable: string; + /** + * Name of selector in RequestHeader or RequestBody to be matched + */ selector?: string; + /** + * Describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch', + * 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', + * 'BeginsWith', 'EndsWith' + */ operator: string; + /** + * Describes if this is negate condition or not + */ negateCondition?: boolean; + /** + * Match value + */ matchValue: string[]; } /** - * @class - * Initializes a new instance of the CustomRule class. - * @constructor * Defines contents of a web application rule - * - * @member {string} [name] Gets name of the resource that is unique within a - * policy. This name can be used to access the resource. - * @member {string} [etag] Gets a unique read-only string that changes whenever - * the resource is updated. - * @member {number} priority Describes priority of the rule. Rules with a lower - * value will be evaluated before rules with a higher value - * @member {string} ruleType Describes type of rule. Possible values include: - * 'MatchRule', 'RateLimitRule' - * @member {number} [rateLimitDurationInMinutes] Defines rate limit duration. - * Default - 1 minute - * @member {number} [rateLimitThreshold] Defines rate limit thresold - * @member {array} matchConditions List of match conditions - * @member {string} action Type of Actions. Possible values include: 'Allow', - * 'Block', 'Log' - * @member {array} [transforms] List of transforms - */ +*/ export interface CustomRule { + /** + * Gets name of the resource that is unique within a policy. This name can be used to access the + * resource. + */ name?: string; + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ readonly etag?: string; + /** + * Describes priority of the rule. Rules with a lower value will be evaluated before rules with a + * higher value + */ priority: number; + /** + * Describes type of rule. Possible values include: 'MatchRule', 'RateLimitRule' + */ ruleType: string; + /** + * Defines rate limit duration. Default - 1 minute + */ rateLimitDurationInMinutes?: number; + /** + * Defines rate limit threshold + */ rateLimitThreshold?: number; + /** + * List of match conditions + */ matchConditions: MatchCondition1[]; + /** + * Type of Actions. Possible values include: 'Allow', 'Block', 'Log' + */ action: string; + /** + * List of transforms + */ transforms?: string[]; } /** - * @class - * Initializes a new instance of the CustomRules class. - * @constructor * Defines contents of custom rules - * - * @member {array} [rules] List of rules - */ +*/ export interface CustomRules { + /** + * List of rules + */ rules?: CustomRule[]; } /** - * @class - * Initializes a new instance of the ManagedRuleSet class. - * @constructor * Base class for all types of ManagedRuleSet. - * - * @member {number} [priority] Describes priority of the rule - * @member {number} [version] defines version of the ruleset - * @member {string} ruleSetType Polymorphic Discriminator - */ +*/ export interface ManagedRuleSet { + /** + * Describes priority of the rule + */ priority?: number; + /** + * defines version of the rule set + */ version?: number; + /** + * Polymorphic Discriminator + */ ruleSetType: string; } /** - * @class - * Initializes a new instance of the ManagedRuleSets class. - * @constructor * Defines ManagedRuleSets - array of managedRuleSet - * - * @member {array} [ruleSets] List of rules - */ +*/ export interface ManagedRuleSets { + /** + * List of rules + */ ruleSets?: ManagedRuleSet[]; } /** - * @class - * Initializes a new instance of the WebApplicationFirewallPolicy1 class. - * @constructor * Defines web application firewall policy. - * - * @member {object} [policySettings] Describes policySettings for policy - * @member {string} [policySettings.enabledState] describes if the policy is in - * enabled state or disabled state. Possible values include: 'Disabled', - * 'Enabled' - * @member {string} [policySettings.mode] Describes if it is in detection mode - * or prevention mode at policy level. Possible values include: 'Prevention', - * 'Detection' - * @member {object} [customRules] Describes custom rules inside the policy - * @member {array} [customRules.rules] List of rules - * @member {object} [managedRules] Describes managed rules inside the policy - * @member {array} [managedRules.ruleSets] List of rules - * @member {string} [provisioningState] Provisioning state of the - * WebApplicationFirewallPolicy. - * @member {string} [resourceState] Resource status of the policy. Possible - * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Deleting' - * @member {string} [etag] Gets a unique read-only string that changes whenever - * the resource is updated. - */ +*/ export interface WebApplicationFirewallPolicy1 extends Resource { + /** + * Describes policySettings for policy + */ policySettings?: PolicySettings; + /** + * Describes custom rules inside the policy + */ customRules?: CustomRules; + /** + * Describes managed rules inside the policy + */ managedRules?: ManagedRuleSets; + /** + * Provisioning state of the WebApplicationFirewallPolicy. + */ readonly provisioningState?: string; + /** + * @summary Resource status of the policy. + * @description Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', + * 'Disabled', 'Deleting' + */ readonly resourceState?: string; + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ etag?: string; } /** - * @class - * Initializes a new instance of the AzureManagedOverrideRuleGroup class. - * @constructor * Defines contents of a web application rule - * - * @member {string} ruleGroupOverride Describes overrideruleGroup. Possible - * values include: 'SqlInjection', 'XSS' - * @member {string} action Type of Actions. Possible values include: 'Allow', - * 'Block', 'Log' - */ +*/ export interface AzureManagedOverrideRuleGroup { + /** + * Describes override rule group. Possible values include: 'SqlInjection', 'XSS' + */ ruleGroupOverride: string; + /** + * Type of Actions. Possible values include: 'Allow', 'Block', 'Log' + */ action: string; } /** - * @class - * Initializes a new instance of the AzureManagedRuleSet class. - * @constructor * Describes azure managed provider. - * - * @member {array} [ruleGroupOverrides] List of azure managed provider override - * configuration (optional) - */ +*/ export interface AzureManagedRuleSet extends ManagedRuleSet { + /** + * List of azure managed provider override configuration (optional) + */ ruleGroupOverrides?: AzureManagedOverrideRuleGroup[]; } - /** - * @class - * Initializes a new instance of the FrontDoorListResult class. - * @constructor - * Result of the request to list Front Doors. It contains a list of Front Door - * objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of Front Door objects if - * there are any. - */ + * Result of the request to list Front Doors. It contains a list of Front Door objects and a URL + * link to get the next set of results. +*/ export interface FrontDoorListResult extends Array { + /** + * URL to get the next set of Front Door objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the RoutingRuleListResult class. - * @constructor - * Result of the request to list Routing Rules. It contains a list of Routing - * Rule objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of RoutingRule objects - * if there are any. - */ + * Result of the request to list Routing Rules. It contains a list of Routing Rule objects and a + * URL link to get the next set of results. +*/ export interface RoutingRuleListResult extends Array { + /** + * URL to get the next set of RoutingRule objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the HealthProbeSettingsListResult class. - * @constructor - * Result of the request to list HealthProbeSettings. It contains a list of - * HealthProbeSettings objects and a URL link to get the the next set of - * results. - * - * @member {string} [nextLink] URL to get the next set of HealthProbeSettings - * objects if there are any. - */ + * Result of the request to list HealthProbeSettings. It contains a list of HealthProbeSettings + * objects and a URL link to get the next set of results. +*/ export interface HealthProbeSettingsListResult extends Array { + /** + * URL to get the next set of HealthProbeSettings objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the LoadBalancingSettingsListResult class. - * @constructor - * Result of the request to list load balancing settings. It contains a list of - * load balancing settings objects and a URL link to get the the next set of - * results. - * - * @member {string} [nextLink] URL to get the next set of LoadBalancingSettings - * objects if there are any. - */ + * Result of the request to list load balancing settings. It contains a list of load balancing + * settings objects and a URL link to get the next set of results. +*/ export interface LoadBalancingSettingsListResult extends Array { + /** + * URL to get the next set of LoadBalancingSettings objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the BackendPoolListResult class. - * @constructor - * Result of the request to list Backend Pools. It contains a list of Backend - * Pools objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of BackendPool objects - * if there are any. - */ + * Result of the request to list Backend Pools. It contains a list of Backend Pools objects and a + * URL link to get the next set of results. +*/ export interface BackendPoolListResult extends Array { + /** + * URL to get the next set of BackendPool objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the FrontendEndpointsListResult class. - * @constructor - * Result of the request to list frontend endpoints. It contains a list of - * Frontend endpoint objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of frontend endpoints if - * there are any. - */ + * Result of the request to list frontend endpoints. It contains a list of Frontend endpoint + * objects and a URL link to get the next set of results. +*/ export interface FrontendEndpointsListResult extends Array { + /** + * URL to get the next set of frontend endpoints if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the WebApplicationFirewallPolicyListResult class. - * @constructor - * Result of the request to list WebApplicationFirewallPolicies. It contains a - * list of WebApplicationFirewallPolicy objects and a URL link to get the the - * next set of results. - * - * @member {string} [nextLink] URL to get the next set of - * WebApplicationFirewallPolicy objects if there are any. - */ -export interface WebApplicationFirewallPolicyListResult extends Array { + * Result of the request to list WebApplicationFirewallPolicies. It contains a list of + * WebApplicationFirewallPolicy objects and a URL link to get the next set of results. +*/ +export interface WebApplicationFirewallPolicyListResult extends +Array { + /** + * URL to get the next set of WebApplicationFirewallPolicy objects if there are any. + */ nextLink?: string; } diff --git a/lib/services/frontdoorManagement/lib/models/keyVaultCertificateSourceParametersVault.js b/lib/services/frontdoorManagement/lib/models/keyVaultCertificateSourceParametersVault.js index b7cef60222..c0eaca4274 100644 --- a/lib/services/frontdoorManagement/lib/models/keyVaultCertificateSourceParametersVault.js +++ b/lib/services/frontdoorManagement/lib/models/keyVaultCertificateSourceParametersVault.js @@ -17,7 +17,7 @@ class KeyVaultCertificateSourceParametersVault { /** * Create a KeyVaultCertificateSourceParametersVault. - * @member {string} [id] Resource ID. + * @property {string} [id] Resource ID. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsListResult.js b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsListResult.js index e184b7ccde..cd8f567c79 100644 --- a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsListResult.js +++ b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list load balancing settings. It contains a list of - * load balancing settings objects and a URL link to get the the next set of + * load balancing settings objects and a URL link to get the next set of * results. */ class LoadBalancingSettingsListResult extends Array { /** * Create a LoadBalancingSettingsListResult. - * @member {string} [nextLink] URL to get the next set of + * @property {string} [nextLink] URL to get the next set of * LoadBalancingSettings objects if there are any. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsModel.js b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsModel.js index e1388e021e..ed829f110f 100644 --- a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsModel.js +++ b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsModel.js @@ -20,16 +20,17 @@ const models = require('./index'); class LoadBalancingSettingsModel extends models['SubResource'] { /** * Create a LoadBalancingSettingsModel. - * @member {number} [sampleSize] The number of samples to consider for load + * @property {number} [sampleSize] The number of samples to consider for load * balancing decisions - * @member {number} [successfulSamplesRequired] The number of samples within - * the sample period that must succeed - * @member {number} [additionalLatencyMilliseconds] The additional latency in - * milliseconds for probes to fall into the lowest latency bucket - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {number} [successfulSamplesRequired] The number of samples + * within the sample period that must succeed + * @property {number} [additionalLatencyMilliseconds] The additional latency + * in milliseconds for probes to fall into the lowest latency bucket + * @property {string} [resourceState] Resource status. Possible values + * include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Deleting' + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsUpdateParameters.js index 1abb521224..c171819fe3 100644 --- a/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/loadBalancingSettingsUpdateParameters.js @@ -17,12 +17,12 @@ class LoadBalancingSettingsUpdateParameters { /** * Create a LoadBalancingSettingsUpdateParameters. - * @member {number} [sampleSize] The number of samples to consider for load + * @property {number} [sampleSize] The number of samples to consider for load * balancing decisions - * @member {number} [successfulSamplesRequired] The number of samples within - * the sample period that must succeed - * @member {number} [additionalLatencyMilliseconds] The additional latency in - * milliseconds for probes to fall into the lowest latency bucket + * @property {number} [successfulSamplesRequired] The number of samples + * within the sample period that must succeed + * @property {number} [additionalLatencyMilliseconds] The additional latency + * in milliseconds for probes to fall into the lowest latency bucket */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/managedRuleSet.js b/lib/services/frontdoorManagement/lib/models/managedRuleSet.js index e115d2a68c..0b601e5fbe 100644 --- a/lib/services/frontdoorManagement/lib/models/managedRuleSet.js +++ b/lib/services/frontdoorManagement/lib/models/managedRuleSet.js @@ -17,9 +17,9 @@ class ManagedRuleSet { /** * Create a ManagedRuleSet. - * @member {number} [priority] Describes priority of the rule - * @member {number} [version] defines version of the ruleset - * @member {string} ruleSetType Polymorphic Discriminator + * @property {number} [priority] Describes priority of the rule + * @property {number} [version] defines version of the rule set + * @property {string} ruleSetType Polymorphic Discriminator */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/managedRuleSets.js b/lib/services/frontdoorManagement/lib/models/managedRuleSets.js index ffc9449879..5b21303e0e 100644 --- a/lib/services/frontdoorManagement/lib/models/managedRuleSets.js +++ b/lib/services/frontdoorManagement/lib/models/managedRuleSets.js @@ -17,7 +17,7 @@ class ManagedRuleSets { /** * Create a ManagedRuleSets. - * @member {array} [ruleSets] List of rules + * @property {array} [ruleSets] List of rules */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/matchCondition1.js b/lib/services/frontdoorManagement/lib/models/matchCondition1.js index e480792f23..d40f6ac826 100644 --- a/lib/services/frontdoorManagement/lib/models/matchCondition1.js +++ b/lib/services/frontdoorManagement/lib/models/matchCondition1.js @@ -17,18 +17,18 @@ class MatchCondition1 { /** * Create a MatchCondition1. - * @member {string} matchVariable Match Variable. Possible values include: + * @property {string} matchVariable Match Variable. Possible values include: * 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', * 'RequestHeader', 'RequestBody' - * @member {string} [selector] Name of selector in RequestHeader or + * @property {string} [selector] Name of selector in RequestHeader or * RequestBody to be matched - * @member {string} operator Describes operator to be matched. Possible + * @property {string} operator Describes operator to be matched. Possible * values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', * 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', * 'BeginsWith', 'EndsWith' - * @member {boolean} [negateCondition] Describes if this is negate condition - * or not - * @member {array} matchValue Match value + * @property {boolean} [negateCondition] Describes if this is negate + * condition or not + * @property {array} matchValue Match value */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/policySettings.js b/lib/services/frontdoorManagement/lib/models/policySettings.js index f75fd99adb..c05d506ed9 100644 --- a/lib/services/frontdoorManagement/lib/models/policySettings.js +++ b/lib/services/frontdoorManagement/lib/models/policySettings.js @@ -17,9 +17,9 @@ class PolicySettings { /** * Create a PolicySettings. - * @member {string} [enabledState] describes if the policy is in enabled + * @property {string} [enabledState] describes if the policy is in enabled * state or disabled state. Possible values include: 'Disabled', 'Enabled' - * @member {string} [mode] Describes if it is in detection mode or + * @property {string} [mode] Describes if it is in detection mode or * prevention mode at policy level. Possible values include: 'Prevention', * 'Detection' */ diff --git a/lib/services/frontdoorManagement/lib/models/purgeParameters.js b/lib/services/frontdoorManagement/lib/models/purgeParameters.js index e3be748479..8d01f8a0ca 100644 --- a/lib/services/frontdoorManagement/lib/models/purgeParameters.js +++ b/lib/services/frontdoorManagement/lib/models/purgeParameters.js @@ -17,7 +17,7 @@ class PurgeParameters { /** * Create a PurgeParameters. - * @member {array} contentPaths The path to the content to be purged. Can + * @property {array} contentPaths The path to the content to be purged. Can * describe a file path or a wild card directory. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/resource.js b/lib/services/frontdoorManagement/lib/models/resource.js index 4b70929508..740d1b9d45 100644 --- a/lib/services/frontdoorManagement/lib/models/resource.js +++ b/lib/services/frontdoorManagement/lib/models/resource.js @@ -20,11 +20,11 @@ const models = require('./index'); class Resource extends models['BaseResource'] { /** * Create a Resource. - * @member {string} [id] Resource ID. - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. - * @member {string} [location] Resource location. - * @member {object} [tags] Resource tags. + * @property {string} [id] Resource ID. + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. + * @property {string} [location] Resource location. + * @property {object} [tags] Resource tags. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/routingRule.js b/lib/services/frontdoorManagement/lib/models/routingRule.js index 4bbb21cafb..5b137c7c8f 100644 --- a/lib/services/frontdoorManagement/lib/models/routingRule.js +++ b/lib/services/frontdoorManagement/lib/models/routingRule.js @@ -21,34 +21,35 @@ const models = require('./index'); class RoutingRule extends models['SubResource'] { /** * Create a RoutingRule. - * @member {array} [frontendEndpoints] Frontend endpoints associated with + * @property {array} [frontendEndpoints] Frontend endpoints associated with * this rule - * @member {array} [acceptedProtocols] Protocol schemes to match for this + * @property {array} [acceptedProtocols] Protocol schemes to match for this * rule - * @member {array} [patternsToMatch] The route patterns of the rule. - * @member {string} [customForwardingPath] A custom path used to rewrite + * @property {array} [patternsToMatch] The route patterns of the rule. + * @property {string} [customForwardingPath] A custom path used to rewrite * resource paths matched by this rule. Leave empty to use incoming path. - * @member {string} [forwardingProtocol] Protocol this rule will use when + * @property {string} [forwardingProtocol] Protocol this rule will use when * forwarding traffic to backends. Possible values include: 'HttpOnly', * 'HttpsOnly', 'MatchRequest' - * @member {object} [cacheConfiguration] The caching configuration associated - * with this rule. - * @member {string} [cacheConfiguration.queryParameterStripDirective] + * @property {object} [cacheConfiguration] The caching configuration + * associated with this rule. + * @property {string} [cacheConfiguration.queryParameterStripDirective] * Treatment of URL query terms when forming the cache key. Possible values * include: 'StripNone', 'StripAll' - * @member {string} [cacheConfiguration.dynamicCompression] Whether to use + * @property {string} [cacheConfiguration.dynamicCompression] Whether to use * dynamic compression for cached content. Possible values include: * 'Enabled', 'Disabled' - * @member {object} [backendPool] A reference to the BackendPool which this + * @property {object} [backendPool] A reference to the BackendPool which this * rule routes to. - * @member {string} [backendPool.id] Resource ID. - * @member {string} [enabledState] Whether to enable use of this rule. + * @property {string} [backendPool.id] Resource ID. + * @property {string} [enabledState] Whether to enable use of this rule. * Permitted values are 'Enabled' or 'Disabled'. Possible values include: * 'Enabled', 'Disabled' - * @member {string} [resourceState] Resource status. Possible values include: - * 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {string} [resourceState] Resource status. Possible values + * include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Deleting' + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/routingRuleListResult.js b/lib/services/frontdoorManagement/lib/models/routingRuleListResult.js index 004f60a9f5..793fadc39d 100644 --- a/lib/services/frontdoorManagement/lib/models/routingRuleListResult.js +++ b/lib/services/frontdoorManagement/lib/models/routingRuleListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list Routing Rules. It contains a list of Routing - * Rule objects and a URL link to get the the next set of results. + * Rule objects and a URL link to get the next set of results. */ class RoutingRuleListResult extends Array { /** * Create a RoutingRuleListResult. - * @member {string} [nextLink] URL to get the next set of RoutingRule objects - * if there are any. + * @property {string} [nextLink] URL to get the next set of RoutingRule + * objects if there are any. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/routingRuleUpdateParameters.js b/lib/services/frontdoorManagement/lib/models/routingRuleUpdateParameters.js index 7f02de2afd..39cb6672eb 100644 --- a/lib/services/frontdoorManagement/lib/models/routingRuleUpdateParameters.js +++ b/lib/services/frontdoorManagement/lib/models/routingRuleUpdateParameters.js @@ -17,28 +17,28 @@ class RoutingRuleUpdateParameters { /** * Create a RoutingRuleUpdateParameters. - * @member {array} [frontendEndpoints] Frontend endpoints associated with + * @property {array} [frontendEndpoints] Frontend endpoints associated with * this rule - * @member {array} [acceptedProtocols] Protocol schemes to match for this + * @property {array} [acceptedProtocols] Protocol schemes to match for this * rule - * @member {array} [patternsToMatch] The route patterns of the rule. - * @member {string} [customForwardingPath] A custom path used to rewrite + * @property {array} [patternsToMatch] The route patterns of the rule. + * @property {string} [customForwardingPath] A custom path used to rewrite * resource paths matched by this rule. Leave empty to use incoming path. - * @member {string} [forwardingProtocol] Protocol this rule will use when + * @property {string} [forwardingProtocol] Protocol this rule will use when * forwarding traffic to backends. Possible values include: 'HttpOnly', * 'HttpsOnly', 'MatchRequest' - * @member {object} [cacheConfiguration] The caching configuration associated - * with this rule. - * @member {string} [cacheConfiguration.queryParameterStripDirective] + * @property {object} [cacheConfiguration] The caching configuration + * associated with this rule. + * @property {string} [cacheConfiguration.queryParameterStripDirective] * Treatment of URL query terms when forming the cache key. Possible values * include: 'StripNone', 'StripAll' - * @member {string} [cacheConfiguration.dynamicCompression] Whether to use + * @property {string} [cacheConfiguration.dynamicCompression] Whether to use * dynamic compression for cached content. Possible values include: * 'Enabled', 'Disabled' - * @member {object} [backendPool] A reference to the BackendPool which this + * @property {object} [backendPool] A reference to the BackendPool which this * rule routes to. - * @member {string} [backendPool.id] Resource ID. - * @member {string} [enabledState] Whether to enable use of this rule. + * @property {string} [backendPool.id] Resource ID. + * @property {string} [enabledState] Whether to enable use of this rule. * Permitted values are 'Enabled' or 'Disabled'. Possible values include: * 'Enabled', 'Disabled' */ diff --git a/lib/services/frontdoorManagement/lib/models/subResource.js b/lib/services/frontdoorManagement/lib/models/subResource.js index 51215f1707..f59dea3bbf 100644 --- a/lib/services/frontdoorManagement/lib/models/subResource.js +++ b/lib/services/frontdoorManagement/lib/models/subResource.js @@ -20,7 +20,7 @@ const models = require('./index'); class SubResource extends models['BaseResource'] { /** * Create a SubResource. - * @member {string} [id] Resource ID. + * @property {string} [id] Resource ID. */ constructor() { super(); diff --git a/lib/services/frontdoorManagement/lib/models/tagsObject.js b/lib/services/frontdoorManagement/lib/models/tagsObject.js index 755b116391..a22fc07dfd 100644 --- a/lib/services/frontdoorManagement/lib/models/tagsObject.js +++ b/lib/services/frontdoorManagement/lib/models/tagsObject.js @@ -17,7 +17,7 @@ class TagsObject { /** * Create a TagsObject. - * @member {object} [tags] Resource tags. + * @property {object} [tags] Resource tags. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/validateCustomDomainInput.js b/lib/services/frontdoorManagement/lib/models/validateCustomDomainInput.js index 71bf5ec871..eba1b99c5d 100644 --- a/lib/services/frontdoorManagement/lib/models/validateCustomDomainInput.js +++ b/lib/services/frontdoorManagement/lib/models/validateCustomDomainInput.js @@ -17,7 +17,7 @@ class ValidateCustomDomainInput { /** * Create a ValidateCustomDomainInput. - * @member {string} hostName The host name of the custom domain. Must be a + * @property {string} hostName The host name of the custom domain. Must be a * domain name. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/validateCustomDomainOutput.js b/lib/services/frontdoorManagement/lib/models/validateCustomDomainOutput.js index cf285a32b7..52edf6e2a6 100644 --- a/lib/services/frontdoorManagement/lib/models/validateCustomDomainOutput.js +++ b/lib/services/frontdoorManagement/lib/models/validateCustomDomainOutput.js @@ -17,11 +17,11 @@ class ValidateCustomDomainOutput { /** * Create a ValidateCustomDomainOutput. - * @member {boolean} [customDomainValidated] Indicates whether the custom + * @property {boolean} [customDomainValidated] Indicates whether the custom * domain is valid or not. - * @member {string} [reason] The reason why the custom domain is not valid. - * @member {string} [message] Error message describing why the custom domain - * is not valid. + * @property {string} [reason] The reason why the custom domain is not valid. + * @property {string} [message] Error message describing why the custom + * domain is not valid. */ constructor() { } diff --git a/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicy1.js b/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicy1.js index f9385e9118..6b4c59bd81 100644 --- a/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicy1.js +++ b/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicy1.js @@ -20,23 +20,24 @@ const models = require('./index'); class WebApplicationFirewallPolicy1 extends models['Resource'] { /** * Create a WebApplicationFirewallPolicy1. - * @member {object} [policySettings] Describes policySettings for policy - * @member {string} [policySettings.enabledState] describes if the policy is - * in enabled state or disabled state. Possible values include: 'Disabled', - * 'Enabled' - * @member {string} [policySettings.mode] Describes if it is in detection + * @property {object} [policySettings] Describes policySettings for policy + * @property {string} [policySettings.enabledState] describes if the policy + * is in enabled state or disabled state. Possible values include: + * 'Disabled', 'Enabled' + * @property {string} [policySettings.mode] Describes if it is in detection * mode or prevention mode at policy level. Possible values include: * 'Prevention', 'Detection' - * @member {object} [customRules] Describes custom rules inside the policy - * @member {array} [customRules.rules] List of rules - * @member {object} [managedRules] Describes managed rules inside the policy - * @member {array} [managedRules.ruleSets] List of rules - * @member {string} [provisioningState] Provisioning state of the + * @property {object} [customRules] Describes custom rules inside the policy + * @property {array} [customRules.rules] List of rules + * @property {object} [managedRules] Describes managed rules inside the + * policy + * @property {array} [managedRules.ruleSets] List of rules + * @property {string} [provisioningState] Provisioning state of the * WebApplicationFirewallPolicy. - * @member {string} [resourceState] Resource status of the policy. Possible + * @property {string} [resourceState] Resource status of the policy. Possible * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', * 'Disabled', 'Deleting' - * @member {string} [etag] Gets a unique read-only string that changes + * @property {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicyListResult.js b/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicyListResult.js index 501e486108..2c1a62ffa6 100644 --- a/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicyListResult.js +++ b/lib/services/frontdoorManagement/lib/models/webApplicationFirewallPolicyListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list WebApplicationFirewallPolicies. It contains a - * list of WebApplicationFirewallPolicy objects and a URL link to get the the - * next set of results. + * list of WebApplicationFirewallPolicy objects and a URL link to get the next + * set of results. */ class WebApplicationFirewallPolicyListResult extends Array { /** * Create a WebApplicationFirewallPolicyListResult. - * @member {string} [nextLink] URL to get the next set of + * @property {string} [nextLink] URL to get the next set of * WebApplicationFirewallPolicy objects if there are any. */ constructor() { diff --git a/lib/services/frontdoorManagement/lib/operations/frontendEndpoints.js b/lib/services/frontdoorManagement/lib/operations/frontendEndpoints.js index 07437ac96f..e445e2fec1 100644 --- a/lib/services/frontdoorManagement/lib/operations/frontendEndpoints.js +++ b/lib/services/frontdoorManagement/lib/operations/frontendEndpoints.js @@ -296,7 +296,7 @@ function _get(resourceGroupName, frontDoorName, frontendEndpointName, options, c // Construct URL let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); requestUrl = requestUrl.replace('{frontDoorName}', encodeURIComponent(frontDoorName)); @@ -869,7 +869,7 @@ function _beginCreateOrUpdate(resourceGroupName, frontDoorName, frontendEndpoint // Construct URL let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); requestUrl = requestUrl.replace('{frontDoorName}', encodeURIComponent(frontDoorName)); @@ -1111,7 +1111,7 @@ function _beginDeleteMethod(resourceGroupName, frontDoorName, frontendEndpointNa // Construct URL let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}'; requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); requestUrl = requestUrl.replace('{frontDoorName}', encodeURIComponent(frontDoorName)); @@ -1317,7 +1317,7 @@ function _beginEnableHttps(resourceGroupName, frontDoorName, frontendEndpointNam // Construct URL let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps'; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps'; requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); requestUrl = requestUrl.replace('{frontDoorName}', encodeURIComponent(frontDoorName)); @@ -1508,7 +1508,7 @@ function _beginDisableHttps(resourceGroupName, frontDoorName, frontendEndpointNa // Construct URL let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/disableHttps'; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/disableHttps'; requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); requestUrl = requestUrl.replace('{frontDoorName}', encodeURIComponent(frontDoorName)); diff --git a/lib/services/frontdoorManagement/lib/operations/index.d.ts b/lib/services/frontdoorManagement/lib/operations/index.d.ts index 4ae89abdd6..af18924d44 100644 --- a/lib/services/frontdoorManagement/lib/operations/index.d.ts +++ b/lib/services/frontdoorManagement/lib/operations/index.d.ts @@ -4415,7 +4415,7 @@ export interface Policies { /** - * Creates or update policy with specified ruleset name within a resource + * Creates or update policy with specified rule set name within a resource * group. * * @param {string} resourceGroupName The name of the resource group. @@ -4466,7 +4466,7 @@ export interface Policies { createOrUpdateWithHttpOperationResponse(resourceGroupName: string, policyName: string, parameters: models.WebApplicationFirewallPolicy1, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Creates or update policy with specified ruleset name within a resource + * Creates or update policy with specified rule set name within a resource * group. * * @param {string} resourceGroupName The name of the resource group. diff --git a/lib/services/frontdoorManagement/lib/operations/policies.js b/lib/services/frontdoorManagement/lib/operations/policies.js index 9f6c54f933..4192f3e91c 100644 --- a/lib/services/frontdoorManagement/lib/operations/policies.js +++ b/lib/services/frontdoorManagement/lib/operations/policies.js @@ -305,7 +305,7 @@ function _get(resourceGroupName, policyName, options, callback) { } /** - * Creates or update policy with specified ruleset name within a resource + * Creates or update policy with specified rule set name within a resource * group. * * @param {string} resourceGroupName The name of the resource group. @@ -1030,7 +1030,7 @@ class Policies { } /** - * Creates or update policy with specified ruleset name within a resource + * Creates or update policy with specified rule set name within a resource * group. * * @param {string} resourceGroupName The name of the resource group. @@ -1093,7 +1093,7 @@ class Policies { } /** - * Creates or update policy with specified ruleset name within a resource + * Creates or update policy with specified rule set name within a resource * group. * * @param {string} resourceGroupName The name of the resource group. diff --git a/lib/services/frontdoorManagement/package.json b/lib/services/frontdoorManagement/package.json index ed915d4c03..604287fa5a 100644 --- a/lib/services/frontdoorManagement/package.json +++ b/lib/services/frontdoorManagement/package.json @@ -22,4 +22,4 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-node/issues" } -} \ No newline at end of file +} diff --git a/lib/services/networkManagement2/lib/models/applicationGateway.js b/lib/services/networkManagement2/lib/models/applicationGateway.js index 13f5cef0cd..50922086d3 100644 --- a/lib/services/networkManagement2/lib/models/applicationGateway.js +++ b/lib/services/networkManagement2/lib/models/applicationGateway.js @@ -106,6 +106,8 @@ class ApplicationGateway extends models['Resource'] { * @property {object} [autoscaleConfiguration] Autoscale Configuration. * @property {number} [autoscaleConfiguration.minCapacity] Lower bound on * 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 * application gateway resource. * @property {string} [provisioningState] Provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js index 8edff41c3a..f43f6732e8 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js @@ -19,6 +19,8 @@ class ApplicationGatewayAutoscaleConfiguration { * Create a ApplicationGatewayAutoscaleConfiguration. * @property {number} minCapacity Lower bound on number of Application * Gateway instances + * @property {number} [maxCapacity] Upper bound on number of Application + * Gateway capacity */ constructor() { } @@ -46,6 +48,16 @@ class ApplicationGatewayAutoscaleConfiguration { type: { name: 'Number' } + }, + maxCapacity: { + required: false, + serializedName: 'maxCapacity', + constraints: { + 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/azureFirewall.js b/lib/services/networkManagement2/lib/models/azureFirewall.js index fd69283902..23c63a0bed 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewall.js +++ b/lib/services/networkManagement2/lib/models/azureFirewall.js @@ -31,6 +31,8 @@ class AzureFirewall extends models['Resource'] { * @property {string} [provisioningState] The provisioning state of the * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' + * @property {string} [threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' * @property {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ @@ -163,6 +165,13 @@ class AzureFirewall extends models['Resource'] { name: 'String' } }, + threatIntelMode: { + required: false, + serializedName: 'properties.threatIntelMode', + type: { + name: 'String' + } + }, etag: { required: false, readOnly: true, diff --git a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js index 5701abe73a..1c45bcac3f 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallApplicationRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a application rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js b/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js index 06e3136e14..a90a663598 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallNatRule.js @@ -22,7 +22,7 @@ class AzureFirewallNatRule { * @property {array} [sourceAddresses] List of source IP addresses for this * rule. * @property {array} [destinationAddresses] List of destination IP addresses - * for this rule. + * for this rule. Supports IP ranges, prefixes, and service tags. * @property {array} [destinationPorts] List of destination ports. * @property {array} [protocols] Array of AzureFirewallNetworkRuleProtocols * applicable to this NAT rule. diff --git a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js index 56d3d62f40..a421875a57 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallNetworkRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a network rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js index ab9dfbe700..1815e244bd 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js @@ -18,7 +18,7 @@ class AzureFirewallRCAction { /** * Create a AzureFirewallRCAction. * @property {string} [type] The type of action. Possible values include: - * 'Allow', 'Deny' + * 'Allow', 'Deny', 'Alert' */ constructor() { } diff --git a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js index 5bc4876daf..b56a94dcba 100644 --- a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js +++ b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js @@ -11,14 +11,14 @@ 'use strict'; /** - * List of connection states snaphots. + * List of connection states snapshots. * */ class ConnectionMonitorQueryResult { /** * Create a ConnectionMonitorQueryResult. * @property {string} [sourceStatus] Status of connection monitor source. - * Possible values include: 'Uknown', 'Active', 'Inactive' + * Possible values include: 'Unknown', 'Active', 'Inactive' * @property {array} [states] Information about connection states. */ constructor() { diff --git a/lib/services/networkManagement2/lib/models/containerNetworkInterface.js b/lib/services/networkManagement2/lib/models/containerNetworkInterface.js index 8daec95b31..713badcaa8 100644 --- a/lib/services/networkManagement2/lib/models/containerNetworkInterface.js +++ b/lib/services/networkManagement2/lib/models/containerNetworkInterface.js @@ -39,7 +39,7 @@ class ContainerNetworkInterface extends models['SubResource'] { * Resource type. * @property {string} [containerNetworkInterfaceConfiguration.etag] A unique * read-only string that changes whenever the resource is updated. - * @property {object} [container] Reference to the conatinaer to which this + * @property {object} [container] Reference to the container to which this * container network interface is attached. * @property {array} [ipConfigurations] Reference to the ip configuration on * this container nic. diff --git a/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js b/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js index 701851a1da..ca44a96d58 100644 --- a/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js +++ b/lib/services/networkManagement2/lib/models/containerNetworkInterfaceConfiguration.js @@ -13,7 +13,7 @@ const models = require('./index'); /** - * Container network interface configruation child resource. + * Container network interface configuration child resource. * * @extends models['SubResource'] */ diff --git a/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js index 7e443c4728..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 - * seperator (e.g. 100-400), or an asterix (*) + * 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 seperator (e.g. 100-400), or an asterix (*) + * 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, - * AureLoadBalancer, Internet), System Tags, and the asterix (*). + * AzureLoadBalancer, Internet), System Tags, and the asterix (*). * @property {array} [destinationAddressPrefixes] The destination address * prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix - * (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the + * asterix (*). * @property {array} [expandedSourceAddressPrefix] The expanded source * address prefix. * @property {array} [expandedDestinationAddressPrefix] Expanded destination diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js index f938b80f46..6d2110b174 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitConnection.js @@ -33,7 +33,7 @@ class ExpressRouteCircuitConnection extends models['SubResource'] { * Connection State. Possible values are: 'Connected' and 'Disconnected'. * Possible values include: 'Connected', 'Connecting', 'Disconnected' * @property {string} [provisioningState] Provisioning state of the circuit - * connection resource. Possible values are: 'Succeded', 'Updating', + * connection resource. Possible values are: 'Succeeded', 'Updating', * 'Deleting', and 'Failed'. * @property {string} [name] Gets name of the resource that is unique within * a resource group. This name can be used to access the resource. diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js index 081bc30051..3c02f9ef76 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeering.js @@ -38,7 +38,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. @@ -84,7 +84,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] { * reference of AdvertisedPublicPrefixes. * @property {array} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are diff --git a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js index d8b599509d..b298d147ae 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCircuitPeeringConfig.js @@ -20,7 +20,7 @@ class ExpressRouteCircuitPeeringConfig { * @property {array} [advertisedPublicPrefixes] The reference of * AdvertisedPublicPrefixes. * @property {array} [advertisedCommunities] The communities of bgp peering. - * Spepcified for microsoft peering + * Specified for microsoft peering * @property {string} [advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. diff --git a/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js b/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js index 7160299e30..fe66bdc67e 100644 --- a/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js +++ b/lib/services/networkManagement2/lib/models/expressRouteCrossConnectionPeering.js @@ -38,7 +38,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. @@ -68,7 +68,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] { * reference of AdvertisedPublicPrefixes. * @property {array} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are diff --git a/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js b/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js index 8099172bba..d60031e028 100644 --- a/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js +++ b/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js @@ -21,7 +21,7 @@ class IPConfigurationProfile extends models['SubResource'] { /** * Create a IPConfigurationProfile. * @property {object} [subnet] The reference of the subnet resource to create - * a contatainer network interface ip configruation. + * a container network interface ip configuration. * @property {string} [subnet.addressPrefix] The address prefix for the * subnet. * @property {array} [subnet.addressPrefixes] List of address prefixes for diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 4b5a99b2cb..05b9573538 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -172,7 +172,7 @@ export interface SecurityRule extends SubResource { priority?: number; /** * The direction of the rule. The direction specifies if rule will be evaluated on incoming or - * outcoming traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: + * outgoing traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: * 'Inbound', 'Outbound' */ direction: string; @@ -680,8 +680,7 @@ export interface IPConfiguration extends SubResource { */ export interface IPConfigurationProfile extends SubResource { /** - * The reference of the subnet resource to create a contatainer network interface ip - * configruation. + * The reference of the subnet resource to create a container network interface ip configuration. */ subnet?: Subnet; /** @@ -1787,6 +1786,31 @@ export interface ApplicationGatewayRequestRoutingRule extends SubResource { type?: string; } +/** + * Set of conditions in the Rewrite Rule in Application Gateway. +*/ +export interface ApplicationGatewayRewriteRuleCondition { + /** + * The condition parameter of the RewriteRuleCondition. + */ + variable?: string; + /** + * The pattern, either fixed string or regular expression, that evaluates the truthfulness of the + * condition + */ + pattern?: string; + /** + * Setting this paramter to truth value with force the pattern to do a case in-sensitive + * comparison. + */ + ignoreCase?: boolean; + /** + * Setting this value as truth will force to check the negation of the condition given by the + * user. + */ + negate?: boolean; +} + /** * Header configuration of the Actions set in Application Gateway. */ @@ -1823,6 +1847,15 @@ export interface ApplicationGatewayRewriteRule { * Name of the rewrite rule that is unique within an Application Gateway. */ name?: string; + /** + * Rule Sequence of the rewrite rule that determines the order of execution of a particular rule + * in a RewriteRuleSet. + */ + ruleSequence?: number; + /** + * Conditions based on which the action set execution will be evaluated. + */ + conditions?: ApplicationGatewayRewriteRuleCondition[]; /** * Set of actions to be done as part of the rewrite Rule. */ @@ -2035,6 +2068,10 @@ export interface ApplicationGatewayAutoscaleConfiguration { * Lower bound on number of Application Gateway instances */ minCapacity: number; + /** + * Upper bound on number of Application Gateway capacity + */ + maxCapacity?: number; } export interface ManagedServiceIdentityUserAssignedIdentitiesValue { @@ -2194,36 +2231,6 @@ export interface ApplicationGateway extends Resource { identity?: ManagedServiceIdentity; } -/** - * Response for ApplicationGatewayAvailableServerVariables API service call. -*/ -export interface ApplicationGatewayAvailableServerVariablesResult { - /** - * The list of supported server variables in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableRequestHeaders API service call. -*/ -export interface ApplicationGatewayAvailableRequestHeadersResult { - /** - * The list of supported request headers in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableResponeHeaders API service call. -*/ -export interface ApplicationGatewayAvailableResponseHeadersResult { - /** - * The list of supported response header in application gateway. - */ - value?: string[]; -} - /** * A web application firewall rule. */ @@ -2417,7 +2424,7 @@ export interface AzureFirewallIPConfiguration extends SubResource { */ export interface AzureFirewallRCAction { /** - * The type of action. Possible values include: 'Allow', 'Deny' + * The type of action. Possible values include: 'Allow', 'Deny', 'Alert' */ type?: string; } @@ -2525,7 +2532,8 @@ export interface AzureFirewallNatRule { */ sourceAddresses?: string[]; /** - * List of destination IP addresses for this rule. + * List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service + * tags. */ destinationAddresses?: string[]; /** @@ -2665,6 +2673,10 @@ export interface AzureFirewall extends Resource { * 'Deleting', 'Failed' */ provisioningState?: string; + /** + * The operation mode for Threat Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + */ + threatIntelMode?: string; /** * Gets a unique read-only string that changes whenever the resource is updated. */ @@ -2854,7 +2866,7 @@ export interface ExpressRouteCircuitPeeringConfig { */ advertisedPublicPrefixes?: string[]; /** - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering */ advertisedCommunities?: string[]; /** @@ -2969,7 +2981,7 @@ export interface ExpressRouteCircuitConnection extends SubResource { */ readonly circuitConnectionStatus?: string; /** - * Provisioning state of the circuit connection resource. Possible values are: 'Succeded', + * Provisioning state of the circuit connection resource. Possible values are: 'Succeeded', * 'Updating', 'Deleting', and 'Failed'. */ readonly provisioningState?: string; @@ -4182,12 +4194,12 @@ export interface EffectiveNetworkSecurityRule { destinationPortRange?: string; /** * The source port ranges. Expected values include a single integer between 0 and 65535, a range - * using '-' as seperator (e.g. 100-400), or an asterix (*) + * using '-' as separator (e.g. 100-400), or an asterix (*) */ sourcePortRanges?: string[]; /** * The destination port ranges. Expected values include a single integer between 0 and 65535, a - * range using '-' as seperator (e.g. 100-400), or an asterix (*) + * range using '-' as separator (e.g. 100-400), or an asterix (*) */ destinationPortRanges?: string[]; /** @@ -4200,12 +4212,12 @@ export interface EffectiveNetworkSecurityRule { destinationAddressPrefix?: string; /** * The source address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterix (*). */ sourceAddressPrefixes?: string[]; /** * The destination address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). + * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterix (*). */ destinationAddressPrefixes?: string[]; /** @@ -4317,7 +4329,7 @@ export interface EffectiveRouteListResult { } /** - * Container network interface configruation child resource. + * Container network interface configuration child resource. */ export interface ContainerNetworkInterfaceConfiguration extends SubResource { /** @@ -4385,7 +4397,7 @@ export interface ContainerNetworkInterface extends SubResource { */ containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfiguration; /** - * Reference to the conatinaer to which this container network interface is attached. + * Reference to the container to which this container network interface is attached. */ container?: Container; /** @@ -5592,11 +5604,11 @@ export interface ConnectionStateSnapshot { } /** - * List of connection states snaphots. + * List of connection states snapshots. */ export interface ConnectionMonitorQueryResult { /** - * Status of connection monitor source. Possible values include: 'Uknown', 'Active', 'Inactive' + * Status of connection monitor source. Possible values include: 'Unknown', 'Active', 'Inactive' */ sourceStatus?: string; /** @@ -5627,7 +5639,7 @@ export interface NetworkConfigurationDiagnosticProfile { */ destination: string; /** - * Traffice destination port. Accepted values are '*', port (for example, 3389) and port range + * Traffic destination port. Accepted values are '*', port (for example, 3389) and port range * (for example, 80-100). */ destinationPort: string; @@ -6314,6 +6326,39 @@ export interface VirtualNetworkUsage { readonly unit?: string; } +/** + * Network Intent Policy resource. +*/ +export interface NetworkIntentPolicy extends Resource { + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ + etag?: string; +} + +export interface NetworkIntentPolicyConfiguration { + /** + * The name of the Network Intent Policy for storing in target subscription. + */ + networkIntentPolicyName?: string; + sourceNetworkIntentPolicy?: NetworkIntentPolicy; +} + +export interface PrepareNetworkPoliciesRequest { + /** + * The name of the service for which subnet is being prepared for. + */ + serviceName?: string; + /** + * The name of the resource group where the Network Intent Policy will be stored. + */ + resourceGroupName?: string; + /** + * A list of NetworkIntentPolicyConfiguration. + */ + networkIntentPolicyConfigurations?: NetworkIntentPolicyConfiguration[]; +} + /** * IP configuration for virtual network gateway */ @@ -7163,8 +7208,8 @@ export interface P2SVpnServerConfiguration extends SubResource { */ radiusServerAddress?: string; /** - * The radius secret property of the P2SVpnServerConfiguration resource for for point to site - * client connection. + * The radius secret property of the P2SVpnServerConfiguration resource for point to site client + * connection. */ radiusServerSecret?: string; /** @@ -7594,7 +7639,7 @@ export interface P2SVpnGateway extends Resource { */ vpnClientAddressPool?: AddressSpace; /** - * All P2S vpnclients' connection health status. + * All P2S VPN clients' connection health status. */ readonly vpnClientConnectionHealth?: VpnClientConnectionHealth; /** diff --git a/lib/services/networkManagement2/lib/models/index.js b/lib/services/networkManagement2/lib/models/index.js index 04cff88c29..796a019f0d 100644 --- a/lib/services/networkManagement2/lib/models/index.js +++ b/lib/services/networkManagement2/lib/models/index.js @@ -71,6 +71,7 @@ exports.ApplicationGatewayPathRule = require('./applicationGatewayPathRule'); exports.ApplicationGatewayProbeHealthResponseMatch = require('./applicationGatewayProbeHealthResponseMatch'); exports.ApplicationGatewayProbe = require('./applicationGatewayProbe'); exports.ApplicationGatewayRequestRoutingRule = require('./applicationGatewayRequestRoutingRule'); +exports.ApplicationGatewayRewriteRuleCondition = require('./applicationGatewayRewriteRuleCondition'); exports.ApplicationGatewayHeaderConfiguration = require('./applicationGatewayHeaderConfiguration'); exports.ApplicationGatewayRewriteRuleActionSet = require('./applicationGatewayRewriteRuleActionSet'); exports.ApplicationGatewayRewriteRule = require('./applicationGatewayRewriteRule'); @@ -84,9 +85,6 @@ exports.ApplicationGatewayAutoscaleConfiguration = require('./applicationGateway exports.ManagedServiceIdentityUserAssignedIdentitiesValue = require('./managedServiceIdentityUserAssignedIdentitiesValue'); exports.ManagedServiceIdentity = require('./managedServiceIdentity'); exports.ApplicationGateway = require('./applicationGateway'); -exports.ApplicationGatewayAvailableServerVariablesResult = require('./applicationGatewayAvailableServerVariablesResult'); -exports.ApplicationGatewayAvailableRequestHeadersResult = require('./applicationGatewayAvailableRequestHeadersResult'); -exports.ApplicationGatewayAvailableResponseHeadersResult = require('./applicationGatewayAvailableResponseHeadersResult'); exports.ApplicationGatewayFirewallRule = require('./applicationGatewayFirewallRule'); exports.ApplicationGatewayFirewallRuleGroup = require('./applicationGatewayFirewallRuleGroup'); exports.ApplicationGatewayFirewallRuleSet = require('./applicationGatewayFirewallRuleSet'); @@ -259,6 +257,9 @@ exports.VirtualNetwork = require('./virtualNetwork'); exports.IPAddressAvailabilityResult = require('./iPAddressAvailabilityResult'); exports.VirtualNetworkUsageName = require('./virtualNetworkUsageName'); exports.VirtualNetworkUsage = require('./virtualNetworkUsage'); +exports.NetworkIntentPolicy = require('./networkIntentPolicy'); +exports.NetworkIntentPolicyConfiguration = require('./networkIntentPolicyConfiguration'); +exports.PrepareNetworkPoliciesRequest = require('./prepareNetworkPoliciesRequest'); exports.VirtualNetworkGatewayIPConfiguration = require('./virtualNetworkGatewayIPConfiguration'); exports.VirtualNetworkGatewaySku = require('./virtualNetworkGatewaySku'); exports.VpnClientRootCertificate = require('./vpnClientRootCertificate'); diff --git a/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js b/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js index 8963d27f2e..fbf83a896f 100644 --- a/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js +++ b/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js @@ -25,7 +25,7 @@ class Ipv6ExpressRouteCircuitPeeringConfig { * @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The * reference of AdvertisedPublicPrefixes. * @property {array} [microsoftPeeringConfig.advertisedCommunities] The - * communities of bgp peering. Spepcified for microsoft peering + * communities of bgp peering. Specified for microsoft peering * @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are * 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. diff --git a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js index 18b0e42a73..2442663842 100644 --- a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js +++ b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticProfile.js @@ -26,7 +26,7 @@ class NetworkConfigurationDiagnosticProfile { * Address/CIDR, Service Tag. * @property {string} destination Traffic destination. Accepted values are: * '*', IP Address/CIDR, Service Tag. - * @property {string} destinationPort Traffice destination port. Accepted + * @property {string} destinationPort Traffic destination port. Accepted * values are '*', port (for example, 3389) and port range (for example, * 80-100). */ diff --git a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js index 0f92eccfff..dd2f605ce9 100644 --- a/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js +++ b/lib/services/networkManagement2/lib/models/networkConfigurationDiagnosticResult.js @@ -28,7 +28,7 @@ class NetworkConfigurationDiagnosticResult { * '*', IP Address/CIDR, Service Tag. * @property {string} [profile.destination] Traffic destination. Accepted * values are: '*', IP Address/CIDR, Service Tag. - * @property {string} [profile.destinationPort] Traffice destination port. + * @property {string} [profile.destinationPort] Traffic destination port. * Accepted values are '*', port (for example, 3389) and port range (for * example, 80-100). * @property {object} [networkSecurityGroupResult] diff --git a/lib/services/networkManagement2/lib/models/networkIntentPolicy.js b/lib/services/networkManagement2/lib/models/networkIntentPolicy.js new file mode 100644 index 0000000000..4c3bdc4adf --- /dev/null +++ b/lib/services/networkManagement2/lib/models/networkIntentPolicy.js @@ -0,0 +1,101 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Network Intent Policy resource. + * + * @extends models['Resource'] + */ +class NetworkIntentPolicy extends models['Resource'] { + /** + * Create a NetworkIntentPolicy. + * @property {string} [etag] Gets a unique read-only string that changes + * whenever the resource is updated. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of NetworkIntentPolicy + * + * @returns {object} metadata of NetworkIntentPolicy + * + */ + mapper() { + return { + required: false, + serializedName: 'NetworkIntentPolicy', + type: { + name: 'Composite', + className: 'NetworkIntentPolicy', + modelProperties: { + id: { + required: false, + serializedName: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + readOnly: true, + serializedName: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + readOnly: true, + serializedName: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serializedName: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serializedName: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + etag: { + required: false, + serializedName: 'etag', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = NetworkIntentPolicy; diff --git a/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js b/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js new file mode 100644 index 0000000000..7a73808ad6 --- /dev/null +++ b/lib/services/networkManagement2/lib/models/networkIntentPolicyConfiguration.js @@ -0,0 +1,63 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * Class representing a NetworkIntentPolicyConfiguration. + */ +class NetworkIntentPolicyConfiguration { + /** + * Create a NetworkIntentPolicyConfiguration. + * @property {string} [networkIntentPolicyName] The name of the Network + * Intent Policy for storing in target subscription. + * @property {object} [sourceNetworkIntentPolicy] + * @property {string} [sourceNetworkIntentPolicy.etag] Gets a unique + * read-only string that changes whenever the resource is updated. + */ + constructor() { + } + + /** + * Defines the metadata of NetworkIntentPolicyConfiguration + * + * @returns {object} metadata of NetworkIntentPolicyConfiguration + * + */ + mapper() { + return { + required: false, + serializedName: 'NetworkIntentPolicyConfiguration', + type: { + name: 'Composite', + className: 'NetworkIntentPolicyConfiguration', + modelProperties: { + networkIntentPolicyName: { + required: false, + serializedName: 'networkIntentPolicyName', + type: { + name: 'String' + } + }, + sourceNetworkIntentPolicy: { + required: false, + serializedName: 'sourceNetworkIntentPolicy', + type: { + name: 'Composite', + className: 'NetworkIntentPolicy' + } + } + } + } + }; + } +} + +module.exports = NetworkIntentPolicyConfiguration; diff --git a/lib/services/networkManagement2/lib/models/p2SVpnGateway.js b/lib/services/networkManagement2/lib/models/p2SVpnGateway.js index 52c0a8e4aa..8e04614fec 100644 --- a/lib/services/networkManagement2/lib/models/p2SVpnGateway.js +++ b/lib/services/networkManagement2/lib/models/p2SVpnGateway.js @@ -35,7 +35,7 @@ class P2SVpnGateway extends models['Resource'] { * space resource which represents Address space for P2S VpnClient. * @property {array} [vpnClientAddressPool.addressPrefixes] A list of address * blocks reserved for this virtual network in CIDR notation. - * @property {object} [vpnClientConnectionHealth] All P2S vpnclients' + * @property {object} [vpnClientConnectionHealth] All P2S VPN clients' * connection health status. * @property {number} * [vpnClientConnectionHealth.totalIngressBytesTransferred] Total of the diff --git a/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js b/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js index 0ae7cb2040..42e452c175 100644 --- a/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js +++ b/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js @@ -40,8 +40,7 @@ class P2SVpnServerConfiguration extends models['SubResource'] { * property of the P2SVpnServerConfiguration resource for point to site * client connection. * @property {string} [radiusServerSecret] The radius secret property of the - * P2SVpnServerConfiguration resource for for point to site client - * connection. + * P2SVpnServerConfiguration resource for point to site client connection. * @property {string} [provisioningState] The provisioning state of the * P2SVpnServerConfiguration resource. Possible values are: 'Updating', * 'Deleting', and 'Failed'. diff --git a/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js b/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js new file mode 100644 index 0000000000..6adaef9e65 --- /dev/null +++ b/lib/services/networkManagement2/lib/models/prepareNetworkPoliciesRequest.js @@ -0,0 +1,78 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * Class representing a PrepareNetworkPoliciesRequest. + */ +class PrepareNetworkPoliciesRequest { + /** + * Create a PrepareNetworkPoliciesRequest. + * @property {string} [serviceName] The name of the service for which subnet + * is being prepared for. + * @property {string} [resourceGroupName] The name of the resource group + * where the Network Intent Policy will be stored. + * @property {array} [networkIntentPolicyConfigurations] A list of + * NetworkIntentPolicyConfiguration. + */ + constructor() { + } + + /** + * Defines the metadata of PrepareNetworkPoliciesRequest + * + * @returns {object} metadata of PrepareNetworkPoliciesRequest + * + */ + mapper() { + return { + required: false, + serializedName: 'PrepareNetworkPoliciesRequest', + type: { + name: 'Composite', + className: 'PrepareNetworkPoliciesRequest', + modelProperties: { + serviceName: { + required: false, + serializedName: 'serviceName', + type: { + name: 'String' + } + }, + resourceGroupName: { + required: false, + serializedName: 'resourceGroupName', + type: { + name: 'String' + } + }, + networkIntentPolicyConfigurations: { + required: false, + serializedName: 'networkIntentPolicyConfigurations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'NetworkIntentPolicyConfigurationElementType', + type: { + name: 'Composite', + className: 'NetworkIntentPolicyConfiguration' + } + } + } + } + } + } + }; + } +} + +module.exports = PrepareNetworkPoliciesRequest; diff --git a/lib/services/networkManagement2/lib/models/securityRule.js b/lib/services/networkManagement2/lib/models/securityRule.js index a40f02a127..6639a1f77c 100644 --- a/lib/services/networkManagement2/lib/models/securityRule.js +++ b/lib/services/networkManagement2/lib/models/securityRule.js @@ -56,7 +56,7 @@ class SecurityRule extends models['SubResource'] { * the collection. The lower the priority number, the higher the priority of * the rule. * @property {string} direction The direction of the rule. The direction - * specifies if rule will be evaluated on incoming or outcoming traffic. + * specifies if rule will be evaluated on incoming or outgoing traffic. * Possible values are: 'Inbound' and 'Outbound'. Possible values include: * 'Inbound', 'Outbound' * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/networkManagementClient.js b/lib/services/networkManagement2/lib/networkManagementClient.js index 7804a305b4..ad0b9330d3 100644 --- a/lib/services/networkManagement2/lib/networkManagementClient.js +++ b/lib/services/networkManagement2/lib/networkManagementClient.js @@ -61,7 +61,7 @@ function _checkDnsNameAvailability(location, domainNameLabel, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { @@ -206,7 +206,7 @@ function _supportedSecurityProviders(resourceGroupName, virtualWANName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.subscriptionId === null || this.subscriptionId === undefined || typeof this.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/applicationGateways.js b/lib/services/networkManagement2/lib/operations/applicationGateways.js index cbe7e2a8cb..38a12efd12 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') { @@ -357,6 +357,9 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -581,7 +584,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -717,7 +720,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1040,10 +1043,7 @@ function _backendHealth(resourceGroupName, applicationGatewayName, options, call * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1059,7 +1059,7 @@ function _listAvailableServerVariables(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1145,7 +1145,20 @@ function _listAvailableServerVariables(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableServerVariablesResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1174,10 +1187,7 @@ function _listAvailableServerVariables(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1193,7 +1203,7 @@ function _listAvailableRequestHeaders(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1279,7 +1289,20 @@ function _listAvailableRequestHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableRequestHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1308,10 +1331,7 @@ function _listAvailableRequestHeaders(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1327,7 +1347,7 @@ function _listAvailableResponseHeaders(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1413,7 +1433,20 @@ function _listAvailableResponseHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableResponseHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1461,7 +1494,7 @@ function _listAvailableWafRuleSets(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1593,7 +1626,7 @@ function _listAvailableSslOptions(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1726,7 +1759,7 @@ function _listAvailableSslPredefinedPolicies(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1860,7 +1893,7 @@ function _getSslPredefinedPolicy(predefinedPolicyName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1998,7 +2031,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2225,6 +2258,9 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -2290,7 +2326,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationGatewayName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2472,7 +2508,7 @@ function _beginUpdateTags(resourceGroupName, applicationGatewayName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2631,7 +2667,7 @@ function _beginStart(resourceGroupName, applicationGatewayName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2756,7 +2792,7 @@ function _beginStop(resourceGroupName, applicationGatewayName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2888,7 +2924,7 @@ function _beginBackendHealth(resourceGroupName, applicationGatewayName, options, throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3729,6 +3765,9 @@ class ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -3927,6 +3966,9 @@ class ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -4544,7 +4586,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4577,7 +4619,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4585,10 +4627,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4624,7 +4663,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4657,7 +4696,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4665,10 +4704,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4704,7 +4740,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4737,7 +4773,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4745,10 +4781,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -5317,6 +5350,9 @@ class ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -5515,6 +5551,9 @@ class ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * diff --git a/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js b/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js index 2ec88bc52c..0b517c76ab 100644 --- a/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js +++ b/lib/services/networkManagement2/lib/operations/applicationSecurityGroups.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, applicationSecurityGroupName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -429,7 +429,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -563,7 +563,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -702,7 +702,7 @@ function _beginDeleteMethod(resourceGroupName, applicationSecurityGroupName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -839,7 +839,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1023,7 +1023,7 @@ function _beginUpdateTags(resourceGroupName, applicationSecurityGroupName, param if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableDelegations.js b/lib/services/networkManagement2/lib/operations/availableDelegations.js index ecfe61cda0..ecc49b3203 100644 --- a/lib/services/networkManagement2/lib/operations/availableDelegations.js +++ b/lib/services/networkManagement2/lib/operations/availableDelegations.js @@ -49,7 +49,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableEndpointServices.js b/lib/services/networkManagement2/lib/operations/availableEndpointServices.js index 31208b2a1f..d2ab87e06c 100644 --- a/lib/services/networkManagement2/lib/operations/availableEndpointServices.js +++ b/lib/services/networkManagement2/lib/operations/availableEndpointServices.js @@ -48,7 +48,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js b/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js index e88b1fad5e..0cbf866d33 100644 --- a/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js +++ b/lib/services/networkManagement2/lib/operations/availableResourceGroupDelegations.js @@ -51,7 +51,7 @@ function _list(location, resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js b/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js index 339e85cc84..c37b0d97dc 100644 --- a/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js +++ b/lib/services/networkManagement2/lib/operations/azureFirewallFqdnTags.js @@ -46,7 +46,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/azureFirewalls.js b/lib/services/networkManagement2/lib/operations/azureFirewalls.js index 4b1c21651e..6d027cdb6f 100644 --- a/lib/services/networkManagement2/lib/operations/azureFirewalls.js +++ b/lib/services/networkManagement2/lib/operations/azureFirewalls.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, azureFirewallName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -247,6 +247,9 @@ function _get(resourceGroupName, azureFirewallName, options, callback) { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -357,7 +360,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -493,7 +496,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -627,7 +630,7 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -744,6 +747,9 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -778,7 +784,7 @@ function _beginCreateOrUpdate(resourceGroupName, azureFirewallName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1392,6 +1398,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1449,6 +1458,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1775,6 +1787,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1832,6 +1847,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. diff --git a/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js b/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js index 37f8d308a1..130d4370cd 100644 --- a/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js +++ b/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/connectionMonitors.js b/lib/services/networkManagement2/lib/operations/connectionMonitors.js index dc37300297..e1229b06da 100644 --- a/lib/services/networkManagement2/lib/operations/connectionMonitors.js +++ b/lib/services/networkManagement2/lib/operations/connectionMonitors.js @@ -167,7 +167,7 @@ function _get(resourceGroupName, networkWatcherName, connectionMonitorName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _list(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -778,7 +778,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkWatcherName, connectionM if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -962,7 +962,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, connectionMon if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1095,7 +1095,7 @@ function _beginStop(resourceGroupName, networkWatcherName, connectionMonitorName if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1228,7 +1228,7 @@ function _beginStart(resourceGroupName, networkWatcherName, connectionMonitorNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1364,7 +1364,7 @@ function _beginQuery(resourceGroupName, networkWatcherName, connectionMonitorNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js b/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js index bda75d7026..e34602bc10 100644 --- a/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js +++ b/lib/services/networkManagement2/lib/operations/ddosCustomPolicies.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, ddosCustomPolicyName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -427,7 +427,7 @@ function _beginDeleteMethod(resourceGroupName, ddosCustomPolicyName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -565,7 +565,7 @@ function _beginCreateOrUpdate(resourceGroupName, ddosCustomPolicyName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -747,7 +747,7 @@ function _beginUpdateTags(resourceGroupName, ddosCustomPolicyName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js b/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js index a2a8554e3c..6eb8a0f9db 100644 --- a/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js +++ b/lib/services/networkManagement2/lib/operations/ddosProtectionPlans.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, ddosProtectionPlanName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -337,7 +337,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -471,7 +471,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -609,7 +609,7 @@ function _beginDeleteMethod(resourceGroupName, ddosProtectionPlanName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -742,7 +742,7 @@ function _beginCreateOrUpdate(resourceGroupName, ddosProtectionPlanName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js b/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js index fb8f9be421..0c99cfd880 100644 --- a/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js +++ b/lib/services/networkManagement2/lib/operations/defaultSecurityRules.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, networkSecurityGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -198,7 +198,7 @@ function _get(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js index d8fe7affe9..76e311c2a1 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuitAuthorizations.js @@ -118,7 +118,7 @@ function _get(resourceGroupName, circuitName, authorizationName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -367,7 +367,7 @@ function _list(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -512,7 +512,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, authorizationName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -665,7 +665,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, authorizationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js index e435af4167..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') { @@ -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') { @@ -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') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js index d04c764460..157375c6c3 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, circuitName, peeringName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -317,7 +317,7 @@ function _get(resourceGroupName, circuitName, peeringName, options, callback) { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -479,7 +479,7 @@ function _list(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -623,7 +623,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -805,7 +805,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, options * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -889,7 +889,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, peeringName, peeri if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1447,7 +1447,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1614,7 +1614,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1980,7 +1980,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -2147,7 +2147,7 @@ class ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js index eeae671832..186aaec386 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCircuits.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -741,7 +741,7 @@ function _getStats(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -887,7 +887,7 @@ function _getPeeringStats(resourceGroupName, circuitName, peeringName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1033,7 +1033,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1169,7 +1169,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1303,7 +1303,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1500,7 +1500,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, parameters, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1682,7 +1682,7 @@ function _beginUpdateTags(resourceGroupName, circuitName, parameters, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1848,7 +1848,7 @@ function _beginListArpTable(resourceGroupName, circuitName, peeringName, deviceP if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2005,7 +2005,7 @@ function _beginListRoutesTable(resourceGroupName, circuitName, peeringName, devi if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2163,7 +2163,7 @@ function _beginListRoutesTableSummary(resourceGroupName, circuitName, peeringNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteConnections.js index f1097c066b..fc7c45d753 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteConnections.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteConnections.js @@ -158,7 +158,7 @@ function _get(resourceGroupName, expressRouteGatewayName, connectionName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -373,7 +373,7 @@ function _list(resourceGroupName, expressRouteGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -543,7 +543,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRouteGatewayName, connec if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -726,7 +726,7 @@ function _beginDeleteMethod(resourceGroupName, expressRouteGatewayName, connecti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js index a66fac00cd..edbfbd7320 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, crossConnectionName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -264,7 +264,7 @@ function _get(resourceGroupName, crossConnectionName, peeringName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -438,7 +438,7 @@ function _get(resourceGroupName, crossConnectionName, peeringName, options, call * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -595,7 +595,7 @@ function _beginDeleteMethod(resourceGroupName, crossConnectionName, peeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -751,7 +751,7 @@ function _beginDeleteMethod(resourceGroupName, crossConnectionName, peeringName, * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -829,7 +829,7 @@ function _beginCreateOrUpdate(resourceGroupName, crossConnectionName, peeringNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1454,7 +1454,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1589,7 +1589,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1838,7 +1838,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -1973,7 +1973,7 @@ class ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js index 77de78d9f6..02fd35fd82 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnections.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -180,7 +180,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -322,7 +322,7 @@ function _get(resourceGroupName, crossConnectionName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -947,7 +947,7 @@ function _beginCreateOrUpdate(resourceGroupName, crossConnectionName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1113,7 +1113,7 @@ function _beginUpdateTags(resourceGroupName, crossConnectionName, crossConnectio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1280,7 +1280,7 @@ function _beginListArpTable(resourceGroupName, crossConnectionName, peeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1439,7 +1439,7 @@ function _beginListRoutesTableSummary(resourceGroupName, crossConnectionName, pe if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1597,7 +1597,7 @@ function _beginListRoutesTable(resourceGroupName, crossConnectionName, peeringNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteGateways.js b/lib/services/networkManagement2/lib/operations/expressRouteGateways.js index e524e40666..f6db6abf62 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteGateways.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteGateways.js @@ -46,7 +46,7 @@ function _listBySubscription(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -180,7 +180,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -432,7 +432,7 @@ function _get(resourceGroupName, expressRouteGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -675,7 +675,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRouteGatewayName, putExp if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -854,7 +854,7 @@ function _beginDeleteMethod(resourceGroupName, expressRouteGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteLinks.js b/lib/services/networkManagement2/lib/operations/expressRouteLinks.js index 63d28ac82c..ad107223c1 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteLinks.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteLinks.js @@ -52,7 +52,7 @@ function _get(resourceGroupName, expressRoutePortName, linkName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -202,7 +202,7 @@ function _list(resourceGroupName, expressRoutePortName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRoutePorts.js b/lib/services/networkManagement2/lib/operations/expressRoutePorts.js index cf8ecfa743..f500975054 100644 --- a/lib/services/networkManagement2/lib/operations/expressRoutePorts.js +++ b/lib/services/networkManagement2/lib/operations/expressRoutePorts.js @@ -113,7 +113,7 @@ function _get(resourceGroupName, expressRoutePortName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -442,7 +442,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -578,7 +578,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -713,7 +713,7 @@ function _beginDeleteMethod(resourceGroupName, expressRoutePortName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -864,7 +864,7 @@ function _beginCreateOrUpdate(resourceGroupName, expressRoutePortName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1047,7 +1047,7 @@ function _beginUpdateTags(resourceGroupName, expressRoutePortName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js index 8df086050f..c0bc4be6ba 100644 --- a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js +++ b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js @@ -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') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js b/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js index 20321c7870..de63790247 100644 --- a/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js +++ b/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js @@ -46,7 +46,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js b/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js index a21e10597c..d076191333 100644 --- a/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js +++ b/lib/services/networkManagement2/lib/operations/hubVirtualNetworkConnections.js @@ -52,7 +52,7 @@ function _get(resourceGroupName, virtualHubName, connectionName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -201,7 +201,7 @@ function _list(resourceGroupName, virtualHubName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/inboundNatRules.js b/lib/services/networkManagement2/lib/operations/inboundNatRules.js index 584cb6ea7d..ec1c57fd4b 100644 --- a/lib/services/networkManagement2/lib/operations/inboundNatRules.js +++ b/lib/services/networkManagement2/lib/operations/inboundNatRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -263,7 +263,7 @@ function _get(resourceGroupName, loadBalancerName, inboundNatRuleName, options, throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -544,7 +544,7 @@ function _beginDeleteMethod(resourceGroupName, loadBalancerName, inboundNatRuleN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -723,7 +723,7 @@ function _beginCreateOrUpdate(resourceGroupName, loadBalancerName, inboundNatRul if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index 8be5edf2ec..e1820427b7 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -274,6 +274,9 @@ export interface ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -460,6 +463,9 @@ export interface ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -900,11 +906,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available server variables. @@ -921,7 +927,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -929,18 +935,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableServerVariablesResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableServerVariables(callback: ServiceCallback): void; - listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableServerVariables(callback: ServiceCallback): void; + listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -953,11 +956,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available request headers. @@ -974,7 +977,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -982,18 +985,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableRequestHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableRequestHeaders(callback: ServiceCallback): void; - listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableRequestHeaders(callback: ServiceCallback): void; + listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -1006,11 +1006,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available response headers. @@ -1027,7 +1027,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -1035,18 +1035,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableResponseHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableResponseHeaders(callback: ServiceCallback): void; - listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableResponseHeaders(callback: ServiceCallback): void; + listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -1457,6 +1454,9 @@ export interface ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -1643,6 +1643,9 @@ export interface ApplicationGateways { * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on * number of Application Gateway instances * + * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound + * on number of Application Gateway capacity + * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. * @@ -3269,6 +3272,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3314,6 +3320,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3544,6 +3553,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3589,6 +3601,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -5776,7 +5791,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -5931,7 +5946,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6228,7 +6243,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6383,7 +6398,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10126,7 +10141,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10249,7 +10264,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10456,7 +10471,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10579,7 +10594,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Spepcified for microsoft peering + * The communities of bgp peering. Specified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -20615,7 +20630,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -20637,7 +20652,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -22048,7 +22063,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22145,7 +22160,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22387,7 +22402,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22484,7 +22499,7 @@ export interface SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -28729,7 +28744,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -28751,7 +28766,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -35185,6 +35200,96 @@ export interface Subnets { createOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: models.Subnet, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + */ + prepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {ServiceCallback} [optionalCallback] - The optional callback. + * + * @returns {ServiceCallback|Promise} If a callback was passed as the last + * parameter then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned. + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + * + * {ServiceCallback} optionalCallback(err, result, request, response) + * + * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {WebResource} [request] - The HTTP Request object if an error did not occur. + * + * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. + */ + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, callback: ServiceCallback): void; + prepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + + /** * Gets all subnets in a virtual network. * @@ -35539,6 +35644,96 @@ export interface Subnets { beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: models.Subnet, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + */ + beginPrepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {ServiceCallback} [optionalCallback] - The optional callback. + * + * @returns {ServiceCallback|Promise} If a callback was passed as the last + * parameter then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned. + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + * + * {ServiceCallback} optionalCallback(err, result, request, response) + * + * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {WebResource} [request] - The HTTP Request object if an error did not occur. + * + * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. + */ + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, callback: ServiceCallback): void; + beginPrepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, prepareNetworkPoliciesRequestParameters: models.PrepareNetworkPoliciesRequest, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + + /** * Gets all subnets in a virtual network. * @@ -44372,7 +44567,7 @@ export interface VpnSites { /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -44392,7 +44587,7 @@ export interface VpnSites { getWithHttpOperationResponse(resourceGroupName: string, vpnSiteName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -47974,8 +48169,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48047,8 +48242,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48266,8 +48461,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48339,8 +48534,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] diff --git a/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js b/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js index e36d3c803f..1766375fc0 100644 --- a/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js +++ b/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, interfaceEndpointName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -447,7 +447,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -583,7 +583,7 @@ function _listBySubscription(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -717,7 +717,7 @@ function _beginDeleteMethod(resourceGroupName, interfaceEndpointName, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -949,7 +949,7 @@ function _beginCreateOrUpdate(resourceGroupName, interfaceEndpointName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js b/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js index 240e22ad4d..213d5830ae 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerBackendAddressPools.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, backendAddressPoolName, optio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js b/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js index 57a53a47e0..6b5e5e54e4 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerFrontendIPConfigurations.js @@ -51,7 +51,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -198,7 +198,7 @@ function _get(resourceGroupName, loadBalancerName, frontendIPConfigurationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js b/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js index 60a89da10f..1e3376a349 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerLoadBalancingRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, loadBalancingRuleName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js b/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js index 427e95e281..03cea66916 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerNetworkInterfaces.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js b/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js index 6a0fc06139..b3afddf382 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerOutboundRules.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, outboundRuleName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js b/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js index ae50028837..56360035d3 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancerProbes.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, loadBalancerName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -195,7 +195,7 @@ function _get(resourceGroupName, loadBalancerName, probeName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/loadBalancers.js b/lib/services/networkManagement2/lib/operations/loadBalancers.js index 5e1ed981fa..2235c4cb1f 100644 --- a/lib/services/networkManagement2/lib/operations/loadBalancers.js +++ b/lib/services/networkManagement2/lib/operations/loadBalancers.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, loadBalancerName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -476,7 +476,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -610,7 +610,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -748,7 +748,7 @@ function _beginDeleteMethod(resourceGroupName, loadBalancerName, options, callba if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -929,7 +929,7 @@ function _beginCreateOrUpdate(resourceGroupName, loadBalancerName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1110,7 +1110,7 @@ function _beginUpdateTags(resourceGroupName, loadBalancerName, parameters, optio if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/localNetworkGateways.js b/lib/services/networkManagement2/lib/operations/localNetworkGateways.js index b5929a4531..f58bbe0d6f 100644 --- a/lib/services/networkManagement2/lib/operations/localNetworkGateways.js +++ b/lib/services/networkManagement2/lib/operations/localNetworkGateways.js @@ -164,7 +164,7 @@ function _get(resourceGroupName, localNetworkGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -460,7 +460,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -635,7 +635,7 @@ function _beginCreateOrUpdate(resourceGroupName, localNetworkGatewayName, parame if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -818,7 +818,7 @@ function _beginDeleteMethod(resourceGroupName, localNetworkGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -956,7 +956,7 @@ function _beginUpdateTags(resourceGroupName, localNetworkGatewayName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js b/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js index d65ffa0950..13860025b6 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceIPConfigurations.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -196,7 +196,7 @@ function _get(resourceGroupName, networkInterfaceName, ipConfigurationName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js b/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js index b080647566..3f83a10314 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceLoadBalancers.js @@ -50,7 +50,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js b/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js index 1e44a1d671..eb8ad31b0d 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaceTapConfigurations.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, networkInterfaceName, tapConfigurationName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -722,7 +722,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -866,7 +866,7 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, tapConfigur if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1375,7 +1375,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkInterfaceName, tapConfig if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaces.js b/lib/services/networkManagement2/lib/operations/networkInterfaces.js index 2c488bf1ce..4196a3c5d4 100644 --- a/lib/services/networkManagement2/lib/operations/networkInterfaces.js +++ b/lib/services/networkManagement2/lib/operations/networkInterfaces.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, networkInterfaceName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -511,7 +511,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -645,7 +645,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1743,7 +1743,7 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1958,7 +1958,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkInterfaceName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2140,7 +2140,7 @@ function _beginUpdateTags(resourceGroupName, networkInterfaceName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2301,7 +2301,7 @@ function _beginGetEffectiveRouteTable(resourceGroupName, networkInterfaceName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2445,7 +2445,7 @@ function _beginListEffectiveNetworkSecurityGroups(resourceGroupName, networkInte if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkProfiles.js b/lib/services/networkManagement2/lib/operations/networkProfiles.js index bcf5381384..15e5a4ab93 100644 --- a/lib/services/networkManagement2/lib/operations/networkProfiles.js +++ b/lib/services/networkManagement2/lib/operations/networkProfiles.js @@ -48,7 +48,7 @@ function _deleteMethod(resourceGroupName, networkProfileName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -144,7 +144,7 @@ function _deleteMethod(resourceGroupName, networkProfileName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -177,7 +177,7 @@ function _get(resourceGroupName, networkProfileName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -344,7 +344,7 @@ function _createOrUpdate(resourceGroupName, networkProfileName, parameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -526,7 +526,7 @@ function _updateTags(resourceGroupName, networkProfileName, parameters, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -683,7 +683,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -817,7 +817,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1285,7 +1285,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -1319,7 +1319,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefx. + * @param {string} networkProfileName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js b/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js index 732f111b7b..45a9b0704a 100644 --- a/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js +++ b/lib/services/networkManagement2/lib/operations/networkSecurityGroups.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, networkSecurityGroupName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -451,7 +451,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -585,7 +585,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -724,7 +724,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -876,7 +876,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkSecurityGroupName, param if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1059,7 +1059,7 @@ function _beginUpdateTags(resourceGroupName, networkSecurityGroupName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkWatchers.js b/lib/services/networkManagement2/lib/operations/networkWatchers.js index acb0914b74..8304b8603b 100644 --- a/lib/services/networkManagement2/lib/operations/networkWatchers.js +++ b/lib/services/networkManagement2/lib/operations/networkWatchers.js @@ -61,7 +61,7 @@ function _createOrUpdate(resourceGroupName, networkWatcherName, parameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -239,7 +239,7 @@ function _get(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -451,7 +451,7 @@ function _updateTags(resourceGroupName, networkWatcherName, parameters, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -611,7 +611,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -748,7 +748,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -898,7 +898,7 @@ function _getTopology(resourceGroupName, networkWatcherName, parameters, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2148,7 +2148,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2307,7 +2307,7 @@ function _beginVerifyIPFlow(resourceGroupName, networkWatcherName, parameters, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2499,7 +2499,7 @@ function _beginGetNextHop(resourceGroupName, networkWatcherName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2683,7 +2683,7 @@ function _beginGetVMSecurityRules(resourceGroupName, networkWatcherName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2873,7 +2873,7 @@ function _beginGetTroubleshooting(resourceGroupName, networkWatcherName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3057,7 +3057,7 @@ function _beginGetTroubleshootingResult(resourceGroupName, networkWatcherName, p if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3290,7 +3290,7 @@ function _beginSetFlowLogConfiguration(resourceGroupName, networkWatcherName, pa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3476,7 +3476,7 @@ function _beginGetFlowLogStatus(resourceGroupName, networkWatcherName, parameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3697,7 +3697,7 @@ function _beginCheckConnectivity(resourceGroupName, networkWatcherName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3901,7 +3901,7 @@ function _beginGetAzureReachabilityReport(resourceGroupName, networkWatcherName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4094,7 +4094,7 @@ function _beginListAvailableProviders(resourceGroupName, networkWatcherName, par if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4287,7 +4287,7 @@ function _beginGetNetworkConfigurationDiagnostic(resourceGroupName, networkWatch if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/operations.js b/lib/services/networkManagement2/lib/operations/operations.js index f284d26143..dd54a1aeaf 100644 --- a/lib/services/networkManagement2/lib/operations/operations.js +++ b/lib/services/networkManagement2/lib/operations/operations.js @@ -45,7 +45,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js b/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js index 07906d8380..d8d676d6e6 100644 --- a/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js +++ b/lib/services/networkManagement2/lib/operations/p2sVpnGateways.js @@ -50,7 +50,7 @@ function _get(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -455,7 +455,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -592,7 +592,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -849,7 +849,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, p2SVpnGatewayParam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1033,7 +1033,7 @@ function _beginUpdateTags(resourceGroupName, gatewayName, p2SVpnGatewayParameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1211,7 +1211,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1346,7 +1346,7 @@ function _beginGenerateVpnProfile(resourceGroupName, gatewayName, parameters, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js b/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js index bf9997b946..0b89fa30f2 100644 --- a/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js +++ b/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js @@ -54,7 +54,7 @@ function _get(resourceGroupName, virtualWanName, p2SVpnServerConfigurationName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -215,8 +215,8 @@ function _get(resourceGroupName, virtualWanName, p2SVpnServerConfigurationName, * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -402,7 +402,7 @@ function _listByVirtualWan(resourceGroupName, virtualWanName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -558,8 +558,8 @@ function _listByVirtualWan(resourceGroupName, virtualWanName, options, callback) * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -600,7 +600,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualWanName, p2SVpnServerCon if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -785,7 +785,7 @@ function _beginDeleteMethod(resourceGroupName, virtualWanName, p2SVpnServerConfi if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1169,8 +1169,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1254,8 +1254,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1542,8 +1542,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -1627,8 +1627,8 @@ class P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for for - * point to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for point + * to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] diff --git a/lib/services/networkManagement2/lib/operations/packetCaptures.js b/lib/services/networkManagement2/lib/operations/packetCaptures.js index c4b78fc628..31c8012b23 100644 --- a/lib/services/networkManagement2/lib/operations/packetCaptures.js +++ b/lib/services/networkManagement2/lib/operations/packetCaptures.js @@ -163,7 +163,7 @@ function _get(resourceGroupName, networkWatcherName, packetCaptureName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -524,7 +524,7 @@ function _list(resourceGroupName, networkWatcherName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -702,7 +702,7 @@ function _beginCreate(resourceGroupName, networkWatcherName, packetCaptureName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -868,7 +868,7 @@ function _beginDeleteMethod(resourceGroupName, networkWatcherName, packetCapture if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1000,7 +1000,7 @@ function _beginStop(resourceGroupName, networkWatcherName, packetCaptureName, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1135,7 +1135,7 @@ function _beginGetStatus(resourceGroupName, networkWatcherName, packetCaptureNam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/publicIPAddresses.js b/lib/services/networkManagement2/lib/operations/publicIPAddresses.js index f54dbfaf3c..078e9b8fd1 100644 --- a/lib/services/networkManagement2/lib/operations/publicIPAddresses.js +++ b/lib/services/networkManagement2/lib/operations/publicIPAddresses.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, publicIpAddressName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -501,7 +501,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -635,7 +635,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1260,7 +1260,7 @@ function _beginDeleteMethod(resourceGroupName, publicIpAddressName, options, cal if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1465,7 +1465,7 @@ function _beginCreateOrUpdate(resourceGroupName, publicIpAddressName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1647,7 +1647,7 @@ function _beginUpdateTags(resourceGroupName, publicIpAddressName, parameters, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js index d90b347ff9..af19ada133 100644 --- a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js +++ b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js @@ -82,7 +82,7 @@ function _deleteMethod(resourceGroupName, publicIpPrefixName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -115,7 +115,7 @@ function _get(resourceGroupName, publicIpPrefixName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -464,7 +464,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -736,7 +736,7 @@ function _beginDeleteMethod(resourceGroupName, publicIpPrefixName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -904,7 +904,7 @@ function _beginCreateOrUpdate(resourceGroupName, publicIpPrefixName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1086,7 +1086,7 @@ function _beginUpdateTags(resourceGroupName, publicIpPrefixName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1578,7 +1578,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * @@ -1612,7 +1612,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefx. + * @param {string} publicIpPrefixName The name of the public IP prefix. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/networkManagement2/lib/operations/routeFilterRules.js b/lib/services/networkManagement2/lib/operations/routeFilterRules.js index 8428caa1e8..0fac583b28 100644 --- a/lib/services/networkManagement2/lib/operations/routeFilterRules.js +++ b/lib/services/networkManagement2/lib/operations/routeFilterRules.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeFilterName, ruleName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -454,7 +454,7 @@ function _listByRouteFilter(resourceGroupName, routeFilterName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -598,7 +598,7 @@ function _beginDeleteMethod(resourceGroupName, routeFilterName, ruleName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -752,7 +752,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeFilterName, ruleName, rout { routeFilterRuleParameters = {}; } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -951,7 +951,7 @@ function _beginUpdate(resourceGroupName, routeFilterName, ruleName, routeFilterR { routeFilterRuleParameters = {}; } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routeFilters.js b/lib/services/networkManagement2/lib/operations/routeFilters.js index a2d4043c52..8ff2bf5f89 100644 --- a/lib/services/networkManagement2/lib/operations/routeFilters.js +++ b/lib/services/networkManagement2/lib/operations/routeFilters.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeFilterName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -447,7 +447,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -582,7 +582,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -716,7 +716,7 @@ function _beginDeleteMethod(resourceGroupName, routeFilterName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -857,7 +857,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeFilterName, routeFilterPar if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1047,7 +1047,7 @@ function _beginUpdate(resourceGroupName, routeFilterName, routeFilterParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routeTables.js b/lib/services/networkManagement2/lib/operations/routeTables.js index 3084f24f83..fc3f6c7e50 100644 --- a/lib/services/networkManagement2/lib/operations/routeTables.js +++ b/lib/services/networkManagement2/lib/operations/routeTables.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, routeTableName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -444,7 +444,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -579,7 +579,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -713,7 +713,7 @@ function _beginDeleteMethod(resourceGroupName, routeTableName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -861,7 +861,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeTableName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1042,7 +1042,7 @@ function _beginUpdateTags(resourceGroupName, routeTableName, parameters, options if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/routes.js b/lib/services/networkManagement2/lib/operations/routes.js index c7a5408740..e6b5e4ce10 100644 --- a/lib/services/networkManagement2/lib/operations/routes.js +++ b/lib/services/networkManagement2/lib/operations/routes.js @@ -116,7 +116,7 @@ function _get(resourceGroupName, routeTableName, routeName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -371,7 +371,7 @@ function _list(resourceGroupName, routeTableName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -515,7 +515,7 @@ function _beginDeleteMethod(resourceGroupName, routeTableName, routeName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -675,7 +675,7 @@ function _beginCreateOrUpdate(resourceGroupName, routeTableName, routeName, rout if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/securityRules.js b/lib/services/networkManagement2/lib/operations/securityRules.js index 80cc77fbd3..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') { @@ -298,7 +298,7 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -422,7 +422,7 @@ function _list(resourceGroupName, networkSecurityGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -567,7 +567,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -729,7 +729,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -774,7 +774,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkSecurityGroupName, secur if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1315,7 +1315,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1424,7 +1424,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1735,7 +1735,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1844,7 +1844,7 @@ class SecurityRules { * the priority of the rule. * * @param {string} securityRuleParameters.direction The direction of the rule. - * The direction specifies if rule will be evaluated on incoming or outcoming + * The direction specifies if rule will be evaluated on incoming or outgoing * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * diff --git a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js index 84e4fbcf06..c6e85ce7b7 100644 --- a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js +++ b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicies.js @@ -117,7 +117,7 @@ function _get(resourceGroupName, serviceEndpointPolicyName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -441,7 +441,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -575,7 +575,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -714,7 +714,7 @@ function _beginDeleteMethod(resourceGroupName, serviceEndpointPolicyName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -856,7 +856,7 @@ function _beginCreateOrUpdate(resourceGroupName, serviceEndpointPolicyName, para if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1039,7 +1039,7 @@ function _beginUpdate(resourceGroupName, serviceEndpointPolicyName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js index 513896be38..508957ffd5 100644 --- a/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js +++ b/lib/services/networkManagement2/lib/operations/serviceEndpointPolicyDefinitions.js @@ -122,7 +122,7 @@ function _get(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolic if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -376,7 +376,7 @@ function _listByResourceGroup(resourceGroupName, serviceEndpointPolicyName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -522,7 +522,7 @@ function _beginDeleteMethod(resourceGroupName, serviceEndpointPolicyName, servic if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -679,7 +679,7 @@ function _beginCreateOrUpdate(resourceGroupName, serviceEndpointPolicyName, serv if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/subnets.js b/lib/services/networkManagement2/lib/operations/subnets.js index 3cf1de78e6..36a19465a3 100644 --- a/lib/services/networkManagement2/lib/operations/subnets.js +++ b/lib/services/networkManagement2/lib/operations/subnets.js @@ -119,7 +119,7 @@ function _get(resourceGroupName, virtualNetworkName, subnetName, options, callba throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -402,6 +402,85 @@ function _createOrUpdate(resourceGroupName, virtualNetworkName, subnetName, subn }); } + +/** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} callback - The callback. + * + * @returns {function} callback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ +function _prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, callback) { + /* jshint validthis: true */ + let client = this.client; + if(!callback && typeof options === 'function') { + callback = options; + options = null; + } + + if (!callback) { + throw new Error('callback cannot be null.'); + } + + // Send request + this.beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, parsedResult, httpRequest, response) => { + if (err) return callback(err); + + let initialResult = new msRest.HttpOperationResponse(); + initialResult.request = httpRequest; + initialResult.response = response; + initialResult.body = response.body; + client.getLongRunningOperationResult(initialResult, options, (err, pollingResult) => { + if (err) return callback(err); + + // Create Result + let result = null; + + httpRequest = pollingResult.request; + response = pollingResult.response; + let responseBody = pollingResult.body; + if (responseBody === '') responseBody = null; + + // Deserialize Response + + return callback(null, result, httpRequest, response); + }); + }); +} + /** * Gets all subnets in a virtual network. * @@ -437,7 +516,7 @@ function _list(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -581,7 +660,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, subnetName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -798,7 +877,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, subnetName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -944,6 +1023,168 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, subnetName, }); } +/** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} callback - The callback. + * + * @returns {function} callback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ +function _beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, callback) { + /* jshint validthis: true */ + let client = this.client; + if(!callback && typeof options === 'function') { + callback = options; + options = null; + } + if (!callback) { + throw new Error('callback cannot be null.'); + } + let apiVersion = '2018-12-01'; + // Validate + try { + if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { + throw new Error('resourceGroupName cannot be null or undefined and it must be of type string.'); + } + if (virtualNetworkName === null || virtualNetworkName === undefined || typeof virtualNetworkName.valueOf() !== 'string') { + throw new Error('virtualNetworkName cannot be null or undefined and it must be of type string.'); + } + if (subnetName === null || subnetName === undefined || typeof subnetName.valueOf() !== 'string') { + throw new Error('subnetName cannot be null or undefined and it must be of type string.'); + } + if (prepareNetworkPoliciesRequestParameters === null || prepareNetworkPoliciesRequestParameters === undefined) { + throw new Error('prepareNetworkPoliciesRequestParameters cannot be null or undefined.'); + } + if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { + throw new Error('this.client.subscriptionId cannot be null or undefined and it must be of type string.'); + } + if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { + throw new Error('this.client.acceptLanguage must be of type string.'); + } + } catch (error) { + return callback(error); + } + + // Construct URL + let baseUrl = this.client.baseUri; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'; + requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); + requestUrl = requestUrl.replace('{virtualNetworkName}', encodeURIComponent(virtualNetworkName)); + requestUrl = requestUrl.replace('{subnetName}', encodeURIComponent(subnetName)); + requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); + let queryParameters = []; + queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); + if (queryParameters.length > 0) { + requestUrl += '?' + queryParameters.join('&'); + } + + // Create HTTP transport objects + let httpRequest = new WebResource(); + httpRequest.method = 'POST'; + httpRequest.url = requestUrl; + httpRequest.headers = {}; + // Set Headers + httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; + if (this.client.generateClientRequestId) { + httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); + } + if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { + httpRequest.headers['accept-language'] = this.client.acceptLanguage; + } + if(options) { + for(let headerName in options['customHeaders']) { + if (options['customHeaders'].hasOwnProperty(headerName)) { + httpRequest.headers[headerName] = options['customHeaders'][headerName]; + } + } + } + // Serialize Request + let requestContent = null; + let requestModel = null; + try { + if (prepareNetworkPoliciesRequestParameters !== null && prepareNetworkPoliciesRequestParameters !== undefined) { + let requestModelMapper = new client.models['PrepareNetworkPoliciesRequest']().mapper(); + requestModel = client.serialize(requestModelMapper, prepareNetworkPoliciesRequestParameters, 'prepareNetworkPoliciesRequestParameters'); + requestContent = JSON.stringify(requestModel); + } + } catch (error) { + let serializationError = new Error(`Error "${error.message}" occurred in serializing the ` + + `payload - ${JSON.stringify(prepareNetworkPoliciesRequestParameters, null, 2)}.`); + return callback(serializationError); + } + httpRequest.body = requestContent; + // Send Request + return client.pipeline(httpRequest, (err, response, responseBody) => { + if (err) { + return callback(err); + } + let statusCode = response.statusCode; + if (statusCode !== 200 && statusCode !== 202) { + let error = new Error(responseBody); + error.statusCode = response.statusCode; + error.request = msRest.stripRequest(httpRequest); + error.response = msRest.stripResponse(response); + if (responseBody === '') responseBody = null; + let parsedErrorResponse; + try { + parsedErrorResponse = JSON.parse(responseBody); + if (parsedErrorResponse) { + if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; + if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; + if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; + } + if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { + let resultMapper = new client.models['CloudError']().mapper(); + error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); + } + } catch (defaultError) { + error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + + `- "${responseBody}" for the default response.`; + return callback(error); + } + return callback(error); + } + // Create Result + let result = null; + if (responseBody === '') responseBody = null; + + return callback(null, result, httpRequest, response); + }); +} + /** * Gets all subnets in a virtual network. * @@ -1082,9 +1323,11 @@ class Subnets { this._deleteMethod = _deleteMethod; this._get = _get; this._createOrUpdate = _createOrUpdate; + this._prepareNetworkPolicies = _prepareNetworkPolicies; this._list = _list; this._beginDeleteMethod = _beginDeleteMethod; this._beginCreateOrUpdate = _beginCreateOrUpdate; + this._beginPrepareNetworkPolicies = _beginPrepareNetworkPolicies; this._listNext = _listNext; } @@ -1531,6 +1774,123 @@ class Subnets { } } + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error} - The error object. + */ + prepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options) { + let client = this.client; + let self = this; + return new Promise((resolve, reject) => { + self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + let httpOperationResponse = new msRest.HttpOperationResponse(request, response); + httpOperationResponse.body = result; + if (err) { reject(err); } + else { resolve(httpOperationResponse); } + return; + }); + }); + } + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} [optionalCallback] - The optional callback. + * + * @returns {function|Promise} If a callback was passed as the last parameter + * then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error} - The error object. + * + * {function} optionalCallback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ + prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback) { + let client = this.client; + let self = this; + if (!optionalCallback && typeof options === 'function') { + optionalCallback = options; + options = null; + } + if (!optionalCallback) { + return new Promise((resolve, reject) => { + self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + if (err) { reject(err); } + else { resolve(result); } + return; + }); + }); + } else { + return self._prepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback); + } + } + /** * Gets all subnets in a virtual network. * @@ -1966,6 +2326,123 @@ class Subnets { } } + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error} - The error object. + */ + beginPrepareNetworkPoliciesWithHttpOperationResponse(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options) { + let client = this.client; + let self = this; + return new Promise((resolve, reject) => { + self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + let httpOperationResponse = new msRest.HttpOperationResponse(request, response); + httpOperationResponse.body = result; + if (err) { reject(err); } + else { resolve(httpOperationResponse); } + return; + }); + }); + } + + /** + * Prepares a subnet by applying network intent policies. + * + * @param {string} resourceGroupName The name of the resource group. + * + * @param {string} virtualNetworkName The name of the virtual network. + * + * @param {string} subnetName The name of the subnet. + * + * @param {object} prepareNetworkPoliciesRequestParameters Parameters supplied + * to prepare subnet by applying network intent policies. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.serviceName] The + * name of the service for which subnet is being prepared for. + * + * @param {string} [prepareNetworkPoliciesRequestParameters.resourceGroupName] + * The name of the resource group where the Network Intent Policy will be + * stored. + * + * @param {array} + * [prepareNetworkPoliciesRequestParameters.networkIntentPolicyConfigurations] + * A list of NetworkIntentPolicyConfiguration. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} [optionalCallback] - The optional callback. + * + * @returns {function|Promise} If a callback was passed as the last parameter + * then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned + * + * @resolve {null} - The deserialized result object. + * + * @reject {Error} - The error object. + * + * {function} optionalCallback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {null} [result] - The deserialized result object if an error did not occur. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ + beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback) { + let client = this.client; + let self = this; + if (!optionalCallback && typeof options === 'function') { + optionalCallback = options; + options = null; + } + if (!optionalCallback) { + return new Promise((resolve, reject) => { + self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, (err, result, request, response) => { + if (err) { reject(err); } + else { resolve(result); } + return; + }); + }); + } else { + return self._beginPrepareNetworkPolicies(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, options, optionalCallback); + } + } + /** * Gets all subnets in a virtual network. * diff --git a/lib/services/networkManagement2/lib/operations/usages.js b/lib/services/networkManagement2/lib/operations/usages.js index 90e9791596..ebc076753d 100644 --- a/lib/services/networkManagement2/lib/operations/usages.js +++ b/lib/services/networkManagement2/lib/operations/usages.js @@ -47,7 +47,7 @@ function _list(location, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (location === null || location === undefined || typeof location.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualHubs.js b/lib/services/networkManagement2/lib/operations/virtualHubs.js index c07f7b76cc..851e3c2652 100644 --- a/lib/services/networkManagement2/lib/operations/virtualHubs.js +++ b/lib/services/networkManagement2/lib/operations/virtualHubs.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, virtualHubName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -454,7 +454,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -590,7 +590,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -765,7 +765,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualHubName, virtualHubParam if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -948,7 +948,7 @@ function _beginUpdateTags(resourceGroupName, virtualHubName, virtualHubParameter if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1125,7 +1125,7 @@ function _beginDeleteMethod(resourceGroupName, virtualHubName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js index 96769a18f3..b26b50de41 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkGatewayConnections.js @@ -310,7 +310,7 @@ function _get(resourceGroupName, virtualNetworkGatewayConnectionName, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -696,7 +696,7 @@ function _getSharedKey(resourceGroupName, virtualNetworkGatewayConnectionName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -839,7 +839,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1249,7 +1249,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkGatewayConnection if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1426,7 +1426,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkGatewayConnectionNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1559,7 +1559,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkGatewayConnectionName if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1732,7 +1732,7 @@ function _beginSetSharedKey(resourceGroupName, virtualNetworkGatewayConnectionNa if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1921,7 +1921,7 @@ function _beginResetSharedKey(resourceGroupName, virtualNetworkGatewayConnection if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js b/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js index cf7946090a..4554540743 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkGateways.js @@ -228,7 +228,7 @@ function _get(resourceGroupName, virtualNetworkGatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -518,7 +518,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -659,7 +659,7 @@ function _listConnections(resourceGroupName, virtualNetworkGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1329,7 +1329,7 @@ function _supportedVpnDevices(resourceGroupName, virtualNetworkGatewayName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1852,7 +1852,7 @@ function _vpnDeviceConfigurationScript(resourceGroupName, virtualNetworkGatewayC if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2118,7 +2118,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkGatewayName, para if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2295,7 +2295,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkGatewayName, option if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2427,7 +2427,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkGatewayName, paramete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2593,7 +2593,7 @@ function _beginReset(resourceGroupName, virtualNetworkGatewayName, options, call throw new Error('callback cannot be null.'); } let gatewayVip = (options && options.gatewayVip !== undefined) ? options.gatewayVip : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2743,7 +2743,7 @@ function _beginResetVpnClientSharedKey(resourceGroupName, virtualNetworkGatewayN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2890,7 +2890,7 @@ function _beginGeneratevpnclientpackage(resourceGroupName, virtualNetworkGateway if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3077,7 +3077,7 @@ function _beginGenerateVpnProfile(resourceGroupName, virtualNetworkGatewayName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3245,7 +3245,7 @@ function _beginGetVpnProfilePackageUrl(resourceGroupName, virtualNetworkGatewayN if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3400,7 +3400,7 @@ function _beginGetBgpPeerStatus(resourceGroupName, virtualNetworkGatewayName, op throw new Error('callback cannot be null.'); } let peer = (options && options.peer !== undefined) ? options.peer : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3552,7 +3552,7 @@ function _beginGetLearnedRoutes(resourceGroupName, virtualNetworkGatewayName, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3700,7 +3700,7 @@ function _beginGetAdvertisedRoutes(resourceGroupName, virtualNetworkGatewayName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3887,7 +3887,7 @@ function _beginSetVpnclientIpsecParameters(resourceGroupName, virtualNetworkGate if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -4050,7 +4050,7 @@ function _beginGetVpnclientIpsecParameters(resourceGroupName, virtualNetworkGate if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js b/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js index fc37be4426..459aeed39c 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkPeerings.js @@ -118,7 +118,7 @@ function _get(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -401,7 +401,7 @@ function _list(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -546,7 +546,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, virtualNetwor if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -733,7 +733,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, virtualNetw if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js b/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js index 0b024cfb30..eec3ee699c 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworkTaps.js @@ -112,7 +112,7 @@ function _get(resourceGroupName, tapName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -767,7 +767,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -901,7 +901,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1039,7 +1039,7 @@ function _beginDeleteMethod(resourceGroupName, tapName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1519,7 +1519,7 @@ function _beginCreateOrUpdate(resourceGroupName, tapName, parameters, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1701,7 +1701,7 @@ function _beginUpdateTags(resourceGroupName, tapName, tapParameters, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworks.js b/lib/services/networkManagement2/lib/operations/virtualNetworks.js index 36c0afa10b..ff40065b13 100644 --- a/lib/services/networkManagement2/lib/operations/virtualNetworks.js +++ b/lib/services/networkManagement2/lib/operations/virtualNetworks.js @@ -115,7 +115,7 @@ function _get(resourceGroupName, virtualNetworkName, options, callback) { throw new Error('callback cannot be null.'); } let expand = (options && options.expand !== undefined) ? options.expand : undefined; - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -470,7 +470,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -604,7 +604,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -746,7 +746,7 @@ function _checkIPAddressAvailability(resourceGroupName, virtualNetworkName, ipAd if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -894,7 +894,7 @@ function _listUsage(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1036,7 +1036,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, options, call if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1210,7 +1210,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1392,7 +1392,7 @@ function _beginUpdateTags(resourceGroupName, virtualNetworkName, parameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/virtualWans.js b/lib/services/networkManagement2/lib/operations/virtualWans.js index f79e4b0d21..3a26f16464 100644 --- a/lib/services/networkManagement2/lib/operations/virtualWans.js +++ b/lib/services/networkManagement2/lib/operations/virtualWans.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, virtualWANName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -448,7 +448,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -584,7 +584,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -754,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualWANName, wANParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -936,7 +936,7 @@ function _beginUpdateTags(resourceGroupName, virtualWANName, wANParameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1113,7 +1113,7 @@ function _beginDeleteMethod(resourceGroupName, virtualWANName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnConnections.js b/lib/services/networkManagement2/lib/operations/vpnConnections.js index 5207558382..3cadd3bb06 100644 --- a/lib/services/networkManagement2/lib/operations/vpnConnections.js +++ b/lib/services/networkManagement2/lib/operations/vpnConnections.js @@ -51,7 +51,7 @@ function _get(resourceGroupName, gatewayName, connectionName, options, callback) if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -391,7 +391,7 @@ function _listByVpnGateway(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -583,7 +583,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, connectionName, vp if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -766,7 +766,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, connectionName, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnGateways.js b/lib/services/networkManagement2/lib/operations/vpnGateways.js index f86d0589bb..7f25c8c69c 100644 --- a/lib/services/networkManagement2/lib/operations/vpnGateways.js +++ b/lib/services/networkManagement2/lib/operations/vpnGateways.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -452,7 +452,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -588,7 +588,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -761,7 +761,7 @@ function _beginCreateOrUpdate(resourceGroupName, gatewayName, vpnGatewayParamete if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -944,7 +944,7 @@ function _beginUpdateTags(resourceGroupName, gatewayName, vpnGatewayParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1121,7 +1121,7 @@ function _beginDeleteMethod(resourceGroupName, gatewayName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnSites.js b/lib/services/networkManagement2/lib/operations/vpnSites.js index ee50e00f17..9ae8215f68 100644 --- a/lib/services/networkManagement2/lib/operations/vpnSites.js +++ b/lib/services/networkManagement2/lib/operations/vpnSites.js @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure'); const WebResource = msRest.WebResource; /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -49,7 +49,7 @@ function _get(resourceGroupName, vpnSiteName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -470,7 +470,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -606,7 +606,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -797,7 +797,7 @@ function _beginCreateOrUpdate(resourceGroupName, vpnSiteName, vpnSiteParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -980,7 +980,7 @@ function _beginUpdateTags(resourceGroupName, vpnSiteName, vpnSiteParameters, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1157,7 +1157,7 @@ function _beginDeleteMethod(resourceGroupName, vpnSiteName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1527,7 +1527,7 @@ class VpnSites { } /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -1559,7 +1559,7 @@ class VpnSites { } /** - * Retrieves the details of a VPNsite. + * Retrieves the details of a VPN site. * * @param {string} resourceGroupName The resource group name of the VpnSite. * diff --git a/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js b/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js index a419a0f4cb..3cc77537fb 100644 --- a/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js +++ b/lib/services/networkManagement2/lib/operations/vpnSitesConfiguration.js @@ -133,7 +133,7 @@ function _beginDownload(resourceGroupName, virtualWANName, request, options, cal if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '2018-12-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {