Interface GovernanceAssignment
public interface GovernanceAssignment
An immutable client-side representation of GovernanceAssignment.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the GovernanceAssignment definition.static interface
The GovernanceAssignment definition stages.static interface
The template for GovernanceAssignment update.static interface
The GovernanceAssignment update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the additionalData property: The additional data for the governance assignment - e.g.Gets the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner object.Gets the isGracePeriod property: Defines whether there is a grace period on the governance assignment.name()
Gets the name property: The name of the resource.owner()
Gets the owner property: The Owner for the governance assignment - e.g.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).Gets the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.type()
Gets the type property: The type of the resource.update()
Begins update for the GovernanceAssignment resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
owner
String owner()Gets the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.- Returns:
- the owner value.
-
remediationDueDate
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
RemediationEta remediationEta()Gets the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.- Returns:
- the remediationEta value.
-
isGracePeriod
Boolean isGracePeriod()Gets the isGracePeriod property: Defines whether there is a grace period on the governance assignment.- Returns:
- the isGracePeriod value.
-
governanceEmailNotification
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.
-
additionalData
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.
-
innerModel
GovernanceAssignmentInner innerModel()Gets the inner com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner object.- Returns:
- the inner object.
-
update
GovernanceAssignment.Update update()Begins update for the GovernanceAssignment resource.- Returns:
- the stage of resource update.
-
refresh
GovernanceAssignment refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-