Share via


ArmSqlModelFactory.LongTermRetentionBackupData Method

Definition

Overloads

LongTermRetentionBackupData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<DateTimeOffset>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>)
LongTermRetentionBackupData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<DateTimeOffset>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, Nullable<SqlBackupStorageAccessTier>)

Initializes a new instance of LongTermRetentionBackupData.

LongTermRetentionBackupData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<DateTimeOffset>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>)

Source:
ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.LongTermRetentionBackupData LongTermRetentionBackupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serverName = default, DateTimeOffset? serverCreateOn = default, string databaseName = default, DateTimeOffset? databaseDeletedOn = default, DateTimeOffset? backupOn = default, DateTimeOffset? backupExpireOn = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? backupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default);
static member LongTermRetentionBackupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> -> Azure.ResourceManager.Sql.LongTermRetentionBackupData
Public Shared Function LongTermRetentionBackupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serverName As String = Nothing, Optional serverCreateOn As Nullable(Of DateTimeOffset) = Nothing, Optional databaseName As String = Nothing, Optional databaseDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing) As LongTermRetentionBackupData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
serverName
String
serverCreateOn
Nullable<DateTimeOffset>
databaseName
String
databaseDeletedOn
Nullable<DateTimeOffset>
backupExpireOn
Nullable<DateTimeOffset>
backupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>
requestedBackupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>

Returns

Applies to

LongTermRetentionBackupData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<DateTimeOffset>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, Nullable<SqlBackupStorageAccessTier>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of LongTermRetentionBackupData.

public static Azure.ResourceManager.Sql.LongTermRetentionBackupData LongTermRetentionBackupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serverName = default, DateTimeOffset? serverCreateOn = default, string databaseName = default, DateTimeOffset? databaseDeletedOn = default, DateTimeOffset? backupOn = default, DateTimeOffset? backupExpireOn = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? backupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default, bool? isBackupImmutable = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageAccessTier? backupStorageAccessTier = default);
static member LongTermRetentionBackupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageAccessTier> -> Azure.ResourceManager.Sql.LongTermRetentionBackupData
Public Shared Function LongTermRetentionBackupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serverName As String = Nothing, Optional serverCreateOn As Nullable(Of DateTimeOffset) = Nothing, Optional databaseName As String = Nothing, Optional databaseDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional isBackupImmutable As Nullable(Of Boolean) = Nothing, Optional backupStorageAccessTier As Nullable(Of SqlBackupStorageAccessTier) = Nothing) As LongTermRetentionBackupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serverName
String

The server name that the backup database belong to.

serverCreateOn
Nullable<DateTimeOffset>

The create time of the server.

databaseName
String

The name of the database the backup belong to.

databaseDeletedOn
Nullable<DateTimeOffset>

The delete time of the database.

backupOn
Nullable<DateTimeOffset>

The time the backup was taken.

backupExpireOn
Nullable<DateTimeOffset>

The time the long term retention backup will expire.

backupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>

The storage redundancy type of the backup.

requestedBackupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>

The storage redundancy type of the backup.

isBackupImmutable
Nullable<Boolean>

The setting whether the LTR backup is immutable.

backupStorageAccessTier
Nullable<SqlBackupStorageAccessTier>

The BackupStorageAccessTier for the LTR backup.

Returns

A new LongTermRetentionBackupData instance for mocking.

Applies to