Share via


Assessed Web App V 2 Operations - List By Web App Assessment V 2

List AssessedWebAppV2 resources by WebAppAssessmentV2

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/webAppAssessments/{assessmentName}/assessedWebApps?api-version=2024-01-15
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/webAppAssessments/{assessmentName}/assessedWebApps?api-version=2024-01-15&$filter={$filter}&pageSize={pageSize}&continuationToken={continuationToken}&totalRecordCount={totalRecordCount}

URI Parameters

Name In Required Type Description
assessmentName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

Web app Assessment arm name.

groupName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

Group ARM name

projectName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

Assessment Project Name

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

minLength: 1

The API version to use for this operation.

$filter
query

string

Filter query.

continuationToken
query

string

Optional parameter for continuation token.

pageSize
query

integer (int32)

Optional parameter for page size.

totalRecordCount
query

integer (int32)

Total record count.

Responses

Name Type Description
200 OK

AssessedWebAppV2ListResult

ARM operation completed successfully.

Other Status Codes

ErrorResponse

An unexpected error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

AssessedWebAppV2Operations_ListByWebAppAssessmentV2_MaximumSet_Gen

Sample request

GET https://management.azure.com/subscriptions/6D59B561-47B6-4AB8-84B5-39CF2B808C26/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/akgugrp2/webAppAssessments/assess1/assessedWebApps?api-version=2024-01-15&$filter=&pageSize=23&continuationToken=pwqummugahjguraaqqssuwmxic&totalRecordCount=6

Sample response

{
  "value": [
    {
      "properties": {
        "webAppType": "IIS",
        "targetSpecificResult": {
          "azureAppService": {
            "assessmentResult": {
              "appServicePlanName": "plan-003-azureappservicecontainer",
              "suitability": "ConditionallySuitable",
              "securitySuitability": "Suitable",
              "webAppSkuName": "Premium_V3",
              "webAppSkuSize": "P1 v3"
            },
            "migrationIssues": [
              {
                "issueId": "AuthCheckContainer",
                "issueCategory": "Info",
                "issueDescriptionList": [
                  "windowsAuthentication (/)"
                ]
              }
            ]
          }
        },
        "appServicePlanName": "plan-001-azureappservice",
        "machineName": "windows-2k16",
        "serverArmId": null,
        "webServerName": "IIS Server",
        "webAppName": "Microsoft Azure Migrate App Containerization",
        "discoveredWebAppId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/mastersites/sumukk-ccy-bcs9880mastersite/webappsites/sumukk-ccy-bcs9880webappsites/iiswebapplications/70c2efd9345164750ddf889a474512530466d8f7aaa85052b59a73ff6a4d41b1-ae625d98de8e57d253ae9812590de37f17f382bcd47da01c2f3f9be5350ae98e",
        "discoveredMachineId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/vmwaresites/sumukk-ccy-bcs4557site/machines/idclab-vcen67-fareast-corp-micr-49743448-0440-4c6b-8300-eec352b87e73_5015ed4a-5f13-8cd3-a4d4-1ec729e836ff",
        "confidenceRatingInPercentage": 11,
        "createdTimestamp": "2023-11-03T05:42:51.551Z",
        "updatedTimestamp": "2023-11-03T05:42:51.551Z"
      },
      "id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/groups/akgugrp2/webAppAssessments/akgutestappsvc2/assessedWebApps/2d4423e1-9b0d-466f-a2f1-4f68adaa3c76",
      "name": "2d4423e1-9b0d-466f-a2f1-4f68adaa3c76",
      "type": "Microsoft.Migrate/assessmentprojects/groups/webAppAssessments/assessedWebApps",
      "systemData": {
        "createdBy": null,
        "createdByType": "User",
        "createdAt": "2023-11-03T05:41:40.597Z",
        "lastModifiedBy": null,
        "lastModifiedByType": "User",
        "lastModifiedAt": "2023-11-03T05:41:40.597Z"
      }
    }
  ],
  "nextLink": "https://microsoft.com/a"
}

Definitions

Name Description
AssessedWebAppV2

Assessed Web app web model class.

AssessedWebAppV2ListResult

The response of a AssessedWebAppV2 list operation.

AssessmentResult

Assessment results.

AzureWebAppSuitabilityIssueCategory
CloudSuitability

Cloud Suitability for Azure.

createdByType

The type of identity that created the resource.

ErrorDetail

Error Details

ErrorResponse

Error response

systemData

Metadata pertaining to creation and last modification of the resource.

TargetSpecificResult

Target specific result.

WebAppMigrationIssues

Web app migration issues.

WebAppType

Web App Type.

AssessedWebAppV2

Assessed Web app web model class.

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

The name of the resource

properties.appServicePlanName

string

Gets or sets the app service plan name.

properties.confidenceRatingInPercentage

number (float)

Confidence Rating in Percentage.

properties.createdTimestamp

string (date-time)

When was assessed SQL database first created.

properties.discoveredMachineId

string

Machine arm id.

properties.discoveredWebAppId

string

Gets the discovered web app ID.

properties.machineName

string

Gets the machine name.

properties.serverArmId

string

Gets or sets the server ARM Id.

properties.targetSpecificResult

<string,  TargetSpecificResult>

Gets or sets the target specific result.

properties.updatedTimestamp

string (date-time)

When was assessed Web app database last updated.

properties.webAppName

string

Gets or sets web app name.

properties.webAppType

WebAppType

Gets or sets the web app type.

properties.webServerName

string

Gets or sets the web server name.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

AssessedWebAppV2ListResult

The response of a AssessedWebAppV2 list operation.

Name Type Description
nextLink

string (uri)

The link to the next page of items

value

AssessedWebAppV2[]

The AssessedWebAppV2 items on this page

AssessmentResult

Assessment results.

Name Type Description
appServicePlanName

string

Gets or sets the app service plan name.

securitySuitability

CloudSuitability

Gets or sets the security suitability.

suitability

CloudSuitability

Gets or sets the suitability.

webAppSkuName

string

Gets or sets the web app sku name.

webAppSkuSize

string

Gets or sets the web app sku size.

AzureWebAppSuitabilityIssueCategory

Value Description
Unknown
Issue
Info

CloudSuitability

Cloud Suitability for Azure.

Value Description
Unknown

Unknown. Indicates missing data.

NotSuitable

Not Suitable for Azure.

Suitable

Suitable for Azure.

ConditionallySuitable

Conditionally Suitable for Azure.

ReadinessUnknown

Unknown Readiness for Azure.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

ErrorDetail

Error Details

Name Type Description
code

string

Error Code

message

string

Description of the error occurred

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.

TargetSpecificResult

Target specific result.

Name Type Description
assessmentResult

AssessmentResult

Gets or sets the assessment result.

migrationIssues

WebAppMigrationIssues[]

Gets or sets the web app migration issues.

WebAppMigrationIssues

Web app migration issues.

Name Type Description
issueCategory

AzureWebAppSuitabilityIssueCategory

Gets or sets the issue category.

issueDescriptionList

string[]

Gets or sets the issue description list.

issueId

string

Gets or sets the issue Id.

WebAppType

Web App Type.

Value Description
Unknown

Unknown. Indicates Missing Data.

IIS

ASP.NET Web App.

Tomcat

Java Web App.