public class SnapshotRecoveryRequest extends ProxyOnlyResource
| Constructor and Description |
|---|
SnapshotRecoveryRequest() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
ignoreConflictingHostNames()
Get if true, custom hostname conflicts will be ignored when recovering to a target web app.
|
boolean |
overwrite()
Get if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>.
|
Boolean |
recoverConfiguration()
Get if true, site configuration, in addition to content, will be reverted.
|
SnapshotRecoveryTarget |
recoveryTarget()
Get specifies the web app that snapshot contents will be written to.
|
String |
snapshotTime()
Get point in time in which the app recovery should be attempted, formatted as a DateTime string.
|
SnapshotRecoveryRequest |
withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
Set if true, custom hostname conflicts will be ignored when recovering to a target web app.
|
SnapshotRecoveryRequest |
withOverwrite(boolean overwrite)
Set if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>.
|
SnapshotRecoveryRequest |
withRecoverConfiguration(Boolean recoverConfiguration)
Set if true, site configuration, in addition to content, will be reverted.
|
SnapshotRecoveryRequest |
withRecoveryTarget(SnapshotRecoveryTarget recoveryTarget)
Set specifies the web app that snapshot contents will be written to.
|
SnapshotRecoveryRequest |
withSnapshotTime(String snapshotTime)
Set point in time in which the app recovery should be attempted, formatted as a DateTime string.
|
kind, withKindpublic String snapshotTime()
public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime)
snapshotTime - the snapshotTime value to setpublic SnapshotRecoveryTarget recoveryTarget()
public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recoveryTarget)
recoveryTarget - the recoveryTarget value to setpublic boolean overwrite()
public SnapshotRecoveryRequest withOverwrite(boolean overwrite)
overwrite - the overwrite value to setpublic Boolean recoverConfiguration()
public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfiguration)
recoverConfiguration - the recoverConfiguration value to setpublic Boolean ignoreConflictingHostNames()
public SnapshotRecoveryRequest withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
ignoreConflictingHostNames - the ignoreConflictingHostNames value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/