public class RestoreRequestInner extends ProxyOnlyResource
| Constructor and Description |
|---|
RestoreRequestInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
adjustConnectionStrings()
Get the adjustConnectionStrings property: <code>true</code> if SiteConfig.ConnectionStrings should be
set in new app; otherwise, <code>false</code>.
|
String |
appServicePlan()
Get the appServicePlan property: Specify app service plan that will own restored site.
|
String |
blobName()
Get the blobName property: Name of a blob which contains the backup.
|
List<DatabaseBackupSetting> |
databases()
Get the databases property: Collection of databases which should be restored.
|
String |
hostingEnvironment()
Get the hostingEnvironment property: App Service Environment name, if needed (only when restoring an app to an
App Service Environment).
|
Boolean |
ignoreConflictingHostNames()
Get the ignoreConflictingHostNames property: Changes a logic when restoring an app with custom domains.
|
Boolean |
ignoreDatabases()
Get the ignoreDatabases property: Ignore the databases and only restore the site content.
|
BackupRestoreOperationType |
operationType()
Get the operationType property: Operation type.
|
Boolean |
overwrite()
Get the overwrite property: <code>true</code> if the restore operation can overwrite target app;
otherwise, <code>false</code>.
|
String |
siteName()
Get the siteName property: Name of an app.
|
String |
storageAccountUrl()
Get the storageAccountUrl property: SAS URL to the container.
|
void |
validate()
Validates the instance.
|
RestoreRequestInner |
withAdjustConnectionStrings(Boolean adjustConnectionStrings)
Set the adjustConnectionStrings property: <code>true</code> if SiteConfig.ConnectionStrings should be
set in new app; otherwise, <code>false</code>.
|
RestoreRequestInner |
withAppServicePlan(String appServicePlan)
Set the appServicePlan property: Specify app service plan that will own restored site.
|
RestoreRequestInner |
withBlobName(String blobName)
Set the blobName property: Name of a blob which contains the backup.
|
RestoreRequestInner |
withDatabases(List<DatabaseBackupSetting> databases)
Set the databases property: Collection of databases which should be restored.
|
RestoreRequestInner |
withHostingEnvironment(String hostingEnvironment)
Set the hostingEnvironment property: App Service Environment name, if needed (only when restoring an app to an
App Service Environment).
|
RestoreRequestInner |
withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
Set the ignoreConflictingHostNames property: Changes a logic when restoring an app with custom domains.
|
RestoreRequestInner |
withIgnoreDatabases(Boolean ignoreDatabases)
Set the ignoreDatabases property: Ignore the databases and only restore the site content.
|
RestoreRequestInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
RestoreRequestInner |
withOperationType(BackupRestoreOperationType operationType)
Set the operationType property: Operation type.
|
RestoreRequestInner |
withOverwrite(Boolean overwrite)
Set the overwrite property: <code>true</code> if the restore operation can overwrite target app;
otherwise, <code>false</code>.
|
RestoreRequestInner |
withSiteName(String siteName)
Set the siteName property: Name of an app.
|
RestoreRequestInner |
withStorageAccountUrl(String storageAccountUrl)
Set the storageAccountUrl property: SAS URL to the container.
|
kindpublic String storageAccountUrl()
public RestoreRequestInner withStorageAccountUrl(String storageAccountUrl)
storageAccountUrl - the storageAccountUrl value to set.public String blobName()
public RestoreRequestInner withBlobName(String blobName)
blobName - the blobName value to set.public Boolean overwrite()
public RestoreRequestInner withOverwrite(Boolean overwrite)
overwrite - the overwrite value to set.public String siteName()
public RestoreRequestInner withSiteName(String siteName)
siteName - the siteName value to set.public List<DatabaseBackupSetting> databases()
public RestoreRequestInner withDatabases(List<DatabaseBackupSetting> databases)
databases - the databases value to set.public Boolean ignoreConflictingHostNames()
public RestoreRequestInner withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
ignoreConflictingHostNames - the ignoreConflictingHostNames value to set.public Boolean ignoreDatabases()
public RestoreRequestInner withIgnoreDatabases(Boolean ignoreDatabases)
ignoreDatabases - the ignoreDatabases value to set.public String appServicePlan()
public RestoreRequestInner withAppServicePlan(String appServicePlan)
appServicePlan - the appServicePlan value to set.public BackupRestoreOperationType operationType()
public RestoreRequestInner withOperationType(BackupRestoreOperationType operationType)
operationType - the operationType value to set.public Boolean adjustConnectionStrings()
public RestoreRequestInner withAdjustConnectionStrings(Boolean adjustConnectionStrings)
adjustConnectionStrings - the adjustConnectionStrings value to set.public String hostingEnvironment()
public RestoreRequestInner withHostingEnvironment(String hostingEnvironment)
hostingEnvironment - the hostingEnvironment value to set.public RestoreRequestInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.