共用方式為


ArmSqlModelFactory.RestorableDroppedDatabaseData Method

Definition

Overloads

RestorableDroppedDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, IDictionary<String,SqlDatabaseKey>)

Initializes a new instance of RestorableDroppedDatabaseData.

RestorableDroppedDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>)

RestorableDroppedDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, IDictionary<String,SqlDatabaseKey>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of RestorableDroppedDatabaseData.

public static Azure.ResourceManager.Sql.RestorableDroppedDatabaseData RestorableDroppedDatabaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, string databaseName = default, long? maxSizeBytes = default, DateTimeOffset? createdOn = default, DateTimeOffset? deletedOn = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? backupStorageRedundancy = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Sql.Models.SqlDatabaseKey> keys = default);
static member RestorableDroppedDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Sql.Models.SqlSku * string * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Sql.Models.SqlDatabaseKey> -> Azure.ResourceManager.Sql.RestorableDroppedDatabaseData
Public Shared Function RestorableDroppedDatabaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As SqlSku = Nothing, Optional databaseName As String = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional keys As IDictionary(Of String, SqlDatabaseKey) = Nothing) As RestorableDroppedDatabaseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
SqlSku

The name and tier of the SKU.

databaseName
String

The name of the database.

maxSizeBytes
Nullable<Int64>

The max size of the database expressed in bytes.

createdOn
Nullable<DateTimeOffset>

The creation date of the database (ISO8601 format).

deletedOn
Nullable<DateTimeOffset>

The deletion date of the database (ISO8601 format).

earliestRestoreOn
Nullable<DateTimeOffset>

The earliest restore date of the database (ISO8601 format).

backupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>

The storage account type used to store backups for this database.

keys
IDictionary<String,SqlDatabaseKey>

The resource ids of the user assigned identities to use.

Returns

A new RestorableDroppedDatabaseData instance for mocking.

Applies to

RestorableDroppedDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>)

Source:
ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.RestorableDroppedDatabaseData RestorableDroppedDatabaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, string databaseName = default, long? maxSizeBytes = default, DateTimeOffset? createdOn = default, DateTimeOffset? deletedOn = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? backupStorageRedundancy = default);
static member RestorableDroppedDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Sql.Models.SqlSku * string * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> -> Azure.ResourceManager.Sql.RestorableDroppedDatabaseData
Public Shared Function RestorableDroppedDatabaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As SqlSku = Nothing, Optional databaseName As String = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing) As RestorableDroppedDatabaseData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation
sku
SqlSku
databaseName
String
maxSizeBytes
Nullable<Int64>
earliestRestoreOn
Nullable<DateTimeOffset>
backupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>

Returns

Applies to