-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to update custom headers and Expected Status code range #7329
Comments
@gursin would you mind providing the versions of the |
@cormacpayne : Apologies. But i am running this from the Azure Cloud Shell from the azure portal. Running this on the cloud shell doesn't list any modules. Just to add to that, had tried it locally from my machine earlier and got the same result. The version of the TrafficManager module was the following |
@gursin ah, got it. Cloud Shell has the |
@allencal would you mind taking a look at this issue? |
We have identified the issue, and we are currently working on the fix. We will update here once the issue has been fixed. |
@gursin @cormacpayne @allencal this issue has been fixed with the latest version. Please follow the steps below to upgrade your version:
Closing the issue now, please let us know if you still have trouble with the package. Thanks, |
Describe the bug
I am trying to change the custom headers and expected status code range for the monitoring setting for my ATM through azure cloud shell and i get the following error:
Set-AzureRmTrafficManagerProfile : Endpoint name '' is invalid. Endpoint names cannot be empty or all whitespace, and must be up to 260 alphanumeric characters long. The type '' specified for endpoint '' is invalid. Valid endpoint types are: 'Microsoft.Network/trafficManagerProfiles/azureEndpoints', 'Microsoft.Network/trafficManagerProfiles/externalEndpoints', 'Microsoft.Network/trafficManagerProfiles/nestedEndpoints'.
I am following the samples mentioned in the following articles:
https://docs.microsoft.com/en-us/powershell/module/azurerm.trafficmanager/add-azurermtrafficmanagerexpectedstatuscoderange?view=azurermps-6.8.1
To Reproduce
Try the first example mentioned in the following article.
https://docs.microsoft.com/en-us/powershell/module/azurerm.trafficmanager/add-azurermtrafficmanagerexpectedstatuscoderange?view=azurermps-6.8.1
Note : Update an existing traffic manager which already has an endpoint.
Expected behavior
I should be able to update the custom headers and expected status codes
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
using Azure Cloud shell(powershell)
PS Azure:> az --version
azure-cli (2.0.45)
acr (2.1.4)
acs (2.3.2)
advisor (0.6.0)
ams (0.2.3)
appservice (0.2.3)
backup (1.2.1)
batch (3.3.3)
batchai (0.4.2)
billing (0.2.0)
botservice (0.1.0)
cdn (0.1.1)
cloud (2.1.0)
cognitiveservices (0.2.1)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.3)
core (2.0.45)
cosmosdb (0.2.1)
dla (0.2.2)
dls (0.1.1)
dms (0.1.0)
eventgrid (0.2.0)
eventhubs (0.2.3)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.28)
iot (0.3.1)
iotcentral (0.1.1)
keyvault (2.2.2)
lab (0.1.1)
maps (0.3.2)
monitor (0.2.3)
network (2.2.4)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.1)
redis (0.3.2)
relay (0.1.1)
reservations (0.3.2)
resource (2.1.3)
role (2.1.4)
search (0.1.1)
servicebus (0.2.2)
servicefabric (0.1.2)
sql (2.1.3)
storage (2.2.1)
telemetry (1.0.0)
vm (2.2.2
Additional context
Idea is to be able to update custom headers and expected status codes of an existing endpoint
The text was updated successfully, but these errors were encountered: