ArmAppServiceModelFactory.SnapshotRestoreRequest Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SnapshotRestoreRequest.
public static Azure.ResourceManager.AppService.Models.SnapshotRestoreRequest SnapshotRestoreRequest (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string snapshotTime = default, Azure.ResourceManager.AppService.Models.SnapshotRecoverySource recoverySource = default, bool? canOverwrite = default, bool? recoverConfiguration = default, bool? ignoreConflictingHostNames = default, bool? useDRSecondary = default, string kind = default);
static member SnapshotRestoreRequest : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.AppService.Models.SnapshotRecoverySource * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string -> Azure.ResourceManager.AppService.Models.SnapshotRestoreRequest
Public Shared Function SnapshotRestoreRequest (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional snapshotTime As String = Nothing, Optional recoverySource As SnapshotRecoverySource = Nothing, Optional canOverwrite As Nullable(Of Boolean) = Nothing, Optional recoverConfiguration As Nullable(Of Boolean) = Nothing, Optional ignoreConflictingHostNames As Nullable(Of Boolean) = Nothing, Optional useDRSecondary As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As SnapshotRestoreRequest
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- snapshotTime
- String
Point in time in which the app restore should be done, formatted as a DateTime string.
- recoverySource
- SnapshotRecoverySource
Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.
If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.
If true, site configuration, in addition to content, will be reverted.
If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.
- kind
- String
Kind of resource.
Returns
A new SnapshotRestoreRequest instance for mocking.
Applies to
Azure SDK for .NET