Compartir a través de


ArmStorageModelFactory.StorageAccountManagementPolicyData Método

Definición

Inicializa una nueva instancia 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

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

lastModifiedOn
Nullable<DateTimeOffset>

Devuelve la fecha y hora en que se modificó por última vez ManagementPolicies.

rules
IEnumerable<ManagementPolicyRule>

Storage Account ManagementPolicy, en formato JSON. Vea más detalles en: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Devoluciones

StorageAccountManagementPolicyData Nueva instancia de para simular.

Se aplica a