Share via


ArmAppServiceModelFactory.DeletedAppRestoreContent Method

Definition

Initializes a new instance of DeletedAppRestoreContent.

public static Azure.ResourceManager.AppService.Models.DeletedAppRestoreContent DeletedAppRestoreContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier deletedSiteId = default, bool? recoverConfiguration = default, string snapshotTime = default, bool? useDRSecondary = default, string kind = default);
static member DeletedAppRestoreContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<bool> * string * Nullable<bool> * string -> Azure.ResourceManager.AppService.Models.DeletedAppRestoreContent
Public Shared Function DeletedAppRestoreContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deletedSiteId As ResourceIdentifier = Nothing, Optional recoverConfiguration As Nullable(Of Boolean) = Nothing, Optional snapshotTime As String = Nothing, Optional useDRSecondary As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As DeletedAppRestoreContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

deletedSiteId
ResourceIdentifier

ARM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}

recoverConfiguration
Nullable<Boolean>

If true, deleted site configuration, in addition to content, will be restored.

snapshotTime
String

Point in time to restore the deleted app from, formatted as a DateTime string. If unspecified, default value is the time that the app was deleted.

useDRSecondary
Nullable<Boolean>

If true, the snapshot is retrieved from DRSecondary endpoint.

kind
String

Kind of resource.

Returns

A new DeletedAppRestoreContent instance for mocking.

Applies to