Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ class ApplicationGateway extends models['Resource'] {
* @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck]
* Whether allow WAF to check request Body.
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request
* [webApplicationFirewallConfiguration.maxRequestBodySize] Maximum request
* body size for WAF.
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maximum
* request body size in Kb for WAF.
* @property {number}
* [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file
* [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum file
* upload size in Mb for WAF.
* @property {array} [webApplicationFirewallConfiguration.exclusions] The
* exclusion list.
Expand All @@ -105,7 +105,9 @@ class ApplicationGateway extends models['Resource'] {
* application gateway resource.
* @property {object} [autoscaleConfiguration] Autoscale Configuration.
* @property {number} [autoscaleConfiguration.minCapacity] Lower bound on
* number of Application Gateway instances
* number of Application Gateway capacity
* @property {number} [autoscaleConfiguration.maxCapacity] Upper bound on
* number of Application Gateway capacity
* @property {string} [resourceGuid] Resource GUID property of the
* application gateway resource.
* @property {string} [provisioningState] Provisioning state of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class ApplicationGatewayAutoscaleConfiguration {
/**
* Create a ApplicationGatewayAutoscaleConfiguration.
* @property {number} minCapacity Lower bound on number of Application
* Gateway instances
* Gateway capacity
* @property {number} [maxCapacity] Upper bound on number of Application
* Gateway capacity
*/
constructor() {
}
Expand All @@ -40,6 +42,16 @@ class ApplicationGatewayAutoscaleConfiguration {
minCapacity: {
required: true,
serializedName: 'minCapacity',
constraints: {
InclusiveMinimum: 0
},
type: {
name: 'Number'
}
},
maxCapacity: {
required: false,
serializedName: 'maxCapacity',
constraints: {
InclusiveMinimum: 2
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class ApplicationGatewayRewriteRule {
* Create a ApplicationGatewayRewriteRule.
* @property {string} [name] Name of the rewrite rule that is unique within
* an Application Gateway.
* @property {number} [ruleSequence] Rule Sequence of the rewrite rule that
* determines the order of execution of a particular rule in a
* RewriteRuleSet.
* @property {array} [conditions] Conditions based on which the action set
* execution will be evaluated.
* @property {object} [actionSet] Set of actions to be done as part of the
* rewrite Rule.
* @property {array} [actionSet.requestHeaderConfigurations] Request Header
Expand Down Expand Up @@ -50,6 +55,28 @@ class ApplicationGatewayRewriteRule {
name: 'String'
}
},
ruleSequence: {
required: false,
serializedName: 'ruleSequence',
type: {
name: 'Number'
}
},
conditions: {
required: false,
serializedName: 'conditions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ApplicationGatewayRewriteRuleConditionElementType',
type: {
name: 'Composite',
className: 'ApplicationGatewayRewriteRuleCondition'
}
}
}
},
actionSet: {
required: false,
serializedName: 'actionSet',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Set of conditions in the Rewrite Rule in Application Gateway.
*
*/
class ApplicationGatewayRewriteRuleCondition {
/**
* Create a ApplicationGatewayRewriteRuleCondition.
* @property {string} [variable] The condition parameter of the
* RewriteRuleCondition.
* @property {string} [pattern] The pattern, either fixed string or regular
* expression, that evaluates the truthfulness of the condition
* @property {boolean} [ignoreCase] Setting this paramter to truth value with
* force the pattern to do a case in-sensitive comparison.
* @property {boolean} [negate] Setting this value as truth will force to
* check the negation of the condition given by the user.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayRewriteRuleCondition
*
* @returns {object} metadata of ApplicationGatewayRewriteRuleCondition
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayRewriteRuleCondition',
type: {
name: 'Composite',
className: 'ApplicationGatewayRewriteRuleCondition',
modelProperties: {
variable: {
required: false,
serializedName: 'variable',
type: {
name: 'String'
}
},
pattern: {
required: false,
serializedName: 'pattern',
type: {
name: 'String'
}
},
ignoreCase: {
required: false,
serializedName: 'ignoreCase',
type: {
name: 'Boolean'
}
},
negate: {
required: false,
serializedName: 'negate',
type: {
name: 'Boolean'
}
}
}
}
};
}
}

module.exports = ApplicationGatewayRewriteRuleCondition;
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class ApplicationGatewayWebApplicationFirewallConfiguration {
* @property {array} [disabledRuleGroups] The disabled rule groups.
* @property {boolean} [requestBodyCheck] Whether allow WAF to check request
* Body.
* @property {number} [maxRequestBodySize] Maxium request body size for WAF.
* @property {number} [maxRequestBodySizeInKb] Maxium request body size in Kb
* @property {number} [maxRequestBodySize] Maximum request body size for WAF.
* @property {number} [maxRequestBodySizeInKb] Maximum request body size in
* Kb for WAF.
* @property {number} [fileUploadLimitInMb] Maximum file upload size in Mb
* for WAF.
* @property {number} [fileUploadLimitInMb] Maxium file upload size in Mb for
* WAF.
* @property {array} [exclusions] The exclusion list.
*/
constructor() {
Expand Down
9 changes: 9 additions & 0 deletions lib/services/networkManagement2/lib/models/azureFirewall.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class AzureFirewall extends models['Resource'] {
* @property {string} [provisioningState] The provisioning state of the
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
* 'Failed'
* @property {string} [threatIntelMode] The operation mode for Threat
* Intelligence. Possible values include: 'Alert', 'Deny', 'Off'
* @property {string} [etag] Gets a unique read-only string that changes
* whenever the resource is updated.
*/
Expand Down Expand Up @@ -163,6 +165,13 @@ class AzureFirewall extends models['Resource'] {
name: 'String'
}
},
threatIntelMode: {
required: false,
serializedName: 'properties.threatIntelMode',
type: {
name: 'String'
}
},
etag: {
required: false,
readOnly: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AzureFirewallApplicationRuleCollection extends models['SubResource'] {
* resource.
* @property {object} [action] The action type of a rule collection
* @property {string} [action.type] The type of action. Possible values
* include: 'Allow', 'Deny'
* include: 'Allow', 'Deny', 'Alert'
* @property {array} [rules] Collection of rules used by a application rule
* collection.
* @property {string} [provisioningState] The provisioning state of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AzureFirewallNatRule {
* @property {array} [sourceAddresses] List of source IP addresses for this
* rule.
* @property {array} [destinationAddresses] List of destination IP addresses
* for this rule.
* for this rule. Supports IP ranges, prefixes, and service tags.
* @property {array} [destinationPorts] List of destination ports.
* @property {array} [protocols] Array of AzureFirewallNetworkRuleProtocols
* applicable to this NAT rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AzureFirewallNetworkRuleCollection extends models['SubResource'] {
* resource.
* @property {object} [action] The action type of a rule collection
* @property {string} [action.type] The type of action. Possible values
* include: 'Allow', 'Deny'
* include: 'Allow', 'Deny', 'Alert'
* @property {array} [rules] Collection of rules used by a network rule
* collection.
* @property {string} [provisioningState] The provisioning state of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AzureFirewallRCAction {
/**
* Create a AzureFirewallRCAction.
* @property {string} [type] The type of action. Possible values include:
* 'Allow', 'Deny'
* 'Allow', 'Deny', 'Alert'
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
'use strict';

/**
* List of connection states snaphots.
* List of connection states snapshots.
*
*/
class ConnectionMonitorQueryResult {
/**
* Create a ConnectionMonitorQueryResult.
* @property {string} [sourceStatus] Status of connection monitor source.
* Possible values include: 'Uknown', 'Active', 'Inactive'
* Possible values include: 'Unknown', 'Active', 'Inactive'
* @property {array} [states] Information about connection states.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ContainerNetworkInterface extends models['SubResource'] {
* Resource type.
* @property {string} [containerNetworkInterfaceConfiguration.etag] A unique
* read-only string that changes whenever the resource is updated.
* @property {object} [container] Reference to the conatinaer to which this
* @property {object} [container] Reference to the container to which this
* container network interface is attached.
* @property {array} [ipConfigurations] Reference to the ip configuration on
* this container nic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const models = require('./index');

/**
* Container network interface configruation child resource.
* Container network interface configuration child resource.
*
* @extends models['SubResource']
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ class EffectiveNetworkSecurityRule {
* @property {string} [destinationPortRange] The destination port or range.
* @property {array} [sourcePortRanges] The source port ranges. Expected
* values include a single integer between 0 and 65535, a range using '-' as
* seperator (e.g. 100-400), or an asterix (*)
* separator (e.g. 100-400), or an asterisk (*)
* @property {array} [destinationPortRanges] The destination port ranges.
* Expected values include a single integer between 0 and 65535, a range
* using '-' as seperator (e.g. 100-400), or an asterix (*)
* using '-' as separator (e.g. 100-400), or an asterisk (*)
* @property {string} [sourceAddressPrefix] The source address prefix.
* @property {string} [destinationAddressPrefix] The destination address
* prefix.
* @property {array} [sourceAddressPrefixes] The source address prefixes.
* Expected values include CIDR IP ranges, Default Tags (VirtualNetwork,
* AureLoadBalancer, Internet), System Tags, and the asterix (*).
* AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
* @property {array} [destinationAddressPrefixes] The destination address
* prefixes. Expected values include CIDR IP ranges, Default Tags
* (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix
* (*).
* (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the
* asterisk (*).
* @property {array} [expandedSourceAddressPrefix] The expanded source
* address prefix.
* @property {array} [expandedDestinationAddressPrefix] Expanded destination
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ExpressRouteCircuitConnection extends models['SubResource'] {
* Connection State. Possible values are: 'Connected' and 'Disconnected'.
* Possible values include: 'Connected', 'Connecting', 'Disconnected'
* @property {string} [provisioningState] Provisioning state of the circuit
* connection resource. Possible values are: 'Succeded', 'Updating',
* connection resource. Possible values are: 'Succeeded', 'Updating',
* 'Deleting', and 'Failed'.
* @property {string} [name] Gets name of the resource that is unique within
* a resource group. This name can be used to access the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] {
* @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The
* reference of AdvertisedPublicPrefixes.
* @property {array} [microsoftPeeringConfig.advertisedCommunities] The
* communities of bgp peering. Spepcified for microsoft peering
* communities of bgp peering. Specified for microsoft peering
* @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState]
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
* 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.
Expand Down Expand Up @@ -84,7 +84,7 @@ class ExpressRouteCircuitPeering extends models['SubResource'] {
* reference of AdvertisedPublicPrefixes.
* @property {array}
* [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The
* communities of bgp peering. Spepcified for microsoft peering
* communities of bgp peering. Specified for microsoft peering
* @property {string}
* [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState]
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ExpressRouteCircuitPeeringConfig {
* @property {array} [advertisedPublicPrefixes] The reference of
* AdvertisedPublicPrefixes.
* @property {array} [advertisedCommunities] The communities of bgp peering.
* Spepcified for microsoft peering
* Specified for microsoft peering
* @property {string} [advertisedPublicPrefixesState]
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
* 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] {
* @property {array} [microsoftPeeringConfig.advertisedPublicPrefixes] The
* reference of AdvertisedPublicPrefixes.
* @property {array} [microsoftPeeringConfig.advertisedCommunities] The
* communities of bgp peering. Spepcified for microsoft peering
* communities of bgp peering. Specified for microsoft peering
* @property {string} [microsoftPeeringConfig.advertisedPublicPrefixesState]
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
* 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.
Expand Down Expand Up @@ -68,7 +68,7 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] {
* reference of AdvertisedPublicPrefixes.
* @property {array}
* [ipv6PeeringConfig.microsoftPeeringConfig.advertisedCommunities] The
* communities of bgp peering. Spepcified for microsoft peering
* communities of bgp peering. Specified for microsoft peering
* @property {string}
* [ipv6PeeringConfig.microsoftPeeringConfig.advertisedPublicPrefixesState]
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ExpressRoutePort extends models['Resource'] {
* pair(s)
* @property {string} [encapsulation] Encapsulation method on physical ports.
* Possible values include: 'Dot1Q', 'QinQ'
* @property {string} [etherType] Ethertype of the physical port.
* @property {string} [etherType] Ether type of the physical port.
* @property {string} [allocationDate] Date of the physical port allocation
* to be used in Letter of Authorization.
* @property {array} [links] ExpressRouteLink Sub-Resources. The set of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class IPConfigurationProfile extends models['SubResource'] {
/**
* Create a IPConfigurationProfile.
* @property {object} [subnet] The reference of the subnet resource to create
* a contatainer network interface ip configruation.
* a container network interface ip configuration.
* @property {string} [subnet.addressPrefix] The address prefix for the
* subnet.
* @property {array} [subnet.addressPrefixes] List of address prefixes for
Expand Down
Loading