Dela via


ArmSqlModelFactory.SqlServerDatabaseRestorePointData Method

Definition

Initializes a new instance of SqlServerDatabaseRestorePointData.

public static Azure.ResourceManager.Sql.SqlServerDatabaseRestorePointData SqlServerDatabaseRestorePointData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.Sql.Models.RestorePointType? restorePointType = default, DateTimeOffset? earliestRestoreOn = default, DateTimeOffset? restorePointCreatedOn = default, string restorePointLabel = default);
static member SqlServerDatabaseRestorePointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Sql.Models.RestorePointType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Sql.SqlServerDatabaseRestorePointData
Public Shared Function SqlServerDatabaseRestorePointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional restorePointType As Nullable(Of RestorePointType) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional restorePointCreatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional restorePointLabel As String = Nothing) As SqlServerDatabaseRestorePointData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

restorePointType
Nullable<RestorePointType>

The type of restore point.

earliestRestoreOn
Nullable<DateTimeOffset>

The earliest time to which this database can be restored.

restorePointCreatedOn
Nullable<DateTimeOffset>

The time the backup was taken.

restorePointLabel
String

The label of restore point for backup request by user.

Returns

A new SqlServerDatabaseRestorePointData instance for mocking.

Applies to