Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR network/resource-manager] typo: Fix network/resource-manager/Microsoft.Network/network #4458

Closed
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/services/networkManagement2/lib/models/addressSpace.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class AddressSpace {
/**
* Create a AddressSpace.
* @member {array} [addressPrefixes] A list of address blocks reserved for
* @property {array} [addressPrefixes] A list of address blocks reserved for
* this virtual network in CIDR notation.
*/
constructor() {
Expand Down
157 changes: 101 additions & 56 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,99 +20,121 @@ const models = require('./index');
class ApplicationGateway extends models['Resource'] {
/**
* Create a ApplicationGateway.
* @member {object} [sku] SKU of the application gateway resource.
* @member {string} [sku.name] Name of an application gateway SKU. Possible
* @property {object} [sku] SKU of the application gateway resource.
* @property {string} [sku.name] Name of an application gateway SKU. Possible
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
* @member {string} [sku.tier] Tier of an application gateway. Possible
* @property {string} [sku.tier] Tier of an application gateway. Possible
* values include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
* @member {number} [sku.capacity] Capacity (instance count) of an
* @property {number} [sku.capacity] Capacity (instance count) of an
* application gateway.
* @member {object} [sslPolicy] SSL policy of the application gateway
* @property {object} [sslPolicy] SSL policy of the application gateway
* resource.
* @member {array} [sslPolicy.disabledSslProtocols] Ssl protocols to be
* @property {array} [sslPolicy.disabledSslProtocols] Ssl protocols to be
* disabled on application gateway.
* @member {string} [sslPolicy.policyType] Type of Ssl Policy. Possible
* @property {string} [sslPolicy.policyType] Type of Ssl Policy. Possible
* values include: 'Predefined', 'Custom'
* @member {string} [sslPolicy.policyName] Name of Ssl predefined policy.
* @property {string} [sslPolicy.policyName] Name of Ssl predefined policy.
* Possible values include: 'AppGwSslPolicy20150501',
* 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'
* @member {array} [sslPolicy.cipherSuites] Ssl cipher suites to be enabled
* @property {array} [sslPolicy.cipherSuites] Ssl cipher suites to be enabled
* in the specified order to application gateway.
* @member {string} [sslPolicy.minProtocolVersion] Minimum version of Ssl
* @property {string} [sslPolicy.minProtocolVersion] Minimum version of Ssl
* protocol to be supported on application gateway. Possible values include:
* 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'
* @member {string} [operationalState] Operational state of the application
* @property {string} [operationalState] Operational state of the application
* gateway resource. Possible values include: 'Stopped', 'Starting',
* 'Running', 'Stopping'
* @member {array} [gatewayIPConfigurations] Subnets of application the
* @property {array} [gatewayIPConfigurations] Subnets of application the
* gateway resource.
* @member {array} [authenticationCertificates] Authentication certificates
* @property {array} [authenticationCertificates] Authentication certificates
* of the application gateway resource.
* @member {array} [trustedRootCertificates] Trusted Root certificates of the
* application gateway resource.
* @member {array} [sslCertificates] SSL certificates of the application
* @property {array} [trustedRootCertificates] Trusted Root certificates of
* the application gateway resource.
* @property {array} [sslCertificates] SSL certificates of the application
* gateway resource.
* @member {array} [frontendIPConfigurations] Frontend IP addresses of the
* @property {array} [frontendIPConfigurations] Frontend IP addresses of the
* application gateway resource.
* @member {array} [frontendPorts] Frontend ports of the application gateway
* resource.
* @member {array} [probes] Probes of the application gateway resource.
* @member {array} [backendAddressPools] Backend address pool of the
* @property {array} [frontendPorts] Frontend ports of the application
* gateway resource.
* @property {array} [probes] Probes of the application gateway resource.
* @property {array} [backendAddressPools] Backend address pool of the
* application gateway resource.
* @member {array} [backendHttpSettingsCollection] Backend http settings of
* @property {array} [backendHttpSettingsCollection] Backend http settings of
* the application gateway resource.
* @member {array} [httpListeners] Http listeners of the application gateway
* resource.
* @member {array} [urlPathMaps] URL path map of the application gateway
* @property {array} [httpListeners] Http listeners of the application
* gateway resource.
* @property {array} [urlPathMaps] URL path map of the application gateway
* resource.
* @member {array} [requestRoutingRules] Request routing rules of the
* @property {array} [requestRoutingRules] Request routing rules of the
* application gateway resource.
* @member {array} [redirectConfigurations] Redirect configurations of the
* @property {array} [rewriteRuleSets] Rewrite rules for the application
* gateway resource.
* @property {array} [redirectConfigurations] Redirect configurations of the
* application gateway resource.
* @member {object} [webApplicationFirewallConfiguration] Web application
* @property {object} [webApplicationFirewallConfiguration] Web application
* firewall configuration.
* @member {boolean} [webApplicationFirewallConfiguration.enabled] Whether
* @property {boolean} [webApplicationFirewallConfiguration.enabled] Whether
* the web application firewall is enabled or not.
* @member {string} [webApplicationFirewallConfiguration.firewallMode] Web
* @property {string} [webApplicationFirewallConfiguration.firewallMode] Web
* application firewall mode. Possible values include: 'Detection',
* 'Prevention'
* @member {string} [webApplicationFirewallConfiguration.ruleSetType] The
* @property {string} [webApplicationFirewallConfiguration.ruleSetType] The
* type of the web application firewall rule set. Possible values are:
* 'OWASP'.
* @member {string} [webApplicationFirewallConfiguration.ruleSetVersion] The
* version of the rule set type.
* @member {array} [webApplicationFirewallConfiguration.disabledRuleGroups]
* @property {string} [webApplicationFirewallConfiguration.ruleSetVersion]
* The version of the rule set type.
* @property {array} [webApplicationFirewallConfiguration.disabledRuleGroups]
* The disabled rule groups.
* @member {boolean} [webApplicationFirewallConfiguration.requestBodyCheck]
* @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck]
* Whether allow WAF to check request Body.
* @member {number} [webApplicationFirewallConfiguration.maxRequestBodySize]
* Maxium request body size for WAF.
* @member {number}
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySize] Maximum request
* body size for WAF.
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maximum
* request body size in Kb for WAF.
* @member {number} [webApplicationFirewallConfiguration.fileUploadLimitInMb]
* Maxium file upload size in Mb for WAF.
* @member {array} [webApplicationFirewallConfiguration.exclusions] The
* @property {number}
* [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maximum file
* upload size in Mb for WAF.
* @property {array} [webApplicationFirewallConfiguration.exclusions] The
* exclusion list.
* @member {boolean} [enableHttp2] Whether HTTP2 is enabled on the
* @property {boolean} [enableHttp2] Whether HTTP2 is enabled on the
* application gateway resource.
* @member {boolean} [enableFips] Whether FIPS is enabled on the application
* gateway resource.
* @member {object} [autoscaleConfiguration] Autoscale Configuration.
* @member {number} [autoscaleConfiguration.minCapacity] Lower bound on
* @property {boolean} [enableFips] Whether FIPS is enabled on the
* application gateway resource.
* @property {object} [autoscaleConfiguration] Autoscale Configuration.
* @property {number} [autoscaleConfiguration.minCapacity] Lower bound on
* number of Application Gateway instances
* @member {string} [resourceGuid] Resource GUID property of the application
* gateway resource.
* @member {string} [provisioningState] Provisioning state of the application
* gateway resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {array} [customErrorConfigurations] Custom error configurations of
* the application gateway resource.
* @member {string} [etag] A unique read-only string that changes whenever
* @property {string} [resourceGuid] Resource GUID property of the
* application gateway resource.
* @property {string} [provisioningState] Provisioning state of the
* application gateway resource. Possible values are: 'Updating', 'Deleting',
* and 'Failed'.
* @property {array} [customErrorConfigurations] Custom error configurations
* of the application gateway resource.
* @property {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {array} [zones] A list of availability zones denoting where the
* @property {array} [zones] A list of availability zones denoting where the
* resource needs to come from.
* @property {object} [identity] The identity of the application gateway, if
* configured.
* @property {string} [identity.principalId] The principal id of the system
* assigned identity. This property will only be provided for a system
* assigned identity.
* @property {string} [identity.tenantId] The tenant id of the system
* assigned identity. This property will only be provided for a system
* assigned identity.
* @property {string} [identity.type] The type of identity used for the
* resource. The type 'SystemAssigned, UserAssigned' includes both an
* implicitly created identity and a set of user assigned identities. The
* type 'None' will remove any identities from the virtual machine. Possible
* values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
* UserAssigned', 'None'
* @property {object} [identity.userAssignedIdentities] The list of user
* identities associated with resource. The user identity dictionary key
* references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
*/
constructor() {
super();
Expand Down Expand Up @@ -380,6 +402,21 @@ class ApplicationGateway extends models['Resource'] {
}
}
},
rewriteRuleSets: {
required: false,
serializedName: 'properties.rewriteRuleSets',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ApplicationGatewayRewriteRuleSetElementType',
type: {
name: 'Composite',
className: 'ApplicationGatewayRewriteRuleSet'
}
}
}
},
redirectConfigurations: {
required: false,
serializedName: 'properties.redirectConfigurations',
Expand Down Expand Up @@ -474,6 +511,14 @@ class ApplicationGateway extends models['Resource'] {
}
}
}
},
identity: {
required: false,
serializedName: 'identity',
type: {
name: 'Composite',
className: 'ManagedServiceIdentity'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ const models = require('./index');
class ApplicationGatewayAuthenticationCertificate extends models['SubResource'] {
/**
* Create a ApplicationGatewayAuthenticationCertificate.
* @member {string} [data] Certificate public data.
* @member {string} [provisioningState] Provisioning state of the
* @property {string} [data] Certificate public data.
* @property {string} [provisioningState] Provisioning state of the
* authentication certificate resource. Possible values are: 'Updating',
* 'Deleting', and 'Failed'.
* @member {string} [name] Name of the authentication certificate that is
* @property {string} [name] Name of the authentication certificate that is
* unique within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* @property {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
* @property {string} [type] Type of the resource.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ApplicationGatewayAutoscaleConfiguration {
/**
* Create a ApplicationGatewayAutoscaleConfiguration.
* @member {number} minCapacity Lower bound on number of Application Gateway
* instances
* @property {number} minCapacity Lower bound on number of Application
* Gateway instances
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ const models = require('./index');
class ApplicationGatewayAvailableSslOptions extends models['Resource'] {
/**
* Create a ApplicationGatewayAvailableSslOptions.
* @member {array} [predefinedPolicies] List of available Ssl predefined
* @property {array} [predefinedPolicies] List of available Ssl predefined
* policy.
* @member {string} [defaultPolicy] Name of the Ssl predefined policy applied
* by default to application gateway. Possible values include:
* @property {string} [defaultPolicy] Name of the Ssl predefined policy
* applied by default to application gateway. Possible values include:
* 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401',
* 'AppGwSslPolicy20170401S'
* @member {array} [availableCipherSuites] List of available Ssl cipher
* @property {array} [availableCipherSuites] List of available Ssl cipher
* suites.
* @member {array} [availableProtocols] List of available Ssl protocols.
* @property {array} [availableProtocols] List of available Ssl protocols.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class ApplicationGatewayAvailableSslPredefinedPolicies extends Array {
/**
* Create a ApplicationGatewayAvailableSslPredefinedPolicies.
* @member {string} [nextLink] URL to get the next set of results.
* @property {string} [nextLink] URL to get the next set of results.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ApplicationGatewayAvailableWafRuleSetsResult {
/**
* Create a ApplicationGatewayAvailableWafRuleSetsResult.
* @member {array} [value] The list of application gateway rule sets.
* @property {array} [value] The list of application gateway rule sets.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ApplicationGatewayBackendAddress {
/**
* Create a ApplicationGatewayBackendAddress.
* @member {string} [fqdn] Fully qualified domain name (FQDN).
* @member {string} [ipAddress] IP address
* @property {string} [fqdn] Fully qualified domain name (FQDN).
* @property {string} [ipAddress] IP address
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ const models = require('./index');
class ApplicationGatewayBackendAddressPool extends models['SubResource'] {
/**
* Create a ApplicationGatewayBackendAddressPool.
* @member {array} [backendIPConfigurations] Collection of references to IPs
* defined in network interfaces.
* @member {array} [backendAddresses] Backend addresses
* @member {string} [provisioningState] Provisioning state of the backend
* @property {array} [backendIPConfigurations] Collection of references to
* IPs defined in network interfaces.
* @property {array} [backendAddresses] Backend addresses
* @property {string} [provisioningState] Provisioning state of the backend
* address pool resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [name] Name of the backend address pool that is unique
* @property {string} [name] Name of the backend address pool that is unique
* within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* @property {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
* @property {string} [type] Type of the resource.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ApplicationGatewayBackendHealth {
/**
* Create a ApplicationGatewayBackendHealth.
* @member {array} [backendAddressPools]
* @property {array} [backendAddressPools]
*/
constructor() {
}
Expand Down
Loading