Share via


RestoreRequestInner Constructors

Definition

Overloads

RestoreRequestInner()

Initializes a new instance of the RestoreRequestInner class.

RestoreRequestInner(String, Boolean, String, String, String, String, String, String, IList<DatabaseBackupSetting>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<BackupRestoreOperationType>, Nullable<Boolean>, String)

Initializes a new instance of the RestoreRequestInner class.

RestoreRequestInner()

Initializes a new instance of the RestoreRequestInner class.

public RestoreRequestInner ();
Public Sub New ()

Applies to

RestoreRequestInner(String, Boolean, String, String, String, String, String, String, IList<DatabaseBackupSetting>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<BackupRestoreOperationType>, Nullable<Boolean>, String)

Initializes a new instance of the RestoreRequestInner class.

public RestoreRequestInner (string storageAccountUrl, bool overwrite, string id = default, string name = default, string type = default, string kind = default, string blobName = default, string siteName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.DatabaseBackupSetting> databases = default, bool? ignoreConflictingHostNames = default, bool? ignoreDatabases = default, string appServicePlan = default, Microsoft.Azure.Management.AppService.Fluent.Models.BackupRestoreOperationType? operationType = default, bool? adjustConnectionStrings = default, string hostingEnvironment = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.RestoreRequestInner : string * bool * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.DatabaseBackupSetting> * Nullable<bool> * Nullable<bool> * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.BackupRestoreOperationType> * Nullable<bool> * string -> Microsoft.Azure.Management.AppService.Fluent.Models.RestoreRequestInner
Public Sub New (storageAccountUrl As String, overwrite As Boolean, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional blobName As String = Nothing, Optional siteName As String = Nothing, Optional databases As IList(Of DatabaseBackupSetting) = Nothing, Optional ignoreConflictingHostNames As Nullable(Of Boolean) = Nothing, Optional ignoreDatabases As Nullable(Of Boolean) = Nothing, Optional appServicePlan As String = Nothing, Optional operationType As Nullable(Of BackupRestoreOperationType) = Nothing, Optional adjustConnectionStrings As Nullable(Of Boolean) = Nothing, Optional hostingEnvironment As String = Nothing)

Parameters

storageAccountUrl
String

SAS URL to the container.

overwrite
Boolean

<code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app.

id
String
name
String
type
String
kind
String

Kind of resource.

blobName
String

Name of a blob which contains the backup.

siteName
String

Name of an app.

databases
IList<DatabaseBackupSetting>

Collection of databases which should be restored. This list has to match the list of databases included in the backup.

ignoreConflictingHostNames
Nullable<Boolean>

Changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to the app's object when it is being restored, but that might fail due to conflicts during the operation.

ignoreDatabases
Nullable<Boolean>

Ignore the databases and only restore the site content

appServicePlan
String

Specify app service plan that will own restored site.

operationType
Nullable<BackupRestoreOperationType>

Operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'

adjustConnectionStrings
Nullable<Boolean>

<code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>.

hostingEnvironment
String

App Service Environment name, if needed (only when restoring an app to an App Service Environment).

Applies to