diff --git a/lib/services/networkManagement2/lib/models/applicationGateway.js b/lib/services/networkManagement2/lib/models/applicationGateway.js index fb5d9c7311..13f5cef0cd 100644 --- a/lib/services/networkManagement2/lib/models/applicationGateway.js +++ b/lib/services/networkManagement2/lib/models/applicationGateway.js @@ -89,13 +89,13 @@ class ApplicationGateway extends models['Resource'] { * @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck] * Whether allow WAF to check request Body. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySize] Maximum request + * [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request * body size for WAF. * @property {number} - * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maximum + * [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium * request body size in Kb for WAF. * @property {number} - * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum file + * [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file * upload size in Mb for WAF. * @property {array} [webApplicationFirewallConfiguration.exclusions] The * exclusion list. @@ -105,9 +105,7 @@ class ApplicationGateway extends models['Resource'] { * application gateway resource. * @property {object} [autoscaleConfiguration] Autoscale Configuration. * @property {number} [autoscaleConfiguration.minCapacity] Lower bound on - * number of Application Gateway capacity - * @property {number} [autoscaleConfiguration.maxCapacity] Upper bound on - * number of Application Gateway capacity + * number of Application Gateway instances * @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 c99467b381..8edff41c3a 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayAutoscaleConfiguration.js @@ -18,9 +18,7 @@ class ApplicationGatewayAutoscaleConfiguration { /** * Create a ApplicationGatewayAutoscaleConfiguration. * @property {number} minCapacity Lower bound on number of Application - * Gateway capacity - * @property {number} [maxCapacity] Upper bound on number of Application - * Gateway capacity + * Gateway instances */ constructor() { } @@ -42,16 +40,6 @@ class ApplicationGatewayAutoscaleConfiguration { minCapacity: { required: true, serializedName: 'minCapacity', - constraints: { - InclusiveMinimum: 0 - }, - type: { - name: 'Number' - } - }, - maxCapacity: { - required: false, - serializedName: 'maxCapacity', constraints: { InclusiveMinimum: 2 }, diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayBackendHealthServer.js b/lib/services/networkManagement2/lib/models/applicationGatewayBackendHealthServer.js index 4d57f5fb74..a2831585f2 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayBackendHealthServer.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayBackendHealthServer.js @@ -255,19 +255,6 @@ class ApplicationGatewayBackendHealthServer { * this public IP address. If the reverseFqdn is specified, then a PTR DNS * record is created pointing from the IP address in the in-addr.arpa domain * to the reverse FQDN. - * @property {object} [ipConfiguration.publicIPAddress.ddosSettings] The DDoS - * protection custom policy associated with the public IP address. - * @property {object} - * [ipConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] The DDoS - * custom policy associated with the public IP. - * @property {string} - * [ipConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [ipConfiguration.publicIPAddress.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' * @property {array} [ipConfiguration.publicIPAddress.ipTags] The list of * tags associated with the public IP address. * @property {string} [ipConfiguration.publicIPAddress.ipAddress] The IP diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js b/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js index ec8585c842..a2af0c022d 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayWebApplicationFirewallConfiguration.js @@ -27,11 +27,11 @@ class ApplicationGatewayWebApplicationFirewallConfiguration { * @property {array} [disabledRuleGroups] The disabled rule groups. * @property {boolean} [requestBodyCheck] Whether allow WAF to check request * Body. - * @property {number} [maxRequestBodySize] Maximum request body size for WAF. - * @property {number} [maxRequestBodySizeInKb] Maximum request body size in - * Kb for WAF. - * @property {number} [fileUploadLimitInMb] Maximum file upload size in Mb + * @property {number} [maxRequestBodySize] Maxium request body size for WAF. + * @property {number} [maxRequestBodySizeInKb] Maxium request body size in Kb * for WAF. + * @property {number} [fileUploadLimitInMb] Maxium file upload size in Mb for + * WAF. * @property {array} [exclusions] The exclusion list. */ constructor() { diff --git a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js index 3221bb1498..5bc4876daf 100644 --- a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js +++ b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js @@ -11,7 +11,7 @@ 'use strict'; /** - * List of connection states snapshots. + * List of connection states snaphots. * */ class ConnectionMonitorQueryResult { diff --git a/lib/services/networkManagement2/lib/models/containerNetworkInterface.js b/lib/services/networkManagement2/lib/models/containerNetworkInterface.js index 713badcaa8..8daec95b31 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 container to which this + * @property {object} [container] Reference to the conatinaer 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 ca44a96d58..701851a1da 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 configuration child resource. + * Container network interface configruation child resource. * * @extends models['SubResource'] */ diff --git a/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js index 36951b7787..7e443c4728 100644 --- a/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js +++ b/lib/services/networkManagement2/lib/models/effectiveNetworkSecurityRule.js @@ -26,20 +26,20 @@ class EffectiveNetworkSecurityRule { * @property {string} [destinationPortRange] The destination port or range. * @property {array} [sourcePortRanges] The source port ranges. Expected * values include a single integer between 0 and 65535, a range using '-' as - * separator (e.g. 100-400), or an asterisk (*) + * seperator (e.g. 100-400), or an asterix (*) * @property {array} [destinationPortRanges] The destination port ranges. * Expected values include a single integer between 0 and 65535, a range - * using '-' as separator (e.g. 100-400), or an asterisk (*) + * using '-' as seperator (e.g. 100-400), or an asterix (*) * @property {string} [sourceAddressPrefix] The source address prefix. * @property {string} [destinationAddressPrefix] The destination address * prefix. * @property {array} [sourceAddressPrefixes] The source address prefixes. * Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, - * AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * AureLoadBalancer, Internet), System Tags, and the asterix (*). * @property {array} [destinationAddressPrefixes] The destination address * prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the - * asterisk (*). + * (VirtualNetwork, AureLoadBalancer, 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 6d2110b174..f938b80f46 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: 'Succeeded', 'Updating', + * connection resource. Possible values are: 'Succeded', '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 3c02f9ef76..081bc30051 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. Specified for microsoft peering + * communities of bgp peering. Spepcified 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. Specified for microsoft peering + * communities of bgp peering. Spepcified 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 b298d147ae..d8b599509d 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. - * Specified for microsoft peering + * Spepcified 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 fe66bdc67e..7160299e30 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. Specified for microsoft peering + * communities of bgp peering. Spepcified 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. Specified for microsoft peering + * communities of bgp peering. Spepcified for microsoft peering * @property {string} * [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] * AdvertisedPublicPrefixState of the Peering resource. Possible values are diff --git a/lib/services/networkManagement2/lib/models/expressRoutePort.js b/lib/services/networkManagement2/lib/models/expressRoutePort.js index 06afeac1b0..825da5b272 100644 --- a/lib/services/networkManagement2/lib/models/expressRoutePort.js +++ b/lib/services/networkManagement2/lib/models/expressRoutePort.js @@ -31,7 +31,7 @@ class ExpressRoutePort extends models['Resource'] { * pair(s) * @property {string} [encapsulation] Encapsulation method on physical ports. * Possible values include: 'Dot1Q', 'QinQ' - * @property {string} [etherType] Ether type of the physical port. + * @property {string} [etherType] Ethertype of the physical port. * @property {string} [allocationDate] Date of the physical port allocation * to be used in Letter of Authorization. * @property {array} [links] ExpressRouteLink Sub-Resources. The set of diff --git a/lib/services/networkManagement2/lib/models/frontendIPConfiguration.js b/lib/services/networkManagement2/lib/models/frontendIPConfiguration.js index a052ed647c..935a6e5dfe 100644 --- a/lib/services/networkManagement2/lib/models/frontendIPConfiguration.js +++ b/lib/services/networkManagement2/lib/models/frontendIPConfiguration.js @@ -223,16 +223,6 @@ class FrontendIPConfiguration extends models['SubResource'] { * resolves to this public IP address. If the reverseFqdn is specified, then * a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} [publicIPAddress.ddosSettings] The DDoS protection - * custom policy associated with the public IP address. - * @property {object} [publicIPAddress.ddosSettings.ddosCustomPolicy] The - * DDoS custom policy associated with the public IP. - * @property {string} [publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} [publicIPAddress.ddosSettings.protectionCoverage] The - * DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} [publicIPAddress.ipTags] The list of tags associated * with the public IP address. * @property {string} [publicIPAddress.ipAddress] The IP address associated diff --git a/lib/services/networkManagement2/lib/models/iPConfiguration.js b/lib/services/networkManagement2/lib/models/iPConfiguration.js index bbf8ee6a45..8fb1f9cc92 100644 --- a/lib/services/networkManagement2/lib/models/iPConfiguration.js +++ b/lib/services/networkManagement2/lib/models/iPConfiguration.js @@ -115,16 +115,6 @@ class IPConfiguration extends models['SubResource'] { * resolves to this public IP address. If the reverseFqdn is specified, then * a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} [publicIPAddress.ddosSettings] The DDoS protection - * custom policy associated with the public IP address. - * @property {object} [publicIPAddress.ddosSettings.ddosCustomPolicy] The - * DDoS custom policy associated with the public IP. - * @property {string} [publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} [publicIPAddress.ddosSettings.protectionCoverage] The - * DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} [publicIPAddress.ipTags] The list of tags associated * with the public IP address. * @property {string} [publicIPAddress.ipAddress] The IP address associated diff --git a/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js b/lib/services/networkManagement2/lib/models/iPConfigurationProfile.js index d60031e028..8099172bba 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 container network interface ip configuration. + * a contatainer network interface ip configruation. * @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/inboundNatRule.js b/lib/services/networkManagement2/lib/models/inboundNatRule.js index 2a2635f929..691ac8beac 100644 --- a/lib/services/networkManagement2/lib/models/inboundNatRule.js +++ b/lib/services/networkManagement2/lib/models/inboundNatRule.js @@ -273,19 +273,6 @@ class InboundNatRule extends models['SubResource'] { * resolves to this public IP address. If the reverseFqdn is specified, then * a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} [backendIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * @property {object} - * [backendIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] The - * DDoS custom policy associated with the public IP. - * @property {string} - * [backendIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [backendIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} [backendIPConfiguration.publicIPAddress.ipTags] The list * of tags associated with the public IP address. * @property {string} [backendIPConfiguration.publicIPAddress.ipAddress] The diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 228db44907..c0f0b48c60 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -114,17 +114,17 @@ export interface SecurityRule extends SubResource { */ protocol: string; /** - * The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used + * The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used * to match all ports. */ sourcePortRange?: string; /** - * The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be + * The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be * used to match all ports. */ destinationPortRange?: string; /** - * The CIDR or source IP range. Asterisks '*' can also be used to match all source IPs. Default + * The CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default * tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is * an ingress rule, specifies where network traffic originates from. */ @@ -138,8 +138,8 @@ export interface SecurityRule extends SubResource { */ sourceApplicationSecurityGroups?: ApplicationSecurityGroup[]; /** - * The destination address prefix. CIDR or destination IP range. Asterisks '*' can also be used - * to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and + * The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to + * match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and * 'Internet' can also be used. */ destinationAddressPrefix?: string; @@ -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 - * outgoing traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: + * outcoming traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: * 'Inbound', 'Outbound' */ direction: string; @@ -544,21 +544,6 @@ export interface PublicIPAddressDnsSettings { reverseFqdn?: string; } -/** - * Contains the DDoS protection settings of the public IP. - */ -export interface DdosSettings { - /** - * The DDoS custom policy associated with the public IP. - */ - ddosCustomPolicy?: SubResource; - /** - * The DDoS protection policy customizability of the public IP. Only standard coverage will have - * the ability to be customized. Possible values include: 'Basic', 'Standard' - */ - protectionCoverage?: string; -} - /** * Contains the IpTag associated with the object */ @@ -599,10 +584,6 @@ export interface PublicIPAddress extends Resource { * The FQDN of the DNS record associated with the public IP address. */ dnsSettings?: PublicIPAddressDnsSettings; - /** - * The DDoS protection custom policy associated with the public IP address. - */ - ddosSettings?: DdosSettings; /** * The list of tags associated with the public IP address. */ @@ -680,7 +661,8 @@ export interface IPConfiguration extends SubResource { */ export interface IPConfigurationProfile extends SubResource { /** - * The reference of the subnet resource to create a container network interface ip configuration. + * The reference of the subnet resource to create a contatainer network interface ip + * configruation. */ subnet?: Subnet; /** @@ -2009,15 +1991,15 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ requestBodyCheck?: boolean; /** - * Maximum request body size for WAF. + * Maxium request body size for WAF. */ maxRequestBodySize?: number; /** - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. */ maxRequestBodySizeInKb?: number; /** - * Maximum file upload size in Mb for WAF. + * Maxium file upload size in Mb for WAF. */ fileUploadLimitInMb?: number; /** @@ -2031,13 +2013,9 @@ export interface ApplicationGatewayWebApplicationFirewallConfiguration { */ export interface ApplicationGatewayAutoscaleConfiguration { /** - * Lower bound on number of Application Gateway capacity + * Lower bound on number of Application Gateway instances */ minCapacity: number; - /** - * Upper bound on number of Application Gateway capacity - */ - maxCapacity?: number; } export interface ManagedServiceIdentityUserAssignedIdentitiesValue { @@ -2197,36 +2175,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. */ @@ -2333,20 +2281,6 @@ export interface ApplicationGatewaySslPredefinedPolicy extends SubResource { minProtocolVersion?: string; } -export interface ErrorDetails { - code?: string; - target?: string; - message?: string; -} - -export interface ErrorModel { - code?: string; - message?: string; - target?: string; - details?: ErrorDetails[]; - innerError?: string; -} - /** * Tags object for patch operations. */ @@ -2702,63 +2636,6 @@ export interface DnsNameAvailabilityResult { available?: boolean; } -/** - * DDoS custom policy properties. -*/ -export interface ProtocolCustomSettingsFormat { - /** - * The protocol for which the DDoS protection policy is being customized. Possible values - * include: 'Tcp', 'Udp', 'Syn' - */ - protocol?: string; - /** - * The customized DDoS protection trigger rate. - */ - triggerRateOverride?: string; - /** - * The customized DDoS protection source rate. - */ - sourceRateOverride?: string; - /** - * The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with - * most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity - * w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. - * Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values - * include: 'Relaxed', 'Low', 'Default', 'High' - */ - triggerSensitivityOverride?: string; -} - -/** - * A DDoS custom policy in a resource group. -*/ -export interface DdosCustomPolicy extends Resource { - /** - * The resource GUID property of the DDoS custom policy resource. It uniquely identifies the - * resource, even if the user changes its name or migrate the resource across subscriptions or - * resource groups. - */ - readonly resourceGuid?: string; - /** - * The provisioning state of the DDoS custom policy resource. Possible values are: 'Succeeded', - * 'Updating', 'Deleting', and 'Failed'. - */ - readonly provisioningState?: string; - /** - * The list of public IPs associated with the DDoS custom policy resource. This list is - * read-only. - */ - readonly publicIPAddresses?: SubResource[]; - /** - * The protocol-specific DDoS policy customization parameters. - */ - protocolCustomSettings?: ProtocolCustomSettingsFormat[]; - /** - * A unique read-only string that changes whenever the resource is updated. - */ - readonly etag?: string; -} - /** * A DDoS protection plan in a resource group. */ @@ -2857,7 +2734,7 @@ export interface ExpressRouteCircuitPeeringConfig { */ advertisedPublicPrefixes?: string[]; /** - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering */ advertisedCommunities?: string[]; /** @@ -2972,7 +2849,7 @@ export interface ExpressRouteCircuitConnection extends SubResource { */ readonly circuitConnectionStatus?: string; /** - * Provisioning state of the circuit connection resource. Possible values are: 'Succeeded', + * Provisioning state of the circuit connection resource. Possible values are: 'Succeded', * 'Updating', 'Deleting', and 'Failed'. */ readonly provisioningState?: string; @@ -3796,7 +3673,7 @@ export interface ExpressRoutePort extends Resource { */ encapsulation?: string; /** - * Ether type of the physical port. + * Ethertype of the physical port. */ readonly etherType?: string; /** @@ -4131,6 +4008,20 @@ export interface LoadBalancer extends Resource { etag?: string; } +export interface ErrorDetails { + code?: string; + target?: string; + message?: string; +} + +export interface ErrorModel { + code?: string; + message?: string; + target?: string; + details?: ErrorDetails[]; + innerError?: string; +} + /** * 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 @@ -4185,12 +4076,12 @@ export interface EffectiveNetworkSecurityRule { destinationPortRange?: string; /** * The source port ranges. Expected values include a single integer between 0 and 65535, a range - * using '-' as separator (e.g. 100-400), or an asterisk (*) + * using '-' as seperator (e.g. 100-400), or an asterix (*) */ sourcePortRanges?: string[]; /** * The destination port ranges. Expected values include a single integer between 0 and 65535, a - * range using '-' as separator (e.g. 100-400), or an asterisk (*) + * range using '-' as seperator (e.g. 100-400), or an asterix (*) */ destinationPortRanges?: string[]; /** @@ -4203,12 +4094,12 @@ export interface EffectiveNetworkSecurityRule { destinationAddressPrefix?: string; /** * The source address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). */ sourceAddressPrefixes?: string[]; /** * The destination address prefixes. Expected values include CIDR IP ranges, Default Tags - * (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). + * (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*). */ destinationAddressPrefixes?: string[]; /** @@ -4320,7 +4211,7 @@ export interface EffectiveRouteListResult { } /** - * Container network interface configuration child resource. + * Container network interface configruation child resource. */ export interface ContainerNetworkInterfaceConfiguration extends SubResource { /** @@ -4388,7 +4279,7 @@ export interface ContainerNetworkInterface extends SubResource { */ containerNetworkInterfaceConfiguration?: ContainerNetworkInterfaceConfiguration; /** - * Reference to the container to which this container network interface is attached. + * Reference to the conatinaer to which this container network interface is attached. */ container?: Container; /** @@ -5595,7 +5486,7 @@ export interface ConnectionStateSnapshot { } /** - * List of connection states snapshots. + * List of connection states snaphots. */ export interface ConnectionMonitorQueryResult { /** @@ -5630,7 +5521,7 @@ export interface NetworkConfigurationDiagnosticProfile { */ destination: string; /** - * Traffic destination port. Accepted values are '*', port (for example, 3389) and port range + * Traffice destination port. Accepted values are '*', port (for example, 3389) and port range * (for example, 80-100). */ destinationPort: string; @@ -7166,8 +7057,8 @@ export interface P2SVpnServerConfiguration extends SubResource { */ radiusServerAddress?: string; /** - * The radius secret property of the P2SVpnServerConfiguration resource for point to site client - * connection. + * The radius secret property of the P2SVpnServerConfiguration resource for for point to site + * client connection. */ radiusServerSecret?: string; /** @@ -7597,7 +7488,7 @@ export interface P2SVpnGateway extends Resource { */ vpnClientAddressPool?: AddressSpace; /** - * All P2S VPN clients' connection health status. + * All P2S vpnclients' 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..c3ef882830 100644 --- a/lib/services/networkManagement2/lib/models/index.js +++ b/lib/services/networkManagement2/lib/models/index.js @@ -35,7 +35,6 @@ exports.ServiceEndpointPolicyDefinition = require('./serviceEndpointPolicyDefini exports.ServiceEndpointPolicy = require('./serviceEndpointPolicy'); exports.PublicIPAddressSku = require('./publicIPAddressSku'); exports.PublicIPAddressDnsSettings = require('./publicIPAddressDnsSettings'); -exports.DdosSettings = require('./ddosSettings'); exports.IpTag = require('./ipTag'); exports.PublicIPAddress = require('./publicIPAddress'); exports.IPConfiguration = require('./iPConfiguration'); @@ -84,17 +83,12 @@ 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'); exports.ApplicationGatewayAvailableWafRuleSetsResult = require('./applicationGatewayAvailableWafRuleSetsResult'); exports.ApplicationGatewayAvailableSslOptions = require('./applicationGatewayAvailableSslOptions'); exports.ApplicationGatewaySslPredefinedPolicy = require('./applicationGatewaySslPredefinedPolicy'); -exports.ErrorDetails = require('./errorDetails'); -exports.ErrorModel = require('./errorModel'); exports.TagsObject = require('./tagsObject'); exports.AvailableDelegation = require('./availableDelegation'); exports.AzureFirewallIPConfiguration = require('./azureFirewallIPConfiguration'); @@ -110,8 +104,6 @@ exports.AzureFirewallNetworkRuleCollection = require('./azureFirewallNetworkRule exports.AzureFirewall = require('./azureFirewall'); exports.AzureFirewallFqdnTag = require('./azureFirewallFqdnTag'); exports.DnsNameAvailabilityResult = require('./dnsNameAvailabilityResult'); -exports.ProtocolCustomSettingsFormat = require('./protocolCustomSettingsFormat'); -exports.DdosCustomPolicy = require('./ddosCustomPolicy'); exports.DdosProtectionPlan = require('./ddosProtectionPlan'); exports.EndpointServiceResult = require('./endpointServiceResult'); exports.ExpressRouteCircuitAuthorization = require('./expressRouteCircuitAuthorization'); @@ -157,6 +149,8 @@ exports.Probe = require('./probe'); exports.InboundNatPool = require('./inboundNatPool'); exports.OutboundRule = require('./outboundRule'); exports.LoadBalancer = require('./loadBalancer'); +exports.ErrorDetails = require('./errorDetails'); +exports.ErrorModel = require('./errorModel'); exports.AzureAsyncOperationResult = require('./azureAsyncOperationResult'); exports.EffectiveNetworkSecurityGroupAssociation = require('./effectiveNetworkSecurityGroupAssociation'); exports.EffectiveNetworkSecurityRule = require('./effectiveNetworkSecurityRule'); diff --git a/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js b/lib/services/networkManagement2/lib/models/ipv6ExpressRouteCircuitPeeringConfig.js index fbf83a896f..8963d27f2e 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. Specified for microsoft peering + * communities of bgp peering. Spepcified 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 2442663842..18b0e42a73 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 Traffic destination port. Accepted + * @property {string} destinationPort Traffice 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 dd2f605ce9..0f92eccfff 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] Traffic destination port. + * @property {string} [profile.destinationPort] Traffice 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/networkInterfaceIPConfiguration.js b/lib/services/networkManagement2/lib/models/networkInterfaceIPConfiguration.js index bb51011b7a..bc754a7e9f 100644 --- a/lib/services/networkManagement2/lib/models/networkInterfaceIPConfiguration.js +++ b/lib/services/networkManagement2/lib/models/networkInterfaceIPConfiguration.js @@ -229,16 +229,6 @@ class NetworkInterfaceIPConfiguration extends models['SubResource'] { * resolves to this public IP address. If the reverseFqdn is specified, then * a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} [publicIPAddress.ddosSettings] The DDoS protection - * custom policy associated with the public IP address. - * @property {object} [publicIPAddress.ddosSettings.ddosCustomPolicy] The - * DDoS custom policy associated with the public IP. - * @property {string} [publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} [publicIPAddress.ddosSettings.protectionCoverage] The - * DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} [publicIPAddress.ipTags] The list of tags associated * with the public IP address. * @property {string} [publicIPAddress.ipAddress] The IP address associated diff --git a/lib/services/networkManagement2/lib/models/networkInterfaceTapConfiguration.js b/lib/services/networkManagement2/lib/models/networkInterfaceTapConfiguration.js index 3e4c688637..d79d64dcf9 100644 --- a/lib/services/networkManagement2/lib/models/networkInterfaceTapConfiguration.js +++ b/lib/services/networkManagement2/lib/models/networkInterfaceTapConfiguration.js @@ -313,20 +313,6 @@ class NetworkInterfaceTapConfiguration extends models['SubResource'] { * that resolves to this public IP address. If the reverseFqdn is specified, * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} - * [virtualNetworkTap.destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * @property {object} - * [virtualNetworkTap.destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * @property {string} - * [virtualNetworkTap.destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [virtualNetworkTap.destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} * [virtualNetworkTap.destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -644,20 +630,6 @@ class NetworkInterfaceTapConfiguration extends models['SubResource'] { * that resolves to this public IP address. If the reverseFqdn is specified, * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} - * [virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * @property {object} - * [virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * @property {string} - * [virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} * [virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. diff --git a/lib/services/networkManagement2/lib/models/p2SVpnGateway.js b/lib/services/networkManagement2/lib/models/p2SVpnGateway.js index 8e04614fec..52c0a8e4aa 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 VPN clients' + * @property {object} [vpnClientConnectionHealth] All P2S vpnclients' * 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 42e452c175..0ae7cb2040 100644 --- a/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js +++ b/lib/services/networkManagement2/lib/models/p2SVpnServerConfiguration.js @@ -40,7 +40,8 @@ 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 point to site client connection. + * P2SVpnServerConfiguration resource for 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/publicIPAddress.js b/lib/services/networkManagement2/lib/models/publicIPAddress.js index 873330b34d..761e9f4765 100644 --- a/lib/services/networkManagement2/lib/models/publicIPAddress.js +++ b/lib/services/networkManagement2/lib/models/publicIPAddress.js @@ -130,14 +130,6 @@ class PublicIPAddress extends models['Resource'] { * public IP address. If the reverseFqdn is specified, then a PTR DNS record * is created pointing from the IP address in the in-addr.arpa domain to the * reverse FQDN. - * @property {object} [ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * @property {object} [ddosSettings.ddosCustomPolicy] The DDoS custom policy - * associated with the public IP. - * @property {string} [ddosSettings.ddosCustomPolicy.id] Resource ID. - * @property {string} [ddosSettings.protectionCoverage] The DDoS protection - * policy customizability of the public IP. Only standard coverage will have - * the ability to be customized. Possible values include: 'Basic', 'Standard' * @property {array} [ipTags] The list of tags associated with the public IP * address. * @property {string} [ipAddress] The IP address associated with the public @@ -258,14 +250,6 @@ class PublicIPAddress extends models['Resource'] { className: 'PublicIPAddressDnsSettings' } }, - ddosSettings: { - required: false, - serializedName: 'properties.ddosSettings', - type: { - name: 'Composite', - className: 'DdosSettings' - } - }, ipTags: { required: false, serializedName: 'properties.ipTags', diff --git a/lib/services/networkManagement2/lib/models/securityRule.js b/lib/services/networkManagement2/lib/models/securityRule.js index bbee914e68..a40f02a127 100644 --- a/lib/services/networkManagement2/lib/models/securityRule.js +++ b/lib/services/networkManagement2/lib/models/securityRule.js @@ -26,21 +26,20 @@ class SecurityRule extends models['SubResource'] { * Possible values are 'Tcp', 'Udp', and '*'. Possible values include: 'Tcp', * 'Udp', '*' * @property {string} [sourcePortRange] The source port or range. Integer or - * range between 0 and 65535. Asterisks '*' can also be used to match all + * range between 0 and 65535. Asterix '*' can also be used to match all * ports. * @property {string} [destinationPortRange] The destination port or range. - * Integer or range between 0 and 65535. Asterisks '*' can also be used to + * Integer or range between 0 and 65535. Asterix '*' can also be used to * match all ports. * @property {string} [sourceAddressPrefix] The CIDR or source IP range. - * Asterisks '*' can also be used to match all source IPs. Default tags such - * as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. - * If this is an ingress rule, specifies where network traffic originates - * from. + * Asterix '*' can also be used to match all source IPs. Default tags such as + * 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If + * this is an ingress rule, specifies where network traffic originates from. * @property {array} [sourceAddressPrefixes] The CIDR or source IP ranges. * @property {array} [sourceApplicationSecurityGroups] The application * security group specified as source. * @property {string} [destinationAddressPrefix] The destination address - * prefix. CIDR or destination IP range. Asterisks '*' can also be used to + * prefix. CIDR or destination IP range. Asterix '*' can also be used to * match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @property {array} [destinationAddressPrefixes] The destination address @@ -57,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 outgoing traffic. + * specifies if rule will be evaluated on incoming or outcoming 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/models/virtualNetworkTap.js b/lib/services/networkManagement2/lib/models/virtualNetworkTap.js index 141a9651cf..7a465cf8bc 100644 --- a/lib/services/networkManagement2/lib/models/virtualNetworkTap.js +++ b/lib/services/networkManagement2/lib/models/virtualNetworkTap.js @@ -306,20 +306,6 @@ class VirtualNetworkTap extends models['Resource'] { * that resolves to this public IP address. If the reverseFqdn is specified, * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} - * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * @property {object} - * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * @property {string} - * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipTags] The * list of tags associated with the public IP address. @@ -633,20 +619,6 @@ class VirtualNetworkTap extends models['Resource'] { * that resolves to this public IP address. If the reverseFqdn is specified, * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. - * @property {object} - * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * @property {object} - * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * @property {string} - * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id] - * Resource ID. - * @property {string} - * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' * @property {array} * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. diff --git a/lib/services/networkManagement2/lib/networkManagementClient.d.ts b/lib/services/networkManagement2/lib/networkManagementClient.d.ts index 6a549fc30e..9753f42d8a 100644 --- a/lib/services/networkManagement2/lib/networkManagementClient.d.ts +++ b/lib/services/networkManagement2/lib/networkManagementClient.d.ts @@ -60,7 +60,6 @@ export default class NetworkManagementClient extends AzureServiceClient { availableResourceGroupDelegations: operations.AvailableResourceGroupDelegations; azureFirewalls: operations.AzureFirewalls; azureFirewallFqdnTags: operations.AzureFirewallFqdnTags; - ddosCustomPolicies: operations.DdosCustomPolicies; ddosProtectionPlans: operations.DdosProtectionPlans; availableEndpointServices: operations.AvailableEndpointServices; expressRouteCircuitAuthorizations: operations.ExpressRouteCircuitAuthorizations; diff --git a/lib/services/networkManagement2/lib/networkManagementClient.js b/lib/services/networkManagement2/lib/networkManagementClient.js index 7804a305b4..204f955d2f 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (this.subscriptionId === null || this.subscriptionId === undefined || typeof this.subscriptionId.valueOf() !== 'string') { @@ -370,7 +370,6 @@ class NetworkManagementClient extends ServiceClient { this.availableResourceGroupDelegations = new operations.AvailableResourceGroupDelegations(this); this.azureFirewalls = new operations.AzureFirewalls(this); this.azureFirewallFqdnTags = new operations.AzureFirewallFqdnTags(this); - this.ddosCustomPolicies = new operations.DdosCustomPolicies(this); this.ddosProtectionPlans = new operations.DdosProtectionPlans(this); this.availableEndpointServices = new operations.AvailableEndpointServices(this); this.expressRouteCircuitAuthorizations = new operations.ExpressRouteCircuitAuthorizations(this); diff --git a/lib/services/networkManagement2/lib/operations/applicationGateways.js b/lib/services/networkManagement2/lib/operations/applicationGateways.js index ab7628f7d0..462df9d33b 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -332,15 +332,15 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -355,10 +355,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -584,7 +581,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -720,7 +717,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -992,431 +989,29 @@ function _backendHealth(resourceGroupName, applicationGatewayName, options, call // Send request this.beginBackendHealth(resourceGroupName, applicationGatewayName, 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 - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayBackendHealth']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - - return callback(null, result, httpRequest, response); - }); - }); -} - -/** - * Lists all available server variables. - * - * @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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. - * - * {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 _listAvailableServerVariables(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-11-01'; - // Validate - try { - 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}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables'; - 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 = 'GET'; - 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]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - 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) { - let internalError = null; - if (parsedErrorResponse.error) internalError = parsedErrorResponse.error; - error.code = internalError ? internalError.code : parsedErrorResponse.code; - error.message = internalError ? internalError.message : parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['ErrorModel']().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; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableServerVariablesResult']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - -/** - * Lists all available request headers. - * - * @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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. - * - * {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 _listAvailableRequestHeaders(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-11-01'; - // Validate - try { - 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}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders'; - 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 = 'GET'; - 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]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - 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) { - let internalError = null; - if (parsedErrorResponse.error) internalError = parsedErrorResponse.error; - error.code = internalError ? internalError.code : parsedErrorResponse.code; - error.message = internalError ? internalError.message : parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['ErrorModel']().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; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableRequestHeadersResult']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - -/** - * Lists all available response headers. - * - * @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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. - * - * {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 _listAvailableResponseHeaders(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-11-01'; - // Validate - try { - 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}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders'; - 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 = 'GET'; - 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]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - let error = new Error(responseBody); - error.statusCode = response.statusCode; - error.request = msRest.stripRequest(httpRequest); - error.response = msRest.stripResponse(response); + + 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; - let parsedErrorResponse; - try { - parsedErrorResponse = JSON.parse(responseBody); - if (parsedErrorResponse) { - let internalError = null; - if (parsedErrorResponse.error) internalError = parsedErrorResponse.error; - error.code = internalError ? internalError.code : parsedErrorResponse.code; - error.message = internalError ? internalError.message : parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['ErrorModel']().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; - // Deserialize Response - if (statusCode === 200) { + + // Deserialize Response let parsedResponse = null; try { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableResponseHeadersResult']().mapper(); + let resultMapper = new client.models['ApplicationGatewayBackendHealth']().mapper(); result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1425,9 +1020,9 @@ function _listAvailableResponseHeaders(options, callback) { deserializationError.response = msRest.stripResponse(response); return callback(deserializationError); } - } - return callback(null, result, httpRequest, response); + return callback(null, result, httpRequest, response); + }); }); } @@ -1464,7 +1059,7 @@ function _listAvailableWafRuleSets(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1596,7 +1191,7 @@ function _listAvailableSslOptions(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1729,7 +1324,7 @@ function _listAvailableSslPredefinedPolicies(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1863,7 +1458,7 @@ function _getSslPredefinedPolicy(predefinedPolicyName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -2001,7 +1596,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2203,15 +1798,15 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -2226,10 +1821,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -2296,7 +1888,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationGatewayName, paramet if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2478,7 +2070,7 @@ function _beginUpdateTags(resourceGroupName, applicationGatewayName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2637,7 +2229,7 @@ function _beginStart(resourceGroupName, applicationGatewayName, options, callbac if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2762,7 +2354,7 @@ function _beginStop(resourceGroupName, applicationGatewayName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2894,7 +2486,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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -3410,9 +3002,6 @@ class ApplicationGateways { this._start = _start; this._stop = _stop; this._backendHealth = _backendHealth; - this._listAvailableServerVariables = _listAvailableServerVariables; - this._listAvailableRequestHeaders = _listAvailableRequestHeaders; - this._listAvailableResponseHeaders = _listAvailableResponseHeaders; this._listAvailableWafRuleSets = _listAvailableWafRuleSets; this._listAvailableSslOptions = _listAvailableSslOptions; this._listAvailableSslPredefinedPolicies = _listAvailableSslPredefinedPolicies; @@ -3710,15 +3299,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3733,10 +3322,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -3911,15 +3497,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -3934,10 +3520,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -4546,246 +4129,6 @@ class ApplicationGateways { } } - /** - * Lists all available server variables. - * - * @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. - */ - listAvailableServerVariablesWithHttpOperationResponse(options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listAvailableServerVariables(options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all available server variables. - * - * @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 {ApplicationGatewayAvailableServerVariablesResult} - 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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listAvailableServerVariables(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._listAvailableServerVariables(options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listAvailableServerVariables(options, optionalCallback); - } - } - - /** - * Lists all available request headers. - * - * @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. - */ - listAvailableRequestHeadersWithHttpOperationResponse(options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listAvailableRequestHeaders(options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all available request headers. - * - * @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 {ApplicationGatewayAvailableRequestHeadersResult} - 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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listAvailableRequestHeaders(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._listAvailableRequestHeaders(options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listAvailableRequestHeaders(options, optionalCallback); - } - } - - /** - * Lists all available response headers. - * - * @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. - */ - listAvailableResponseHeadersWithHttpOperationResponse(options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listAvailableResponseHeaders(options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all available response headers. - * - * @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 {ApplicationGatewayAvailableResponseHeadersResult} - 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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listAvailableResponseHeaders(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._listAvailableResponseHeaders(options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listAvailableResponseHeaders(options, optionalCallback); - } - } - /** * Lists all available web application firewall rule sets. * @@ -5304,15 +4647,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5327,10 +4670,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -5505,15 +4845,15 @@ class ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -5528,10 +4868,7 @@ class ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @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..db3ec9b6cb 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -312,91 +312,6 @@ function _createOrUpdate(resourceGroupName, applicationSecurityGroupName, parame }); } - -/** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {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 _updateTags(resourceGroupName, applicationSecurityGroupName, parameters, 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.beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, 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 - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationSecurityGroup']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - - return callback(null, result, httpRequest, response); - }); - }); -} - /** * Gets all application security groups in a subscription. * @@ -429,7 +344,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -563,7 +478,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -702,7 +617,7 @@ function _beginDeleteMethod(resourceGroupName, applicationSecurityGroupName, opt if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -839,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -981,173 +896,6 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p }); } -/** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {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 _beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, 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-11-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 (applicationSecurityGroupName === null || applicationSecurityGroupName === undefined || typeof applicationSecurityGroupName.valueOf() !== 'string') { - throw new Error('applicationSecurityGroupName cannot be null or undefined and it must be of type string.'); - } - if (parameters === null || parameters === undefined) { - throw new Error('parameters 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/applicationSecurityGroups/{applicationSecurityGroupName}'; - requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); - requestUrl = requestUrl.replace('{applicationSecurityGroupName}', encodeURIComponent(applicationSecurityGroupName)); - 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 = 'PATCH'; - 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 (parameters !== null && parameters !== undefined) { - let requestModelMapper = new client.models['TagsObject']().mapper(); - requestModel = client.serialize(requestModelMapper, parameters, 'parameters'); - requestContent = JSON.stringify(requestModel); - } - } catch (error) { - let serializationError = new Error(`Error "${error.message}" occurred in serializing the ` + - `payload - ${JSON.stringify(parameters, 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) { - 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; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationSecurityGroup']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - /** * Gets all application security groups in a subscription. * @@ -1415,12 +1163,10 @@ class ApplicationSecurityGroups { this._deleteMethod = _deleteMethod; this._get = _get; this._createOrUpdate = _createOrUpdate; - this._updateTags = _updateTags; this._listAll = _listAll; this._list = _list; this._beginDeleteMethod = _beginDeleteMethod; this._beginCreateOrUpdate = _beginCreateOrUpdate; - this._beginUpdateTags = _beginUpdateTags; this._listAllNext = _listAllNext; this._listNext = _listNext; } @@ -1708,105 +1454,6 @@ class ApplicationSecurityGroups { } } - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - updateTagsWithHttpOperationResponse(resourceGroupName, applicationSecurityGroupName, parameters, options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._updateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {ApplicationSecurityGroup} - 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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - updateTags(resourceGroupName, applicationSecurityGroupName, parameters, 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._updateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._updateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, optionalCallback); - } - } - /** * Gets all application security groups in a subscription. * @@ -2163,105 +1810,6 @@ class ApplicationSecurityGroups { } } - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - beginUpdateTagsWithHttpOperationResponse(resourceGroupName, applicationSecurityGroupName, parameters, options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {ApplicationSecurityGroup} - 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. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, 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._beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._beginUpdateTags(resourceGroupName, applicationSecurityGroupName, parameters, options, optionalCallback); - } - } - /** * Gets all application security groups in a subscription. * diff --git a/lib/services/networkManagement2/lib/operations/availableDelegations.js b/lib/services/networkManagement2/lib/operations/availableDelegations.js index ecfe61cda0..356dc966b3 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 = '9999-99-99'; // 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..0d2e4c6954 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 = '9999-99-99'; // 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..b38328e96d 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 = '9999-99-99'; // 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..b6b73988da 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 = '9999-99-99'; // 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..3181a2e4d4 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -357,7 +357,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -493,7 +493,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -627,7 +627,7 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -778,7 +778,7 @@ function _beginCreateOrUpdate(resourceGroupName, azureFirewallName, parameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js b/lib/services/networkManagement2/lib/operations/bgpServiceCommunities.js index 37f8d308a1..b768a053a3 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 = '9999-99-99'; // 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..e0f18f1e1e 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..e66d98a8ab 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..0b0684ed0f 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..2349d525f3 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitConnections.js index 4afa5247bb..cf91de1394 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -256,7 +256,7 @@ function _get(resourceGroupName, circuitName, peeringName, connectionName, optio * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -394,7 +394,7 @@ function _list(resourceGroupName, circuitName, peeringName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -659,7 +659,7 @@ function _beginDeleteMethod(resourceGroupName, circuitName, peeringName, connect * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -716,7 +716,7 @@ function _beginCreateOrUpdate(resourceGroupName, circuitName, peeringName, conne if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1222,7 +1222,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1289,7 +1289,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1569,7 +1569,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -1636,7 +1636,7 @@ class ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCircuitPeerings.js index 0115ec4485..17dc998fb6 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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..e8d52c6873 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..37fe6b0aad 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js b/lib/services/networkManagement2/lib/operations/expressRouteCrossConnectionPeerings.js index bded47b466..ec6e3b3604 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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 = '9999-99-99'; // 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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. Specified for microsoft peering + * The communities of bgp peering. Spepcified 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..4d3f710815 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..0bd215eab0 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..dd9a0818de 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..a392a6a6ce 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js index e8cc4affbc..e218630f07 100644 --- a/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js +++ b/lib/services/networkManagement2/lib/operations/expressRoutePortsLocations.js @@ -17,7 +17,7 @@ const WebResource = msRest.WebResource; /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -48,7 +48,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -291,7 +291,7 @@ function _get(locationName, options, callback) { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -434,7 +434,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -464,7 +464,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -604,7 +604,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -637,7 +637,7 @@ class ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. diff --git a/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js b/lib/services/networkManagement2/lib/operations/expressRouteServiceProviders.js index 20321c7870..b18a2099f1 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 = '9999-99-99'; // 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..7e35a2db9f 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..50699591f2 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index fa235abb9f..d9ff0d7af2 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -249,15 +249,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -272,10 +272,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -438,15 +435,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -461,10 +458,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -896,165 +890,6 @@ export interface ApplicationGateways { backendHealth(resourceGroupName: string, applicationGatewayName: string, options: { expand? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - /** - * Lists all available server variables. - * - * @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. - */ - listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all available server variables. - * - * @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 {ApplicationGatewayAvailableServerVariablesResult} - 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. - * - * {ApplicationGatewayAvailableServerVariablesResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. - * - * {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; - - - /** - * Lists all available request headers. - * - * @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. - */ - listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all available request headers. - * - * @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 {ApplicationGatewayAvailableRequestHeadersResult} - 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. - * - * {ApplicationGatewayAvailableRequestHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. - * - * {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; - - - /** - * Lists all available response headers. - * - * @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. - */ - listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all available response headers. - * - * @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 {ApplicationGatewayAvailableResponseHeadersResult} - 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. - * - * {ApplicationGatewayAvailableResponseHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. - * - * {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; - - /** * Lists all available web application firewall rule sets. * @@ -1438,15 +1273,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1461,10 +1296,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -1627,15 +1459,15 @@ export interface ApplicationGateways { * allow WAF to check request Body. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maximum + * [parameters.webApplicationFirewallConfiguration.maxRequestBodySize] Maxium * request body size for WAF. * * @param {number} * [parameters.webApplicationFirewallConfiguration.maxRequestBodySizeInKb] - * Maximum request body size in Kb for WAF. + * Maxium request body size in Kb for WAF. * * @param {number} - * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum + * [parameters.webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium * file upload size in Mb for WAF. * * @param {array} [parameters.webApplicationFirewallConfiguration.exclusions] @@ -1650,10 +1482,7 @@ export interface ApplicationGateways { * @param {object} [parameters.autoscaleConfiguration] Autoscale Configuration. * * @param {number} parameters.autoscaleConfiguration.minCapacity Lower bound on - * number of Application Gateway capacity - * - * @param {number} [parameters.autoscaleConfiguration.maxCapacity] Upper bound - * on number of Application Gateway capacity + * number of Application Gateway instances * * @param {string} [parameters.resourceGuid] Resource GUID property of the * application gateway resource. @@ -2363,78 +2192,6 @@ export interface ApplicationSecurityGroups { createOrUpdate(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.ApplicationSecurityGroup, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - updateTagsWithHttpOperationResponse(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {ApplicationSecurityGroup} - 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. - * - * {ApplicationSecurityGroup} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {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. - */ - updateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - updateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, callback: ServiceCallback): void; - updateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - /** * Gets all application security groups in a subscription. * @@ -2683,78 +2440,6 @@ export interface ApplicationSecurityGroups { beginCreateOrUpdate(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.ApplicationSecurityGroup, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - beginUpdateTagsWithHttpOperationResponse(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Updates an application security group's tags. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} applicationSecurityGroupName The name of the application - * security group. - * - * @param {object} parameters Parameters supplied to update application - * security group tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {ApplicationSecurityGroup} - 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. - * - * {ApplicationSecurityGroup} [result] - The deserialized result object if an error did not occur. - * See {@link ApplicationSecurityGroup} for more - * information. - * - * {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. - */ - beginUpdateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - beginUpdateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, callback: ServiceCallback): void; - beginUpdateTags(resourceGroupName: string, applicationSecurityGroupName: string, parameters: models.TagsObject, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - /** * Gets all application security groups in a subscription. * @@ -3874,494 +3559,6 @@ export interface AzureFirewallFqdnTags { listAllNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; } -/** - * @class - * DdosCustomPolicies - * __NOTE__: An instance of this class is automatically created for an - * instance of the NetworkManagementClient. - */ -export interface DdosCustomPolicies { - - - /** - * Deletes the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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. - */ - deleteMethodWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Deletes the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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. - */ - deleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - deleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, callback: ServiceCallback): void; - deleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Gets information about the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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. - */ - getWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Gets information about the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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 {DdosCustomPolicy} - 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. - * - * {DdosCustomPolicy} [result] - The deserialized result object if an error did not occur. - * See {@link DdosCustomPolicy} for more information. - * - * {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. - */ - get(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - get(resourceGroupName: string, ddosCustomPolicyName: string, callback: ServiceCallback): void; - get(resourceGroupName: string, ddosCustomPolicyName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Creates or updates a DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the create or update - * operation. - * - * @param {array} [parameters.protocolCustomSettings] The protocol-specific - * DDoS policy customization parameters. - * - * @param {string} [parameters.id] Resource ID. - * - * @param {string} [parameters.location] Resource location. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - createOrUpdateWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Creates or updates a DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the create or update - * operation. - * - * @param {array} [parameters.protocolCustomSettings] The protocol-specific - * DDoS policy customization parameters. - * - * @param {string} [parameters.id] Resource ID. - * - * @param {string} [parameters.location] Resource location. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {DdosCustomPolicy} - 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. - * - * {DdosCustomPolicy} [result] - The deserialized result object if an error did not occur. - * See {@link DdosCustomPolicy} for more information. - * - * {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. - */ - createOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - createOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, callback: ServiceCallback): void; - createOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Update a DDoS custom policy tags - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the update DDoS custom - * policy resource tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - updateTagsWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Update a DDoS custom policy tags - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the update DDoS custom - * policy resource tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {DdosCustomPolicy} - 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. - * - * {DdosCustomPolicy} [result] - The deserialized result object if an error did not occur. - * See {@link DdosCustomPolicy} for more information. - * - * {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. - */ - updateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - updateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, callback: ServiceCallback): void; - updateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Deletes the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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. - */ - beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Deletes the specified DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @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. - */ - beginDeleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - beginDeleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, callback: ServiceCallback): void; - beginDeleteMethod(resourceGroupName: string, ddosCustomPolicyName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Creates or updates a DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the create or update - * operation. - * - * @param {array} [parameters.protocolCustomSettings] The protocol-specific - * DDoS policy customization parameters. - * - * @param {string} [parameters.id] Resource ID. - * - * @param {string} [parameters.location] Resource location. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - beginCreateOrUpdateWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Creates or updates a DDoS custom policy. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the create or update - * operation. - * - * @param {array} [parameters.protocolCustomSettings] The protocol-specific - * DDoS policy customization parameters. - * - * @param {string} [parameters.id] Resource ID. - * - * @param {string} [parameters.location] Resource location. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {DdosCustomPolicy} - 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. - * - * {DdosCustomPolicy} [result] - The deserialized result object if an error did not occur. - * See {@link DdosCustomPolicy} for more information. - * - * {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. - */ - beginCreateOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - beginCreateOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, callback: ServiceCallback): void; - beginCreateOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.DdosCustomPolicy, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Update a DDoS custom policy tags - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the update DDoS custom - * policy resource tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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. - */ - beginUpdateTagsWithHttpOperationResponse(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Update a DDoS custom policy tags - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} ddosCustomPolicyName The name of the DDoS custom policy. - * - * @param {object} parameters Parameters supplied to the update DDoS custom - * policy resource tags. - * - * @param {object} [parameters.tags] Resource tags. - * - * @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 {DdosCustomPolicy} - 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. - * - * {DdosCustomPolicy} [result] - The deserialized result object if an error did not occur. - * See {@link DdosCustomPolicy} for more information. - * - * {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. - */ - beginUpdateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - beginUpdateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, callback: ServiceCallback): void; - beginUpdateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: models.TagsObject, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; -} - /** * @class * DdosProtectionPlans @@ -5788,7 +4985,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -5943,7 +5140,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6240,7 +5437,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6395,7 +5592,7 @@ export interface ExpressRouteCircuitPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -6706,7 +5903,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6761,7 +5958,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -6972,7 +6169,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -7027,7 +6224,7 @@ export interface ExpressRouteCircuitConnections { * connection. * * @param {object} expressRouteCircuitConnectionParameters Parameters supplied - * to the create or update express route circuit connection operation. + * to the create or update express route circuit circuit connection operation. * * @param {object} * [expressRouteCircuitConnectionParameters.expressRouteCircuitPeering] @@ -10138,7 +9335,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10261,7 +9458,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10468,7 +9665,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -10591,7 +9788,7 @@ export interface ExpressRouteCrossConnectionPeerings { * * @param {array} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] - * The communities of bgp peering. Specified for microsoft peering + * The communities of bgp peering. Spepcified for microsoft peering * * @param {string} * [peeringParameters.ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState] @@ -11792,7 +10989,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11810,7 +11007,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {object} [options] Optional Parameters. * @@ -11908,7 +11105,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -11929,7 +11126,7 @@ export interface ExpressRoutePortsLocations { /** * Retrieves all ExpressRoutePort peering locations. Does not return available * bandwidths for each location. Available bandwidths can only be obtained when - * retrieving a specific peering location. + * retriving a specific peering location. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -19012,20 +18209,6 @@ export interface NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -19410,20 +18593,6 @@ export interface NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -19950,20 +19119,6 @@ export interface NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -20348,20 +19503,6 @@ export interface NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -20627,7 +19768,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -20649,7 +19790,7 @@ export interface NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -22014,15 +21155,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22034,7 +21175,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22060,7 +21201,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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22111,15 +21252,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22131,7 +21272,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22157,7 +21298,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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22353,15 +21494,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22373,7 +21514,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22399,7 +21540,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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -22450,15 +21591,15 @@ export interface SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -22470,7 +21611,7 @@ export interface SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -22496,7 +21637,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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -27516,17 +26657,6 @@ export interface PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -27615,17 +26745,6 @@ export interface PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -28189,17 +27308,6 @@ export interface PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -28288,17 +27396,6 @@ export interface PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -28741,7 +27838,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -28763,7 +27860,7 @@ export interface PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -41887,20 +40984,6 @@ export interface VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -42261,20 +41344,6 @@ export interface VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -42889,20 +41958,6 @@ export interface VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -43263,20 +42318,6 @@ export interface VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -44384,7 +43425,7 @@ export interface VpnSites { /** - * Retrieves the details of a VPN site. + * Retrieves the details of a VPNsite. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -44404,7 +43445,7 @@ export interface VpnSites { getWithHttpOperationResponse(resourceGroupName: string, vpnSiteName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieves the details of a VPN site. + * Retrieves the details of a VPNsite. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -47986,8 +47027,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for for + * point to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48059,8 +47100,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for for + * point to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48278,8 +47319,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for for + * point to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] @@ -48351,8 +47392,8 @@ export interface P2sVpnServerConfigurations { * for point to site client connection. * * @param {string} [p2SVpnServerConfigurationParameters.radiusServerSecret] The - * radius secret property of the P2SVpnServerConfiguration resource for point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for for + * point to site client connection. * * @param {string} * [p2SVpnServerConfigurationParameters.p2SVpnServerConfigurationPropertiesEtag] diff --git a/lib/services/networkManagement2/lib/operations/index.js b/lib/services/networkManagement2/lib/operations/index.js index 694db4c1c5..75d648518a 100644 --- a/lib/services/networkManagement2/lib/operations/index.js +++ b/lib/services/networkManagement2/lib/operations/index.js @@ -20,7 +20,6 @@ exports.AvailableDelegations = require('./availableDelegations'); exports.AvailableResourceGroupDelegations = require('./availableResourceGroupDelegations'); exports.AzureFirewalls = require('./azureFirewalls'); exports.AzureFirewallFqdnTags = require('./azureFirewallFqdnTags'); -exports.DdosCustomPolicies = require('./ddosCustomPolicies'); exports.DdosProtectionPlans = require('./ddosProtectionPlans'); exports.AvailableEndpointServices = require('./availableEndpointServices'); exports.ExpressRouteCircuitAuthorizations = require('./expressRouteCircuitAuthorizations'); diff --git a/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js b/lib/services/networkManagement2/lib/operations/interfaceEndpoints.js index e36d3c803f..3075bab3c5 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..204962c49f 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..3274bb0538 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..86ca9205e9 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..e9dfcb37a3 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 = '9999-99-99'; // 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..6528654c5f 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..a87cd0a5ab 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..3aee50b2f9 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..32dad25ad5 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..9f4a1b4a30 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..acb6a569a4 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 = '9999-99-99'; // 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..5e8b073088 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -499,20 +499,6 @@ function _get(resourceGroupName, networkInterfaceName, tapConfigurationName, opt * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -722,7 +708,7 @@ function _list(resourceGroupName, networkInterfaceName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -866,7 +852,7 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, tapConfigur if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1230,20 +1216,6 @@ function _beginDeleteMethod(resourceGroupName, networkInterfaceName, tapConfigur * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -1375,7 +1347,7 @@ function _beginCreateOrUpdate(resourceGroupName, networkInterfaceName, tapConfig if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2115,20 +2087,6 @@ class NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -2525,20 +2483,6 @@ class NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -3134,20 +3078,6 @@ class NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -3544,20 +3474,6 @@ class NetworkInterfaceTapConfigurations { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [tapConfigurationParameters.virtualNetworkTap.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. diff --git a/lib/services/networkManagement2/lib/operations/networkInterfaces.js b/lib/services/networkManagement2/lib/operations/networkInterfaces.js index 2c488bf1ce..3e383453d0 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/networkProfiles.js b/lib/services/networkManagement2/lib/operations/networkProfiles.js index 089428b0f8..fcbadd37d4 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -144,7 +144,7 @@ function _deleteMethod(resourceGroupName, networkProfileName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the PublicIPPrefx. * * @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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1285,7 +1285,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -1319,7 +1319,7 @@ class NetworkProfiles { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} networkProfileName The name of the PublicIPPrefix. + * @param {string} networkProfileName The name of the PublicIPPrefx. * * @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..44bbceccd1 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..ffe8f2a211 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..4781a5a97b 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 = '9999-99-99'; // 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..3a55025ae6 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js b/lib/services/networkManagement2/lib/operations/p2sVpnServerConfigurations.js index aa787a4050..f2a79e2ab4 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 = '9999-99-99'; // 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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 = '9999-99-99'; // 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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 point - * to site client connection. + * radius secret property of the P2SVpnServerConfiguration resource for 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..169101d04a 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..517fe062d9 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -272,17 +272,6 @@ function _get(resourceGroupName, publicIpAddressName, options, callback) { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -501,7 +490,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -635,7 +624,7 @@ function _list(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1260,7 +1249,7 @@ function _beginDeleteMethod(resourceGroupName, publicIpAddressName, options, cal if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1393,17 +1382,6 @@ function _beginDeleteMethod(resourceGroupName, publicIpAddressName, options, cal * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -1465,7 +1443,7 @@ function _beginCreateOrUpdate(resourceGroupName, publicIpAddressName, parameters if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1647,7 +1625,7 @@ function _beginUpdateTags(resourceGroupName, publicIpAddressName, parameters, op if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2529,17 +2507,6 @@ class PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -2640,17 +2607,6 @@ class PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -3418,17 +3374,6 @@ class PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * @@ -3529,17 +3474,6 @@ class PublicIPAddresses { * record is created pointing from the IP address in the in-addr.arpa domain to * the reverse FQDN. * - * @param {object} [parameters.ddosSettings] The DDoS protection custom policy - * associated with the public IP address. - * - * @param {object} [parameters.ddosSettings.ddosCustomPolicy] The DDoS custom - * policy associated with the public IP. - * - * @param {string} [parameters.ddosSettings.protectionCoverage] The DDoS - * protection policy customizability of the public IP. Only standard coverage - * will have the ability to be customized. Possible values include: 'Basic', - * 'Standard' - * * @param {array} [parameters.ipTags] The list of tags associated with the * public IP address. * diff --git a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js index a7c9bb3865..45de9345a0 100644 --- a/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js +++ b/lib/services/networkManagement2/lib/operations/publicIPPrefixes.js @@ -82,7 +82,7 @@ function _deleteMethod(resourceGroupName, publicIpPrefixName, options, callback) * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the PublicIPPrefx. * * @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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1578,7 +1578,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the PublicIPPrefx. * * @param {object} [options] Optional Parameters. * @@ -1612,7 +1612,7 @@ class PublicIPPrefixes { * * @param {string} resourceGroupName The name of the resource group. * - * @param {string} publicIpPrefixName The name of the PublicIPPrefix. + * @param {string} publicIpPrefixName The name of the PublicIPPrefx. * * @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..35b20a34c2 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..e6f63abf83 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..8edffa2f28 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..b0685e20c9 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/securityRules.js b/lib/services/networkManagement2/lib/operations/securityRules.js index 16dc435cd5..142d70fe9b 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -252,15 +252,15 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -272,7 +272,7 @@ function _get(resourceGroupName, networkSecurityGroupName, securityRuleName, opt * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -683,15 +683,15 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -703,7 +703,7 @@ function _beginDeleteMethod(resourceGroupName, networkSecurityGroupName, securit * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1269,15 +1269,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1289,7 +1289,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1378,15 +1378,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1398,7 +1398,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1689,15 +1689,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1709,7 +1709,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values * include: 'Inbound', 'Outbound' * @@ -1798,15 +1798,15 @@ class SecurityRules { * include: 'Tcp', 'Udp', '*' * * @param {string} [securityRuleParameters.sourcePortRange] The source port or - * range. Integer or range between 0 and 65535. Asterisks '*' can also be used - * to match all ports. + * range. Integer or range between 0 and 65535. Asterix '*' can also be used to + * match all ports. * * @param {string} [securityRuleParameters.destinationPortRange] The - * destination port or range. Integer or range between 0 and 65535. Asterisks - * '*' can also be used to match all ports. + * destination port or range. Integer or range between 0 and 65535. Asterix '*' + * can also be used to match all ports. * * @param {string} [securityRuleParameters.sourceAddressPrefix] The CIDR or - * source IP range. Asterisks '*' can also be used to match all source IPs. + * source IP range. Asterix '*' can also be used to match all source IPs. * Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' * can also be used. If this is an ingress rule, specifies where network * traffic originates from. @@ -1818,7 +1818,7 @@ class SecurityRules { * application security group specified as source. * * @param {string} [securityRuleParameters.destinationAddressPrefix] The - * destination address prefix. CIDR or destination IP range. Asterisks '*' can + * destination address prefix. CIDR or destination IP range. Asterix '*' can * also be used to match all source IPs. Default tags such as 'VirtualNetwork', * 'AzureLoadBalancer' and 'Internet' can also be used. * @@ -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 outgoing + * The direction specifies if rule will be evaluated on incoming or outcoming * 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..efc7967036 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..8a0c5214f8 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..3d89591c28 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -437,7 +437,7 @@ function _list(resourceGroupName, virtualNetworkName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -581,7 +581,7 @@ function _beginDeleteMethod(resourceGroupName, virtualNetworkName, subnetName, o if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -798,7 +798,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualNetworkName, subnetName, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/usages.js b/lib/services/networkManagement2/lib/operations/usages.js index 90e9791596..943c7ebc3a 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 = '9999-99-99'; // 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..0d1042eff8 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..067df9cc81 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..35567681e9 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..610e04c293 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..213053a26d 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 = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -480,20 +480,6 @@ function _get(resourceGroupName, tapName, options, callback) { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -767,7 +753,7 @@ function _listAll(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -901,7 +887,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1039,7 +1025,7 @@ function _beginDeleteMethod(resourceGroupName, tapName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1389,20 +1375,6 @@ function _beginDeleteMethod(resourceGroupName, tapName, options, callback) { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -1519,7 +1491,7 @@ function _beginCreateOrUpdate(resourceGroupName, tapName, parameters, options, c if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -1701,7 +1673,7 @@ function _beginUpdateTags(resourceGroupName, tapName, tapParameters, options, ca if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-11-01'; + let apiVersion = '9999-99-99'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -2533,20 +2505,6 @@ class VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -2919,20 +2877,6 @@ class VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -3670,20 +3614,6 @@ class VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. @@ -4056,20 +3986,6 @@ class VirtualNetworkTaps { * then a PTR DNS record is created pointing from the IP address in the * in-addr.arpa domain to the reverse FQDN. * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings] - * The DDoS protection custom policy associated with the public IP address. - * - * @param {object} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] - * The DDoS custom policy associated with the public IP. - * - * @param {string} - * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage] - * The DDoS protection policy customizability of the public IP. Only standard - * coverage will have the ability to be customized. Possible values include: - * 'Basic', 'Standard' - * * @param {array} * [parameters.destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags] * The list of tags associated with the public IP address. diff --git a/lib/services/networkManagement2/lib/operations/virtualNetworks.js b/lib/services/networkManagement2/lib/operations/virtualNetworks.js index 36c0afa10b..c1e50d314c 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..74da19923a 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..d6734e0201 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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..cac95ed56a 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { diff --git a/lib/services/networkManagement2/lib/operations/vpnSites.js b/lib/services/networkManagement2/lib/operations/vpnSites.js index fea817cb27..16d1939af9 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 VPN site. + * Retrieves the details of a VPNsite. * * @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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 = '9999-99-99'; // 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 VPN site. + * Retrieves the details of a VPNsite. * * @param {string} resourceGroupName The resource group name of the VpnSite. * @@ -1559,7 +1559,7 @@ class VpnSites { } /** - * Retrieves the details of a VPN site. + * Retrieves the details of a VPNsite. * * @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..8cb1b5487a 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 = '9999-99-99'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {