你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagementPolicy Class

The Get Storage Account ManagementPolicies operation response.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage.v2023_05_01.models._models_py3.Resource
ManagementPolicy

Constructor

ManagementPolicy(*, policy: _models.ManagementPolicySchema | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
policy

The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

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

last_modified_time

Returns the date and time the ManagementPolicies was last modified.

policy

The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.