Class SnapshotRecoverySource
java.lang.Object
com.microsoft.azure.management.appservice.SnapshotRecoverySource
Specifies the web app that snapshot contents will be retrieved from.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get aRM resource ID of the source app.location()
Get geographical location of the source web app, e.g.Set aRM resource ID of the source app.withLocation
(String location) Set geographical location of the source web app, e.g.
-
Constructor Details
-
SnapshotRecoverySource
public SnapshotRecoverySource()
-
-
Method Details
-
location
Get geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS.- Returns:
- the location value
-
withLocation
Set geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS.- Parameters:
location
- the location value to set- Returns:
- the SnapshotRecoverySource object itself.
-
id
Get aRM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.- Returns:
- the id value
-
withId
Set aRM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.- Parameters:
id
- the id value to set- Returns:
- the SnapshotRecoverySource object itself.
-