你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebApp.UpdateStages.WithStartUpCommand Interface
public interface WithStartUpCommand extends WebApp.Update
A web app definition allowing docker startup command to be specified. This will replace the "CMD" section in the Dockerfile.
Method Summary
Modifier and Type | Method and Description |
---|---|
Web |
withStartUpCommand(String startUpCommand)
Specifies the startup command. |
Inherited Members
Appliable<T>.apply()
Appliable<T>.applyAsync()
Appliable<T>.applyAsync(final ServiceCallback<T> callback)
Indexable.key()
WebApp.UpdateStages.WithDockerContainerImage.withBuiltInImage(RuntimeStack runtimeStack)
WebApp.UpdateStages.WithAppServicePlan.withExistingAppServicePlan(AppServicePlan appServicePlan)
WebApp.UpdateStages.WithAppServicePlan.withNewAppServicePlan(PricingTier pricingTier)
WebApp.UpdateStages.WithAppServicePlan.withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)
WebApp.UpdateStages.WithAppServicePlan.withNewFreeAppServicePlan()
WebApp.UpdateStages.WithAppServicePlan.withNewSharedAppServicePlan()
WebApp.UpdateStages.WithDockerContainerImage.withPrivateDockerHubImage(String imageAndTag)
WebApp.UpdateStages.WithDockerContainerImage.withPrivateRegistryImage(String imageAndTag, String serverUrl)
WebApp.UpdateStages.WithDockerContainerImage.withPublicDockerHubImage(String imageAndTag)
Method Details
withStartUpCommand
public Update withStartUpCommand(String startUpCommand)
Specifies the startup command.
Parameters:
startUpCommand
- startup command to replace "CMD" in Dockerfile
Returns:
the next stage of the definition