Partilhar via


ArmStorageModelFactory.StorageAccountManagementPolicyData Método

Definição

Inicializa uma nova instância de StorageAccountManagementPolicyData.

public static Azure.ResourceManager.Storage.StorageAccountManagementPolicyData StorageAccountManagementPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? lastModifiedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.ManagementPolicyRule> rules = default);
static member StorageAccountManagementPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Storage.Models.ManagementPolicyRule> -> Azure.ResourceManager.Storage.StorageAccountManagementPolicyData
Public Shared Function StorageAccountManagementPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional rules As IEnumerable(Of ManagementPolicyRule) = Nothing) As StorageAccountManagementPolicyData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

lastModifiedOn
Nullable<DateTimeOffset>

Retorna a data e a hora em que o ManagementPolicies foi modificado pela última vez.

rules
IEnumerable<ManagementPolicyRule>

O Storage Account ManagementPolicy, no formato JSON. Confira mais detalhes em: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Retornos

Uma nova StorageAccountManagementPolicyData instância para zombar.

Aplica-se a