ArmSqlModelFactory.ManagedInstanceLongTermRetentionBackupData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ManagedInstanceLongTermRetentionBackupData.
public static Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionBackupData ManagedInstanceLongTermRetentionBackupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string managedInstanceName = default, DateTimeOffset? managedInstanceCreateOn = default, string databaseName = default, DateTimeOffset? databaseDeletedOn = default, DateTimeOffset? backupOn = default, DateTimeOffset? backupExpireOn = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? backupStorageRedundancy = default);
static member ManagedInstanceLongTermRetentionBackupData : 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> -> Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionBackupData
Public Shared Function ManagedInstanceLongTermRetentionBackupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional managedInstanceName As String = Nothing, Optional managedInstanceCreateOn 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) As ManagedInstanceLongTermRetentionBackupData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- managedInstanceName
- String
The managed instance that the backup database belongs to.
- managedInstanceCreateOn
- Nullable<DateTimeOffset>
The create time of the instance.
- 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.
Returns
A new ManagedInstanceLongTermRetentionBackupData instance for mocking.