ManagementPolicyRule Constructor
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.
Initializes a new instance of ManagementPolicyRule.
public ManagementPolicyRule (string name, Azure.ResourceManager.Storage.Models.ManagementPolicyRuleType ruleType, Azure.ResourceManager.Storage.Models.ManagementPolicyDefinition definition);
new Azure.ResourceManager.Storage.Models.ManagementPolicyRule : string * Azure.ResourceManager.Storage.Models.ManagementPolicyRuleType * Azure.ResourceManager.Storage.Models.ManagementPolicyDefinition -> Azure.ResourceManager.Storage.Models.ManagementPolicyRule
Public Sub New (name As String, ruleType As ManagementPolicyRuleType, definition As ManagementPolicyDefinition)
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.
- ruleType
- ManagementPolicyRuleType
The valid value is Lifecycle.
- definition
- ManagementPolicyDefinition
An object that defines the Lifecycle rule.
Exceptions
name
or definition
is null.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.