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

mgmt, support function app on ACA #37890

Merged
Prev Previous commit
Next Next commit
interface
interface adjust

interface adjust
XiaofeiCao committed Dec 1, 2023
commit f4d728fa8020a2a600b82ed7aa035b6771381d46
Original file line number Diff line number Diff line change
@@ -128,17 +128,22 @@ public interface FunctionApp extends FunctionAppBasic, WebAppBase, Updatable<Fun
* Retrieve the ID of the Azure Container Apps environment that the Function App runs on.
*
* @return the ID of the Azure Container Apps environment
* @see {@link DefinitionStages.WithDockerContainerImage#}
* @see DefinitionStages.WithManagedEnvironment#withManagedEnvironmentId(String)
*/
String managedEnvironmentId();

/**
* Retrieves
* Retrieves the maximum replica count.
*
* @return
* @return the maximum replica count
*/
Integer maxReplicas();

/**
* Retrieves the minimum replica count.
*
* @return the minimum replica count
*/
Integer minReplicas();

/**************************************************************
@@ -416,7 +421,7 @@ interface WithCreate
DefinitionStages.WithRuntimeVersion,
DefinitionStages.WithDailyUsageQuota,
DefinitionStages.WithManagedEnvironment,
WithScaleRulesOrDockerContainerImage,
DefinitionStages.WithScaleRulesOrDockerContainerImage,
WebAppBase.DefinitionStages.WithCreate<FunctionApp> {
}

@@ -824,6 +829,6 @@ interface Update
UpdateStages.WithDailyUsageQuota,
UpdateStages.WithDockerContainerImage,
UpdateStages.WithCredentials,
UpdateStages.WithManagedEnvironmentScaleRules {
UpdateStages.WithManagedEnvironmentScaleRules {
}
}