RestoreRequestInfo Class

Definition

Description of a restore request.

public class RestoreRequestInfo : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.RestoreRequestInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.RestoreRequestInfo>
type RestoreRequestInfo = class
    inherit ResourceData
    interface IJsonModel<RestoreRequestInfo>
    interface IPersistableModel<RestoreRequestInfo>
Public Class RestoreRequestInfo
Inherits ResourceData
Implements IJsonModel(Of RestoreRequestInfo), IPersistableModel(Of RestoreRequestInfo)
Inheritance
RestoreRequestInfo
Implements

Constructors

RestoreRequestInfo()

Initializes a new instance of RestoreRequestInfo.

Properties

AdjustConnectionStrings

<code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>.

AppServicePlan

Specify app service plan that will own restored site.

BlobName

Name of a blob which contains the backup.

CanOverwrite

<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.

Databases

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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IgnoreConflictingHostNames

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 the app's object when it is being restored, but that might fail due to conflicts during the operation.

IgnoreDatabases

Ignore the databases and only restore the site content.

Kind

Kind of resource.

Name

The name of the resource.

(Inherited from ResourceData)
OperationType

Operation type.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SiteName

Name of an app.

StorageAccountUri

SAS URL to the container.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RestoreRequestInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RestoreRequestInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreRequestInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreRequestInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RestoreRequestInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to