Share via


RestoreRequest Class

Definition

Description of a restore request.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.RestoreRequestTypeConverter))]
public class RestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IRestoreRequest, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.RestoreRequestTypeConverter))>]
type RestoreRequest = class
    interface IRestoreRequest
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class RestoreRequest
Implements IRestoreRequest, IValidates
Inheritance
RestoreRequest
Attributes
Implements

Constructors

RestoreRequest()

Creates an new RestoreRequest instance.

Properties

AdjustConnectionString

true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.

AppServicePlan

Specify app service plan that will own restored site.

BlobName

Name of a blob which contains the backup.

Database

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

HostingEnvironment

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

Id

Resource Id.

IgnoreConflictingHostName

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

IgnoreDatabase

Ignore the databases and only restore the site content

Kind

Kind of resource.

Name

Resource Name.

OperationType

Operation type.

Overwrite

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

SiteName

Name of an app.

StorageAccountUrl

SAS URL to the container.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RestoreRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestoreRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IRestoreRequest.

FromJsonString(String)

Creates a new instance of RestoreRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestoreRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to