Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@
{
"filename": "**/specification/web/resource-manager/Microsoft.Web/stable/**/WebApps.json",
"words": [
"sitecontainers"
"sitecontainers",
"machinekey"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6154,6 +6154,52 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/machinekey": {
Copy link
Copy Markdown
Member

@raosuhas raosuhas Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

machinekey

consider using an action name like updatemachinekey so that the action is clear to the caller. #Resolved

"post": {
"tags": [
"WebApps"
],
"summary": "Updates the machine key of an app.",
"operationId": "WebApps_UpdateMachineKey",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object"
}
Comment thread
andrewschuck marked this conversation as resolved.
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Updates the machine key for a site": {
"$ref": "./examples/UpdateMachineKey.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": {
"put": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"name": "contoso",
"api-version": "2024-04-01"
},
"responses": {
"200": {
"headers": {},
"body": {}
}
}
}