Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 5 additions & 87 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class ApplicationGateway extends models['Resource'] {
* gateway resource.
* @property {array} [authenticationCertificates] Authentication certificates
* of the application gateway resource.
* @property {array} [trustedRootCertificates] Trusted Root certificates of
* the application gateway resource.
* @property {array} [sslCertificates] SSL certificates of the application
* gateway resource.
* @property {array} [frontendIPConfigurations] Frontend IP addresses of the
Expand All @@ -68,8 +66,6 @@ class ApplicationGateway extends models['Resource'] {
* resource.
* @property {array} [requestRoutingRules] Request routing rules of the
* application gateway resource.
* @property {array} [rewriteRuleSets] Rewrite rules for the application
* gateway resource.
* @property {array} [redirectConfigurations] Redirect configurations of the
* application gateway resource.
* @property {object} [webApplicationFirewallConfiguration] Web application
Expand All @@ -91,50 +87,25 @@ class ApplicationGateway extends models['Resource'] {
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request
* body size for WAF.
* @property {number}
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium
* request body size in Kb for WAF.
* @property {number}
* [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file
* upload size in Mb for WAF.
* @property {array} [webApplicationFirewallConfiguration.exclusions] The
* exclusion list.
* @property {boolean} [enableHttp2] Whether HTTP2 is enabled on the
* application gateway resource.
* @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
* @property {object} [autoscaleConfiguration.bounds] Autoscale bounds
* @property {number} [autoscaleConfiguration.bounds.min] Lower bound on
* number of Application Gateway instances.
* @property {number} [autoscaleConfiguration.bounds.max] Upper bound on
* number of Application Gateway instances.
* @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.
* @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 @@ -252,21 +223,6 @@ class ApplicationGateway extends models['Resource'] {
}
}
},
trustedRootCertificates: {
required: false,
serializedName: 'properties.trustedRootCertificates',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ApplicationGatewayTrustedRootCertificateElementType',
type: {
name: 'Composite',
className: 'ApplicationGatewayTrustedRootCertificate'
}
}
}
},
sslCertificates: {
required: false,
serializedName: 'properties.sslCertificates',
Expand Down Expand Up @@ -402,21 +358,6 @@ 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 @@ -476,21 +417,6 @@ class ApplicationGateway extends models['Resource'] {
name: 'String'
}
},
customErrorConfigurations: {
required: false,
serializedName: 'properties.customErrorConfigurations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ApplicationGatewayCustomErrorElementType',
type: {
name: 'Composite',
className: 'ApplicationGatewayCustomError'
}
}
}
},
etag: {
required: false,
serializedName: 'etag',
Expand All @@ -511,14 +437,6 @@ 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
@@ -0,0 +1,63 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Application Gateway autoscale bounds on number of Application Gateway
* instance.
*
*/
class ApplicationGatewayAutoscaleBounds {
/**
* Create a ApplicationGatewayAutoscaleBounds.
* @property {number} min Lower bound on number of Application Gateway
* instances.
* @property {number} max Upper bound on number of Application Gateway
* instances.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAutoscaleBounds
*
* @returns {object} metadata of ApplicationGatewayAutoscaleBounds
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAutoscaleBounds',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds',
modelProperties: {
min: {
required: true,
serializedName: 'min',
type: {
name: 'Number'
}
},
max: {
required: true,
serializedName: 'max',
type: {
name: 'Number'
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAutoscaleBounds;
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
class ApplicationGatewayAutoscaleConfiguration {
/**
* Create a ApplicationGatewayAutoscaleConfiguration.
* @property {number} minCapacity Lower bound on number of Application
* Gateway instances
* @property {object} bounds Autoscale bounds
* @property {number} [bounds.min] Lower bound on number of Application
* Gateway instances.
* @property {number} [bounds.max] Upper bound on number of Application
* Gateway instances.
*/
constructor() {
}
Expand All @@ -37,14 +40,12 @@ class ApplicationGatewayAutoscaleConfiguration {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration',
modelProperties: {
minCapacity: {
bounds: {
required: true,
serializedName: 'minCapacity',
constraints: {
InclusiveMinimum: 2
},
serializedName: 'bounds',
type: {
name: 'Number'
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class ApplicationGatewayBackendHealthHttpSettings {
* @property {string} [backendHttpSettings.probe.id] Resource ID.
* @property {array} [backendHttpSettings.authenticationCertificates] Array
* of references to application gateway authentication certificates.
* @property {array} [backendHttpSettings.trustedRootCertificates] Array of
* references to application gateway trusted root certificates.
* @property {object} [backendHttpSettings.connectionDraining] Connection
* draining of the backend http settings resource.
* @property {boolean} [backendHttpSettings.connectionDraining.enabled]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class ApplicationGatewayBackendHealthServer {
* @property {string} [address] IP address or FQDN of backend server.
* @property {object} [ipConfiguration] Reference of IP configuration of
* backend server.
* @property {array} [ipConfiguration.virtualNetworkTaps] The reference to
* Virtual Network Taps.
* @property {array} [ipConfiguration.applicationGatewayBackendAddressPools]
* The reference of ApplicationGatewayBackendAddressPool resource.
* @property {array} [ipConfiguration.loadBalancerBackendAddressPools] The
Expand All @@ -41,8 +39,6 @@ class ApplicationGatewayBackendHealthServer {
* configuration.
* @property {string} [ipConfiguration.subnet.addressPrefix] The address
* prefix for the subnet.
* @property {array} [ipConfiguration.subnet.addressPrefixes] List of
* address prefixes for the subnet.
* @property {object} [ipConfiguration.subnet.networkSecurityGroup] The
* reference of the NetworkSecurityGroup resource.
* @property {array}
Expand Down Expand Up @@ -82,23 +78,10 @@ class ApplicationGatewayBackendHealthServer {
* read-only string that changes whenever the resource is updated.
* @property {array} [ipConfiguration.subnet.serviceEndpoints] An array of
* service endpoints.
* @property {array} [ipConfiguration.subnet.serviceEndpointPolicies] An
* array of service endpoint policies.
* @property {array} [ipConfiguration.subnet.interfaceEndpoints] An array of
* references to interface endpoints
* @property {array} [ipConfiguration.subnet.ipConfigurations] Gets an array
* of references to the network interface IP configurations using subnet.
* @property {array} [ipConfiguration.subnet.ipConfigurationProfiles] Array
* of IP configuration profiles which reference this subnet.
* @property {array} [ipConfiguration.subnet.resourceNavigationLinks] Gets an
* array of references to the external resources using subnet.
* @property {array} [ipConfiguration.subnet.serviceAssociationLinks] Gets an
* array of references to services injecting into this subnet.
* @property {array} [ipConfiguration.subnet.delegations] Gets an array of
* references to the delegations on the subnet.
* @property {string} [ipConfiguration.subnet.purpose] A read-only string
* identifying the intention of use for this subnet based on delegations and
* other user-defined properties.
* @property {string} [ipConfiguration.subnet.provisioningState] The
* provisioning state of the resource.
* @property {string} [ipConfiguration.subnet.name] The name of the resource
Expand Down Expand Up @@ -137,9 +120,6 @@ class ApplicationGatewayBackendHealthServer {
* @property {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefix] The
* address prefix for the subnet.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefixes]
* List of address prefixes for the subnet.
* @property {object}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup]
* The reference of the NetworkSecurityGroup resource.
Expand Down Expand Up @@ -190,31 +170,12 @@ class ApplicationGatewayBackendHealthServer {
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpoints]
* An array of service endpoints.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
* An array of service endpoint policies.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
* An array of references to interface endpoints
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
* Gets an array of references to the network interface IP configurations
* using subnet.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurationProfiles]
* Array of IP configuration profiles which reference this subnet.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.resourceNavigationLinks]
* Gets an array of references to the external resources using subnet.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceAssociationLinks]
* Gets an array of references to services injecting into this subnet.
* @property {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.delegations] Gets
* an array of references to the delegations on the subnet.
* @property {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.purpose] A
* read-only string identifying the intention of use for this subnet based on
* delegations and other user-defined properties.
* @property {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.provisioningState]
* The provisioning state of the resource.
Expand Down Expand Up @@ -259,10 +220,6 @@ class ApplicationGatewayBackendHealthServer {
* tags associated with the public IP address.
* @property {string} [ipConfiguration.publicIPAddress.ipAddress] The IP
* address associated with the public IP address resource.
* @property {object} [ipConfiguration.publicIPAddress.publicIPPrefix] The
* Public IP Prefix this Public IP Address should be allocated from.
* @property {string} [ipConfiguration.publicIPAddress.publicIPPrefix.id]
* Resource ID.
* @property {number} [ipConfiguration.publicIPAddress.idleTimeoutInMinutes]
* The idle timeout of the public IP address.
* @property {string} [ipConfiguration.publicIPAddress.resourceGuid] The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
* @property {string} [probe.id] Resource ID.
* @property {array} [authenticationCertificates] Array of references to
* application gateway authentication certificates.
* @property {array} [trustedRootCertificates] Array of references to
* application gateway trusted root certificates.
* @property {object} [connectionDraining] Connection draining of the backend
* http settings resource.
* @property {boolean} [connectionDraining.enabled] Whether connection
Expand Down Expand Up @@ -139,21 +137,6 @@ class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
}
}
},
trustedRootCertificates: {
required: false,
serializedName: 'properties.trustedRootCertificates',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubResourceElementType',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
},
connectionDraining: {
required: false,
serializedName: 'properties.connectionDraining',
Expand Down
Loading