Partager via


GovernanceRuleProperties Constructors

Definition

Overloads

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.

GovernanceRuleProperties()

Initializes a new instance of the GovernanceRuleProperties class.

public GovernanceRuleProperties ();
Public Sub New ()

Applies to

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.

public GovernanceRuleProperties (string displayName, int rulePriority, string ruleType, System.Collections.Generic.IList<object> conditionSets, Microsoft.Azure.Management.Security.Models.GovernanceRuleOwnerSource ownerSource, string tenantId = default, string description = default, string remediationTimeframe = default, bool? isGracePeriod = default, bool? isDisabled = default, System.Collections.Generic.IList<string> excludedScopes = default, bool? includeMemberScopes = default, Microsoft.Azure.Management.Security.Models.GovernanceRuleEmailNotification governanceEmailNotification = default, Microsoft.Azure.Management.Security.Models.GovernanceRuleMetadata metadata = default);
new Microsoft.Azure.Management.Security.Models.GovernanceRuleProperties : string * int * string * System.Collections.Generic.IList<obj> * Microsoft.Azure.Management.Security.Models.GovernanceRuleOwnerSource * string * string * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<bool> * Microsoft.Azure.Management.Security.Models.GovernanceRuleEmailNotification * Microsoft.Azure.Management.Security.Models.GovernanceRuleMetadata -> Microsoft.Azure.Management.Security.Models.GovernanceRuleProperties
Public Sub New (displayName As String, rulePriority As Integer, ruleType As String, conditionSets As IList(Of Object), ownerSource As GovernanceRuleOwnerSource, Optional tenantId As String = Nothing, Optional description As String = Nothing, Optional remediationTimeframe As String = Nothing, Optional isGracePeriod As Nullable(Of Boolean) = Nothing, Optional isDisabled As Nullable(Of Boolean) = Nothing, Optional excludedScopes As IList(Of String) = Nothing, Optional includeMemberScopes As Nullable(Of Boolean) = Nothing, Optional governanceEmailNotification As GovernanceRuleEmailNotification = Nothing, Optional metadata As GovernanceRuleMetadata = Nothing)

Parameters

displayName
String

Display name of the governance rule

rulePriority
Int32

The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed

ruleType
String

The rule type of the governance rule, defines the source of the rule e.g. Integrated Possible values include: 'Integrated', 'ServiceNow'

conditionSets
IList<Object>

The governance rule conditionSets - see examples

ownerSource
GovernanceRuleOwnerSource

The owner source for the governance rule - e.g. Manually by user@contoso.com - see example

tenantId
String

The tenantId (GUID)

description
String

Description of the governance rule

remediationTimeframe
String

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

isGracePeriod
Nullable<Boolean>

Defines whether there is a grace period on the governance rule

isDisabled
Nullable<Boolean>

Defines whether the rule is active/inactive

excludedScopes
IList<String>

Excluded scopes, filter out the descendants of the scope (on management scopes)

includeMemberScopes
Nullable<Boolean>

Defines whether the rule is management scope rule (master connector as a single scope or management scope)

governanceEmailNotification
GovernanceRuleEmailNotification

The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners

metadata
GovernanceRuleMetadata

The governance rule metadata

Applies to