Source code for azure.mgmt.storage.v2018_07_01.models.management_policies_rules_set_parameter_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class ManagementPoliciesRulesSetParameter(Model): """The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. :param policy: The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. :type policy: object """ _attribute_map = { 'policy': {'key': 'properties.policy', 'type': 'object'}, } def __init__(self, *, policy=None, **kwargs) -> None: super(ManagementPoliciesRulesSetParameter, self).__init__(**kwargs) self.policy = policy