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
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 Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* List of connection states snaphots.
* List of connection states snapshots.
*
*/
class ConnectionMonitorQueryResult {
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
160 changes: 160 additions & 0 deletions lib/services/networkManagement2/lib/models/ddosCustomPolicy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* A DDoS custom policy in a resource group.
*
* @extends models['Resource']
*/
class DdosCustomPolicy extends models['Resource'] {
/**
* Create a DdosCustomPolicy.
* @property {string} [resourceGuid] 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.
* @property {string} [provisioningState] The provisioning state of the DDoS
* custom policy resource. Possible values are: 'Succeeded', 'Updating',
* 'Deleting', and 'Failed'.
* @property {array} [publicIPAddresses] The list of public IPs associated
* with the DDoS custom policy resource. This list is read-only.
* @property {array} [protocolCustomSettings] The protocol-specific DDoS
* policy customization parameters.
* @property {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
*/
constructor() {
super();
}

/**
* Defines the metadata of DdosCustomPolicy
*
* @returns {object} metadata of DdosCustomPolicy
*
*/
mapper() {
return {
required: false,
serializedName: 'DdosCustomPolicy',
type: {
name: 'Composite',
className: 'DdosCustomPolicy',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
location: {
required: false,
serializedName: 'location',
type: {
name: 'String'
}
},
tags: {
required: false,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
resourceGuid: {
required: false,
readOnly: true,
serializedName: 'properties.resourceGuid',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
serializedName: 'properties.provisioningState',
type: {
name: 'String'
}
},
publicIPAddresses: {
required: false,
readOnly: true,
serializedName: 'properties.publicIPAddresses',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubResourceElementType',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
},
protocolCustomSettings: {
required: false,
serializedName: 'properties.protocolCustomSettings',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ProtocolCustomSettingsFormatElementType',
type: {
name: 'Composite',
className: 'ProtocolCustomSettingsFormat'
}
}
}
},
etag: {
required: false,
readOnly: true,
serializedName: 'etag',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = DdosCustomPolicy;
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