GovernanceRule 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.
Governance rule over a given scope
[Microsoft.Rest.Serialization.JsonTransformation]
public class GovernanceRule : Microsoft.Azure.Management.Security.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type GovernanceRule = class
inherit Resource
Public Class GovernanceRule
Inherits Resource
- Inheritance
- Attributes
Constructors
GovernanceRule() |
Initializes a new instance of the GovernanceRule class. |
GovernanceRule(String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, String, String, IList<String>, IList<Object>, Nullable<Boolean>, GovernanceRuleOwnerSource, GovernanceRuleEmailNotification, GovernanceRuleMetadata) |
Initializes a new instance of the GovernanceRule 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 |
Id |
Gets resource Id (Inherited from Resource) |
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 |
Name |
Gets resource name (Inherited from Resource) |
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 Possible values include: 'Assessments' |
TenantId |
Gets the tenantId (GUID) |
Type |
Gets resource type (Inherited from Resource) |
Methods
Validate() |
Validate the object. |