共用方式為


RestoreRequestInner 建構函式

定義

多載

RestoreRequestInner()

初始化 RestoreRequestInner 類別的新實例。

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

初始化 RestoreRequestInner 類別的新實例。

RestoreRequestInner()

初始化 RestoreRequestInner 類別的新實例。

public RestoreRequestInner ();
Public Sub New ()

適用於

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

初始化 RestoreRequestInner 類別的新實例。

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)

參數

storageAccountUrl
String

容器的 SAS URL。

overwrite
Boolean

<如果還原作業可以覆寫目標應用程式,則程式碼為 true < /code > ;否則為 >< false < /code > 。 > <嘗試透過現有應用程式還原時,需要程式碼 > true < /code > 。

id
String
name
String
type
String
kind
String

資源種類。

blobName
String

包含備份的 Blob 名稱。

siteName
String

應用程式的名稱。

databases
IList<DatabaseBackupSetting>

應還原的資料庫集合。 此清單必須符合備份中包含的資料庫清單。

ignoreConflictingHostNames
Nullable<Boolean>

使用自訂網域還原應用程式時變更邏輯。 <程式碼 > true < /code > 可自動移除自訂網域。 如果 < 程式碼為 false < /程式碼 >> ,則自訂網域會在還原時新增至應用程式的 物件,但這可能會因為作業期間發生衝突而失敗。

ignoreDatabases
Nullable<Boolean>

忽略資料庫,並只還原網站內容

appServicePlan
String

指定將擁有已還原網站的 App Service 方案。

operationType
Nullable<BackupRestoreOperationType>

作業類型。 可能的值包括:'Default'、'Clone'、'重新配置'、'Snapshot'、'CloudFS'

adjustConnectionStrings
Nullable<Boolean>

<如果 SiteConfig.ConnectionStrings 應該在新應用程式中設定,則程式碼為 true < /code > ;否則為 >< false < /code > 。 >

hostingEnvironment
String

App Service 環境名稱,只有在將應用程式還原至App Service 環境) 時,才需要 (。

適用於