src.function_apps.create_function_app

src.function_apps.create_function_app(resource_group: ResourceGroup, app_plan_id: Output[str], app_hostname: Output[str], image_name: str, workspace_id: Output[str], logging_connection_string: Output[str], app_settings: Tuple[NameValuePairArgs | Output[NameValuePairArgs], ...], storage_connection_string: Output[str], identity_type: ManagedServiceIdentityType, action_group_id: Output[str])

Create a function app to run the docker image given by image_name.

Parameters:
  • resource_group – The resource group to create the function app in.

  • app_plan_id – The id of the app service plan to use.

  • app_hostname – The hostname of the app service plan to use.

  • image_name – The name of the docker image to run.

  • workspace_id – The id of the app insights instance to use.

  • logging_connection_string – The connection string for application insights.

  • app_settings – The app settings to use.

  • storage_connection_string – The connection string for the storage account to use.

  • identity_type – The type of identity to use.

  • action_group_id – The id of the action group to email.

Returns:

None