ManagementPolicyRule Class
An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ManagementPolicyRule
Constructor
ManagementPolicyRule(*, name: str, type: Union[str, azure.mgmt.storage.v2019_04_01.models._storage_management_client_enums.RuleType], definition: azure.mgmt.storage.v2019_04_01.models._models_py3.ManagementPolicyDefinition, enabled: Optional[bool] = None, **kwargs)
Variables
- enabled
- bool
Rule is enabled if set to true.
- name
- str
Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- definition
- ManagementPolicyDefinition
Required. An object that defines the Lifecycle rule.
Feedback
Submit and view feedback for