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.v2021_04_01.models._models_py3.Resource
ManagementPolicy

Constructor

ManagementPolicy(*, policy: Optional[azure.mgmt.storage.v2021_04_01.models._models_py3.ManagementPolicySchema] = None, **kwargs)

Variables

id
str

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

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
datetime

Returns the date and time the ManagementPolicies was last modified.

policy
ManagementPolicySchema

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