Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The assessmentProjects/webAppAssessments resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Migrate/assessmentProjects/webAppAssessments resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Migrate/assessmentProjects/webAppAssessments@2024-03-03-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
details: {}
fallbackMachineAssessmentArmId: 'string'
scope: {
azureResourceGraphQuery: 'string'
scopeType: 'string'
serverGroupId: 'string'
}
settings: {
appSvcContainerSettings: {
isolationRequired: bool
}
appSvcNativeSettings: {
isolationRequired: bool
}
azureLocation: 'string'
azureSecurityOfferingType: 'string'
billingSettings: {
licensingProgram: 'string'
subscriptionId: 'string'
}
currency: 'string'
discountPercentage: int
environmentType: 'string'
performanceData: {
percentile: 'string'
perfDataEndTime: 'string'
perfDataStartTime: 'string'
timeRange: 'string'
}
savingsSettings: {
azureOfferCode: 'string'
savingsOptions: 'string'
}
scalingFactor: int
sizingCriterion: 'string'
}
}
}
Property Values
Microsoft.Migrate/assessmentProjects/webAppAssessments
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[^<>&:\?/#]{1,260}$ (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: assessmentProjects |
| properties | The resource-specific properties for this resource. | WebAppAssessmentV3Properties |
AppSvcContainerSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AppSvcNativeSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AssessmentDetails
| Name | Description | Value |
|---|
BillingSettings
| Name | Description | Value |
|---|---|---|
| licensingProgram | Gets or sets the licensing program. | 'EA' 'MCA' 'Retail' 'Unknown' |
| subscriptionId | Gets or sets the subscription ID for licensing program selected. | string |
PerformanceData
| Name | Description | Value |
|---|---|---|
| percentile | Percentile of the utilization data values to be considered while assessing machines. |
'Percentile50' 'Percentile90' 'Percentile95' 'Percentile99' 'PercentileUnknown' |
| perfDataEndTime | Gets or sets the end time to consider performance data for assessment. | string |
| perfDataStartTime | Gets or sets the start time to consider performance data for assessment. | string |
| timeRange | Time Range for which the historic utilization data should be considered for assessment. |
'Custom' 'Day' 'Month' 'Week' |
SavingsSettings
| Name | Description | Value |
|---|---|---|
| azureOfferCode | Gets or sets the Azure offer code. | 'EA' 'MSAZR0003P' 'MSAZR0023P' 'MSAZRUSGOV0003P' 'MSMCAZR0044P' 'MSMCAZR0059P' 'MSMCAZR0060P' 'MSMCAZR0063P' 'SavingsPlan1Year' 'SavingsPlan3Year' 'Unknown' |
| savingsOptions | Gets or sets the savings options. | 'CustomAzureOfferCode' 'None' 'RI1Year' 'RI3Year' 'SavingsPlan1Year' 'SavingsPlan3Year' |
Scope
| Name | Description | Value |
|---|---|---|
| azureResourceGraphQuery | The ARG query. | string |
| scopeType | The scope type | 'AzureResourceGraphQuery' 'ServerGroupId' |
| serverGroupId | The server group arm id. | string |
WebAppAssessmentSettings
| Name | Description | Value |
|---|---|---|
| appSvcContainerSettings | App Service container settings. | AppSvcContainerSettings (required) |
| appSvcNativeSettings | App Service native settings. | AppSvcNativeSettings (required) |
| azureLocation | Azure Location or Azure region where to which the machines will be migrated. | string |
| azureSecurityOfferingType | Azure security offering type. | 'MDC' 'NO' (required) |
| billingSettings | Gets or sets the billing settings. | BillingSettings |
| currency | Currency in which prices should be reported. | 'ARS' 'AUD' 'BRL' 'CAD' 'CHF' 'CNY' 'DKK' 'EUR' 'GBP' 'HKD' 'IDR' 'INR' 'JPY' 'KRW' 'MXN' 'MYR' 'NOK' 'NZD' 'RUB' 'SAR' 'SEK' 'TRY' 'TWD' 'Unknown' 'USD' 'ZAR' |
| discountPercentage | Custom discount percentage. | int |
| environmentType | Gets or sets user configurable setting to display the environment type. | 'DevTest' 'Production' 'Unknown' |
| performanceData | Gets or sets the performance data. | PerformanceData |
| savingsSettings | Gets or sets the savings settings. | SavingsSettings |
| scalingFactor | Percentage of buffer that user wants on performance metrics when recommending Azure sizes. |
int |
| sizingCriterion | Assessment sizing criterion. | 'AsOnPremises' 'PerformanceBased' |
WebAppAssessmentV3Properties
| Name | Description | Value |
|---|---|---|
| details | Gets or sets the details of the assessment. | AssessmentDetails |
| fallbackMachineAssessmentArmId | Gets or sets the machine assessment ARM ID for VM fallback. | string |
| scope | Gets or sets the scope of assessment. | Scope |
| settings | Gets or sets the settings for the assessment. | WebAppAssessmentSettings |
ARM template resource definition
The assessmentProjects/webAppAssessments resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Migrate/assessmentProjects/webAppAssessments resource, add the following JSON to your template.
{
"type": "Microsoft.Migrate/assessmentProjects/webAppAssessments",
"apiVersion": "2024-03-03-preview",
"name": "string",
"properties": {
"details": {
},
"fallbackMachineAssessmentArmId": "string",
"scope": {
"azureResourceGraphQuery": "string",
"scopeType": "string",
"serverGroupId": "string"
},
"settings": {
"appSvcContainerSettings": {
"isolationRequired": "bool"
},
"appSvcNativeSettings": {
"isolationRequired": "bool"
},
"azureLocation": "string",
"azureSecurityOfferingType": "string",
"billingSettings": {
"licensingProgram": "string",
"subscriptionId": "string"
},
"currency": "string",
"discountPercentage": "int",
"environmentType": "string",
"performanceData": {
"percentile": "string",
"perfDataEndTime": "string",
"perfDataStartTime": "string",
"timeRange": "string"
},
"savingsSettings": {
"azureOfferCode": "string",
"savingsOptions": "string"
},
"scalingFactor": "int",
"sizingCriterion": "string"
}
}
}
Property Values
Microsoft.Migrate/assessmentProjects/webAppAssessments
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2024-03-03-preview' |
| name | The resource name | string Constraints: Pattern = ^[^<>&:\?/#]{1,260}$ (required) |
| properties | The resource-specific properties for this resource. | WebAppAssessmentV3Properties |
| type | The resource type | 'Microsoft.Migrate/assessmentProjects/webAppAssessments' |
AppSvcContainerSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AppSvcNativeSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AssessmentDetails
| Name | Description | Value |
|---|
BillingSettings
| Name | Description | Value |
|---|---|---|
| licensingProgram | Gets or sets the licensing program. | 'EA' 'MCA' 'Retail' 'Unknown' |
| subscriptionId | Gets or sets the subscription ID for licensing program selected. | string |
PerformanceData
| Name | Description | Value |
|---|---|---|
| percentile | Percentile of the utilization data values to be considered while assessing machines. |
'Percentile50' 'Percentile90' 'Percentile95' 'Percentile99' 'PercentileUnknown' |
| perfDataEndTime | Gets or sets the end time to consider performance data for assessment. | string |
| perfDataStartTime | Gets or sets the start time to consider performance data for assessment. | string |
| timeRange | Time Range for which the historic utilization data should be considered for assessment. |
'Custom' 'Day' 'Month' 'Week' |
SavingsSettings
| Name | Description | Value |
|---|---|---|
| azureOfferCode | Gets or sets the Azure offer code. | 'EA' 'MSAZR0003P' 'MSAZR0023P' 'MSAZRUSGOV0003P' 'MSMCAZR0044P' 'MSMCAZR0059P' 'MSMCAZR0060P' 'MSMCAZR0063P' 'SavingsPlan1Year' 'SavingsPlan3Year' 'Unknown' |
| savingsOptions | Gets or sets the savings options. | 'CustomAzureOfferCode' 'None' 'RI1Year' 'RI3Year' 'SavingsPlan1Year' 'SavingsPlan3Year' |
Scope
| Name | Description | Value |
|---|---|---|
| azureResourceGraphQuery | The ARG query. | string |
| scopeType | The scope type | 'AzureResourceGraphQuery' 'ServerGroupId' |
| serverGroupId | The server group arm id. | string |
WebAppAssessmentSettings
| Name | Description | Value |
|---|---|---|
| appSvcContainerSettings | App Service container settings. | AppSvcContainerSettings (required) |
| appSvcNativeSettings | App Service native settings. | AppSvcNativeSettings (required) |
| azureLocation | Azure Location or Azure region where to which the machines will be migrated. | string |
| azureSecurityOfferingType | Azure security offering type. | 'MDC' 'NO' (required) |
| billingSettings | Gets or sets the billing settings. | BillingSettings |
| currency | Currency in which prices should be reported. | 'ARS' 'AUD' 'BRL' 'CAD' 'CHF' 'CNY' 'DKK' 'EUR' 'GBP' 'HKD' 'IDR' 'INR' 'JPY' 'KRW' 'MXN' 'MYR' 'NOK' 'NZD' 'RUB' 'SAR' 'SEK' 'TRY' 'TWD' 'Unknown' 'USD' 'ZAR' |
| discountPercentage | Custom discount percentage. | int |
| environmentType | Gets or sets user configurable setting to display the environment type. | 'DevTest' 'Production' 'Unknown' |
| performanceData | Gets or sets the performance data. | PerformanceData |
| savingsSettings | Gets or sets the savings settings. | SavingsSettings |
| scalingFactor | Percentage of buffer that user wants on performance metrics when recommending Azure sizes. |
int |
| sizingCriterion | Assessment sizing criterion. | 'AsOnPremises' 'PerformanceBased' |
WebAppAssessmentV3Properties
| Name | Description | Value |
|---|---|---|
| details | Gets or sets the details of the assessment. | AssessmentDetails |
| fallbackMachineAssessmentArmId | Gets or sets the machine assessment ARM ID for VM fallback. | string |
| scope | Gets or sets the scope of assessment. | Scope |
| settings | Gets or sets the settings for the assessment. | WebAppAssessmentSettings |
Terraform (AzAPI provider) resource definition
The assessmentProjects/webAppAssessments resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Migrate/assessmentProjects/webAppAssessments resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Migrate/assessmentProjects/webAppAssessments@2024-03-03-preview"
name = "string"
parent_id = "string"
body = {
properties = {
details = {
}
fallbackMachineAssessmentArmId = "string"
scope = {
azureResourceGraphQuery = "string"
scopeType = "string"
serverGroupId = "string"
}
settings = {
appSvcContainerSettings = {
isolationRequired = bool
}
appSvcNativeSettings = {
isolationRequired = bool
}
azureLocation = "string"
azureSecurityOfferingType = "string"
billingSettings = {
licensingProgram = "string"
subscriptionId = "string"
}
currency = "string"
discountPercentage = int
environmentType = "string"
performanceData = {
percentile = "string"
perfDataEndTime = "string"
perfDataStartTime = "string"
timeRange = "string"
}
savingsSettings = {
azureOfferCode = "string"
savingsOptions = "string"
}
scalingFactor = int
sizingCriterion = "string"
}
}
}
}
Property Values
Microsoft.Migrate/assessmentProjects/webAppAssessments
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[^<>&:\?/#]{1,260}$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: assessmentProjects |
| properties | The resource-specific properties for this resource. | WebAppAssessmentV3Properties |
| type | The resource type | "Microsoft.Migrate/assessmentProjects/webAppAssessments@2024-03-03-preview" |
AppSvcContainerSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AppSvcNativeSettings
| Name | Description | Value |
|---|---|---|
| isolationRequired | Gets or sets the isolation required. | bool (required) |
AssessmentDetails
| Name | Description | Value |
|---|
BillingSettings
| Name | Description | Value |
|---|---|---|
| licensingProgram | Gets or sets the licensing program. | 'EA' 'MCA' 'Retail' 'Unknown' |
| subscriptionId | Gets or sets the subscription ID for licensing program selected. | string |
PerformanceData
| Name | Description | Value |
|---|---|---|
| percentile | Percentile of the utilization data values to be considered while assessing machines. |
'Percentile50' 'Percentile90' 'Percentile95' 'Percentile99' 'PercentileUnknown' |
| perfDataEndTime | Gets or sets the end time to consider performance data for assessment. | string |
| perfDataStartTime | Gets or sets the start time to consider performance data for assessment. | string |
| timeRange | Time Range for which the historic utilization data should be considered for assessment. |
'Custom' 'Day' 'Month' 'Week' |
SavingsSettings
| Name | Description | Value |
|---|---|---|
| azureOfferCode | Gets or sets the Azure offer code. | 'EA' 'MSAZR0003P' 'MSAZR0023P' 'MSAZRUSGOV0003P' 'MSMCAZR0044P' 'MSMCAZR0059P' 'MSMCAZR0060P' 'MSMCAZR0063P' 'SavingsPlan1Year' 'SavingsPlan3Year' 'Unknown' |
| savingsOptions | Gets or sets the savings options. | 'CustomAzureOfferCode' 'None' 'RI1Year' 'RI3Year' 'SavingsPlan1Year' 'SavingsPlan3Year' |
Scope
| Name | Description | Value |
|---|---|---|
| azureResourceGraphQuery | The ARG query. | string |
| scopeType | The scope type | 'AzureResourceGraphQuery' 'ServerGroupId' |
| serverGroupId | The server group arm id. | string |
WebAppAssessmentSettings
| Name | Description | Value |
|---|---|---|
| appSvcContainerSettings | App Service container settings. | AppSvcContainerSettings (required) |
| appSvcNativeSettings | App Service native settings. | AppSvcNativeSettings (required) |
| azureLocation | Azure Location or Azure region where to which the machines will be migrated. | string |
| azureSecurityOfferingType | Azure security offering type. | 'MDC' 'NO' (required) |
| billingSettings | Gets or sets the billing settings. | BillingSettings |
| currency | Currency in which prices should be reported. | 'ARS' 'AUD' 'BRL' 'CAD' 'CHF' 'CNY' 'DKK' 'EUR' 'GBP' 'HKD' 'IDR' 'INR' 'JPY' 'KRW' 'MXN' 'MYR' 'NOK' 'NZD' 'RUB' 'SAR' 'SEK' 'TRY' 'TWD' 'Unknown' 'USD' 'ZAR' |
| discountPercentage | Custom discount percentage. | int |
| environmentType | Gets or sets user configurable setting to display the environment type. | 'DevTest' 'Production' 'Unknown' |
| performanceData | Gets or sets the performance data. | PerformanceData |
| savingsSettings | Gets or sets the savings settings. | SavingsSettings |
| scalingFactor | Percentage of buffer that user wants on performance metrics when recommending Azure sizes. |
int |
| sizingCriterion | Assessment sizing criterion. | 'AsOnPremises' 'PerformanceBased' |
WebAppAssessmentV3Properties
| Name | Description | Value |
|---|---|---|
| details | Gets or sets the details of the assessment. | AssessmentDetails |
| fallbackMachineAssessmentArmId | Gets or sets the machine assessment ARM ID for VM fallback. | string |
| scope | Gets or sets the scope of assessment. | Scope |
| settings | Gets or sets the settings for the assessment. | WebAppAssessmentSettings |