Azure / Azure/azure-powershell

Set-AzureRmApplicationGatewayBackendHttpSettings resets Request Timeout to 30 seconds when RequestTimeout parameter is not set

Open
#5,145 4 comments 0 reactions 1 assignee Claimed by @akshaysngupta View on GitHub
act-quality-productivity-squad customer-reported Network Network - Application Gateway Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Cmdlet(s)

Set-AzureRmApplicationGatewayBackendHttpSettings

### PowerShell Version
Instructions: to get PowerShell version, type `$PSVersionTable` and look for the value associated with `PSVersion`

5.1.14393.1770

### Module Version

### OS Version
Instructions: to get OS version, type `$PSversionTable` and look for value associated with `BuildVersion`

10.0.14393.1770

### Description

Set-AzureRmApplicationGatewayBackendHttpSettings overrides Request Timeout to 30 seconds when RequestTimeout parameter is not specified.

I have an existing backend http settings with 120 seconds timeout. I then call Set-AzureRmApplicationGatewayBackendHttpSettings to change the port of that setting, without passing the RequestTimeout parameter.

According to documentation the RequestTimeout parameter is optional and has no default value.

Howerver in my case the call to Set-AzureRmApplicationGatewayBackendHttpSettings resets the request timeout back to 30 seconds.

My workaround for now is to specify the optional RequestTimeout parameter.

### Debug Output
Instructions: to get Debug Output, set `$DebugPreference="Continue"` and then execute the cmdlet or script causing the issue

### Script/Steps for Reproduction

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.