ManagementPolicyRule Constructors
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.
Overloads
ManagementPolicyRule() |
Initializes a new instance of the ManagementPolicyRule class. |
ManagementPolicyRule(String, ManagementPolicyDefinition, Nullable<Boolean>) |
Initializes a new instance of the ManagementPolicyRule class. |
ManagementPolicyRule()
Initializes a new instance of the ManagementPolicyRule class.
public ManagementPolicyRule ();
Public Sub New ()
Applies to
ManagementPolicyRule(String, ManagementPolicyDefinition, Nullable<Boolean>)
Initializes a new instance of the ManagementPolicyRule class.
public ManagementPolicyRule (string name, Microsoft.Azure.Management.Storage.Models.ManagementPolicyDefinition definition, bool? enabled = default);
new Microsoft.Azure.Management.Storage.Models.ManagementPolicyRule : string * Microsoft.Azure.Management.Storage.Models.ManagementPolicyDefinition * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.ManagementPolicyRule
Public Sub New (name As String, definition As ManagementPolicyDefinition, Optional enabled As Nullable(Of Boolean) = Nothing)
Parameters
- name
- String
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
An object that defines the Lifecycle rule.