RestoreRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RestoreRequest() |
Initializes a new instance of the RestoreRequest class. |
RestoreRequest(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 RestoreRequest class. |
RestoreRequest()
Initializes a new instance of the RestoreRequest class.
public RestoreRequest ();
Public Sub New ()
Applies to
RestoreRequest(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 RestoreRequest class.
public RestoreRequest (string storageAccountUrl, bool overwrite, string id = default, string name = default, string kind = default, string type = default, string blobName = default, string siteName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DatabaseBackupSetting> databases = default, bool? ignoreConflictingHostNames = default, bool? ignoreDatabases = default, string appServicePlan = default, Microsoft.Azure.Management.WebSites.Models.BackupRestoreOperationType? operationType = default, bool? adjustConnectionStrings = default, string hostingEnvironment = default);
new Microsoft.Azure.Management.WebSites.Models.RestoreRequest : string * bool * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DatabaseBackupSetting> * Nullable<bool> * Nullable<bool> * string * Nullable<Microsoft.Azure.Management.WebSites.Models.BackupRestoreOperationType> * Nullable<bool> * string -> Microsoft.Azure.Management.WebSites.Models.RestoreRequest
Public Sub New (storageAccountUrl As String, overwrite As Boolean, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type 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
Resource Id.
- name
- String
Resource Name.
- kind
- String
Kind of resource.
- type
- String
Resource type.
- 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.
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.
- appServicePlan
- String
Specify app service plan that will own restored site.
- operationType
- Nullable<BackupRestoreOperationType>
Operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'
<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
Azure SDK for .NET