RestoreRequest Class

Definition

Description of a restore request.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RestoreRequest : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RestoreRequest = class
    inherit ProxyOnlyResource
Public Class RestoreRequest
Inherits ProxyOnlyResource
Inheritance
RestoreRequest
Attributes

Constructors

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.

Properties

AdjustConnectionStrings

Gets or sets &lt;code&gt;true&lt;/code&gt; if SiteConfig.ConnectionStrings should be set in new app; otherwise, &lt;code&gt;false&lt;/code&gt;.

AppServicePlan

Gets or sets specify app service plan that will own restored site.

BlobName

Gets or sets name of a blob which contains the backup.

Databases

Gets or sets collection of databases which should be restored. This list has to match the list of databases included in the backup.

HostingEnvironment

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

Id

Gets resource Id.

(Inherited from ProxyOnlyResource)
IgnoreConflictingHostNames

Gets or sets changes a logic when restoring an app with custom domains. &lt;code&gt;true&lt;/code&gt; to remove custom domains automatically. If &lt;code&gt;false&lt;/code&gt;, 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

Gets or sets ignore the databases and only restore the site content

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
OperationType

Gets or sets operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'

Overwrite

Gets or sets &lt;code&gt;true&lt;/code&gt; if the restore operation can overwrite target app; otherwise, &lt;code&gt;false&lt;/code&gt;. &lt;code&gt;true&lt;/code&gt; is needed if trying to restore over an existing app.

SiteName

Gets or sets name of an app.

StorageAccountUrl

Gets or sets SAS URL to the container.

Type

Gets resource type.

(Inherited from ProxyOnlyResource)

Methods

Validate()

Validate the object.

Applies to