Partager via


ManagementPolicy Constructeurs

Définition

Surcharges

ManagementPolicy()

Initialise une nouvelle instance de la classe ManagementPolicy.

ManagementPolicy(ManagementPolicySchema, String, String, String, Nullable<DateTime>)

Initialise une nouvelle instance de la classe ManagementPolicy.

ManagementPolicy()

Initialise une nouvelle instance de la classe ManagementPolicy.

public ManagementPolicy ();
Public Sub New ()

S’applique à

ManagementPolicy(ManagementPolicySchema, String, String, String, Nullable<DateTime>)

Initialise une nouvelle instance de la classe ManagementPolicy.

public ManagementPolicy (Microsoft.Azure.Management.Storage.Models.ManagementPolicySchema policy, string id = default, string name = default, string type = default, DateTime? lastModifiedTime = default);
new Microsoft.Azure.Management.Storage.Models.ManagementPolicy : Microsoft.Azure.Management.Storage.Models.ManagementPolicySchema * string * string * string * Nullable<DateTime> -> Microsoft.Azure.Management.Storage.Models.ManagementPolicy
Public Sub New (policy As ManagementPolicySchema, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional lastModifiedTime As Nullable(Of DateTime) = Nothing)

Paramètres

policy
ManagementPolicySchema

Gestion des comptes de stockagePolicy, au format JSON. Pour plus d’informations, consultez : https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

id
String

ID de ressource complet pour la ressource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

nom de la ressource.

type
String

Type de la ressource. Par exemple, « Microsoft.Compute/virtualMachines » ou « Microsoft.Storage/storageAccounts »

lastModifiedTime
Nullable<DateTime>

Retourne la date et l’heure de la dernière modification de ManagementPolicies.

S’applique à