GovernanceAssignment Interface

public interface GovernanceAssignment

An immutable client-side representation of GovernanceAssignment.

Method Summary

Modifier and Type Method and Description
abstract GovernanceAssignmentAdditionalData additionalData()

Gets the additionalData property: The additional data for the governance assignment - e.g.

abstract GovernanceEmailNotification governanceEmailNotification()

Gets the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract GovernanceAssignmentInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner object.

abstract Boolean isGracePeriod()

Gets the isGracePeriod property: Defines whether there is a grace period on the governance assignment.

abstract String name()

Gets the name property: The name of the resource.

abstract String owner()

Gets the owner property: The Owner for the governance assignment - e.g.

abstract GovernanceAssignment refresh()

Refreshes the resource to sync with Azure.

abstract GovernanceAssignment refresh(Context context)

Refreshes the resource to sync with Azure.

abstract OffsetDateTime remediationDueDate()

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

abstract RemediationEta remediationEta()

Gets the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the GovernanceAssignment resource.

Method Details

additionalData

public abstract GovernanceAssignmentAdditionalData additionalData()

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

Returns:

the additionalData value.

governanceEmailNotification

public abstract GovernanceEmailNotification governanceEmailNotification()

Gets the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.

Returns:

the governanceEmailNotification value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract GovernanceAssignmentInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner object.

Returns:

the inner object.

isGracePeriod

public abstract Boolean isGracePeriod()

Gets the isGracePeriod property: Defines whether there is a grace period on the governance assignment.

Returns:

the isGracePeriod value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

owner

public abstract String owner()

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

Returns:

the owner value.

refresh

public abstract GovernanceAssignment refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract GovernanceAssignment refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

remediationDueDate

public abstract OffsetDateTime remediationDueDate()

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

Returns:

the remediationDueDate value.

remediationEta

public abstract RemediationEta remediationEta()

Gets the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.

Returns:

the remediationEta value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract GovernanceAssignment.Update update()

Begins update for the GovernanceAssignment resource.

Returns:

the stage of resource update.

Applies to