Sprog

ArmSqlModelFactory.RestorableDroppedDatabaseData Method

Definition

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

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

sku
SqlSku

The name and tier of the SKU.

Returns

A new RestorableDroppedDatabaseData instance for mocking.

Applies to