diff --git a/lib/services/networkManagement2/lib/models/applicationGateway.js b/lib/services/networkManagement2/lib/models/applicationGateway.js index a369ca4821..a375d3c5d6 100644 --- a/lib/services/networkManagement2/lib/models/applicationGateway.js +++ b/lib/services/networkManagement2/lib/models/applicationGateway.js @@ -107,7 +107,7 @@ class ApplicationGateway extends models['Resource'] { * @member {string} [provisioningState] Provisioning state of the application * gateway resource. Possible values are: 'Updating', 'Deleting', and * 'Failed'. - * @member {array} [customErrorConfiguration] Custom error configurations of + * @member {array} [customErrorConfigurations] Custom error configurations of * the application gateway resource. * @member {string} [etag] A unique read-only string that changes whenever * the resource is updated. @@ -439,9 +439,9 @@ class ApplicationGateway extends models['Resource'] { name: 'String' } }, - customErrorConfiguration: { + customErrorConfigurations: { required: false, - serializedName: 'properties.customErrorConfiguration', + serializedName: 'properties.customErrorConfigurations', type: { name: 'Sequence', element: { diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayCustomError.js b/lib/services/networkManagement2/lib/models/applicationGatewayCustomError.js index 56b8ff1f91..99781e172e 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayCustomError.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayCustomError.js @@ -18,7 +18,7 @@ class ApplicationGatewayCustomError { /** * Create a ApplicationGatewayCustomError. * @member {string} [statusCode] Status code of the application gateway - * customer error. Possible values include: '403', '502' + * customer error. Possible values include: 'HttpStatus403', 'HttpStatus502' * @member {string} [customErrorPageUrl] Error page URL of the application * gateway customer error. */ diff --git a/lib/services/networkManagement2/lib/models/applicationGatewayHttpListener.js b/lib/services/networkManagement2/lib/models/applicationGatewayHttpListener.js index 17b6862071..085411c204 100644 --- a/lib/services/networkManagement2/lib/models/applicationGatewayHttpListener.js +++ b/lib/services/networkManagement2/lib/models/applicationGatewayHttpListener.js @@ -37,7 +37,7 @@ class ApplicationGatewayHttpListener extends models['SubResource'] { * @member {string} [provisioningState] Provisioning state of the HTTP * listener resource. Possible values are: 'Updating', 'Deleting', and * 'Failed'. - * @member {array} [customErrorConfiguration] Custom error configurations of + * @member {array} [customErrorConfigurations] Custom error configurations of * the HTTP listener. * @member {string} [name] Name of the HTTP listener that is unique within an * Application Gateway. @@ -122,9 +122,9 @@ class ApplicationGatewayHttpListener extends models['SubResource'] { name: 'String' } }, - customErrorConfiguration: { + customErrorConfigurations: { required: false, - serializedName: 'properties.customErrorConfiguration', + serializedName: 'properties.customErrorConfigurations', type: { name: 'Sequence', element: { diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 2e53b111ef..b2774cd268 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -4072,7 +4072,7 @@ export interface ApplicationGatewayFrontendPort extends SubResource { * Customer error of an application gateway. * * @member {string} [statusCode] Status code of the application gateway - * customer error. Possible values include: '403', '502' + * customer error. Possible values include: 'HttpStatus403', 'HttpStatus502' * @member {string} [customErrorPageUrl] Error page URL of the application * gateway customer error. */ @@ -4103,7 +4103,7 @@ export interface ApplicationGatewayCustomError { * is https. Enables SNI for multi-hosting. * @member {string} [provisioningState] Provisioning state of the HTTP listener * resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. - * @member {array} [customErrorConfiguration] Custom error configurations of + * @member {array} [customErrorConfigurations] Custom error configurations of * the HTTP listener. * @member {string} [name] Name of the HTTP listener that is unique within an * Application Gateway. @@ -4119,7 +4119,7 @@ export interface ApplicationGatewayHttpListener extends SubResource { sslCertificate?: SubResource; requireServerNameIndication?: boolean; provisioningState?: string; - customErrorConfiguration?: ApplicationGatewayCustomError[]; + customErrorConfigurations?: ApplicationGatewayCustomError[]; name?: string; etag?: string; type?: string; @@ -4528,7 +4528,7 @@ export interface ApplicationGatewayAutoscaleConfiguration { * gateway resource. * @member {string} [provisioningState] Provisioning state of the application * gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. - * @member {array} [customErrorConfiguration] Custom error configurations of + * @member {array} [customErrorConfigurations] Custom error configurations of * the application gateway resource. * @member {string} [etag] A unique read-only string that changes whenever the * resource is updated. @@ -4558,7 +4558,7 @@ export interface ApplicationGateway extends Resource { autoscaleConfiguration?: ApplicationGatewayAutoscaleConfiguration; resourceGuid?: string; provisioningState?: string; - customErrorConfiguration?: ApplicationGatewayCustomError[]; + customErrorConfigurations?: ApplicationGatewayCustomError[]; etag?: string; zones?: string[]; } diff --git a/lib/services/networkManagement2/lib/operations/applicationGateways.js b/lib/services/networkManagement2/lib/operations/applicationGateways.js index a0d560e9e9..a6b9b9c2c3 100644 --- a/lib/services/networkManagement2/lib/operations/applicationGateways.js +++ b/lib/services/networkManagement2/lib/operations/applicationGateways.js @@ -361,7 +361,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -1809,7 +1809,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options, * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -3292,7 +3292,7 @@ class ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -3472,7 +3472,7 @@ class ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -4604,7 +4604,7 @@ class ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -4784,7 +4784,7 @@ class ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index b77d8f842c..aa24864ac4 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -278,7 +278,7 @@ export interface ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -446,7 +446,7 @@ export interface ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -1266,7 +1266,7 @@ export interface ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes @@ -1434,7 +1434,7 @@ export interface ApplicationGateways { * application gateway resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. * - * @param {array} [parameters.customErrorConfiguration] Custom error + * @param {array} [parameters.customErrorConfigurations] Custom error * configurations of the application gateway resource. * * @param {string} [parameters.etag] A unique read-only string that changes