ArmAppServiceModelFactory.RestoreRequestInfo Method
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.
Initializes a new instance of RestoreRequestInfo.
public static Azure.ResourceManager.AppService.Models.RestoreRequestInfo RestoreRequestInfo(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri storageAccountUri = default, string blobName = default, bool? canOverwrite = default, string siteName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> databases = default, bool? ignoreConflictingHostNames = default, bool? ignoreDatabases = default, string appServicePlan = default, Azure.ResourceManager.AppService.Models.BackupRestoreOperationType? operationType = default, bool? adjustConnectionStrings = default, string hostingEnvironment = default, string kind = default);
static member RestoreRequestInfo : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * Nullable<bool> * string * seq<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting> * Nullable<bool> * Nullable<bool> * string * Nullable<Azure.ResourceManager.AppService.Models.BackupRestoreOperationType> * Nullable<bool> * string * string -> Azure.ResourceManager.AppService.Models.RestoreRequestInfo
Public Shared Function RestoreRequestInfo (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional storageAccountUri As Uri = Nothing, Optional blobName As String = Nothing, Optional canOverwrite As Nullable(Of Boolean) = Nothing, Optional siteName As String = Nothing, Optional databases As IEnumerable(Of AppServiceDatabaseBackupSetting) = 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, Optional kind As String = Nothing) As RestoreRequestInfo
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- storageAccountUri
- Uri
SAS URL to the container. Serialized Name: RestoreRequest.properties.storageAccountUrl
- blobName
- String
Name of a blob which contains the backup. Serialized Name: RestoreRequest.properties.blobName
<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. Serialized Name: RestoreRequest.properties.overwrite
- siteName
- String
Name of an app. Serialized Name: RestoreRequest.properties.siteName
- databases
- IEnumerable<AppServiceDatabaseBackupSetting>
Collection of databases which should be restored. This list has to match the list of databases included in the backup. Serialized Name: RestoreRequest.properties.databases
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 \nthe app's object when it is being restored, but that might fail due to conflicts during the operation. Serialized Name: RestoreRequest.properties.ignoreConflictingHostNames
Ignore the databases and only restore the site content Serialized Name: RestoreRequest.properties.ignoreDatabases
- appServicePlan
- String
Specify app service plan that will own restored site. Serialized Name: RestoreRequest.properties.appServicePlan
- operationType
- Nullable<BackupRestoreOperationType>
Operation type. Serialized Name: RestoreRequest.properties.operationType
<code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. Serialized Name: RestoreRequest.properties.adjustConnectionStrings
- hostingEnvironment
- String
App Service Environment name, if needed (only when restoring an app to an App Service Environment). Serialized Name: RestoreRequest.properties.hostingEnvironment
- kind
- String
Kind of resource. Serialized Name: ProxyOnlyResource.kind
Returns
A new RestoreRequestInfo instance for mocking.