Skip to content

Commit 916ff2e

Browse files
lkemslmazuel
authored andcommitted
WebApps: Snapshots API for DR stamps (#4291)
* Include DRSecondary endpoint for GetPublishingProfileXml * Snapshots API for DR stamps
1 parent badd1de commit 916ff2e

File tree

1 file changed

+105
-0
lines changed
  • specification/web/resource-manager/Microsoft.Web/stable/2018-02-01

1 file changed

+105
-0
lines changed

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14923,6 +14923,58 @@
1492314923
}
1492414924
}
1492514925
},
14926+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": {
14927+
"get": {
14928+
"tags": [
14929+
"WebApps"
14930+
],
14931+
"summary": "Returns all Snapshots to the user from DRSecondary endpoint.",
14932+
"description": "Returns all Snapshots to the user from DRSecondary endpoint.",
14933+
"operationId": "WebApps_ListSnapshotsFromDRSecondarySlot",
14934+
"parameters": [
14935+
{
14936+
"$ref": "#/parameters/resourceGroupNameParameter"
14937+
},
14938+
{
14939+
"name": "name",
14940+
"in": "path",
14941+
"description": "Website Name.",
14942+
"required": true,
14943+
"type": "string"
14944+
},
14945+
{
14946+
"name": "slot",
14947+
"in": "path",
14948+
"description": "Website Slot.",
14949+
"required": true,
14950+
"type": "string"
14951+
},
14952+
{
14953+
"$ref": "#/parameters/subscriptionIdParameter"
14954+
},
14955+
{
14956+
"$ref": "#/parameters/apiVersionParameter"
14957+
}
14958+
],
14959+
"responses": {
14960+
"200": {
14961+
"description": "OK",
14962+
"schema": {
14963+
"$ref": "#/definitions/SnapshotCollection"
14964+
}
14965+
},
14966+
"default": {
14967+
"description": "App Service error response.",
14968+
"schema": {
14969+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
14970+
}
14971+
}
14972+
},
14973+
"x-ms-pageable": {
14974+
"nextLinkName": "nextLink"
14975+
}
14976+
}
14977+
},
1492614978
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": {
1492714979
"get": {
1492814980
"tags": [
@@ -16573,6 +16625,51 @@
1657316625
}
1657416626
}
1657516627
},
16628+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": {
16629+
"get": {
16630+
"tags": [
16631+
"WebApps"
16632+
],
16633+
"summary": "Returns all Snapshots to the user from DRSecondary endpoint.",
16634+
"description": "Returns all Snapshots to the user from DRSecondary endpoint.",
16635+
"operationId": "WebApps_ListSnapshotsFromDRSecondary",
16636+
"parameters": [
16637+
{
16638+
"$ref": "#/parameters/resourceGroupNameParameter"
16639+
},
16640+
{
16641+
"name": "name",
16642+
"in": "path",
16643+
"description": "Website Name.",
16644+
"required": true,
16645+
"type": "string"
16646+
},
16647+
{
16648+
"$ref": "#/parameters/subscriptionIdParameter"
16649+
},
16650+
{
16651+
"$ref": "#/parameters/apiVersionParameter"
16652+
}
16653+
],
16654+
"responses": {
16655+
"200": {
16656+
"description": "OK",
16657+
"schema": {
16658+
"$ref": "#/definitions/SnapshotCollection"
16659+
}
16660+
},
16661+
"default": {
16662+
"description": "App Service error response.",
16663+
"schema": {
16664+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
16665+
}
16666+
}
16667+
},
16668+
"x-ms-pageable": {
16669+
"nextLinkName": "nextLink"
16670+
}
16671+
}
16672+
},
1657616673
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": {
1657716674
"get": {
1657816675
"tags": [
@@ -18578,6 +18675,10 @@
1857818675
"snapshotTime": {
1857918676
"description": "Point in time to restore the deleted app from, formatted as a DateTime string. \nIf unspecified, default value is the time that the app was deleted.",
1858018677
"type": "string"
18678+
},
18679+
"useDRSecondary": {
18680+
"description": "If true, the snapshot is retrieved from DRSecondary endpoint.",
18681+
"type": "boolean"
1858118682
}
1858218683
},
1858318684
"x-ms-client-flatten": true
@@ -21068,6 +21169,10 @@
2106821169
"ignoreConflictingHostNames": {
2106921170
"description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.",
2107021171
"type": "boolean"
21172+
},
21173+
"useDRSecondary": {
21174+
"description": "If true, the snapshot is retrieved from DRSecondary endpoint.",
21175+
"type": "boolean"
2107121176
}
2107221177
},
2107321178
"x-ms-client-flatten": true

0 commit comments

Comments
 (0)