v1

latestSwagger 2.02026-07-13172340.3 KB

Validate if a resource can be created.

Validate if a resource can be created.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate

Path parameters

resourceGroupNamestring required

Name of the resource group to which the resource belongs.

subscriptionIdstring required

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

Query parameters

api-versionstring required

API Version

Request body

namestring required

Resource name to verify.

type'ServerFarm' | 'Site' required

Resource type used for verification.

locationstring required

Expected location of the resource.

Response

OK

statusstring

Result of validation.