共用方式為


ArmSqlModelFactory.RecoverableDatabaseData Method

Definition

Overloads

RecoverableDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<DateTimeOffset>)
RecoverableDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<DateTimeOffset>, IDictionary<String,SqlDatabaseKey>)

Initializes a new instance of RecoverableDatabaseData.

RecoverableDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<DateTimeOffset>)

Source:
ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.RecoverableDatabaseData RecoverableDatabaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string edition = default, string serviceLevelObjective = default, string elasticPoolName = default, DateTimeOffset? lastAvailableBackupOn = default);
static member RecoverableDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Sql.RecoverableDatabaseData
Public Shared Function RecoverableDatabaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional edition As String = Nothing, Optional serviceLevelObjective As String = Nothing, Optional elasticPoolName As String = Nothing, Optional lastAvailableBackupOn As Nullable(Of DateTimeOffset) = Nothing) As RecoverableDatabaseData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
edition
String
serviceLevelObjective
String
elasticPoolName
String
lastAvailableBackupOn
Nullable<DateTimeOffset>

Returns

Applies to

RecoverableDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<DateTimeOffset>, IDictionary<String,SqlDatabaseKey>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of RecoverableDatabaseData.

public static Azure.ResourceManager.Sql.RecoverableDatabaseData RecoverableDatabaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string edition = default, string serviceLevelObjective = default, string elasticPoolName = default, DateTimeOffset? lastAvailableBackupOn = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Sql.Models.SqlDatabaseKey> keys = default);
static member RecoverableDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Sql.Models.SqlDatabaseKey> -> Azure.ResourceManager.Sql.RecoverableDatabaseData
Public Shared Function RecoverableDatabaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional edition As String = Nothing, Optional serviceLevelObjective As String = Nothing, Optional elasticPoolName As String = Nothing, Optional lastAvailableBackupOn As Nullable(Of DateTimeOffset) = Nothing, Optional keys As IDictionary(Of String, SqlDatabaseKey) = Nothing) As RecoverableDatabaseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

edition
String

The edition of the database.

serviceLevelObjective
String

The service level objective name of the database.

elasticPoolName
String

The elastic pool name of the database.

lastAvailableBackupOn
Nullable<DateTimeOffset>

The last available backup date.

keys
IDictionary<String,SqlDatabaseKey>

The resource ids of the user assigned identities to use.

Returns

A new RecoverableDatabaseData instance for mocking.

Applies to