你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GovernanceRuleProperties Class
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.
Describes properties of an governance rule
public class GovernanceRuleProperties
type GovernanceRuleProperties = class
Public Class GovernanceRuleProperties
- Inheritance
-
GovernanceRuleProperties
Constructors
GovernanceRuleProperties() |
Initializes a new instance of the GovernanceRuleProperties class. |
GovernanceRuleProperties(String, Int32, String, IList<Object>, GovernanceRuleOwnerSource, String, String, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, Nullable<Boolean>, GovernanceRuleEmailNotification, GovernanceRuleMetadata) |
Initializes a new instance of the GovernanceRuleProperties class. |
Properties
ConditionSets |
Gets or sets the governance rule conditionSets - see examples |
Description |
Gets or sets description of the governance rule |
DisplayName |
Gets or sets display name of the governance rule |
ExcludedScopes |
Gets or sets excluded scopes, filter out the descendants of the scope (on management scopes) |
GovernanceEmailNotification |
Gets or sets the email notifications settings for the governance rule, states whether to disable notifications for mangers and owners |
IncludeMemberScopes |
Gets or sets defines whether the rule is management scope rule (master connector as a single scope or management scope) |
IsDisabled |
Gets or sets defines whether the rule is active/inactive |
IsGracePeriod |
Gets or sets defines whether there is a grace period on the governance rule |
Metadata |
Gets or sets the governance rule metadata |
OwnerSource |
Gets or sets the owner source for the governance rule - e.g. Manually by user@contoso.com - see example |
RemediationTimeframe |
Gets or sets governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days |
RulePriority |
Gets or sets the governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed |
RuleType |
Gets or sets the rule type of the governance rule, defines the source of the rule e.g. Integrated Possible values include: 'Integrated', 'ServiceNow' |
SourceResourceType |
Gets or sets the governance rule source, what the rule affects, e.g. Assessments |
TenantId |
Gets the tenantId (GUID) |
Methods
Validate() |
Validate the object. |