Compartilhar via


ManagementPolicy Class

Definition

The Get Storage Account ManagementPolicies operation response.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagementPolicy : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ManagementPolicy = class
    inherit Resource
Public Class ManagementPolicy
Inherits Resource
Inheritance
ManagementPolicy
Attributes

Constructors

ManagementPolicy()

Initializes a new instance of the ManagementPolicy class.

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

Initializes a new instance of the ManagementPolicy class.

Properties

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
LastModifiedTime

Gets returns the date and time the ManagementPolicies was last modified.

Name

Gets the name of the resource

(Inherited from Resource)
Policy

Gets or sets the Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to