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, Azure.ResourceManager.Sql.Models.SqlBackupStorageAccessTier? backupStorageAccessTier = 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> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageAccessTier> -> 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, Optional backupStorageAccessTier As Nullable(Of SqlBackupStorageAccessTier) = Nothing) As ManagedInstanceLongTermRetentionBackupData
Parameters
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.
- 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.
- backupStorageAccessTier
- Nullable<SqlBackupStorageAccessTier>
The BackupStorageAccessTier for the LTR backup.
Returns
A new ManagedInstanceLongTermRetentionBackupData instance for mocking.