msgraph-sdk 1.48.0__py3-none-any.whl → 1.50.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/restore/restore_request_builder.py +2 -2
- 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/contacts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/contracts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/devices/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
- msgraph/generated/drives/item/recent/recent_request_builder.py +3 -3
- msgraph/generated/employee_experience/employee_experience_request_builder.py +10 -0
- msgraph/generated/employee_experience/roles/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/engagement_role_item_request_builder.py +198 -0
- msgraph/generated/employee_experience/roles/item/members/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py +199 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/user_request_builder.py +127 -0
- msgraph/generated/employee_experience/roles/item/members/members_request_builder.py +210 -0
- msgraph/generated/employee_experience/roles/roles_request_builder.py +209 -0
- msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups/item/group_item_request_builder.py +2 -2
- msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/count/count_request_builder.py +104 -0
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/fraud_protection_providers_request_builder.py +210 -0
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/item/fraud_protection_provider_item_request_builder.py +191 -0
- msgraph/generated/identity/risk_prevention/risk_prevention_request_builder.py +13 -3
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/verify/verify_request_builder.py +3 -2
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/web_application_firewall_provider_item_request_builder.py +10 -7
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/web_application_firewall_providers_request_builder.py +7 -5
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/provider/provider_request_builder.py +3 -3
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/web_application_firewall_verification_model_item_request_builder.py +7 -5
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/web_application_firewall_verifications_request_builder.py +4 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py +10 -0
- msgraph/generated/kiota-dom-export.txt +3093 -6
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/akamai_attack_group_action_model.py +2 -2
- msgraph/generated/models/akamai_custom_rule_model.py +3 -3
- msgraph/generated/models/akamai_rapid_rules_model.py +2 -2
- msgraph/generated/models/akamai_verified_details_model.py +3 -3
- msgraph/generated/models/akamai_web_application_firewall_provider.py +4 -4
- msgraph/generated/models/arkose_fraud_protection_provider.py +69 -0
- msgraph/generated/models/assigned_place_mode.py +61 -0
- msgraph/generated/models/authentication_event_listener.py +11 -0
- msgraph/generated/models/base_map_feature.py +104 -0
- 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/channel.py +1 -1
- msgraph/generated/models/check_in_claim.py +70 -0
- msgraph/generated/models/check_in_claim_collection_response.py +58 -0
- msgraph/generated/models/check_in_method.py +9 -0
- msgraph/generated/models/cloud_flare_rule_model.py +3 -3
- msgraph/generated/models/cloud_flare_ruleset_model.py +3 -3
- msgraph/generated/models/cloud_flare_verified_details_model.py +3 -3
- msgraph/generated/models/cloud_flare_web_application_firewall_provider.py +2 -2
- msgraph/generated/models/communications_guest_identity.py +4 -0
- msgraph/generated/models/copilot_report_root.py +53 -0
- msgraph/generated/models/desk.py +71 -0
- msgraph/generated/models/desk_collection_response.py +58 -0
- 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 +1 -1
- msgraph/generated/models/employee_experience.py +7 -0
- msgraph/generated/models/employee_experience_user.py +7 -0
- msgraph/generated/models/engagement_role.py +67 -0
- msgraph/generated/models/engagement_role_collection_response.py +58 -0
- msgraph/generated/models/engagement_role_member.py +70 -0
- msgraph/generated/models/engagement_role_member_collection_response.py +58 -0
- msgraph/generated/models/entity.py +233 -0
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/file_storage_container.py +7 -0
- 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/fraud_protection_configuration.py +66 -0
- msgraph/generated/models/fraud_protection_provider.py +76 -0
- msgraph/generated/models/fraud_protection_provider_collection_response.py +58 -0
- msgraph/generated/models/fraud_protection_provider_configuration.py +60 -0
- msgraph/generated/models/human_security_fraud_protection_provider.py +61 -0
- msgraph/generated/models/identity_container.py +1 -1
- msgraph/generated/models/identity_governance/activate_group_scope.py +60 -0
- msgraph/generated/models/identity_governance/activate_processing_result_scope.py +67 -0
- msgraph/generated/models/identity_governance/activate_run_scope.py +74 -0
- msgraph/generated/models/identity_governance/activate_user_scope.py +60 -0
- msgraph/generated/models/identity_governance/activation_scope.py +87 -0
- msgraph/generated/models/identity_governance/activation_task_scope_type.py +7 -0
- msgraph/generated/models/identity_governance/activation_user_scope_type.py +7 -0
- msgraph/generated/models/identity_governance/run.py +11 -0
- msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
- msgraph/generated/models/identity_governance/user_processing_result.py +8 -1
- msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
- msgraph/generated/models/identity_governance/workflow_execution_type.py +1 -0
- msgraph/generated/models/level_map.py +78 -0
- msgraph/generated/models/level_map_collection_response.py +58 -0
- msgraph/generated/models/mailbox_details.py +58 -0
- msgraph/generated/models/on_fraud_protection_load_start_external_users_auth_handler.py +60 -0
- msgraph/generated/models/on_fraud_protection_load_start_handler.py +66 -0
- msgraph/generated/models/on_fraud_protection_load_start_listener.py +60 -0
- msgraph/generated/models/place.py +58 -0
- msgraph/generated/models/place_mode.py +80 -0
- msgraph/generated/models/planner_plan_container.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/restore_session_base.py +1 -1
- msgraph/generated/models/risk_detection.py +1 -1
- msgraph/generated/models/risk_prevention_container.py +9 -2
- 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 +1 -1
- msgraph/generated/models/room.py +0 -12
- msgraph/generated/models/room_list.py +7 -0
- 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_evidence.py +7 -0
- msgraph/generated/models/security/ediscovery_export_operation.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 +21 -0
- msgraph/generated/models/security/identity_provider.py +8 -0
- msgraph/generated/models/security/invoke_action_result.py +76 -0
- msgraph/generated/models/security/sensor_candidate.py +66 -0
- msgraph/generated/models/security/sensor_candidate_activation_configuration.py +60 -0
- msgraph/generated/models/security/sensor_candidate_activation_mode.py +7 -0
- msgraph/generated/models/security/sensor_candidate_collection_response.py +58 -0
- msgraph/generated/models/security/user.py +61 -0
- 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/sign_in.py +1 -1
- msgraph/generated/models/subject_rights_request_history.py +1 -1
- msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
- msgraph/generated/models/unit_map.py +57 -0
- msgraph/generated/models/unit_map_collection_response.py +58 -0
- msgraph/generated/models/web_application_firewall_dns_configuration.py +4 -4
- msgraph/generated/models/web_application_firewall_provider.py +1 -1
- msgraph/generated/models/web_application_firewall_verification_model.py +4 -4
- msgraph/generated/models/web_application_firewall_verification_result.py +3 -3
- msgraph/generated/models/web_application_firewall_verified_details.py +1 -1
- msgraph/generated/models/workforce_integration.py +1 -1
- msgraph/generated/models/workspace.py +76 -0
- msgraph/generated/models/workspace_collection_response.py +58 -0
- msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_building/graph_building_request_builder.py +147 -0
- msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_desk/graph_desk_request_builder.py +147 -0
- msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_floor/graph_floor_request_builder.py +147 -0
- msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_section/graph_section_request_builder.py +147 -0
- msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +147 -0
- msgraph/generated/places/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- 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 +127 -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 +208 -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 +208 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +188 -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 +208 -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 +188 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/map/map_request_builder.py +208 -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 +117 -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 +117 -0
- msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room/graph_room_request_builder.py +10 -0
- msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +20 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py +10 -0
- 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 +117 -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 +117 -0
- msgraph/generated/places/item/place_item_request_builder.py +70 -0
- msgraph/generated/places/places_request_builder.py +50 -0
- msgraph/generated/security/identities/identities_request_builder.py +30 -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/security/identities/sensor_candidate_activation_configuration/sensor_candidate_activation_configuration_request_builder.py +189 -0
- msgraph/generated/security/identities/sensor_candidates/count/count_request_builder.py +104 -0
- msgraph/generated/security/identities/sensor_candidates/item/sensor_candidate_item_request_builder.py +188 -0
- msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/activate_post_request_body.py +50 -0
- msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py +86 -0
- msgraph/generated/security/identities/sensor_candidates/sensor_candidates_request_builder.py +219 -0
- msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
- 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/employee_experience/assigned_roles/assigned_roles_request_builder.py +209 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/engagement_role_item_request_builder.py +198 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/engagement_role_member_item_request_builder.py +198 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/user_request_builder.py +127 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/members_request_builder.py +208 -0
- msgraph/generated/users/item/employee_experience/employee_experience_request_builder.py +10 -0
- msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/RECORD +328 -106
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from .....models.fraud_protection_provider import FraudProtectionProvider
|
|
18
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
19
|
+
|
|
20
|
+
class FraudProtectionProviderItemRequestBuilder(BaseRequestBuilder):
|
|
21
|
+
"""
|
|
22
|
+
Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
25
|
+
"""
|
|
26
|
+
Instantiates a new FraudProtectionProviderItemRequestBuilder and sets the default values.
|
|
27
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
28
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
29
|
+
Returns: None
|
|
30
|
+
"""
|
|
31
|
+
super().__init__(request_adapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/{fraudProtectionProvider%2Did}{?%24expand,%24select}", path_parameters)
|
|
32
|
+
|
|
33
|
+
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
34
|
+
"""
|
|
35
|
+
Delete a fraudProtectionProvider object.
|
|
36
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
Returns: None
|
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-fraudprotectionproviders?view=graph-rest-1.0
|
|
39
|
+
"""
|
|
40
|
+
request_info = self.to_delete_request_information(
|
|
41
|
+
request_configuration
|
|
42
|
+
)
|
|
43
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
44
|
+
|
|
45
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
46
|
+
"XXX": ODataError,
|
|
47
|
+
}
|
|
48
|
+
if not self.request_adapter:
|
|
49
|
+
raise Exception("Http core is null")
|
|
50
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
|
51
|
+
|
|
52
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[FraudProtectionProviderItemRequestBuilderGetQueryParameters]] = None) -> Optional[FraudProtectionProvider]:
|
|
53
|
+
"""
|
|
54
|
+
Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported.
|
|
55
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
Returns: Optional[FraudProtectionProvider]
|
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/fraudprotectionprovider-get?view=graph-rest-1.0
|
|
58
|
+
"""
|
|
59
|
+
request_info = self.to_get_request_information(
|
|
60
|
+
request_configuration
|
|
61
|
+
)
|
|
62
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
63
|
+
|
|
64
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
65
|
+
"XXX": ODataError,
|
|
66
|
+
}
|
|
67
|
+
if not self.request_adapter:
|
|
68
|
+
raise Exception("Http core is null")
|
|
69
|
+
from .....models.fraud_protection_provider import FraudProtectionProvider
|
|
70
|
+
|
|
71
|
+
return await self.request_adapter.send_async(request_info, FraudProtectionProvider, error_mapping)
|
|
72
|
+
|
|
73
|
+
async def patch(self,body: FraudProtectionProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FraudProtectionProvider]:
|
|
74
|
+
"""
|
|
75
|
+
Update the properties of a fraudProtectionProvider object. The following derived types are currently supported.
|
|
76
|
+
param body: The request body
|
|
77
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
78
|
+
Returns: Optional[FraudProtectionProvider]
|
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/fraudprotectionprovider-update?view=graph-rest-1.0
|
|
80
|
+
"""
|
|
81
|
+
if body is None:
|
|
82
|
+
raise TypeError("body cannot be null.")
|
|
83
|
+
request_info = self.to_patch_request_information(
|
|
84
|
+
body, request_configuration
|
|
85
|
+
)
|
|
86
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
87
|
+
|
|
88
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
89
|
+
"XXX": ODataError,
|
|
90
|
+
}
|
|
91
|
+
if not self.request_adapter:
|
|
92
|
+
raise Exception("Http core is null")
|
|
93
|
+
from .....models.fraud_protection_provider import FraudProtectionProvider
|
|
94
|
+
|
|
95
|
+
return await self.request_adapter.send_async(request_info, FraudProtectionProvider, error_mapping)
|
|
96
|
+
|
|
97
|
+
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
98
|
+
"""
|
|
99
|
+
Delete a fraudProtectionProvider object.
|
|
100
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
101
|
+
Returns: RequestInformation
|
|
102
|
+
"""
|
|
103
|
+
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
|
104
|
+
request_info.configure(request_configuration)
|
|
105
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
106
|
+
return request_info
|
|
107
|
+
|
|
108
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FraudProtectionProviderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
109
|
+
"""
|
|
110
|
+
Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported.
|
|
111
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
112
|
+
Returns: RequestInformation
|
|
113
|
+
"""
|
|
114
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
115
|
+
request_info.configure(request_configuration)
|
|
116
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
117
|
+
return request_info
|
|
118
|
+
|
|
119
|
+
def to_patch_request_information(self,body: FraudProtectionProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
120
|
+
"""
|
|
121
|
+
Update the properties of a fraudProtectionProvider object. The following derived types are currently supported.
|
|
122
|
+
param body: The request body
|
|
123
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
124
|
+
Returns: RequestInformation
|
|
125
|
+
"""
|
|
126
|
+
if body is None:
|
|
127
|
+
raise TypeError("body cannot be null.")
|
|
128
|
+
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
|
|
129
|
+
request_info.configure(request_configuration)
|
|
130
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
131
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
|
132
|
+
return request_info
|
|
133
|
+
|
|
134
|
+
def with_url(self,raw_url: str) -> FraudProtectionProviderItemRequestBuilder:
|
|
135
|
+
"""
|
|
136
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
137
|
+
param raw_url: The raw URL to use for the request builder.
|
|
138
|
+
Returns: FraudProtectionProviderItemRequestBuilder
|
|
139
|
+
"""
|
|
140
|
+
if raw_url is None:
|
|
141
|
+
raise TypeError("raw_url cannot be null.")
|
|
142
|
+
return FraudProtectionProviderItemRequestBuilder(self.request_adapter, raw_url)
|
|
143
|
+
|
|
144
|
+
@dataclass
|
|
145
|
+
class FraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
146
|
+
"""
|
|
147
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
148
|
+
"""
|
|
149
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
150
|
+
|
|
151
|
+
@dataclass
|
|
152
|
+
class FraudProtectionProviderItemRequestBuilderGetQueryParameters():
|
|
153
|
+
"""
|
|
154
|
+
Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported.
|
|
155
|
+
"""
|
|
156
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
157
|
+
"""
|
|
158
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
159
|
+
param original_name: The original query parameter name in the class.
|
|
160
|
+
Returns: str
|
|
161
|
+
"""
|
|
162
|
+
if original_name is None:
|
|
163
|
+
raise TypeError("original_name cannot be null.")
|
|
164
|
+
if original_name == "expand":
|
|
165
|
+
return "%24expand"
|
|
166
|
+
if original_name == "select":
|
|
167
|
+
return "%24select"
|
|
168
|
+
return original_name
|
|
169
|
+
|
|
170
|
+
# Expand related entities
|
|
171
|
+
expand: Optional[list[str]] = None
|
|
172
|
+
|
|
173
|
+
# Select properties to be returned
|
|
174
|
+
select: Optional[list[str]] = None
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@dataclass
|
|
178
|
+
class FraudProtectionProviderItemRequestBuilderGetRequestConfiguration(RequestConfiguration[FraudProtectionProviderItemRequestBuilderGetQueryParameters]):
|
|
179
|
+
"""
|
|
180
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
181
|
+
"""
|
|
182
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
183
|
+
|
|
184
|
+
@dataclass
|
|
185
|
+
class FraudProtectionProviderItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
186
|
+
"""
|
|
187
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
188
|
+
"""
|
|
189
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
190
|
+
|
|
191
|
+
|
|
@@ -16,6 +16,7 @@ from warnings import warn
|
|
|
16
16
|
if TYPE_CHECKING:
|
|
17
17
|
from ...models.o_data_errors.o_data_error import ODataError
|
|
18
18
|
from ...models.risk_prevention_container import RiskPreventionContainer
|
|
19
|
+
from .fraud_protection_providers.fraud_protection_providers_request_builder import FraudProtectionProvidersRequestBuilder
|
|
19
20
|
from .web_application_firewall_providers.web_application_firewall_providers_request_builder import WebApplicationFirewallProvidersRequestBuilder
|
|
20
21
|
from .web_application_firewall_verifications.web_application_firewall_verifications_request_builder import WebApplicationFirewallVerificationsRequestBuilder
|
|
21
22
|
|
|
@@ -52,7 +53,7 @@ class RiskPreventionRequestBuilder(BaseRequestBuilder):
|
|
|
52
53
|
|
|
53
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[RiskPreventionRequestBuilderGetQueryParameters]] = None) -> Optional[RiskPreventionContainer]:
|
|
54
55
|
"""
|
|
55
|
-
|
|
56
|
+
Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
|
|
56
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
57
58
|
Returns: Optional[RiskPreventionContainer]
|
|
58
59
|
"""
|
|
@@ -106,7 +107,7 @@ class RiskPreventionRequestBuilder(BaseRequestBuilder):
|
|
|
106
107
|
|
|
107
108
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskPreventionRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
108
109
|
"""
|
|
109
|
-
|
|
110
|
+
Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
|
|
110
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
111
112
|
Returns: RequestInformation
|
|
112
113
|
"""
|
|
@@ -140,6 +141,15 @@ class RiskPreventionRequestBuilder(BaseRequestBuilder):
|
|
|
140
141
|
raise TypeError("raw_url cannot be null.")
|
|
141
142
|
return RiskPreventionRequestBuilder(self.request_adapter, raw_url)
|
|
142
143
|
|
|
144
|
+
@property
|
|
145
|
+
def fraud_protection_providers(self) -> FraudProtectionProvidersRequestBuilder:
|
|
146
|
+
"""
|
|
147
|
+
Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.
|
|
148
|
+
"""
|
|
149
|
+
from .fraud_protection_providers.fraud_protection_providers_request_builder import FraudProtectionProvidersRequestBuilder
|
|
150
|
+
|
|
151
|
+
return FraudProtectionProvidersRequestBuilder(self.request_adapter, self.path_parameters)
|
|
152
|
+
|
|
143
153
|
@property
|
|
144
154
|
def web_application_firewall_providers(self) -> WebApplicationFirewallProvidersRequestBuilder:
|
|
145
155
|
"""
|
|
@@ -168,7 +178,7 @@ class RiskPreventionRequestBuilder(BaseRequestBuilder):
|
|
|
168
178
|
@dataclass
|
|
169
179
|
class RiskPreventionRequestBuilderGetQueryParameters():
|
|
170
180
|
"""
|
|
171
|
-
|
|
181
|
+
Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
|
|
172
182
|
"""
|
|
173
183
|
def get_query_parameter(self,original_name: str) -> str:
|
|
174
184
|
"""
|
|
@@ -33,10 +33,11 @@ class VerifyRequestBuilder(BaseRequestBuilder):
|
|
|
33
33
|
|
|
34
34
|
async def post(self,body: VerifyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WebApplicationFirewallVerificationModel]:
|
|
35
35
|
"""
|
|
36
|
-
|
|
36
|
+
Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result.
|
|
37
37
|
param body: The request body
|
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
39
|
Returns: Optional[WebApplicationFirewallVerificationModel]
|
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-verify?view=graph-rest-1.0
|
|
40
41
|
"""
|
|
41
42
|
if body is None:
|
|
42
43
|
raise TypeError("body cannot be null.")
|
|
@@ -56,7 +57,7 @@ class VerifyRequestBuilder(BaseRequestBuilder):
|
|
|
56
57
|
|
|
57
58
|
def to_post_request_information(self,body: VerifyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
58
59
|
"""
|
|
59
|
-
|
|
60
|
+
Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result.
|
|
60
61
|
param body: The request body
|
|
61
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
63
|
Returns: RequestInformation
|
|
@@ -33,9 +33,10 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
33
33
|
|
|
34
34
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
35
35
|
"""
|
|
36
|
-
Delete
|
|
36
|
+
Delete a webApplicationFirewallProvider object.
|
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
Returns: None
|
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-webapplicationfirewallproviders?view=graph-rest-1.0
|
|
39
40
|
"""
|
|
40
41
|
request_info = self.to_delete_request_information(
|
|
41
42
|
request_configuration
|
|
@@ -51,9 +52,10 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
51
52
|
|
|
52
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters]] = None) -> Optional[WebApplicationFirewallProvider]:
|
|
53
54
|
"""
|
|
54
|
-
|
|
55
|
+
Read the properties and relationships of webApplicationFirewallProvider object.
|
|
55
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
57
|
Returns: Optional[WebApplicationFirewallProvider]
|
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-get?view=graph-rest-1.0
|
|
57
59
|
"""
|
|
58
60
|
request_info = self.to_get_request_information(
|
|
59
61
|
request_configuration
|
|
@@ -71,10 +73,11 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
71
73
|
|
|
72
74
|
async def patch(self,body: WebApplicationFirewallProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WebApplicationFirewallProvider]:
|
|
73
75
|
"""
|
|
74
|
-
Update the
|
|
76
|
+
Update the properties of a webApplicationFirewallProvider object.
|
|
75
77
|
param body: The request body
|
|
76
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
77
79
|
Returns: Optional[WebApplicationFirewallProvider]
|
|
80
|
+
Find more info here: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-update?view=graph-rest-1.0
|
|
78
81
|
"""
|
|
79
82
|
if body is None:
|
|
80
83
|
raise TypeError("body cannot be null.")
|
|
@@ -94,7 +97,7 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
94
97
|
|
|
95
98
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
96
99
|
"""
|
|
97
|
-
Delete
|
|
100
|
+
Delete a webApplicationFirewallProvider object.
|
|
98
101
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
99
102
|
Returns: RequestInformation
|
|
100
103
|
"""
|
|
@@ -105,7 +108,7 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
105
108
|
|
|
106
109
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
107
110
|
"""
|
|
108
|
-
|
|
111
|
+
Read the properties and relationships of webApplicationFirewallProvider object.
|
|
109
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
110
113
|
Returns: RequestInformation
|
|
111
114
|
"""
|
|
@@ -116,7 +119,7 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
116
119
|
|
|
117
120
|
def to_patch_request_information(self,body: WebApplicationFirewallProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
118
121
|
"""
|
|
119
|
-
Update the
|
|
122
|
+
Update the properties of a webApplicationFirewallProvider object.
|
|
120
123
|
param body: The request body
|
|
121
124
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
122
125
|
Returns: RequestInformation
|
|
@@ -158,7 +161,7 @@ class WebApplicationFirewallProviderItemRequestBuilder(BaseRequestBuilder):
|
|
|
158
161
|
@dataclass
|
|
159
162
|
class WebApplicationFirewallProviderItemRequestBuilderGetQueryParameters():
|
|
160
163
|
"""
|
|
161
|
-
|
|
164
|
+
Read the properties and relationships of webApplicationFirewallProvider object.
|
|
162
165
|
"""
|
|
163
166
|
def get_query_parameter(self,original_name: str) -> str:
|
|
164
167
|
"""
|
|
@@ -49,9 +49,10 @@ class WebApplicationFirewallProvidersRequestBuilder(BaseRequestBuilder):
|
|
|
49
49
|
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallProvidersRequestBuilderGetQueryParameters]] = None) -> Optional[WebApplicationFirewallProviderCollectionResponse]:
|
|
51
51
|
"""
|
|
52
|
-
Get
|
|
52
|
+
Get a list of the webApplicationFirewallProvider objects and their properties.
|
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
54
|
Returns: Optional[WebApplicationFirewallProviderCollectionResponse]
|
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-webapplicationfirewallproviders?view=graph-rest-1.0
|
|
55
56
|
"""
|
|
56
57
|
request_info = self.to_get_request_information(
|
|
57
58
|
request_configuration
|
|
@@ -69,10 +70,11 @@ class WebApplicationFirewallProvidersRequestBuilder(BaseRequestBuilder):
|
|
|
69
70
|
|
|
70
71
|
async def post(self,body: WebApplicationFirewallProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WebApplicationFirewallProvider]:
|
|
71
72
|
"""
|
|
72
|
-
Create new
|
|
73
|
+
Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
|
|
73
74
|
param body: The request body
|
|
74
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
76
|
Returns: Optional[WebApplicationFirewallProvider]
|
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-post-webapplicationfirewallproviders?view=graph-rest-1.0
|
|
76
78
|
"""
|
|
77
79
|
if body is None:
|
|
78
80
|
raise TypeError("body cannot be null.")
|
|
@@ -92,7 +94,7 @@ class WebApplicationFirewallProvidersRequestBuilder(BaseRequestBuilder):
|
|
|
92
94
|
|
|
93
95
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallProvidersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
94
96
|
"""
|
|
95
|
-
Get
|
|
97
|
+
Get a list of the webApplicationFirewallProvider objects and their properties.
|
|
96
98
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
99
|
Returns: RequestInformation
|
|
98
100
|
"""
|
|
@@ -103,7 +105,7 @@ class WebApplicationFirewallProvidersRequestBuilder(BaseRequestBuilder):
|
|
|
103
105
|
|
|
104
106
|
def to_post_request_information(self,body: WebApplicationFirewallProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
105
107
|
"""
|
|
106
|
-
Create new
|
|
108
|
+
Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
|
|
107
109
|
param body: The request body
|
|
108
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
109
111
|
Returns: RequestInformation
|
|
@@ -138,7 +140,7 @@ class WebApplicationFirewallProvidersRequestBuilder(BaseRequestBuilder):
|
|
|
138
140
|
@dataclass
|
|
139
141
|
class WebApplicationFirewallProvidersRequestBuilderGetQueryParameters():
|
|
140
142
|
"""
|
|
141
|
-
Get
|
|
143
|
+
Get a list of the webApplicationFirewallProvider objects and their properties.
|
|
142
144
|
"""
|
|
143
145
|
def get_query_parameter(self,original_name: str) -> str:
|
|
144
146
|
"""
|
|
@@ -32,7 +32,7 @@ class ProviderRequestBuilder(BaseRequestBuilder):
|
|
|
32
32
|
|
|
33
33
|
async def get(self,request_configuration: Optional[RequestConfiguration[ProviderRequestBuilderGetQueryParameters]] = None) -> Optional[WebApplicationFirewallProvider]:
|
|
34
34
|
"""
|
|
35
|
-
|
|
35
|
+
Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host.
|
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
Returns: Optional[WebApplicationFirewallProvider]
|
|
38
38
|
"""
|
|
@@ -52,7 +52,7 @@ class ProviderRequestBuilder(BaseRequestBuilder):
|
|
|
52
52
|
|
|
53
53
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ProviderRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
54
54
|
"""
|
|
55
|
-
|
|
55
|
+
Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host.
|
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
57
57
|
Returns: RequestInformation
|
|
58
58
|
"""
|
|
@@ -74,7 +74,7 @@ class ProviderRequestBuilder(BaseRequestBuilder):
|
|
|
74
74
|
@dataclass
|
|
75
75
|
class ProviderRequestBuilderGetQueryParameters():
|
|
76
76
|
"""
|
|
77
|
-
|
|
77
|
+
Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host.
|
|
78
78
|
"""
|
|
79
79
|
def get_query_parameter(self,original_name: str) -> str:
|
|
80
80
|
"""
|
|
@@ -33,9 +33,10 @@ class WebApplicationFirewallVerificationModelItemRequestBuilder(BaseRequestBuild
|
|
|
33
33
|
|
|
34
34
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
35
35
|
"""
|
|
36
|
-
Delete
|
|
36
|
+
Delete a webApplicationFirewallVerificationModel object.
|
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
Returns: None
|
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-webapplicationfirewallverifications?view=graph-rest-1.0
|
|
39
40
|
"""
|
|
40
41
|
request_info = self.to_delete_request_information(
|
|
41
42
|
request_configuration
|
|
@@ -51,9 +52,10 @@ class WebApplicationFirewallVerificationModelItemRequestBuilder(BaseRequestBuild
|
|
|
51
52
|
|
|
52
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters]] = None) -> Optional[WebApplicationFirewallVerificationModel]:
|
|
53
54
|
"""
|
|
54
|
-
|
|
55
|
+
Read the properties and relationships of webApplicationFirewallVerificationModel object.
|
|
55
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
57
|
Returns: Optional[WebApplicationFirewallVerificationModel]
|
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/webapplicationfirewallverificationmodel-get?view=graph-rest-1.0
|
|
57
59
|
"""
|
|
58
60
|
request_info = self.to_get_request_information(
|
|
59
61
|
request_configuration
|
|
@@ -94,7 +96,7 @@ class WebApplicationFirewallVerificationModelItemRequestBuilder(BaseRequestBuild
|
|
|
94
96
|
|
|
95
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
96
98
|
"""
|
|
97
|
-
Delete
|
|
99
|
+
Delete a webApplicationFirewallVerificationModel object.
|
|
98
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
99
101
|
Returns: RequestInformation
|
|
100
102
|
"""
|
|
@@ -105,7 +107,7 @@ class WebApplicationFirewallVerificationModelItemRequestBuilder(BaseRequestBuild
|
|
|
105
107
|
|
|
106
108
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
107
109
|
"""
|
|
108
|
-
|
|
110
|
+
Read the properties and relationships of webApplicationFirewallVerificationModel object.
|
|
109
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
110
112
|
Returns: RequestInformation
|
|
111
113
|
"""
|
|
@@ -158,7 +160,7 @@ class WebApplicationFirewallVerificationModelItemRequestBuilder(BaseRequestBuild
|
|
|
158
160
|
@dataclass
|
|
159
161
|
class WebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters():
|
|
160
162
|
"""
|
|
161
|
-
|
|
163
|
+
Read the properties and relationships of webApplicationFirewallVerificationModel object.
|
|
162
164
|
"""
|
|
163
165
|
def get_query_parameter(self,original_name: str) -> str:
|
|
164
166
|
"""
|
|
@@ -49,9 +49,10 @@ class WebApplicationFirewallVerificationsRequestBuilder(BaseRequestBuilder):
|
|
|
49
49
|
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallVerificationsRequestBuilderGetQueryParameters]] = None) -> Optional[WebApplicationFirewallVerificationModelCollectionResponse]:
|
|
51
51
|
"""
|
|
52
|
-
Get
|
|
52
|
+
Get a list of the webApplicationFirewallVerificationModel objects and their properties.
|
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
54
|
Returns: Optional[WebApplicationFirewallVerificationModelCollectionResponse]
|
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-webapplicationfirewallverifications?view=graph-rest-1.0
|
|
55
56
|
"""
|
|
56
57
|
request_info = self.to_get_request_information(
|
|
57
58
|
request_configuration
|
|
@@ -92,7 +93,7 @@ class WebApplicationFirewallVerificationsRequestBuilder(BaseRequestBuilder):
|
|
|
92
93
|
|
|
93
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[WebApplicationFirewallVerificationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
94
95
|
"""
|
|
95
|
-
Get
|
|
96
|
+
Get a list of the webApplicationFirewallVerificationModel objects and their properties.
|
|
96
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
98
|
Returns: RequestInformation
|
|
98
99
|
"""
|
|
@@ -138,7 +139,7 @@ class WebApplicationFirewallVerificationsRequestBuilder(BaseRequestBuilder):
|
|
|
138
139
|
@dataclass
|
|
139
140
|
class WebApplicationFirewallVerificationsRequestBuilderGetQueryParameters():
|
|
140
141
|
"""
|
|
141
|
-
Get
|
|
142
|
+
Get a list of the webApplicationFirewallVerificationModel objects and their properties.
|
|
142
143
|
"""
|
|
143
144
|
def get_query_parameter(self,original_name: str) -> str:
|
|
144
145
|
"""
|
|
@@ -0,0 +1,57 @@
|
|
|
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 .......models.identity_governance.activation_scope import ActivationScope
|
|
10
|
+
|
|
11
|
+
@dataclass
|
|
12
|
+
class ActivateWithScopePostRequestBody(AdditionalDataHolder, BackedModel, Parsable):
|
|
13
|
+
# Stores model information.
|
|
14
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
15
|
+
|
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
18
|
+
# The scope property
|
|
19
|
+
scope: Optional[ActivationScope] = None
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ActivateWithScopePostRequestBody:
|
|
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: ActivateWithScopePostRequestBody
|
|
27
|
+
"""
|
|
28
|
+
if parse_node is None:
|
|
29
|
+
raise TypeError("parse_node cannot be null.")
|
|
30
|
+
return ActivateWithScopePostRequestBody()
|
|
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 .......models.identity_governance.activation_scope import ActivationScope
|
|
38
|
+
|
|
39
|
+
from .......models.identity_governance.activation_scope import ActivationScope
|
|
40
|
+
|
|
41
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
42
|
+
"scope": lambda n : setattr(self, 'scope', n.get_object_value(ActivationScope)),
|
|
43
|
+
}
|
|
44
|
+
return fields
|
|
45
|
+
|
|
46
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
47
|
+
"""
|
|
48
|
+
Serializes information the current object
|
|
49
|
+
param writer: Serialization writer to use to serialize this model
|
|
50
|
+
Returns: None
|
|
51
|
+
"""
|
|
52
|
+
if writer is None:
|
|
53
|
+
raise TypeError("writer cannot be null.")
|
|
54
|
+
writer.write_object_value("scope", self.scope)
|
|
55
|
+
writer.write_additional_data_value(self.additional_data)
|
|
56
|
+
|
|
57
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from .......models.o_data_errors.o_data_error import ODataError
|
|
18
|
+
from .activate_with_scope_post_request_body import ActivateWithScopePostRequestBody
|
|
19
|
+
|
|
20
|
+
class MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(BaseRequestBuilder):
|
|
21
|
+
"""
|
|
22
|
+
Provides operations to call the activateWithScope method.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
25
|
+
"""
|
|
26
|
+
Instantiates a new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder and sets the default values.
|
|
27
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
28
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
29
|
+
Returns: None
|
|
30
|
+
"""
|
|
31
|
+
super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", path_parameters)
|
|
32
|
+
|
|
33
|
+
async def post(self,body: ActivateWithScopePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
34
|
+
"""
|
|
35
|
+
Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions.
|
|
36
|
+
param body: The request body
|
|
37
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
Returns: None
|
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activatewithscope?view=graph-rest-1.0
|
|
40
|
+
"""
|
|
41
|
+
if body is None:
|
|
42
|
+
raise TypeError("body cannot be null.")
|
|
43
|
+
request_info = self.to_post_request_information(
|
|
44
|
+
body, request_configuration
|
|
45
|
+
)
|
|
46
|
+
from .......models.o_data_errors.o_data_error import ODataError
|
|
47
|
+
|
|
48
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
49
|
+
"XXX": ODataError,
|
|
50
|
+
}
|
|
51
|
+
if not self.request_adapter:
|
|
52
|
+
raise Exception("Http core is null")
|
|
53
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
|
54
|
+
|
|
55
|
+
def to_post_request_information(self,body: ActivateWithScopePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
56
|
+
"""
|
|
57
|
+
Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions.
|
|
58
|
+
param body: The request body
|
|
59
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
Returns: RequestInformation
|
|
61
|
+
"""
|
|
62
|
+
if body is None:
|
|
63
|
+
raise TypeError("body cannot be null.")
|
|
64
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
|
65
|
+
request_info.configure(request_configuration)
|
|
66
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
67
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
|
68
|
+
return request_info
|
|
69
|
+
|
|
70
|
+
def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder:
|
|
71
|
+
"""
|
|
72
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
73
|
+
param raw_url: The raw URL to use for the request builder.
|
|
74
|
+
Returns: MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder
|
|
75
|
+
"""
|
|
76
|
+
if raw_url is None:
|
|
77
|
+
raise TypeError("raw_url cannot be null.")
|
|
78
|
+
return MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(self.request_adapter, raw_url)
|
|
79
|
+
|
|
80
|
+
@dataclass
|
|
81
|
+
class MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
82
|
+
"""
|
|
83
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
84
|
+
"""
|
|
85
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
86
|
+
|
|
87
|
+
|