Skip to content
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

appservice/manage_app_service_plan use of SkuDescription can be simplified #59

Open
jeking3 opened this issue Jan 20, 2021 · 3 comments
Assignees

Comments

@jeking3
Copy link

jeking3 commented Jan 20, 2021

"sku": {
"name": "P1",
"tier": "Premium",
"size": "P1",
"family": "P",
"capacity": "1"
}

In testing I found the only property the server interprets is the "name" and all the others are ignored. For example you can ask for a name "F1", tier "Premium", size "B1" and you get an F1.

Related documentation issue: Azure/azure-sdk-for-python#16251

@nickzhums
Copy link
Contributor

@00Kai0 could you take a look at this

@00Kai0
Copy link
Contributor

00Kai0 commented Jan 21, 2021

Hi @jeking3 , F1 is a free type, so the sku.tier can not be Premium.
The service side will determine the type of your request.

All skus you can choose: https://azure.microsoft.com/en-us/pricing/details/app-service/windows/

@m-credera
Copy link

Hey @00Kai0 - I think the issue is that the server ignores all other inputs but name, and that the name argument is required. That's fine, so long as the documentation actually indicates that that's the case :) I was hitting this issue repeatedly, and this is the only place online that I could find that has the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants