azure.mgmt.authorization.v2022_08_01_preview.models module¶
Bases:
azure.mgmt.authorization._serialization.ModelThe alert.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The alert name.
scope (str) – The alert scope.
is_active (bool) – False by default; true if the alert is active.
incident_count (int) – The number of generated incidents of the alert.
last_modified_date_time (datetime) – The date time when the alert configuration was updated or new incidents were generated.
last_scanned_date_time (datetime) – The date time when the alert was last scanned.
alert_definition (AlertDefinition) – The alert definition.
alert_incidents (list[AlertIncident]) – The alert incidents.
alert_configuration (AlertConfiguration) – The alert configuration.
- Keyword Arguments
is_active (bool) – False by default; true if the alert is active.
Bases:
azure.mgmt.authorization._serialization.ModelAlert configuration.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The alert configuration name.
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type.
alert_definition (AlertDefinition) – The alert definition.
- Keyword Arguments
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
Bases:
azure.mgmt.authorization._serialization.ModelAlert configuration list operation result.
- Variables
value (list[AlertConfiguration]) – Alert configuration list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[AlertConfiguration]) – Alert configuration list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelAlert configuration properties.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureRolesAssignedOutsidePimAlertConfigurationProperties, DuplicateRoleCreatedAlertConfigurationProperties, TooManyOwnersAssignedToResourceAlertConfigurationProperties, TooManyPermanentOwnersAssignedToResourceAlertConfigurationProperties
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type. Required.
alert_definition (AlertDefinition) – The alert definition.
- Keyword Arguments
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
Bases:
azure.mgmt.authorization._serialization.ModelAlert definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The alert definition name.
display_name (str) – The alert display name.
scope (str) – The alert scope.
description (str) – The alert description.
severity_level (str or SeverityLevel) – Severity level of the alert. Known values are: “Low”, “Medium”, and “High”.
security_impact (str) – Security impact of the alert.
mitigation_steps (str) – The methods to mitigate the alert.
how_to_prevent (str) – The ways to prevent the alert.
is_remediatable (bool) – True if the alert can be remediated; false, otherwise.
is_configurable (bool) – True if the alert configuration can be configured; false, otherwise.
Bases:
azure.mgmt.authorization._serialization.ModelAlert definition list operation result.
- Variables
value (list[AlertDefinition]) – Alert definition list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[AlertDefinition]) – Alert definition list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelAlert incident.
Variables are only populated by the server, and will be ignored when sending a request.
Bases:
azure.mgmt.authorization._serialization.ModelAlert incident list operation result.
- Variables
value (list[AlertIncident]) – Alert incident list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[AlertIncident]) – Alert incident list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelAlert incident properties.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureRolesAssignedOutsidePimAlertIncidentProperties, DuplicateRoleCreatedAlertIncidentProperties, TooManyOwnersAssignedToResourceAlertIncidentProperties, TooManyPermanentOwnersAssignedToResourceAlertIncidentProperties
All required parameters must be populated in order to send to Azure.
- Variables
alert_incident_type (str) – The alert incident type. Required.
Bases:
azure.mgmt.authorization._serialization.ModelAlert list operation result.
Bases:
azure.mgmt.authorization._serialization.ModelAlert operation result.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
status (str) – The status of the alert operation.
status_detail (str) – The status detail of the alert operation.
created_date_time (datetime) – The created date of the alert operation.
last_action_date_time (datetime) – The last action date of the alert operation.
resource_location (str) – The location of the alert associated with the operation.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertConfigurationPropertiesThe Azure roles assigned outside PIM alert configuration properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type. Required.
alert_definition (AlertDefinition) – The alert definition.
- Keyword Arguments
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertIncidentPropertiesAzure roles assigned outside PIM alert incident properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_incident_type (str) – The alert incident type. Required.
assignee_display_name (str) – The assignee display name.
assignee_user_principal_name (str) – The assignee user principal name.
assignee_id (str) – The assignee ID.
role_display_name (str) – The role display name.
role_template_id (str) – The role template ID.
role_definition_id (str) – The role definition ID.
assignment_activated_date (datetime) – The date the assignment was activated.
requestor_id (str) – The requestor ID.
requestor_display_name (str) – The requestor display name.
requestor_user_principal_name (str) – The requestor user principal name.
Bases:
azure.mgmt.authorization._serialization.ModelAn error response from the service.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertConfigurationPropertiesThe duplicate role created alert configuration.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type. Required.
alert_definition (AlertDefinition) – The alert definition.
- Keyword Arguments
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertIncidentPropertiesDuplicate role created alert incident properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertConfigurationPropertiesToo many owners assigned to resource alert configuration properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type. Required.
alert_definition (AlertDefinition) – The alert definition.
threshold_number_of_owners (int) – The threshold number of owners.
threshold_percentage_of_owners_out_of_all_role_members (int) – The threshold percentage of owners out of all role members.
- Keyword Arguments
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertIncidentPropertiesToo many owners assigned to resource alert incident properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertConfigurationPropertiesToo many permanent owners assigned to resource alert configuration properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
alert_definition_id (str) – The alert definition ID.
scope (str) – The alert scope.
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
alert_configuration_type (str) – The alert configuration type. Required.
alert_definition (AlertDefinition) – The alert definition.
threshold_number_of_permanent_owners (int) – The threshold number of permanent owners.
threshold_percentage_of_permanent_owners_out_of_all_owners (int) – The threshold percentage of permanent owners out of all owners.
- Keyword Arguments
is_enabled (bool) – True if the alert is enabled, false will disable the scanning for the specific alert.
threshold_number_of_permanent_owners (int) – The threshold number of permanent owners.
threshold_percentage_of_permanent_owners_out_of_all_owners (int) – The threshold percentage of permanent owners out of all owners.
Bases:
azure.mgmt.authorization.v2022_08_01_preview.models._models_py3.AlertIncidentPropertiesToo many permanent owners assigned to resource alert incident properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.