msgraph-sdk 1.49.0__py3-none-any.whl → 1.51.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
- msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
- msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
- msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
- msgraph/generated/kiota-dom-export.txt +1830 -6
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/access_review_history_definition.py +1 -1
- msgraph/generated/models/account_target_content.py +1 -1
- msgraph/generated/models/agreement_acceptance.py +1 -1
- msgraph/generated/models/alert.py +1 -1
- msgraph/generated/models/alteration_response.py +1 -1
- msgraph/generated/models/application.py +1 -1
- msgraph/generated/models/applied_conditional_access_policy.py +1 -1
- msgraph/generated/models/assigned_place_mode.py +61 -0
- msgraph/generated/models/attachment_item.py +1 -1
- msgraph/generated/models/attack_simulation_operation.py +1 -1
- msgraph/generated/models/attendance_record.py +1 -1
- msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
- msgraph/generated/models/authentication_method_configuration.py +1 -1
- msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
- msgraph/generated/models/authorization_policy.py +1 -1
- msgraph/generated/models/availability_item.py +1 -1
- msgraph/generated/models/base_map_feature.py +104 -0
- msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
- msgraph/generated/models/building.py +67 -0
- msgraph/generated/models/building_collection_response.py +58 -0
- msgraph/generated/models/building_map.py +71 -0
- msgraph/generated/models/calculated_column.py +2 -2
- msgraph/generated/models/calendar.py +2 -2
- msgraph/generated/models/calendar_permission.py +1 -1
- msgraph/generated/models/call.py +2 -2
- msgraph/generated/models/call_ended_event_message_detail.py +1 -1
- msgraph/generated/models/call_media_state.py +1 -1
- msgraph/generated/models/call_recording_event_message_detail.py +1 -1
- msgraph/generated/models/call_records/call_record.py +1 -1
- msgraph/generated/models/call_records/media_stream.py +2 -2
- msgraph/generated/models/call_records/session.py +1 -1
- msgraph/generated/models/call_started_event_message_detail.py +1 -1
- msgraph/generated/models/channel.py +1 -1
- msgraph/generated/models/check_in_claim.py +2 -2
- msgraph/generated/models/cloud_app_security_session_control.py +1 -1
- msgraph/generated/models/cloud_p_c.py +1 -1
- msgraph/generated/models/cloud_pc_device_image.py +3 -3
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
- msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
- msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
- msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
- msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
- msgraph/generated/models/communications_guest_identity.py +4 -0
- msgraph/generated/models/communications_identity_set.py +1 -1
- msgraph/generated/models/company_subscription.py +1 -1
- msgraph/generated/models/conditional_access_condition_set.py +4 -4
- msgraph/generated/models/conditional_access_external_tenants.py +1 -1
- msgraph/generated/models/conditional_access_platforms.py +2 -2
- msgraph/generated/models/contract.py +1 -1
- msgraph/generated/models/copilot_report_root.py +53 -0
- msgraph/generated/models/custom_training_setting.py +1 -1
- msgraph/generated/models/data_policy_operation.py +1 -1
- msgraph/generated/models/desk.py +71 -0
- msgraph/generated/models/desk_collection_response.py +58 -0
- msgraph/generated/models/device.py +3 -3
- msgraph/generated/models/directory_audit.py +1 -1
- msgraph/generated/models/drop_in_place_mode.py +53 -0
- msgraph/generated/models/education_assignment.py +1 -1
- msgraph/generated/models/education_assignment_defaults.py +2 -2
- msgraph/generated/models/education_class.py +1 -1
- msgraph/generated/models/education_module.py +1 -1
- msgraph/generated/models/education_organization.py +1 -1
- msgraph/generated/models/education_submission.py +1 -1
- msgraph/generated/models/education_user.py +1 -1
- msgraph/generated/models/email_authentication_method_configuration.py +1 -1
- msgraph/generated/models/email_file_assessment_request.py +1 -1
- msgraph/generated/models/end_user_notification.py +3 -3
- msgraph/generated/models/end_user_notification_setting.py +2 -2
- msgraph/generated/models/entity.py +177 -0
- msgraph/generated/models/event.py +3 -3
- msgraph/generated/models/event_message_response.py +1 -1
- msgraph/generated/models/external_connectors/connection_operation.py +1 -1
- msgraph/generated/models/external_connectors/external_connection.py +1 -1
- msgraph/generated/models/external_connectors/identity.py +1 -1
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/fido2_authentication_method.py +1 -1
- msgraph/generated/models/fido2_key_restrictions.py +1 -1
- msgraph/generated/models/file_hash.py +1 -1
- msgraph/generated/models/file_storage_container.py +7 -0
- msgraph/generated/models/filter_operator_schema.py +1 -1
- msgraph/generated/models/fixture_map.py +57 -0
- msgraph/generated/models/fixture_map_collection_response.py +58 -0
- msgraph/generated/models/floor.py +57 -0
- msgraph/generated/models/floor_collection_response.py +58 -0
- msgraph/generated/models/footprint_map.py +53 -0
- msgraph/generated/models/footprint_map_collection_response.py +58 -0
- msgraph/generated/models/group.py +1 -1
- msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
- msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
- msgraph/generated/models/initiator.py +1 -1
- msgraph/generated/models/invitation.py +1 -1
- msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
- msgraph/generated/models/landing_page.py +2 -2
- msgraph/generated/models/learning_content.py +1 -1
- msgraph/generated/models/learning_course_activity.py +1 -1
- msgraph/generated/models/level_map.py +78 -0
- msgraph/generated/models/level_map_collection_response.py +58 -0
- msgraph/generated/models/login_page.py +2 -2
- msgraph/generated/models/mail_assessment_request.py +1 -1
- msgraph/generated/models/mail_tips.py +1 -1
- msgraph/generated/models/mailbox_details.py +58 -0
- msgraph/generated/models/mailbox_settings.py +2 -2
- msgraph/generated/models/malware_state_for_windows_device.py +2 -2
- msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
- msgraph/generated/models/microsoft_managed_desktop.py +1 -1
- msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
- msgraph/generated/models/network_connection.py +3 -3
- msgraph/generated/models/notebook.py +1 -1
- msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
- msgraph/generated/models/object_definition_metadata_entry.py +1 -1
- msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
- msgraph/generated/models/online_meeting_base.py +4 -4
- msgraph/generated/models/online_meeting_restricted.py +2 -2
- msgraph/generated/models/participant_info.py +1 -1
- msgraph/generated/models/partners/billing/operation.py +1 -1
- msgraph/generated/models/payload.py +8 -8
- msgraph/generated/models/persistent_browser_session_control.py +1 -1
- msgraph/generated/models/phone_authentication_method.py +2 -2
- msgraph/generated/models/place.py +54 -3
- msgraph/generated/models/place_mode.py +80 -0
- msgraph/generated/models/planner_plan_container.py +1 -1
- msgraph/generated/models/platform_credential_authentication_method.py +2 -2
- msgraph/generated/models/positive_reinforcement_notification.py +1 -1
- msgraph/generated/models/printer_capabilities.py +2 -2
- msgraph/generated/models/process.py +1 -1
- msgraph/generated/models/provisioning_object_summary.py +1 -1
- msgraph/generated/models/provisioning_status_info.py +1 -1
- msgraph/generated/models/provisioning_step.py +2 -2
- msgraph/generated/models/registry_key_state.py +3 -3
- msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
- msgraph/generated/models/reservable_place_mode.py +53 -0
- msgraph/generated/models/resource_link.py +69 -0
- msgraph/generated/models/resource_link_type.py +6 -0
- msgraph/generated/models/resource_specific_permission_grant.py +1 -1
- msgraph/generated/models/response_status.py +1 -1
- msgraph/generated/models/restore_session_base.py +1 -1
- msgraph/generated/models/retention_label_settings.py +1 -1
- msgraph/generated/models/risk_detection.py +6 -6
- msgraph/generated/models/risk_service_principal_activity.py +1 -1
- msgraph/generated/models/risk_user_activity.py +1 -1
- msgraph/generated/models/risky_service_principal.py +1 -1
- msgraph/generated/models/risky_user.py +4 -4
- msgraph/generated/models/room.py +1 -13
- msgraph/generated/models/room_list.py +7 -0
- msgraph/generated/models/schedule_change_request.py +2 -2
- msgraph/generated/models/search/answer_variant.py +1 -1
- msgraph/generated/models/search/bookmark.py +1 -1
- msgraph/generated/models/search/qna.py +1 -1
- msgraph/generated/models/search_request.py +1 -1
- msgraph/generated/models/section.py +53 -0
- msgraph/generated/models/section_collection_response.py +58 -0
- msgraph/generated/models/section_map.py +57 -0
- msgraph/generated/models/section_map_collection_response.py +58 -0
- msgraph/generated/models/security/account.py +72 -0
- msgraph/generated/models/security/action.py +11 -0
- msgraph/generated/models/security/ai_agent_evidence.py +72 -0
- msgraph/generated/models/security/ai_agent_platform.py +9 -0
- msgraph/generated/models/security/alert.py +4 -4
- msgraph/generated/models/security/alert_evidence.py +7 -0
- msgraph/generated/models/security/case_operation.py +2 -2
- msgraph/generated/models/security/data_source_container.py +1 -1
- msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
- msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
- msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
- msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
- msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
- msgraph/generated/models/security/ediscovery_search.py +1 -1
- msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
- msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
- msgraph/generated/models/security/identity_accounts.py +92 -0
- msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
- msgraph/generated/models/security/identity_container.py +7 -0
- msgraph/generated/models/security/identity_provider.py +8 -0
- msgraph/generated/models/security/incident.py +2 -2
- msgraph/generated/models/security/invoke_action_result.py +76 -0
- msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
- msgraph/generated/models/security/kubernetes_service_port.py +1 -1
- msgraph/generated/models/security/teams_message_evidence.py +2 -2
- msgraph/generated/models/security/unified_group_source.py +1 -1
- msgraph/generated/models/security/user.py +61 -0
- msgraph/generated/models/security/user_source.py +1 -1
- msgraph/generated/models/security_resource.py +1 -1
- msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
- msgraph/generated/models/service_health_issue_post.py +1 -1
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/service_principal_risk_detection.py +2 -2
- msgraph/generated/models/share_point_migration_container_info.py +62 -0
- msgraph/generated/models/share_point_migration_event.py +127 -0
- msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
- msgraph/generated/models/share_point_migration_job.py +67 -0
- msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
- msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
- msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
- msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
- msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
- msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
- msgraph/generated/models/share_point_migration_object_type.py +14 -0
- msgraph/generated/models/sharepoint_settings.py +3 -3
- msgraph/generated/models/sign_in.py +2 -2
- msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
- msgraph/generated/models/simulation.py +4 -4
- msgraph/generated/models/simulation_notification.py +1 -1
- msgraph/generated/models/site_collection.py +1 -1
- msgraph/generated/models/subject_rights_request.py +3 -3
- msgraph/generated/models/subject_rights_request_history.py +2 -2
- msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
- msgraph/generated/models/subscribed_sku.py +2 -2
- msgraph/generated/models/synchronization_metadata_entry.py +1 -1
- msgraph/generated/models/target_resource.py +1 -1
- msgraph/generated/models/team_fun_settings.py +1 -1
- msgraph/generated/models/teams_app_definition.py +1 -1
- msgraph/generated/models/teamwork_activity_topic.py +1 -1
- msgraph/generated/models/teamwork_application_identity.py +1 -1
- msgraph/generated/models/teamwork_conversation_identity.py +1 -1
- msgraph/generated/models/teamwork_user_identity.py +1 -1
- msgraph/generated/models/term_store/group.py +1 -1
- msgraph/generated/models/term_store/relation.py +1 -1
- msgraph/generated/models/threat_assessment_request.py +3 -3
- msgraph/generated/models/threat_assessment_result.py +1 -1
- msgraph/generated/models/time_card.py +1 -1
- msgraph/generated/models/training.py +3 -3
- msgraph/generated/models/training_reminder_notification.py +1 -1
- msgraph/generated/models/training_setting.py +1 -1
- msgraph/generated/models/unit_map.py +57 -0
- msgraph/generated/models/unit_map_collection_response.py +58 -0
- msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
- msgraph/generated/models/user_registration_details.py +2 -2
- msgraph/generated/models/user_registration_feature_summary.py +2 -2
- msgraph/generated/models/user_registration_method_summary.py +2 -2
- msgraph/generated/models/user_security_state.py +3 -3
- msgraph/generated/models/user_training_event_info.py +1 -1
- msgraph/generated/models/user_training_status_info.py +1 -1
- msgraph/generated/models/virtual_event_townhall.py +1 -1
- msgraph/generated/models/virtual_event_webinar.py +1 -1
- msgraph/generated/models/win32_lob_app.py +2 -2
- msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
- msgraph/generated/models/windows_device_malware_state.py +5 -5
- msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
- msgraph/generated/models/windows_malware_information.py +2 -2
- msgraph/generated/models/windows_protection_state.py +2 -2
- msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
- msgraph/generated/models/workbook_application.py +1 -1
- msgraph/generated/models/workbook_named_item.py +1 -1
- msgraph/generated/models/workbook_range_format.py +2 -2
- msgraph/generated/models/workbook_table.py +1 -1
- msgraph/generated/models/workforce_integration.py +2 -2
- msgraph/generated/models/workforce_integration_encryption.py +1 -1
- msgraph/generated/models/workspace.py +76 -0
- msgraph/generated/models/workspace_collection_response.py +58 -0
- msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_building/graph_building_request_builder.py +148 -0
- msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_desk/graph_desk_request_builder.py +148 -0
- msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_floor/graph_floor_request_builder.py +148 -0
- msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_section/graph_section_request_builder.py +148 -0
- msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +148 -0
- msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
- msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
- msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
- msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
- msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/graph_building_request_builder.py +128 -0
- msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/map_request_builder.py +210 -0
- msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +118 -0
- msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +118 -0
- msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +10 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
- msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_section/graph_section_request_builder.py +118 -0
- msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +118 -0
- msgraph/generated/places/item/place_item_request_builder.py +65 -4
- msgraph/generated/places/places_request_builder.py +53 -2
- msgraph/generated/security/identities/identities_request_builder.py +10 -0
- msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
- msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
- msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
- msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
- msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/RECORD +368 -236
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -18,13 +18,13 @@ from .case_operation import CaseOperation
|
|
|
18
18
|
|
|
19
19
|
@dataclass
|
|
20
20
|
class EdiscoveryAddToReviewSetOperation(CaseOperation, Parsable):
|
|
21
|
-
# The options to add items to the review set.
|
|
21
|
+
# The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder.
|
|
22
22
|
additional_data_options: Optional[AdditionalDataOptions] = None
|
|
23
|
-
# Specifies the number of most recent versions of cloud attachments to collect.
|
|
23
|
+
# Specifies the number of most recent versions of cloud attachments to collect. The possible values are: latest, recent10, recent100, all, unknownFutureValue.
|
|
24
24
|
cloud_attachment_version: Optional[CloudAttachmentVersion] = None
|
|
25
|
-
# Specifies the number of most recent versions of SharePoint documents to collect.
|
|
25
|
+
# Specifies the number of most recent versions of SharePoint documents to collect. The possible values are: latest, recent10, recent100, all, unknownFutureValue.
|
|
26
26
|
document_version: Optional[DocumentVersion] = None
|
|
27
|
-
# The items to include in the review set.
|
|
27
|
+
# The items to include in the review set. The possible values are: searchHits, partiallyIndexed, unknownFutureValue.
|
|
28
28
|
items_to_include: Optional[ItemsToInclude] = None
|
|
29
29
|
# The OdataType property
|
|
30
30
|
odata_type: Optional[str] = None
|
|
@@ -24,7 +24,7 @@ class EdiscoveryCaseSettings(Entity, Parsable):
|
|
|
24
24
|
odata_type: Optional[str] = None
|
|
25
25
|
# The redundancy (near duplicate and email threading) detection settings for the case.
|
|
26
26
|
redundancy_detection: Optional[RedundancyDetectionSettings] = None
|
|
27
|
-
# The settings of the review set for the case.
|
|
27
|
+
# The settings of the review set for the case. The possible values are: none, disableGrouping, unknownFutureValue.
|
|
28
28
|
review_set_settings: Optional[ReviewSetSettings] = None
|
|
29
29
|
# The Topic Modeling (Themes) settings for the case.
|
|
30
30
|
topic_modeling: Optional[TopicModelingSettings] = None
|
|
@@ -28,7 +28,7 @@ class EdiscoveryEstimateOperation(CaseOperation, Parsable):
|
|
|
28
28
|
search: Optional[EdiscoverySearch] = None
|
|
29
29
|
# The number of mailboxes that had search hits.
|
|
30
30
|
site_count: Optional[int] = None
|
|
31
|
-
# The options to generate statistics.
|
|
31
|
+
# The options to generate statistics. The possible values are: includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits, unknownFutureValue.
|
|
32
32
|
statistics_options: Optional[StatisticsOptions] = None
|
|
33
33
|
# The estimated count of unindexed items for the collection.
|
|
34
34
|
unindexed_item_count: Optional[int] = None
|
|
@@ -20,9 +20,9 @@ class EdiscoveryExportOperation(CaseOperation, Parsable):
|
|
|
20
20
|
description: Optional[str] = None
|
|
21
21
|
# Contains the properties for an export file metadata, including downloadUrl, fileName, and size.
|
|
22
22
|
export_file_metadata: Optional[list[ExportFileMetadata]] = None
|
|
23
|
-
# The options provided for the export. For more information, see reviewSet: export.
|
|
23
|
+
# The options provided for the export. For more information, see reviewSet: export. The possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue, splitSource, includeFolderAndPath, friendlyName, condensePaths. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: splitSource, includeFolderAndPath, friendlyName, condensePaths.
|
|
24
24
|
export_options: Optional[ExportOptions] = None
|
|
25
|
-
# The options that specify the structure of the export. For more information, see reviewSet: export.
|
|
25
|
+
# The options that specify the structure of the export. For more information, see reviewSet: export. The possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following members from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg.
|
|
26
26
|
export_structure: Optional[ExportFileStructure] = None
|
|
27
27
|
# The OdataType property
|
|
28
28
|
odata_type: Optional[str] = None
|
|
@@ -14,7 +14,7 @@ from .tag import Tag
|
|
|
14
14
|
class EdiscoveryReviewTag(Tag, Parsable):
|
|
15
15
|
# The OdataType property
|
|
16
16
|
odata_type: Optional[str] = "#microsoft.graph.security.ediscoveryReviewTag"
|
|
17
|
-
# Indicates whether a single or multiple child tags can be associated with a document.
|
|
17
|
+
# Indicates whether a single or multiple child tags can be associated with a document. The possible values are: One, Many. This value controls whether the UX presents the tags as checkboxes or a radio button group.
|
|
18
18
|
child_selectability: Optional[ChildSelectability] = None
|
|
19
19
|
# Returns the tags that are a child of a tag.
|
|
20
20
|
child_tags: Optional[list[EdiscoveryReviewTag]] = None
|
|
@@ -24,7 +24,7 @@ class EdiscoverySearch(Search, Parsable):
|
|
|
24
24
|
additional_sources: Optional[list[DataSource]] = None
|
|
25
25
|
# Custodian sources that are included in the eDiscovery search.
|
|
26
26
|
custodian_sources: Optional[list[DataSource]] = None
|
|
27
|
-
# When specified, the collection spans across a service for an entire workload.
|
|
27
|
+
# When specified, the collection spans across a service for an entire workload. The possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources.
|
|
28
28
|
data_source_scopes: Optional[DataSourceScopes] = None
|
|
29
29
|
# The last estimate operation associated with the eDiscovery search.
|
|
30
30
|
last_estimate_statistics_operation: Optional[EdiscoveryEstimateOperation] = None
|
|
@@ -21,13 +21,13 @@ from .case_operation import CaseOperation
|
|
|
21
21
|
class EdiscoverySearchExportOperation(CaseOperation, Parsable):
|
|
22
22
|
# The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue, htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport.
|
|
23
23
|
additional_options: Optional[AdditionalOptions] = None
|
|
24
|
-
# The versions of cloud attachments to include in messages.
|
|
24
|
+
# The versions of cloud attachments to include in messages. The possible values are: latest, recent10, recent100, all, unknownFutureValue.
|
|
25
25
|
cloud_attachment_version: Optional[CloudAttachmentVersion] = None
|
|
26
26
|
# The description of the export by the user.
|
|
27
27
|
description: Optional[str] = None
|
|
28
28
|
# The name of export provided by the user.
|
|
29
29
|
display_name: Optional[str] = None
|
|
30
|
-
# The versions of files in SharePoint to include.
|
|
30
|
+
# The versions of files in SharePoint to include. The possible values are: latest, recent10, recent100, all, unknownFutureValue.
|
|
31
31
|
document_version: Optional[DocumentVersion] = None
|
|
32
32
|
# Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue.
|
|
33
33
|
export_criteria: Optional[ExportCriteria] = None
|
|
@@ -18,7 +18,7 @@ class GoogleCloudResourceEvidence(AlertEvidence, Parsable):
|
|
|
18
18
|
full_resource_name: Optional[str] = None
|
|
19
19
|
# The zone or region where the resource is located.
|
|
20
20
|
location: Optional[str] = None
|
|
21
|
-
# The type of location.
|
|
21
|
+
# The type of location. The possible values are: unknown, regional, zonal, global, unknownFutureValue.
|
|
22
22
|
location_type: Optional[GoogleCloudLocationType] = None
|
|
23
23
|
# The Google project ID as defined by the user.
|
|
24
24
|
project_id: Optional[str] = None
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..entity import Entity
|
|
9
|
+
from .account import Account
|
|
10
|
+
from .user import User
|
|
11
|
+
|
|
12
|
+
from ..entity import Entity
|
|
13
|
+
|
|
14
|
+
@dataclass
|
|
15
|
+
class IdentityAccounts(Entity, Parsable):
|
|
16
|
+
# Collection of accounts of the identity in different identity providers.
|
|
17
|
+
accounts: Optional[list[Account]] = None
|
|
18
|
+
# The cloud security identifier of the identityAccount.
|
|
19
|
+
cloud_security_identifier: Optional[str] = None
|
|
20
|
+
# The Active Directory display name of the identityAccount.
|
|
21
|
+
display_name: Optional[str] = None
|
|
22
|
+
# The Active Directory domain name of the identityAccount.
|
|
23
|
+
domain: Optional[str] = None
|
|
24
|
+
# Boolean indicating if the identityAccounts is enabled.
|
|
25
|
+
is_enabled: Optional[bool] = None
|
|
26
|
+
# The OdataType property
|
|
27
|
+
odata_type: Optional[str] = None
|
|
28
|
+
# The on-premises security identifier of the identityAccount.
|
|
29
|
+
on_premises_security_identifier: Optional[str] = None
|
|
30
|
+
|
|
31
|
+
@staticmethod
|
|
32
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> IdentityAccounts:
|
|
33
|
+
"""
|
|
34
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
36
|
+
Returns: IdentityAccounts
|
|
37
|
+
"""
|
|
38
|
+
if parse_node is None:
|
|
39
|
+
raise TypeError("parse_node cannot be null.")
|
|
40
|
+
try:
|
|
41
|
+
child_node = parse_node.get_child_node("@odata.type")
|
|
42
|
+
mapping_value = child_node.get_str_value() if child_node else None
|
|
43
|
+
except AttributeError:
|
|
44
|
+
mapping_value = None
|
|
45
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.user".casefold():
|
|
46
|
+
from .user import User
|
|
47
|
+
|
|
48
|
+
return User()
|
|
49
|
+
return IdentityAccounts()
|
|
50
|
+
|
|
51
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
52
|
+
"""
|
|
53
|
+
The deserialization information for the current model
|
|
54
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
55
|
+
"""
|
|
56
|
+
from ..entity import Entity
|
|
57
|
+
from .account import Account
|
|
58
|
+
from .user import User
|
|
59
|
+
|
|
60
|
+
from ..entity import Entity
|
|
61
|
+
from .account import Account
|
|
62
|
+
from .user import User
|
|
63
|
+
|
|
64
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
65
|
+
"accounts": lambda n : setattr(self, 'accounts', n.get_collection_of_object_values(Account)),
|
|
66
|
+
"cloudSecurityIdentifier": lambda n : setattr(self, 'cloud_security_identifier', n.get_str_value()),
|
|
67
|
+
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
|
68
|
+
"domain": lambda n : setattr(self, 'domain', n.get_str_value()),
|
|
69
|
+
"isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()),
|
|
70
|
+
"onPremisesSecurityIdentifier": lambda n : setattr(self, 'on_premises_security_identifier', n.get_str_value()),
|
|
71
|
+
}
|
|
72
|
+
super_fields = super().get_field_deserializers()
|
|
73
|
+
fields.update(super_fields)
|
|
74
|
+
return fields
|
|
75
|
+
|
|
76
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
77
|
+
"""
|
|
78
|
+
Serializes information the current object
|
|
79
|
+
param writer: Serialization writer to use to serialize this model
|
|
80
|
+
Returns: None
|
|
81
|
+
"""
|
|
82
|
+
if writer is None:
|
|
83
|
+
raise TypeError("writer cannot be null.")
|
|
84
|
+
super().serialize(writer)
|
|
85
|
+
writer.write_collection_of_object_values("accounts", self.accounts)
|
|
86
|
+
writer.write_str_value("cloudSecurityIdentifier", self.cloud_security_identifier)
|
|
87
|
+
writer.write_str_value("displayName", self.display_name)
|
|
88
|
+
writer.write_str_value("domain", self.domain)
|
|
89
|
+
writer.write_bool_value("isEnabled", self.is_enabled)
|
|
90
|
+
writer.write_str_value("onPremisesSecurityIdentifier", self.on_premises_security_identifier)
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
9
|
+
from .identity_accounts import IdentityAccounts
|
|
10
|
+
|
|
11
|
+
from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class IdentityAccountsCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[IdentityAccounts]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> IdentityAccountsCollectionResponse:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: IdentityAccountsCollectionResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return IdentityAccountsCollectionResponse()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
35
|
+
from .identity_accounts import IdentityAccounts
|
|
36
|
+
|
|
37
|
+
from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from .identity_accounts import IdentityAccounts
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(IdentityAccounts)),
|
|
42
|
+
}
|
|
43
|
+
super_fields = super().get_field_deserializers()
|
|
44
|
+
fields.update(super_fields)
|
|
45
|
+
return fields
|
|
46
|
+
|
|
47
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
48
|
+
"""
|
|
49
|
+
Serializes information the current object
|
|
50
|
+
param writer: Serialization writer to use to serialize this model
|
|
51
|
+
Returns: None
|
|
52
|
+
"""
|
|
53
|
+
if writer is None:
|
|
54
|
+
raise TypeError("writer cannot be null.")
|
|
55
|
+
super().serialize(writer)
|
|
56
|
+
writer.write_collection_of_object_values("value", self.value)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -7,6 +7,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
|
7
7
|
if TYPE_CHECKING:
|
|
8
8
|
from ..entity import Entity
|
|
9
9
|
from .health_issue import HealthIssue
|
|
10
|
+
from .identity_accounts import IdentityAccounts
|
|
10
11
|
from .sensor import Sensor
|
|
11
12
|
from .sensor_candidate import SensorCandidate
|
|
12
13
|
from .sensor_candidate_activation_configuration import SensorCandidateActivationConfiguration
|
|
@@ -17,6 +18,8 @@ from ..entity import Entity
|
|
|
17
18
|
class IdentityContainer(Entity, Parsable):
|
|
18
19
|
# Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration.
|
|
19
20
|
health_issues: Optional[list[HealthIssue]] = None
|
|
21
|
+
# Represents an identity's details in the context of Microsoft Defender for Identity.
|
|
22
|
+
identity_accounts: Optional[list[IdentityAccounts]] = None
|
|
20
23
|
# The OdataType property
|
|
21
24
|
odata_type: Optional[str] = None
|
|
22
25
|
# The sensorCandidateActivationConfiguration property
|
|
@@ -44,18 +47,21 @@ class IdentityContainer(Entity, Parsable):
|
|
|
44
47
|
"""
|
|
45
48
|
from ..entity import Entity
|
|
46
49
|
from .health_issue import HealthIssue
|
|
50
|
+
from .identity_accounts import IdentityAccounts
|
|
47
51
|
from .sensor import Sensor
|
|
48
52
|
from .sensor_candidate import SensorCandidate
|
|
49
53
|
from .sensor_candidate_activation_configuration import SensorCandidateActivationConfiguration
|
|
50
54
|
|
|
51
55
|
from ..entity import Entity
|
|
52
56
|
from .health_issue import HealthIssue
|
|
57
|
+
from .identity_accounts import IdentityAccounts
|
|
53
58
|
from .sensor import Sensor
|
|
54
59
|
from .sensor_candidate import SensorCandidate
|
|
55
60
|
from .sensor_candidate_activation_configuration import SensorCandidateActivationConfiguration
|
|
56
61
|
|
|
57
62
|
fields: dict[str, Callable[[Any], None]] = {
|
|
58
63
|
"healthIssues": lambda n : setattr(self, 'health_issues', n.get_collection_of_object_values(HealthIssue)),
|
|
64
|
+
"identityAccounts": lambda n : setattr(self, 'identity_accounts', n.get_collection_of_object_values(IdentityAccounts)),
|
|
59
65
|
"sensorCandidateActivationConfiguration": lambda n : setattr(self, 'sensor_candidate_activation_configuration', n.get_object_value(SensorCandidateActivationConfiguration)),
|
|
60
66
|
"sensorCandidates": lambda n : setattr(self, 'sensor_candidates', n.get_collection_of_object_values(SensorCandidate)),
|
|
61
67
|
"sensors": lambda n : setattr(self, 'sensors', n.get_collection_of_object_values(Sensor)),
|
|
@@ -74,6 +80,7 @@ class IdentityContainer(Entity, Parsable):
|
|
|
74
80
|
raise TypeError("writer cannot be null.")
|
|
75
81
|
super().serialize(writer)
|
|
76
82
|
writer.write_collection_of_object_values("healthIssues", self.health_issues)
|
|
83
|
+
writer.write_collection_of_object_values("identityAccounts", self.identity_accounts)
|
|
77
84
|
writer.write_object_value("sensorCandidateActivationConfiguration", self.sensor_candidate_activation_configuration)
|
|
78
85
|
writer.write_collection_of_object_values("sensorCandidates", self.sensor_candidates)
|
|
79
86
|
writer.write_collection_of_object_values("sensors", self.sensors)
|
|
@@ -22,7 +22,7 @@ class Incident(Entity, Parsable):
|
|
|
22
22
|
alerts: Optional[list[Alert]] = None
|
|
23
23
|
# Owner of the incident, or null if no owner is assigned. Free editable text.
|
|
24
24
|
assigned_to: Optional[str] = None
|
|
25
|
-
# The specification for the incident.
|
|
25
|
+
# The specification for the incident. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue.
|
|
26
26
|
classification: Optional[AlertClassification] = None
|
|
27
27
|
# Array of comments created by the Security Operations (SecOps) team when the incident is managed.
|
|
28
28
|
comments: Optional[list[AlertComment]] = None
|
|
@@ -32,7 +32,7 @@ class Incident(Entity, Parsable):
|
|
|
32
32
|
custom_tags: Optional[list[str]] = None
|
|
33
33
|
# Description of the incident.
|
|
34
34
|
description: Optional[str] = None
|
|
35
|
-
# Specifies the determination of the incident.
|
|
35
|
+
# Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.
|
|
36
36
|
determination: Optional[AlertDetermination] = None
|
|
37
37
|
# The incident name.
|
|
38
38
|
display_name: Optional[str] = None
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .action import Action
|
|
10
|
+
from .identity_provider import IdentityProvider
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class InvokeActionResult(AdditionalDataHolder, BackedModel, Parsable):
|
|
14
|
+
# Stores model information.
|
|
15
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
16
|
+
|
|
17
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
18
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
19
|
+
# The account ID.
|
|
20
|
+
account_id: Optional[str] = None
|
|
21
|
+
# The action property
|
|
22
|
+
action: Optional[Action] = None
|
|
23
|
+
# The unique identifier for tracking the request.
|
|
24
|
+
correlation_id: Optional[str] = None
|
|
25
|
+
# The identityProvider property
|
|
26
|
+
identity_provider: Optional[IdentityProvider] = None
|
|
27
|
+
# The OdataType property
|
|
28
|
+
odata_type: Optional[str] = None
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> InvokeActionResult:
|
|
32
|
+
"""
|
|
33
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
34
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
35
|
+
Returns: InvokeActionResult
|
|
36
|
+
"""
|
|
37
|
+
if parse_node is None:
|
|
38
|
+
raise TypeError("parse_node cannot be null.")
|
|
39
|
+
return InvokeActionResult()
|
|
40
|
+
|
|
41
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
42
|
+
"""
|
|
43
|
+
The deserialization information for the current model
|
|
44
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
45
|
+
"""
|
|
46
|
+
from .action import Action
|
|
47
|
+
from .identity_provider import IdentityProvider
|
|
48
|
+
|
|
49
|
+
from .action import Action
|
|
50
|
+
from .identity_provider import IdentityProvider
|
|
51
|
+
|
|
52
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
53
|
+
"accountId": lambda n : setattr(self, 'account_id', n.get_str_value()),
|
|
54
|
+
"action": lambda n : setattr(self, 'action', n.get_enum_value(Action)),
|
|
55
|
+
"correlationId": lambda n : setattr(self, 'correlation_id', n.get_str_value()),
|
|
56
|
+
"identityProvider": lambda n : setattr(self, 'identity_provider', n.get_enum_value(IdentityProvider)),
|
|
57
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
58
|
+
}
|
|
59
|
+
return fields
|
|
60
|
+
|
|
61
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
62
|
+
"""
|
|
63
|
+
Serializes information the current object
|
|
64
|
+
param writer: Serialization writer to use to serialize this model
|
|
65
|
+
Returns: None
|
|
66
|
+
"""
|
|
67
|
+
if writer is None:
|
|
68
|
+
raise TypeError("writer cannot be null.")
|
|
69
|
+
writer.write_str_value("accountId", self.account_id)
|
|
70
|
+
writer.write_enum_value("action", self.action)
|
|
71
|
+
writer.write_str_value("correlationId", self.correlation_id)
|
|
72
|
+
writer.write_enum_value("identityProvider", self.identity_provider)
|
|
73
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
74
|
+
writer.write_additional_data_value(self.additional_data)
|
|
75
|
+
|
|
76
|
+
|
|
@@ -20,7 +20,7 @@ class KubernetesClusterEvidence(AlertEvidence, Parsable):
|
|
|
20
20
|
distribution: Optional[str] = None
|
|
21
21
|
# The cluster name.
|
|
22
22
|
name: Optional[str] = None
|
|
23
|
-
# The platform the cluster runs on.
|
|
23
|
+
# The platform the cluster runs on. The possible values are: unknown, aks, eks, gke, arc, unknownFutureValue.
|
|
24
24
|
platform: Optional[KubernetesPlatform] = None
|
|
25
25
|
# The kubernetes version of the cluster.
|
|
26
26
|
version: Optional[str] = None
|
|
@@ -25,7 +25,7 @@ class KubernetesServicePort(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
25
25
|
odata_type: Optional[str] = None
|
|
26
26
|
# The port that this service exposes.
|
|
27
27
|
port: Optional[int] = None
|
|
28
|
-
# The protocol name.
|
|
28
|
+
# The protocol name. The possible values are: udp, tcp, sctp, unknownFutureValue.
|
|
29
29
|
protocol: Optional[ContainerPortProtocol] = None
|
|
30
30
|
# The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME.
|
|
31
31
|
target_port: Optional[str] = None
|
|
@@ -24,9 +24,9 @@ class TeamsMessageEvidence(AlertEvidence, Parsable):
|
|
|
24
24
|
campaign_id: Optional[str] = None
|
|
25
25
|
# The channel ID associated with this Teams message.
|
|
26
26
|
channel_id: Optional[str] = None
|
|
27
|
-
# The delivery action of this Teams message.
|
|
27
|
+
# The delivery action of this Teams message. The possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue.
|
|
28
28
|
delivery_action: Optional[TeamsMessageDeliveryAction] = None
|
|
29
|
-
# The delivery location of this Teams message.
|
|
29
|
+
# The delivery location of this Teams message. The possible values are: unknown, teams, quarantine, failed, unknownFutureValue.
|
|
30
30
|
delivery_location: Optional[TeamsDeliveryLocation] = None
|
|
31
31
|
# The list of file entities that are attached to this Teams message.
|
|
32
32
|
files: Optional[list[FileEvidence]] = None
|
|
@@ -17,7 +17,7 @@ class UnifiedGroupSource(DataSource, Parsable):
|
|
|
17
17
|
odata_type: Optional[str] = "#microsoft.graph.security.unifiedGroupSource"
|
|
18
18
|
# The group property
|
|
19
19
|
group: Optional[Group] = None
|
|
20
|
-
# Specifies which sources are included in this group.
|
|
20
|
+
# Specifies which sources are included in this group. The possible values are: mailbox, site.
|
|
21
21
|
included_sources: Optional[SourceType] = None
|
|
22
22
|
|
|
23
23
|
@staticmethod
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .identity_accounts import IdentityAccounts
|
|
9
|
+
|
|
10
|
+
from .identity_accounts import IdentityAccounts
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class User(IdentityAccounts, Parsable):
|
|
14
|
+
# The OdataType property
|
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.security.user"
|
|
16
|
+
# Email address of the user.
|
|
17
|
+
email_address: Optional[str] = None
|
|
18
|
+
# The user principal name.
|
|
19
|
+
user_principal_name: Optional[str] = None
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> User:
|
|
23
|
+
"""
|
|
24
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
25
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
26
|
+
Returns: User
|
|
27
|
+
"""
|
|
28
|
+
if parse_node is None:
|
|
29
|
+
raise TypeError("parse_node cannot be null.")
|
|
30
|
+
return User()
|
|
31
|
+
|
|
32
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
33
|
+
"""
|
|
34
|
+
The deserialization information for the current model
|
|
35
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
36
|
+
"""
|
|
37
|
+
from .identity_accounts import IdentityAccounts
|
|
38
|
+
|
|
39
|
+
from .identity_accounts import IdentityAccounts
|
|
40
|
+
|
|
41
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
42
|
+
"emailAddress": lambda n : setattr(self, 'email_address', n.get_str_value()),
|
|
43
|
+
"userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()),
|
|
44
|
+
}
|
|
45
|
+
super_fields = super().get_field_deserializers()
|
|
46
|
+
fields.update(super_fields)
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
super().serialize(writer)
|
|
58
|
+
writer.write_str_value("emailAddress", self.email_address)
|
|
59
|
+
writer.write_str_value("userPrincipalName", self.user_principal_name)
|
|
60
|
+
|
|
61
|
+
|
|
@@ -16,7 +16,7 @@ class UserSource(DataSource, Parsable):
|
|
|
16
16
|
odata_type: Optional[str] = "#microsoft.graph.security.userSource"
|
|
17
17
|
# Email address of the user's mailbox.
|
|
18
18
|
email: Optional[str] = None
|
|
19
|
-
# Specifies which sources are included in this group.
|
|
19
|
+
# Specifies which sources are included in this group. The possible values are: mailbox, site.
|
|
20
20
|
included_sources: Optional[SourceType] = None
|
|
21
21
|
# The URL of the user's OneDrive for Business site. Read-only.
|
|
22
22
|
site_web_url: Optional[str] = None
|
|
@@ -19,7 +19,7 @@ class SecurityResource(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
19
19
|
odata_type: Optional[str] = None
|
|
20
20
|
# Name of the resource that is related to current alert. Required.
|
|
21
21
|
resource: Optional[str] = None
|
|
22
|
-
# Represents type of security resources related to an alert.
|
|
22
|
+
# Represents type of security resources related to an alert. The possible values are: attacked, related.
|
|
23
23
|
resource_type: Optional[SecurityResourceType] = None
|
|
24
24
|
|
|
25
25
|
@staticmethod
|
|
@@ -12,7 +12,7 @@ from .comms_operation import CommsOperation
|
|
|
12
12
|
|
|
13
13
|
@dataclass
|
|
14
14
|
class SendDtmfTonesOperation(CommsOperation, Parsable):
|
|
15
|
-
# The results of the action.
|
|
15
|
+
# The results of the action. The possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue.
|
|
16
16
|
completion_reason: Optional[SendDtmfCompletionReason] = None
|
|
17
17
|
# The OdataType property
|
|
18
18
|
odata_type: Optional[str] = None
|
|
@@ -23,7 +23,7 @@ class ServiceHealthIssuePost(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
23
23
|
description: Optional[ItemBody] = None
|
|
24
24
|
# The OdataType property
|
|
25
25
|
odata_type: Optional[str] = None
|
|
26
|
-
# The post type of the service issue historical post.
|
|
26
|
+
# The post type of the service issue historical post. The possible values are: regular, quick, strategic, unknownFutureValue.
|
|
27
27
|
post_type: Optional[PostType] = None
|
|
28
28
|
|
|
29
29
|
@staticmethod
|
|
@@ -72,7 +72,7 @@ class ServicePrincipal(DirectoryObject, Parsable):
|
|
|
72
72
|
delegated_permission_classifications: Optional[list[DelegatedPermissionClassification]] = None
|
|
73
73
|
# Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps displays the application description in this field. The maximum allowed size is 1,024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
|
|
74
74
|
description: Optional[str] = None
|
|
75
|
-
# Specifies whether Microsoft has disabled the registered application.
|
|
75
|
+
# Specifies whether Microsoft has disabled the registered application. The possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).
|
|
76
76
|
disabled_by_microsoft_status: Optional[str] = None
|
|
77
77
|
# The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
|
|
78
78
|
display_name: Optional[str] = None
|
|
@@ -19,7 +19,7 @@ from .entity import Entity
|
|
|
19
19
|
|
|
20
20
|
@dataclass
|
|
21
21
|
class ServicePrincipalRiskDetection(Entity, Parsable):
|
|
22
|
-
# Indicates the activity type the detected risk is linked to.
|
|
22
|
+
# Indicates the activity type the detected risk is linked to.
|
|
23
23
|
activity: Optional[ActivityType] = None
|
|
24
24
|
# Date and time when the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
|
|
25
25
|
activity_date_time: Optional[datetime.datetime] = None
|
|
@@ -45,7 +45,7 @@ class ServicePrincipalRiskDetection(Entity, Parsable):
|
|
|
45
45
|
odata_type: Optional[str] = None
|
|
46
46
|
# Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq).
|
|
47
47
|
request_id: Optional[str] = None
|
|
48
|
-
# Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden.
|
|
48
|
+
# Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden.
|
|
49
49
|
risk_detail: Optional[RiskDetail] = None
|
|
50
50
|
# The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication.
|
|
51
51
|
risk_event_type: Optional[str] = None
|