Compartilhar via


ArmSqlModelFactory.ManagedInstanceLongTermRetentionPolicyData Método

Definição

Inicializa uma nova instância de ManagedInstanceLongTermRetentionPolicyData.

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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

weeklyRetention
String

A política de retenção semanal para um backup LTR em um formato ISO 8601.

monthlyRetention
String

A política de retenção mensal para um backup LTR em um formato ISO 8601.

yearlyRetention
String

A política de retenção anual para um backup LTR em um formato ISO 8601.

weekOfYear
Nullable<Int32>

A semana do ano para fazer o backup anual em um formato ISO 8601.

Retornos

Uma nova ManagedInstanceLongTermRetentionPolicyData instância para zombar.

Aplica-se a