Share via


ArmSecurityCenterModelFactory.GovernanceAssignmentData Method

Definition

Initializes a new instance of GovernanceAssignmentData.

public static Azure.ResourceManager.SecurityCenter.GovernanceAssignmentData GovernanceAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string owner = default, DateTimeOffset? remediationDueOn = default, Azure.ResourceManager.SecurityCenter.Models.RemediationEta remediationEta = default, bool? isGracePeriod = default, Azure.ResourceManager.SecurityCenter.Models.GovernanceEmailNotification governanceEmailNotification = default, Azure.ResourceManager.SecurityCenter.Models.GovernanceAssignmentAdditionalInfo additionalData = default);
static member GovernanceAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityCenter.Models.RemediationEta * Nullable<bool> * Azure.ResourceManager.SecurityCenter.Models.GovernanceEmailNotification * Azure.ResourceManager.SecurityCenter.Models.GovernanceAssignmentAdditionalInfo -> Azure.ResourceManager.SecurityCenter.GovernanceAssignmentData
Public Shared Function GovernanceAssignmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional owner As String = Nothing, Optional remediationDueOn As Nullable(Of DateTimeOffset) = Nothing, Optional remediationEta As RemediationEta = Nothing, Optional isGracePeriod As Nullable(Of Boolean) = Nothing, Optional governanceEmailNotification As GovernanceEmailNotification = Nothing, Optional additionalData As GovernanceAssignmentAdditionalInfo = Nothing) As GovernanceAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

owner
String

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

remediationDueOn
Nullable<DateTimeOffset>

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

remediationEta
RemediationEta

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

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
GovernanceAssignmentAdditionalInfo

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

Returns

A new GovernanceAssignmentData instance for mocking.

Applies to