-
Notifications
You must be signed in to change notification settings - Fork 50
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
Set default throughput based on account's workload type #2021
base: master
Are you sure you want to change the base?
Conversation
…o users/aisayas/tiered-onboarding
@microsoft-github-policy-service agree [company="Microsoft"] |
@microsoft-github-policy-service agree |
@@ -15,3 +17,9 @@ function isPrivateEndpointConnectionsEnabled() { | |||
export function isPublicInternetAccessAllowed(): boolean { | |||
return !isVirtualNetworkFilterEnabled() && !isIpRulesEnabled() && !isPrivateEndpointConnectionsEnabled(); | |||
} | |||
|
|||
export function getWorkloadType(): WorkloadType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this return when no workload tag is present ? Can you please add unit tests for this ? Maybe we need a 'None' workload type enum ?
Preview this branch
Customers will have the option to set the default throughput based on the account's workload type.
Learning/DevTest Cohort - Autoscale container is set to 1000 RU/s instead of 4000 RU/s
Prod Cohort - Autoscale container remains at 4000 RU/s
In the event an account does not have a workload type, the default throughput remains same as before.