Skip to content

Commit

Permalink
WebApps: Snapshots API for DR stamps (#4291)
Browse files Browse the repository at this point in the history
* Include DRSecondary endpoint for GetPublishingProfileXml

* Snapshots API for DR stamps
  • Loading branch information
lkems authored and lmazuel committed Nov 9, 2018
1 parent badd1de commit 916ff2e
Showing 1 changed file with 105 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14923,6 +14923,58 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": {
"get": {
"tags": [
"WebApps"
],
"summary": "Returns all Snapshots to the user from DRSecondary endpoint.",
"description": "Returns all Snapshots to the user from DRSecondary endpoint.",
"operationId": "WebApps_ListSnapshotsFromDRSecondarySlot",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Website Name.",
"required": true,
"type": "string"
},
{
"name": "slot",
"in": "path",
"description": "Website Slot.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SnapshotCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": {
"get": {
"tags": [
Expand Down Expand Up @@ -16573,6 +16625,51 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": {
"get": {
"tags": [
"WebApps"
],
"summary": "Returns all Snapshots to the user from DRSecondary endpoint.",
"description": "Returns all Snapshots to the user from DRSecondary endpoint.",
"operationId": "WebApps_ListSnapshotsFromDRSecondary",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Website Name.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SnapshotCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": {
"get": {
"tags": [
Expand Down Expand Up @@ -18578,6 +18675,10 @@
"snapshotTime": {
"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.",
"type": "string"
},
"useDRSecondary": {
"description": "If true, the snapshot is retrieved from DRSecondary endpoint.",
"type": "boolean"
}
},
"x-ms-client-flatten": true
Expand Down Expand Up @@ -21068,6 +21169,10 @@
"ignoreConflictingHostNames": {
"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.",
"type": "boolean"
},
"useDRSecondary": {
"description": "If true, the snapshot is retrieved from DRSecondary endpoint.",
"type": "boolean"
}
},
"x-ms-client-flatten": true
Expand Down

0 comments on commit 916ff2e

Please sign in to comment.