Partager via


RestoreRequestProperties Class

Definition

RestoreRequest resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.RestoreRequestPropertiesTypeConverter))]
public class RestoreRequestProperties : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IRestoreRequestProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.RestoreRequestPropertiesTypeConverter))>]
type RestoreRequestProperties = class
    interface IRestoreRequestProperties
    interface IJsonSerializable
Public Class RestoreRequestProperties
Implements IRestoreRequestProperties
Inheritance
RestoreRequestProperties
Attributes
Implements

Constructors

RestoreRequestProperties()

Creates an new RestoreRequestProperties 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).

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

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RestoreRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestoreRequestProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestoreRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to