Partager via


GovernanceAssignment Constructors

Definition

Overloads

GovernanceAssignment()

Initializes a new instance of the GovernanceAssignment class.

GovernanceAssignment(String, String, String, RemediationEta, String, Nullable<DateTime>, Nullable<Boolean>, GovernanceEmailNotification, GovernanceAssignmentAdditionalData)

Initializes a new instance of the GovernanceAssignment class.

GovernanceAssignment()

Initializes a new instance of the GovernanceAssignment class.

public GovernanceAssignment ();
Public Sub New ()

Applies to

GovernanceAssignment(String, String, String, RemediationEta, String, Nullable<DateTime>, Nullable<Boolean>, GovernanceEmailNotification, GovernanceAssignmentAdditionalData)

Initializes a new instance of the GovernanceAssignment class.

public GovernanceAssignment (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Security.Models.RemediationEta remediationEta = default, string owner = default, DateTime? remediationDueDate = default, bool? isGracePeriod = default, Microsoft.Azure.Management.Security.Models.GovernanceEmailNotification governanceEmailNotification = default, Microsoft.Azure.Management.Security.Models.GovernanceAssignmentAdditionalData additionalData = default);
new Microsoft.Azure.Management.Security.Models.GovernanceAssignment : string * string * string * Microsoft.Azure.Management.Security.Models.RemediationEta * string * Nullable<DateTime> * Nullable<bool> * Microsoft.Azure.Management.Security.Models.GovernanceEmailNotification * Microsoft.Azure.Management.Security.Models.GovernanceAssignmentAdditionalData -> Microsoft.Azure.Management.Security.Models.GovernanceAssignment
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional remediationEta As RemediationEta = Nothing, Optional owner As String = Nothing, Optional remediationDueDate As Nullable(Of DateTime) = Nothing, Optional isGracePeriod As Nullable(Of Boolean) = Nothing, Optional governanceEmailNotification As GovernanceEmailNotification = Nothing, Optional additionalData As GovernanceAssignmentAdditionalData = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

remediationEta
RemediationEta

The ETA (estimated time of arrival) for remediation (optional), see example

owner
String

The Owner for the governance assignment - e.g. user@contoso.com - see example

remediationDueDate
Nullable<DateTime>

The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)

isGracePeriod
Nullable<Boolean>

Defines whether there is a grace period on the governance assignment

governanceEmailNotification
GovernanceEmailNotification

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

additionalData
GovernanceAssignmentAdditionalData

The additional data for the governance assignment - e.g. links to ticket (optional), see example

Applies to