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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET