RestoreRequestInfo Class

Definition

Description of a restore request. Serialized Name: RestoreRequest

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

Name Description
RestoreRequestInfo()

Initializes a new instance of RestoreRequestInfo.

Properties

Name Description
AdjustConnectionStrings

<code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. Serialized Name: RestoreRequest.properties.adjustConnectionStrings

AppServicePlan

Specify app service plan that will own restored site. Serialized Name: RestoreRequest.properties.appServicePlan

BlobName

Name of a blob which contains the backup. Serialized Name: RestoreRequest.properties.blobName

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. Serialized Name: RestoreRequest.properties.overwrite

Databases

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

HostingEnvironment

App Service Environment name, if needed (only when restoring an app to an App Service Environment). Serialized Name: RestoreRequest.properties.hostingEnvironment

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 \nthe app's object when it is being restored, but that might fail due to conflicts during the operation. Serialized Name: RestoreRequest.properties.ignoreConflictingHostNames

IgnoreDatabases

Ignore the databases and only restore the site content Serialized Name: RestoreRequest.properties.ignoreDatabases

Kind

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Name

The name of the resource.

(Inherited from ResourceData)
OperationType

Operation type. Serialized Name: RestoreRequest.properties.operationType

ResourceType

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

(Inherited from ResourceData)
SiteName

Name of an app. Serialized Name: RestoreRequest.properties.siteName

StorageAccountUri

SAS URL to the container. Serialized Name: RestoreRequest.properties.storageAccountUrl

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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