你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSqlModelFactory.ManagedBackupShortTermRetentionPolicyData Method

Definition

Initializes a new instance of ManagedBackupShortTermRetentionPolicyData.

public static Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyData ManagedBackupShortTermRetentionPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? retentionDays = default);
static member ManagedBackupShortTermRetentionPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> -> Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyData
Public Shared Function ManagedBackupShortTermRetentionPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing) As ManagedBackupShortTermRetentionPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

retentionDays
Nullable<Int32>

The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

Returns

A new ManagedBackupShortTermRetentionPolicyData instance for mocking.

Applies to