你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagementPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |