Creates a new Azure App Service web app.
This cmdlet creates a new App Service web app in Azure. You can specify the resource group, name, location, operating system, and plan for the web app.
| Name | Type | Description |
|---|---|---|
| -Name | String | The name of the web app to create. The name must be globally unique. |
| -ResourceGroupName | String | The name of the resource group to which the web app belongs. |
| -Location | String | The Azure region where the web app will be created. Examples: "East US", "West Europe". |
| -AppServicePlan | String | The name of the App Service plan. The web app will be associated with this plan. |
| -OsType | OperatingSystemTypes | The operating system of the web app. Valid values are 'Windows' and 'Linux'. |
| -DefaultProfile | IAzureContextContainer | The credentials, account, tenant, and subscription that are used for communication with Azure. |
| -WhatIf | SwitchParameter | Shows what would happen if the cmdlet runs. The cmdlet is not run. |
| -Confirm | SwitchParameter | Prompts you for confirmation before running the cmdlet. |